/* ==== VINTAGE RETRO FLEXBOX DESIGN FOR GLÄNZENDER BOGEN ==== */

/* --- CSS RESET & BASE TYPOGRAPHY --- */
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,
b, 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, 
main, 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 {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F7F6F2;
  color: #23324D;
  line-height: 1.7;
  min-height: 100vh;
}

/* --- RETRO FONTS --- */
@import url('https://fonts.googleapis.com/css?family=Merriweather:700,900|Open+Sans:400,700&display=swap');

h1, h2, h3, h4 {
  font-family: 'Merriweather', serif;
  color: #23324D;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem; /* 40px */
  font-weight: 900;
  margin-bottom: 24px;
  text-shadow: 1px 1px 0 #E0C084;
}
h2 {
  font-size: 2rem; /* 32px */
  font-weight: 700;
  margin-bottom: 18px;
  text-shadow: 1px 1px 0 #E0C08477;
}
h3 {
  font-size: 1.4rem; /* 22.4px */
  font-weight: 700;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.2rem; /* 19.2px */
  font-weight: 700;
  margin-bottom: 12px;
}
p, li, span, td, th, dd, dt {
  font-size: 1rem;
  color: #2c2937;
}

strong {
  font-weight: bold;
  color: #23324D;
}

/* --- LINKS --- */
a {
  color: #BF7C44;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #8d411c;
  text-decoration: underline;
}

/* --- STRUCTURE CLASSES --- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff7e3;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 #e0c08433;
  position: relative;
}
/* Card containers, grids */
.card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: #fcf8f2;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 #c2ab7e13;
  padding: 28px 22px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
}
.card:hover {
  box-shadow: 0 4px 20px 0 #e0c08444;
  transform: translateY(-2px) scale(1.025);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* --- HERO / MAIN SECTIONS --- */
.hero {
  background: repeating-linear-gradient(
    -45deg,
    #f7f6f2,
    #f7f6f2 22px,
    #faecc9 22px,
    #faecc9 44px
  );
  border-bottom: 3px dashed #e0c084;
  padding: 64px 0 52px 0;
  margin-bottom: 48px;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 540px;
}
.hero h1 {
  font-size: 2.8rem;
  color: #23324D;
}
.hero p {
  font-size: 1.2rem;
  color: #3c351f;
  margin-bottom: 18px;
}

/* --- MAIN NAVIGATION --- */
header {
  background: #23324D;
  box-shadow: 0 3px 16px 0 #23324d0a;
  position: relative;
  z-index: 100;
}
.main-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  flex-wrap: wrap;
  gap: 22px;
}
.main-navigation > a img {
  height: 38px;
  vertical-align: middle;
}
.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-navigation li a {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: #E0C084;
  padding: 7px 13px;
  border-radius: 7px;
  background: transparent;
  transition: background 0.16s, color 0.16s;
}
.main-navigation li a[aria-current="page"],
.main-navigation li a:hover {
  background: #E0C084;
  color: #23324D;
  text-shadow: none;
}
.main-navigation .cta.primary {
  background: #E0C084;
  color: #23324D;
  border-radius: 18px;
  border: none;
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: 1rem;
  padding: 10px 32px;
  margin-left: 10px;
  box-shadow: 0 2px 8px 0 #e0c08444;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.15s;
}
.main-navigation .cta.primary:hover, .main-navigation .cta.primary:focus {
  background: #d8b771;
  color: #1a2130;
  box-shadow: 0 6px 16px 0 #e0c08466;
  transform: translateY(-2px) scale(1.035);
}

/* --- MOBILE MENU BUTTON --- */
.mobile-menu-toggle {
  display: none;
  background: #E0C084;
  color: #23324D;
  font-size: 2rem;
  border: none;
  border-radius: 12px;
  padding: 7px 16px;
  cursor: pointer;
  margin-left: 8px;
  z-index: 1025;
  transition: background 0.19s, color 0.19s, transform 0.18s;
}
.mobile-menu-toggle:active {
  background: #d8b771;
  color: #1A2130;
  transform: scale(0.98);
}

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #23324DE6;
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.7,0,0.3,1);
  box-shadow: -8px 0 32px 0 #1b233700;
  overflow-y: auto;
  padding-left: 0;
  width: 100vw;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #E0C084;
  color: #23324D;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  margin: 24px;
  padding: 8px 16px;
  cursor: pointer;
  align-self: flex-end;
  transition: background 0.18s;
}
.mobile-menu-close:active {
  background: #d8b771;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 40px;
  gap: 20px;
  padding-bottom: 44px;
}
.mobile-nav a {
  color: #E0C084;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 13px 4px 13px 0;
  margin-right: 15px;
  border-bottom: 2px solid transparent;
  transition: border 0.18s, color 0.18s;
}
.mobile-nav a[aria-current="page"],
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: #23324D;
  background: #E0C084;
  border-bottom: 2px solid #bf7c44;
  border-radius: 6px 6px 6px 6px;
  padding-left: 13px;
}

/* --- FEATURES (OFTEN RETRO ICONS/CARDS) --- */
.features ul, .services ul, .about ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-bottom: 8px;
}
.features ul li, .services ul li, .about ul li {
  background: #fff7e3;
  border-radius: 12px;
  box-shadow: 0px 1px 10px 0 #e0c08422;
  padding: 21px 18px;
  flex: 1 1 260px;
  min-width: 210px;
  transition: box-shadow 0.18s, transform 0.18s;
  margin-bottom: 20px;
  position: relative;
}
.features ul li:hover, .services ul li:hover, .about ul li:hover {
  box-shadow: 0 5px 22px #e0c08444;
  transform: translateY(-4px) scale(1.025);
}
.features ul img, .features ul svg {
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  filter: sepia(0.45) contrast(1.15);
}

/* --- TESTIMONIALS / QUOTES --- */
.testimonials {
  background: #f8e9bb;
  border-top: 2px solid #e0c084;
  border-bottom: 2px solid #e0c084;
  padding: 44px 0 36px 0;
  margin-bottom: 60px;
}
.testimonials .content-wrapper {
  align-items: flex-start;
  gap: 26px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 32px 18px 34px;
  background: #fff9f1;
  border-left: 7px solid #E0C084;
  border-radius: 12px;
  font-family: 'Merriweather', serif;
  font-size: 1.07rem;
  margin-bottom: 20px;
  box-shadow: 0 3px 14px 0 #e0c08444;
  color: #36281f;
  transition: box-shadow 0.16s, border-left 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 18px 0 #e0c08433;
  border-left: 7px solid #bf7c44;
  transform: translateY(-3px) scale(1.015);
}
.testimonial-card p {
  color: #1a2130;
  margin-bottom: 2px;
}
.testimonial-card span {
  color: #526098;
  font-size: 0.99rem;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* --- CONTACT & FAQ --- */
.contact ul, .confirmation ul, .faq dl {
  margin-top: 10px;
  margin-bottom: 24px;
  padding-left: 2px;
}
.contact ul li, .confirmation ul li {
  margin-bottom: 12px;
  padding-left: 0;
  font-size: 1rem;
}
.text-section {
  margin-bottom: 18px;
}

.faq dl {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq dt {
  font-family: 'Merriweather', serif;
  font-weight: bold;
  font-size: 1.07rem;
  color: #3c2c1c;
  margin-bottom: 2px;
}
.faq dd {
  font-size: 0.99rem;
  margin-bottom: 9px;
  color: #23324D;
}

/* --- LEGAL / POLICY --- */
.legal {
  background: #fcf8f2;
  padding: 48px 0;
  border-radius: 11px;
  box-shadow: 0 2px 10px 0 #e0c08411;
}
.legal h1, .legal h2 {
  color: #23324D;
}
.legal ul {
  margin-bottom: 19px;
}
.legal ul li {
  margin-bottom: 9px;
}

/* -- CONFIRMATION -- */
.confirmation {
  background: #FFF7E3;
  border-radius: 13px;
  box-shadow: 0 2px 16px 0 #e0c08444;
  padding: 40px 18px;
  margin-bottom: 64px;
}
.confirmation ul {
  margin-bottom: 21px;
}

/* --- CTA BUTTONS --- */
.cta, .cta.primary {
  display: inline-block;
  font-family: 'Merriweather', serif;
  background: #e0c084;
  color: #23324D;
  border: none;
  border-radius: 18px;
  font-size: 1.08rem;
  font-weight: 900;
  text-decoration: none;
  padding: 11px 30px;
  margin-top: 12px;
  box-shadow: 0 2px 8px 0 #e0c08433;
  cursor: pointer;
  transition: background 0.16s, color 0.13s, box-shadow 0.15s, transform 0.15s;
}
.cta.primary {
  background: #e0c084;
  color: #23324D;
}
.cta:hover, .cta:focus {
  background: #bf7c44;
  color: #fff9f1;
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 5px 18px #e0c08455;
}

/* --- FOOTER --- */
footer {
  background: #23324D;
  color: #E0C084;
  padding: 35px 0 15px 0;
  margin-top: 48px;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 19px;
}
.footer-menu a {
  color: #E0C084;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  transition: color 0.15s;
  text-shadow: 1px 1px 0 #ffffff19;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #F7F6F2;
  text-decoration: underline;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.footer-brand img {
  width: 44px;
  height: auto;
  margin-bottom: 5px;
}
.footer-brand p {
  color: #e0c08499;
  font-size: 0.98rem;
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  background: #23324D;
  color: #fff;
  padding: 18px 24px 15px 24px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 -2px 18px #1b2337aa;
  font-size: 1.03rem;
  animation: fadeInBottom 0.65s;
}
@keyframes fadeInBottom {
  from { opacity: 0; transform: translateY(80px);} 
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner__text {
  max-width: 650px;
  color: #E0C084;
  font-family: 'Merriweather', serif;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-banner__actions button {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 8px 22px;
  font-size: 1rem;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.15s, color 0.14s;
  box-shadow: 0 1px 5px #e0c08422;
}
.cookie-banner__actions .accept {
  background: #e0c084;
  color: #23324D;
}
.cookie-banner__actions .accept:hover {
  background: #bf7c44;
  color: #fff9f1;
}
.cookie-banner__actions .reject {
  background: #bdbdbd;
  color: #414140;
}
.cookie-banner__actions .reject:hover {
  background: #64513a;
  color: #f7f6f2;
}
.cookie-banner__actions .settings {
  background: transparent;
  border: 2px solid #e0c084;
  color: #e0c084;
  padding: 7px 19px;
}
.cookie-banner__actions .settings:hover {
  background: #e0c08433;
  color: #fff7e3;
}

.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: #23324DC9;
  z-index: 4000;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
  animation: fadeInModal 0.24s;
}
.cookie-modal.open { display: flex;}
@keyframes fadeInModal {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal__content {
  background: #faf5e2;
  color: #1a2130;
  border-radius: 18px;
  box-shadow: 0 2px 18px #be9e62bb;
  padding: 34px 30px 26px 30px;
  max-width: 460px;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  font-size: 1rem;
}
.cookie-modal__header {
  font-family: 'Merriweather', serif;
  font-size: 1.25rem;
  font-weight: 700;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
}
.cookie-modal__category input[type="checkbox"] {
  accent-color: #bf7c44;
  width: 18px; height: 18px;
}
.cookie-modal__category .always-on {
  font-size: 0.96rem;
  color: #8b7842;
}
.cookie-modal__actions {
  display: flex;
  gap: 13px;
  margin-top: 8px;
}
.cookie-modal__actions button {
  border-radius: 9px;
  border: none;
  padding: 8px 22px;
  font-weight: 700;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 1px 6px #e0c08455;
}
.cookie-modal__actions .save {
  background: #e0c084;
  color: #23324D;
}
.cookie-modal__actions .save:hover {
  background: #bf7c44;
  color: #fff9f1;
}
.cookie-modal__actions .cancel {
  background: #bdbdbd;
  color: #2c2937;
}
.cookie-modal__actions .cancel:hover {
  background: #a78a56;
  color: #fff7e3;
}

/* --- SPACING & ALIGNMENT PATTERNS (ALL FLEX) --- */
.section { margin-bottom: 60px; padding: 40px 20px;}
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* --- RESPONSIVE DESIGN (MOBILE-FIRST) --- */
@media (max-width: 990px) {
  .main-navigation ul {
    gap: 13px;
  }
  .container {
    max-width: 100%;
    padding: 0 14px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.25rem; }
  .main-navigation {
    flex-direction: row;
    gap: 12px;
    padding: 12px 7px;
  }
  .main-navigation ul {
    display: none;
  }
  .main-navigation .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
    position: absolute;
    right: 20px;
    top: 14px;
  }
  .hero {
    padding: 44px 0 32px 0;
  }
  .section {
    padding: 30px 5vw;
  }
  .features ul, .services ul, .about ul {
    flex-direction: column;
    gap: 18px;
  }
  .features ul li, .services ul li, .about ul li {
    min-width: unset;
    width: 100%;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .testimonial-card {
    padding: 13px 14px;
    font-size: 0.97rem;
    border-left-width: 4px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    font-size: 0.96rem;
    padding: 13px 8vw 11px 8vw;
  }
  .cookie-banner__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .cookie-modal__content {
    padding: 22px 10vw;
    min-width: unset;
    width: 95vw;
  }
}
@media (max-width: 500px) {
  h1 {font-size: 1.3rem;}
  h2 {font-size: 1rem;}
  .hero, .section {padding-left: 2vw; padding-right: 2vw;}
}

/* --- MICRO-INTERACTIONS & TRANSITIONS --- */
button, .cta, a {
  transition: color 0.13s, background 0.13s, box-shadow 0.13s, transform 0.14s;
}
li, .card, .testimonial-card {
  transition: box-shadow 0.16s, transform 0.16s;
}

/* --- ACCESSIBILITY/CONTRAST REQUIREMENTS (Testimonials, reviews) --- */
.testimonial-card {
  background: #fff9f1;
  color: #1a2130;
  border-left: 7px solid #E0C084;
}

/* --- RETRO NOSTALGIC ELEMENTS --- */
.section {
  background: repeating-linear-gradient(
    45deg,
    #fff7e3,
    #fff7e3 26px,
    #fff4d4 26px,
    #fff4d4 44px
  );
  border: 1px solid #e0c08466;
}
.card, .testimonial-card, .features ul li {
  border-radius: 12px 36px 12px 36px / 24px 12px 24px 12px;
}
footer, header {
  font-family: 'Merriweather', serif;
  letter-spacing: 0.015em;
}

/* --- FORMS (for Kontakt, if used elsewhere) --- */
input, textarea, select {
  font-family: 'Open Sans', sans-serif;
  padding: 10px 12px;
  border: 2px solid #E0C084;
  border-radius: 10px;
  margin-bottom: 17px;
  background: #fcf8f2;
  color: #23324D;
  box-shadow: 0 2px 4px #e0c08422;
  transition: border 0.15s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #bf7c44;
  box-shadow: 0 3px 18px #e0c08433;
}

/* --- UTILITY CLASSES --- */
.hide { display: none !important; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }
.align-center { align-items: center; }

/* --- PRINT STYLES --- */
@media print {
  .main-navigation, .footer-menu, .footer-brand, .mobile-menu,
  .cookie-banner, .cookie-modal { display: none !important; }
  .container, .section { box-shadow: none !important; background: #fff !important; }
}

/* --- ICON DECORATION for VINTAGE LOOK --- */
.features ul img, .features ul svg {
  border-radius: 50%;
  box-shadow: 0 2px 8px #e0c08466;
  background-color: #fff4d4;
  padding: 7px;
  border: 2.5px solid #e0c084;
}

/* ==== END VINTAGE RETRO FLEXBOX CSS ==== */