/* =============================
   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,
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 {
  box-sizing: border-box;
  height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #F8F4EE;
  color: #233143;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img, picture, video {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  list-style-position: outside;
  padding-left: 2em;
}
a {
  color: #233143;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px dashed #F6B321;
  outline-offset: 2px;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 12px;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; font-weight: 600; }
p, ul, ol, li {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
strong { font-weight: 700; }
.section { margin-bottom: 60px; padding: 40px 20px; }

/* =============================
  VINTAGE RETRO COLOR PALETTE
============================= */
:root {
  --primary: #233143;
  --secondary: #B1C7D3;
  --accent: #F6B321;
  --retro-moss: #D0B883;
  --retro-sunset: #F28B30;
  --retro-rose: #D43653;
  --retro-sky: #8CBAE8;
  --soft-bg: #F8F4EE;
  --paper-bg: #F3E7D7;
  --off-black: #22201E;
  --testimonial-bg: #FCFBF7;
  --card-shadow: rgba(63,46,28,0.13);
}

/* =============================
       BASE CONTAINERS
============================= */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* =============================
     RETRO TYPOGRAPHY
============================= */
body, p, ul, ol, li {
  font-family: 'Roboto', Arial, sans-serif;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  text-transform: none;
  letter-spacing: 0.02em;
}
.btn-primary, .btn-link {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.subheadline {
  font-size: 1.32rem;
  color: var(--accent);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-style: italic;
  letter-spacing: 0.06em;
}

/* ========== HEADER/NAV ========= */
header {
  background: var(--paper-bg);
  border-bottom: 5px solid var(--accent);
  box-shadow: 0 6px 16px var(--card-shadow);
  position: relative;
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 20px 16px 16px 16px;
  gap: 24px;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  color: var(--primary);
  padding: 7px 13px;
  border-radius: 6px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  background: transparent;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover,
header nav a:focus {
  background: var(--secondary);
  color: var(--accent);
}
header img {
  width: 140px;
  height: auto;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--off-black);
  border: none;
  border-radius: 30px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: bold;
  padding: 13px 36px;
  box-shadow: 0 3px 16px var(--card-shadow);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.17s, transform 0.13s, box-shadow 0.15s;
  margin-top: 10px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--retro-sunset);
  color: #fff;
  box-shadow: 0 5px 20px var(--retro-sunset);
  transform: translateY(-3px) scale(1.03);
}
.btn-link {
  color: var(--accent);
  text-decoration: underline;   
  background: none;
  border: none;
  font-weight: 700;
  font-size: 1.06rem;
  margin-top: 0.4em;
  cursor: pointer;
  transition: color 0.16s;text-underline-offset:4px;
}
.btn-link:hover, .btn-link:focus {
  color: var(--retro-rose);
  text-decoration-color: var(--retro-rose);
}

/* Mobile burger button */
.mobile-menu-toggle {
  display: none;
  background: var(--retro-moss);
  color: var(--primary);
  font-size: 2rem;
  border: 2px solid var(--primary);
  border-radius: 50%;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, border 0.16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--accent);
  color: var(--off-black);
  border-color: var(--retro-rose);
}
/* Hamburger only on mobile */
@media (max-width: 1000px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 100vw; height: 100dvh;
  background: var(--primary);
  color: #fff;
  z-index: 999;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.86,.1,.33,1);
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
  padding: 0 0 0 0;
  box-shadow: 2px 0 30px var(--card-shadow);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.25rem;
  background: var(--retro-rose);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 46px; height: 46px;
  margin: 22px 0 14px 22px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 10px var(--card-shadow);
  transition: background 0.14s;
  display: flex;
}
.mobile-menu-close:active,
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--accent);
  color: var(--off-black);
}
.mobile-nav {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  gap: 0;
  padding-top: 20px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 18px 30px;
  border-bottom: 1px dotted var(--accent);
  background: none;
  transition: background 0.13s, color 0.13s;
  text-align: left;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--retro-sunset);
  color: #fff;
}
@media (min-width: 1001px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}


/* ============= HERO & MAIN ================== */
.hero {
  background: var(--secondary);
  background-image: repeating-linear-gradient(130deg, var(--paper-bg) 0px, var(--paper-bg) 8px, transparent 8px, transparent 24px);
  border-bottom: 6px dashed var(--retro-moss);
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .container {
  justify-content: center;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  gap: 22px;
  text-align: center;
  margin-top: 36px;
}
@media (max-width: 600px) {
  .hero .content-wrapper {
    margin-top: 18px;
    gap: 16px;
  }
  .hero {
    min-height: 210px;
    padding-top: 16px;
    padding-bottom: 24px;
  }
}

.features {
  background: var(--paper-bg);
  border-top: 5px solid var(--accent);
  border-bottom: 4px dotted var(--retro-sunset);
  margin-bottom: 60px;
}
.features h2 {
  color: var(--accent);
  font-size: 2.1rem;
  margin-bottom: 18px;
}
.feature-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: stretch;
  margin-bottom: 18px;
}
.feature-grid > div {
  background: var(--testimonial-bg);
  border-radius: 16px;
  box-shadow: 0 3px 10px var(--card-shadow);
  border: 2px solid var(--retro-moss);
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 340px;
  padding: 22px 18px 18px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.16s, transform 0.11s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 28px var(--accent);
  transform: translateY(-4px) scale(1.03);
}
.feature-grid h3 {
  color: var(--retro-rose);
  font-size: 1.18rem;
}
.feature-grid img {
  width: 42px;
  margin-bottom: 10px;
}
.features ul {
  display: flex;
  flex-direction: row;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: 1rem;
  color: var(--primary);
  font-style: italic;
  list-style: disc inside;
  justify-content: flex-start;
}
@media (max-width: 800px) {
  .feature-grid { flex-direction: column; gap: 20px; }
  .features ul { flex-direction: column; gap: 8px; }
}


/* ================= TEXT SECTIONS, CONTENT CARDS ================== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.section,
main section {
  border-bottom: 0;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.card {
  background: var(--testimonial-bg);
  border-radius: 16px;
  margin-bottom: 20px;
  position: relative;
  padding: 22px 22px 16px 22px;
  box-shadow: 0 3px 10px var(--card-shadow);
  border: 2px solid var(--retro-moss);
  transition: box-shadow 0.15s, transform 0.11s;
  flex: 1 1 320px;
  min-width: 250px;
  max-width: 410px;
}
.card:hover {
  box-shadow: 0 8px 28px var(--accent);
  transform: translateY(-3px) scale(1.025);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 10px; /* fallback for browsers not supporting gap */
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 15px; }
  .content-grid { flex-direction: column; gap: 20px; }
}


/*********** Testimonial ***********/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--testimonial-bg);
  border: 2.5px solid var(--retro-moss);
  border-radius: 18px;
  box-shadow: 0 3px 14px var(--card-shadow);
  font-size: 1.16rem;
  color: var(--off-black);
  margin-bottom: 20px;
  position: relative;
}
.testimonial-card p {
  line-height: 1.6;
}
.testimonial-card strong {
  color: var(--primary);
  font-size: 1.12rem;
}
/* Extra contrast for readability */
.testimonial-card {
  background: #FCFBF7;
  color: #22201E;
}

/********** Feature Item Layout ***********/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

/********** CTA Box ************/
.cta-box {
  background: var(--accent);
  color: #22201E;
  border-radius: 20px;
  padding: 35px 26px;
  margin-top: 30px;
  margin-bottom: 36px;
  box-shadow: 0 5px 27px var(--card-shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.cta-box h2 {
  color: var(--primary);
}

/********* Footer *************/
footer {
  background: var(--paper-bg);
  border-top: 6px solid var(--accent);
  padding: 34px 0 16px 0;
  margin-top: 40px;
  box-shadow: 0 -4px 18px var(--card-shadow);
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 0 16px;
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
footer nav a {
  color: var(--primary);
  font-size: 0.98rem;
  opacity: 0.87;
  padding: 6px 8px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
footer nav a:hover {
  color: var(--retro-rose);
}
footer img {
  width: 70px; margin-bottom: 12px;
}
.contact-info {
  font-size: 0.98rem;
  color: #22201E;
  max-width: 320px;
}
.contact-info img {
  width: 17px; vertical-align: middle; margin-inline: 3px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
}

/*********** Address, Map & Info blocks ***********/
.address-block, .google-map-embed, .message-info {
  background: var(--soft-bg);
  border: 1px solid var(--retro-moss);
  border-radius: 15px;
  padding: 18px 18px 10px 18px;
  margin-bottom: 18px;
  box-shadow: 0 3px 10px var(--card-shadow);
}
@media (max-width: 800px) {
  .address-block, .google-map-embed, .message-info {
    padding: 14px 8px 8px 12px;
  }
}

/************ Partner Logos ************/
.partner-logos {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--soft-bg);
  border: 1px solid var(--secondary);
  border-radius: 8px;
  padding: 4px 14px 4px 10px;
  margin-top: 12px;
}
.partner-logos img {
  width: 28px;
  height: auto;
}
.partner-logos span {
  font-size: .97rem; color: var(--primary); font-weight: 600;
}
/************ Author Profile (Geschichten) ************/
.author-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-style: italic;
}
.author-profile img {
  width: 26px;
  height: 26px;
}

/*********** General RESPONSIVE SETTINGS ***********/
@media (max-width: 600px) {
  body { font-size: 0.98rem; }
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.17rem; }
  h3 { font-size: 1.01rem; }
  .container { padding: 0 6px; }
  .section, main section, .cta-box { padding: 20px 7px !important; }
}

/************ Cookie Consent Banner ************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1099;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--primary);
  color: #fff;
  padding: 22px 36px 22px 24px;
  font-size: 1rem;
  box-shadow: 0 -3px 18px var(--card-shadow);
  border-top: 5px solid var(--accent);
  transition: transform 0.22s cubic-bezier(.77,.07,.32,1), opacity 0.18s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.cookie-banner button {
  appearance: none;
  border: none;
  border-radius: 26px;
  padding: 10px 22px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-left: 0;
  box-shadow: 0 2px 8px var(--card-shadow);
  cursor: pointer;
  transition: background 0.11s, color 0.13s;
}
.cookie-banner .cookie-btn-accept {
  background: var(--accent);
  color: var(--primary);
}
.cookie-banner .cookie-btn-accept:hover { background: var(--retro-sunset); color: #fff; }
.cookie-banner .cookie-btn-reject {
  background: #fff;
  color: var(--primary);
}
.cookie-banner .cookie-btn-reject:hover { background: var(--retro-rose); color: #fff; }
.cookie-banner .cookie-btn-settings {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .cookie-btn-settings:hover { background: var(--retro-moss); }
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 8px 18px 8px;
    gap: 14px;
    font-size: 0.93rem;
  }
}

/********* Cookie Modal **********/
.cookie-modal {
  position: fixed;
  z-index: 1200;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 95vw;
  max-width: 364px;
  background: var(--paper-bg);
  color: var(--primary);
  border-radius: 22px;
  box-shadow: 0 9px 30px var(--card-shadow);
  padding: 30px 22px 26px 22px;
  opacity: 1;
  transition: opacity 0.22s, transform 0.22s cubic-bezier(.86,.1,.33,1);
  display: flex;
  flex-direction: column;
  gap: 20px;
  pointer-events: all;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.9);
}
.cookie-modal h2 {
  color: var(--accent);
  font-size: 1.18rem;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-modal .cookie-category-toggle {
  appearance: none;
  width: 34px;
  height: 18px;
  background: #ccc;
  border-radius: 18px;
  position: relative;
  outline: none;
  margin-left: 0;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-modal .cookie-category-toggle:checked {
  background: var(--accent);
}
.cookie-modal .cookie-category-toggle::before {
  content: '';
  display: block;
  position: absolute;
  left: 2px; top: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.18s;
}
.cookie-modal .cookie-category-toggle:checked::before {
  left: 18px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 10px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 24px; top: 26px;
  background: var(--retro-rose);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal .cookie-modal-close:hover { background: var(--accent); color: var(--off-black) }

/********  Retro Details/Patterns ********/
section { position: relative; }
section:not(.hero):not(.features):after {
  content: '';
  display: block;
  position: absolute;
  right: 10px; bottom: 8px;
  width: 68px; height: 68px;
  background-image: url('../assets/pattern-dot-retro.svg');
  opacity: 0.06;
  pointer-events: none;
}
@media (max-width: 700px) {
  section:not(.hero):not(.features):after { display: none; }
}


/* === VINTAGE SHADOWS & HOVER for CARDS, BUTTONS, CALLS === */
.card, .card-container > * {
  box-shadow: 0 2px 12px var(--card-shadow);
  transition: box-shadow 0.17s, transform 0.13s;
}
.card:hover, .card-container > *:hover {
  box-shadow: 0 8px 30px var(--accent);
  transform: translateY(-6px) scale(1.018);
  z-index: 1;
}

/* ==========================
    ACCESSIBILITY EXTRAS
========================== */
:focus {
  outline: 2px dashed var(--accent) !important;
  outline-offset: 1.5px !important;
}
::-webkit-input-placeholder { color: #787878; }
::-moz-placeholder { color: #787878; }
:-ms-input-placeholder { color: #787878; }
::placeholder { color: #787878; }

/* ==========================
       CUSTOM SCROLLBAR
========================== */
body {
  scrollbar-color: var(--accent) var(--secondary);
  scrollbar-width: thin;
}
::-webkit-scrollbar { width: 10px; background: var(--secondary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 8px; }

/* ===============================
     DECORATIVE STAMP EFFECT (Retro)
=============================== */
.card, .testimonial-card, .address-block, .cta-box {
  border-style: dashed;
  border-width: 2px;
  border-color: var(--retro-moss);
  transition: border-color 0.17s;
}
.card:hover, .testimonial-card:hover, .cta-box:hover {
  border-color: var(--accent);
}

/*****  Hide pattern on .cta-box for cleaner focus *****/
.cta-box:after { display: none !important; }

/* ==========================
     PRINT OPTIMIZATION
========================== */
@media print {
  .mobile-menu, .cookie-banner, .cookie-modal, header, footer { display: none !important; }
  main, .container, .content-wrapper { width: 100% !important; padding: 0 !important; }
}
