/* ------------------------------------
 * Mazzi’s Brân ArtInvest Modern Gradient CSS
 * For: All listed HTML Pages
 * Brand: Elegant, modern, trustworthy, hanseatischer Charme
 * ------------------------------------*/

/******************************
 0. CSS RESET & NORMALIZE
 ******************************/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #F3F1ED;
  font-family: 'Lato', Arial, sans-serif;
  color: #222;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #1C2331;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  padding: 0;
}
hr { border: none; border-top: 1px solid #eee; margin: 32px 0; }

/******************************
 1. BRAND VARIABLES & FONTS
 ******************************/
:root {
  --primary: #1C2331;
  --secondary: #B69E6B;
  --accent: #F3F1ED;
  --grey-100: #F7F7F7;
  --grey-200: #e3e0db;
  --grey-400: #bdb9b1;
  --text-dark: #1C2331;
  --text-light: #fff;
  --bg-gradient: linear-gradient(105deg, #b69e6b 2%, #ece2c8 35%, #f3f1ed 100%);
  --bg-gradient-dark: linear-gradient(120deg, #1C2331 0%, #38405a 100%);
  --box-shadow: 0 6px 32px rgba(28,35,49,0.08), 0 1.5px 6px rgba(182,158,107,0.11);
  --radius: 18px;
  --transition: 0.25s cubic-bezier(.4, 0, .2, 1);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Lato', Arial, sans-serif;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  src: local('Playfair Display'), url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato'), url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');
}

/******************************
 2. LAYOUT: CONTAINERS & FLEXBOX
 ******************************/
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* Spacing per requirements */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
/* Feature grid or cards container */
.feature-grid,
.card-container,
.card-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  padding: 28px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 26px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 18px rgba(28,35,49,0.06), 0 0.5px 2px rgba(182,158,107,0.09);
  margin-bottom: 20px;
  color: #1C2331;
  flex: 1 1 320px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 14px 38px rgba(28,35,49,0.14), 0 2px 8px rgba(182,158,107,0.16);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/******************************
 3. TYPOGRAPHY
 ******************************/
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: -1px;
  line-height: 1.12;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.18;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 6px;
  line-height: 1.26;
}
h4, .h4 {
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}
p, li, ul, ol, strong {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  color: #222;
}
strong {
  font-weight: 700;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 12px;
  list-style: disc;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
}
a.cta-button, .cta-button {
  font-family: var(--font-display);
  background: var(--bg-gradient);
  color: #1C2331;
  padding: 14px 36px;
  border-radius: 32px;
  font-size: 1.22rem;
  font-weight: 700;
  box-shadow: 0 2px 20px rgba(182,158,107,0.10);
  letter-spacing: .01em;
  transition: background 0.3s, color 0.3s, box-shadow 0.2s;
  display: inline-block;
  border: none;
  outline: none;
  margin-top: 12px;
}
a.cta-button:hover, .cta-button:hover, a.cta-button:focus, .cta-button:focus {
  background: linear-gradient(100deg, #B69E6B 15%, #d2bb7c 64%, #1C2331 100%);
  color: #fff;
  box-shadow: 0 5px 38px rgba(28,35,49,0.12), 0 4px 12px rgba(182,158,107,0.17);
}

/******************************
 4. HEADER & NAVIGATION
 ******************************/
header {
  background: var(--bg-gradient);
  box-shadow: 0 2px 30px rgba(28,35,49,0.06);
  position: relative;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px 24px 20px;
  gap: 22px;
}
header nav {
  display: flex;
  gap: 32px;
}
header nav a {
  font-family: var(--font-body);
  color: var(--primary);
  font-size: 1rem;
  padding: 8px 4px;
  border-radius: 6px;
  transition: color 0.18s, background 0.2s;
  font-weight: 500;
}
header nav a:hover, header nav a:focus {
  color: var(--secondary);
  background: rgba(235,227,201, 0.24);
}
header .cta-button {
  margin-left: 12px;
}
header img {
  height: 46px;
  width: auto;
}

/*******************
MOBILE NAVIGATION
*******************/
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 28px;
  right: 26px;
  font-size: 2.1rem;
  color: var(--primary);
  background: rgba(255,255,255,0.85);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  z-index: 112;
  box-shadow: 0 3px 14px rgba(28,35,49,0.04);
  border: none;
  transition: background 0.18s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--secondary);
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  width: 88vw;
  max-width: 350px;
  height: 100vh;
  background: #fff;
  box-shadow: -6px 0 32px rgba(28,35,49,0.18);
  z-index: 2000;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(.52,0,.26,1);
  padding: 44px 28px 36px 28px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 15px;
  right: 18px;
  font-size: 2.1rem;
  color: var(--primary);
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 222;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--bg-gradient);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 11px;
  margin-top: 32px;
}
.mobile-nav a {
  font-family: var(--font-body);
  font-size: 1.1rem;
  padding: 14px 0 13px 0;
  color: var(--primary);
  border-radius: 7px;
  background: none;
  transition: background 0.16s, color 0.17s;
  width: 100%;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--secondary);
  background: rgba(182,158,107,0.085);
}

/******************************
 5. HEROES, SECTIONS, CARDS
 ******************************/
main section {
  background: transparent;
  position: relative;
  z-index: 2;
  margin-bottom: 60px;
  padding: 40px 0;
}
main section:first-child {
  background: var(--bg-gradient);
  border-radius: 0 0 48px 48px;
  margin-bottom: 60px;
  box-shadow: 0 10px 20px rgba(28,35,49,0.07);
}
.feature-grid > div {
  flex: 1 1 240px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 28px 20px;
  margin-bottom: 0;
  transition: box-shadow var(--transition), transform var(--transition);
  min-width: 200px;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 32px rgba(28,35,49,0.14), 0 2px 6px rgba(182,158,107,0.19);
  transform: translateY(-4px) scale(1.017);
}
.feature-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
}
.card-grid {
  justify-content: flex-start;
  gap: 24px;
}
.card {
  min-width: 270px;
  max-width: 400px;
  flex: 1 1 340px;
}

/******************************
 6. FOOTER
 ******************************/
footer {
  background: var(--primary);
  color: #fff;
  padding: 38px 0 14px 0;
  position: relative;
  z-index: 7;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 120px;
}
.footer-menu a {
  font-family: var(--font-body);
  color: #fff;
  font-size: 1rem;
  opacity: 0.87;
  transition: color 0.2s, opacity 0.13s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--secondary);
  opacity: 1;
}
.footer-contact {
  flex: 2 1 320px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-contact img {
  width: 50px;
  margin-bottom: 9px;
}
.footer-contact p {
  color: #E0DFE1;
  margin-bottom: 2px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-contact img[alt^="Telefon"],
.footer-contact img[alt^="E-Mail"] {
  width: 17px;
  height: 17px;
  margin-right: 7px;
}

/******************************
 7. COOKIE CONSENT BANNER + MODAL
 ******************************/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 20px rgba(28,35,49,0.06);
  padding: 24px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  z-index: 3000;
  transition: transform 0.32s;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner p {
  font-size: 1rem;
  color: #222;
  margin-bottom: 0;
  flex: 1;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 12px;
}
.cookie-btn {
  padding: 10px 22px;
  font-family: var(--font-display);
  font-size: 1.07rem;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  background: none;
  color: var(--primary);
  box-shadow: 0 1px 4px rgba(28,35,49,0.06);
  transition: background .18s, color .19s;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: #fff;
  font-weight: 700;
}
.cookie-btn.reject {
  background: #E0DFE1;
  color: var(--primary);
  font-weight: 700;
}
.cookie-btn.settings {
  background: transparent;
  border: 1.2px solid var(--secondary);
  color: var(--secondary);
  font-weight: 500;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: #fff;
  outline: none;
}
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28,35,49,0.45);
  z-index: 3050;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  padding: 38px 24px 28px 24px;
  box-shadow: 0 10px 32px rgba(28,35,49,0.15);
  max-width: 96vw;
  width: 420px;
  z-index: 3100;
  animation: cookie-modal-in 0.34s cubic-bezier(.5,.3,.2,1);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@keyframes cookie-modal-in { from { transform: translateY(40px); opacity:0; } to {transform:none; opacity:1;}}
.cookie-modal h2 {
  font-size: 1.34rem;
  margin-bottom: 8px;
  color: var(--primary);
  font-family: var(--font-display);
}
.cookie-modal .categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.02rem;
  color: var(--primary);
}
.cookie-category input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--secondary);
}
.cookie-category label {
  margin-left: 6px;
  font-size: 0.97rem;
}
.cookie-modal .close-modal-btn {
  position: absolute;
  top: 9px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--primary);
  cursor: pointer;
  z-index: 2;
  border-radius: 8px;
}
.cookie-modal .close-modal-btn:hover {
  background: var(--bg-gradient);
  color: #fff;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 12px;
}

/******************************
 8. INTERACTIONS, TRANSITIONS
 ******************************/
*:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}
a, button {
  transition: color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s;
}
a:active, button:active {
  transform: scale(.96);
}

/******************************
 9. UTILITIES, MEDIA, RESPONSIVE
 ******************************/
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  .feature-grid > div,
  .card {
    min-width: 190px;
  }
  .content-wrapper {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 2.1rem;}
  h2, .h2 { font-size: 1.4rem;}
  h3, .h3 { font-size: 1.1rem;}
  .container {
    padding: 0 10px;
  }
  .feature-grid, .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 22px;
  }
  .feature-grid > div, .card {
    min-width: 80vw;
    width: 100%;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 13px;
    gap: 10px;
  }
  .section {
    margin-bottom: 32px;
    padding: 22px 10px;
  }
  main section {
    margin-bottom: 32px;
    padding: 24px 0;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 7px;
  }
  .footer-contact {
    gap: 7px;
    font-size: 0.97rem;
  }
  .footer-menu {
    gap: 5px;
    font-size: 0.97rem;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .cta-button {
    display: none;
  }
}
@media (max-width: 600px) {
  .cookie-modal {
    width: 98vw;
    padding: 24px 7px 22px 7px;
  }
  .footer-contact,
  .footer-menu,
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/******************************
 10. MISC. & HELPER CLASSES
 ******************************/
.d-none { display:none!important; }
.mt-0 { margin-top:0!important; }
.mt-1 { margin-top:8px!important; }
.mt-2 { margin-top:16px!important; }
.mt-3 { margin-top:24px!important; }
.mb-0 { margin-bottom:0!important; }
.mb-1 { margin-bottom:8px!important; }
.mb-2 { margin-bottom:16px!important; }
.mb-3 { margin-bottom:24px!important; }
.text-center { text-align: center !important; }
.bg-accent { background: var(--accent)!important; }
.bg-primary { background: var(--primary)!important; color: #fff!important; }
.bg-gradient { background: var(--bg-gradient)!important; }

/******************************
 * END Mazzi’s Brân ArtInvest CSS *
 ******************************/
