/* ==========================================================================
   Block Druck – Design System
   Editorial-ruhige Basis (Serif-Headlines, viel Weißraum) mit warmen,
   organischen Akzenten (weiche Formen, Wellenlinie) aus der Moodboard-Referenz.
   ========================================================================== */

/* Selbst gehostete Schriften (keine Google-Fonts-CDN-Anfrage, kein Cookie-Hinweis nötig).
   Variable Fonts: eine Datei pro Familie deckt alle Schnitte 400–700 ab. */
@font-face {
  font-family: 'Fraunces';
  src: url('../assets/fonts/fraunces-variable.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Karla';
  src: url('../assets/fonts/karla-variable.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Marke (aus Elementor-Set übernommen) */
  --color-terracotta: #E56249;
  --color-terracotta-dark: #C6492F;
  --color-terracotta-light: #F7DDD4;
  --color-navy: #225885;
  --color-navy-dark: #163C5C;
  --color-navy-light: #DCE6EE;

  /* Neuer warmer Zusatzton: gedämpftes Olivgrün (Umwelt/FSC-Thema) */
  --color-olive: #707A46;
  --color-olive-dark: #565E36;
  --color-olive-light: #E4E7D9;

  /* Neutrals */
  --color-cream: #FAF6F5;
  --color-accent-light: #F2F5F7;
  --color-ink: #2B2622;
  --color-text-muted: #6B6560;
  --color-white: #FFFFFF;
  --color-border: #E7DFDA;

  /* Typografie */
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Skala */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 6rem;
  --space-9: 8rem;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(43, 38, 34, 0.06);
  --shadow-md: 0 8px 24px rgba(43, 38, 34, 0.10);
  --shadow-lg: 0 16px 48px rgba(43, 38, 34, 0.14);

  --container-max: 1180px;

  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 var(--space-3);
  color: var(--color-navy-dark);
}

h1 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 var(--space-3); max-width: 65ch; }
p.lead { font-size: 1.15rem; color: var(--color-text-muted); }

a { color: var(--color-terracotta-dark); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--color-terracotta); }

ul, ol { padding-left: 1.2em; }

::selection { background: var(--color-terracotta-light); color: var(--color-ink); }

:focus-visible {
  outline: 3px solid var(--color-olive);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (max-width: 640px) {
  .container { padding-inline: var(--space-3); }
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  top: -100px; left: var(--space-3);
  background: var(--color-navy-dark);
  color: var(--color-white);
  padding: 0.75em 1.25em;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s var(--ease-standard);
}
.skip-link:focus { top: var(--space-3); color: var(--color-white); }

/* ==========================================================================
   Eyebrow / wavy underline accent
   ========================================================================== */

.eyebrow.instagram-handle svg { width: 1.2em; height: 1.2em; flex-shrink: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-terracotta-dark);
  margin-bottom: var(--space-2);
}

/* Organic soft blob decoration (background accent, decorative only) */
.blob-decor {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.9em 1.7em;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s var(--ease-standard), background-color 0.18s var(--ease-standard), color 0.18s var(--ease-standard), border-color 0.18s var(--ease-standard), box-shadow 0.18s var(--ease-standard);
  min-height: 44px;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-terracotta);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--color-terracotta-dark); color: var(--color-white); box-shadow: var(--shadow-md); }

.btn-secondary {
  background: transparent;
  color: var(--color-navy-dark);
  border-color: var(--color-navy-dark);
}
.btn-secondary:hover { background: var(--color-navy-dark); color: var(--color-white); }

.btn-on-navy {
  background: var(--color-white);
  color: var(--color-navy-dark);
}
.btn-on-navy:hover { background: var(--color-cream); }

.btn-ghost {
  background: transparent;
  color: var(--color-navy-dark);
  padding-inline: 0.4em;
}
.btn-ghost:hover { color: var(--color-terracotta-dark); transform: none; }

.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-2);
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.site-logo img { height: 40px; width: auto; }

.primary-nav { display: flex; }
.primary-nav > ul {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav > ul > li > a {
  font-weight: 600;
  color: var(--color-navy-dark);
  text-decoration: none;
  padding: 0.5em 0.1em;
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s var(--ease-standard), color 0.18s var(--ease-standard);
}
.primary-nav > ul > li > a:hover,
.primary-nav > ul > li > a[aria-current="page"] { color: var(--color-terracotta-dark); border-bottom-color: var(--color-terracotta); }

.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  background: none;
  border: none;
  font: inherit;
  font-weight: 600;
  color: var(--color-navy-dark);
  cursor: pointer;
  padding: 0.5em 0.1em;
  border-bottom: 2px solid transparent;
}
.nav-dropdown-toggle:hover { color: var(--color-terracotta-dark); }
.nav-dropdown-toggle svg { width: 0.9em; height: 0.9em; transition: transform 0.18s var(--ease-standard); }
.nav-dropdown[data-open="true"] .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown[data-open="true"] .nav-dropdown-toggle { color: var(--color-terracotta-dark); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  min-width: 260px;
  list-style: none;
  margin: 0;
  display: none;
  flex-direction: column;
  gap: 2px;
}
.nav-dropdown[data-open="true"] .nav-dropdown-menu { display: flex; }

.nav-dropdown-menu a {
  display: block;
  padding: 0.65em 0.9em;
  border-radius: var(--radius-sm);
  border-bottom: none;
  text-decoration: none;
  font-weight: 600;
  color: var(--color-ink);
}
.nav-dropdown-menu a:hover { background: var(--color-accent-light); color: var(--color-terracotta-dark); }
.nav-dropdown-menu a small {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.15em;
}

.header-cta { display: flex; align-items: center; gap: var(--space-3); flex-shrink: 0; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 700;
  color: var(--color-navy-dark);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone svg { width: 1.1em; height: 1.1em; color: var(--color-terracotta); }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; color: var(--color-navy-dark); }

@media (max-width: 900px) {
  .primary-nav { position: fixed; top: 68px; left: 0; right: 0; bottom: 0; height: calc(100vh - 68px); background: var(--color-cream); padding: var(--space-4); overflow-y: auto; display: none; z-index: 99; }
  .primary-nav[data-mobile-open="true"] { display: block; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav > ul > li { border-bottom: 1px solid var(--color-border); }
  .primary-nav > ul > li > a { display: block; padding: 1em 0.2em; }
  .nav-dropdown-menu { position: static; transform: none; box-shadow: none; padding-left: var(--space-3); background: transparent; }
  .nav-dropdown[data-open="true"] .nav-dropdown-menu { display: flex; }
  .header-phone span { display: none; }
  .header-cta { gap: var(--space-2); }
  .header-cta > .btn-primary { display: none; }
  .nav-toggle { display: flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-8) var(--space-7);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-7);
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .hero { padding-block: var(--space-6) var(--space-5); }
}

.hero-copy h1 { margin-bottom: var(--space-4); }
.hero-copy .lead { margin-bottom: var(--space-5); max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; margin-bottom: var(--space-4); }

.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-weight: 600;
  color: var(--color-navy-dark);
  font-size: 0.95rem;
}
.hero-trust .stars { display: inline-flex; gap: 2px; color: var(--color-terracotta); }
.hero-trust .stars svg { width: 18px; height: 18px; }

.hero-media { position: relative; }

/* ==========================================================================
   Photo placeholder blocks
   ========================================================================== */

.photo-placeholder {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(155deg, var(--color-navy-light) 0%, var(--color-terracotta-light) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-4);
  min-height: 220px;
  border: 1px solid var(--color-border);
}
.photo-placeholder svg { width: 44px; height: 44px; color: var(--color-navy); opacity: 0.55; margin-bottom: var(--space-2); }
.photo-placeholder .ph-label { font-weight: 700; color: var(--color-navy-dark); font-size: 0.95rem; margin-bottom: 0.25em; }
.photo-placeholder .ph-hint { font-size: 0.82rem; color: var(--color-text-muted); max-width: 26ch; }

.photo-placeholder.tone-olive { background: linear-gradient(155deg, var(--color-olive-light) 0%, var(--color-accent-light) 100%); }
.photo-placeholder.tone-terracotta { background: linear-gradient(155deg, var(--color-terracotta-light) 0%, var(--color-cream) 100%); }
.photo-placeholder.tone-navy { background: linear-gradient(155deg, var(--color-navy-light) 0%, var(--color-cream) 100%); }

.hero-media .photo-placeholder { min-height: 380px; box-shadow: var(--shadow-lg); }

/* Real product photography (replaces a photo-placeholder once a photo exists) */
.photo-real {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.hero-media .photo-real { box-shadow: var(--shadow-lg); height: 420px; object-fit: cover; object-position: center 35%; }
@media (max-width: 900px) { .hero-media .photo-real { height: 320px; } }
.instagram-grid .photo-real { border-radius: var(--radius-sm); aspect-ratio: 1 / 1; object-fit: cover; }
.hero-media .badge-float {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  gap: 0.7em;
  z-index: 2;
}
.hero-media .badge-float svg { width: 28px; height: 28px; color: var(--color-olive); flex-shrink: 0; }
.hero-media .badge-float strong { display: block; font-size: 0.95rem; color: var(--color-navy-dark); }
.hero-media .badge-float span { display: block; font-size: 0.8rem; color: var(--color-text-muted); }

@media (max-width: 640px) {
  .hero-media .badge-float { position: static; margin-top: var(--space-3); }
}

/* ==========================================================================
   Trust bar (7 Stärken)
   ========================================================================== */

.trust-bar {
  background: var(--color-navy-dark);
  color: var(--color-white);
  padding-block: var(--space-5);
}
.trust-bar.tight { padding-block: var(--space-3); }

.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-4);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-1);
}
.trust-item .icon-badge {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.2em;
}
.trust-item .icon-badge svg { width: 26px; height: 26px; color: var(--color-terracotta); }
.trust-item span { font-weight: 600; font-size: 0.9rem; line-height: 1.3; }

/* ==========================================================================
   Sections
   ========================================================================== */

section { padding-block: var(--space-8); }
section.tight { padding-block: var(--space-6); }
.section-header { max-width: 640px; margin-bottom: var(--space-6); }
.nowrap-heading { white-space: nowrap; font-size: clamp(0.95rem, 4vw, 1.75rem); }
.section-header.center { margin-inline: auto; text-align: center; }

.bg-white { background: var(--color-white); }
.bg-cream { background: var(--color-cream); }
.bg-accent-light { background: var(--color-accent-light); }
.bg-navy { background: var(--color-navy-dark); color: var(--color-white); }
.bg-navy h2, .bg-navy h3 { color: var(--color-white); }
.bg-olive-light { background: var(--color-olive-light); }

/* ==========================================================================
   Service tiles
   ========================================================================== */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
@media (max-width: 900px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tile-grid { grid-template-columns: 1fr; } }

.service-tile {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-ink);
  transition: transform 0.2s var(--ease-standard), box-shadow 0.2s var(--ease-standard), border-color 0.2s var(--ease-standard);
}
.service-tile:hover { transform: translateY(-7px) scale(1.015); box-shadow: var(--shadow-lg); border-color: var(--color-terracotta-light); }
.service-tile .icon-badge {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-terracotta-light);
  display: flex; align-items: center; justify-content: center;
}
.service-tile .icon-badge svg { width: 24px; height: 24px; color: var(--color-terracotta-dark); }
.service-tile h3 { margin-bottom: 0.1em; color: var(--color-navy-dark); }
.service-tile p { font-size: 0.92rem; color: var(--color-text-muted); margin-bottom: 0.3em; }
.service-tile .tile-link { font-size: 0.88rem; font-weight: 700; color: var(--color-terracotta-dark); display: inline-flex; align-items: center; gap: 0.3em; }
.service-tile .tile-link svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }
.service-tile.catch-all { background: var(--color-olive-light); border-color: var(--color-olive); }
.service-tile.catch-all .icon-badge { background: var(--color-white); }
.service-tile.catch-all .icon-badge svg { color: var(--color-olive-dark); }

/* ==========================================================================
   Feature list (checkmarks)
   ========================================================================== */

.feature-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.feature-list li { display: flex; align-items: flex-start; gap: 0.7em; }
.feature-list svg { width: 20px; height: 20px; color: var(--color-olive); flex-shrink: 0; margin-top: 0.2em; }

/* ==========================================================================
   Quote / sustainability section
   ========================================================================== */

.quote-block {
  border-left: 4px solid var(--color-olive);
  padding-left: var(--space-4);
  margin: var(--space-4) 0;
}
.quote-block p { font-family: var(--font-serif); font-size: 1.3rem; color: var(--color-navy-dark); font-style: italic; margin-bottom: 0.4em; }
.quote-block cite { font-style: normal; font-size: 0.88rem; color: var(--color-text-muted); }

/* ==========================================================================
   Logo strip
   ========================================================================== */

.logo-strip { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; justify-content: center; }
.logo-slot {
  width: 160px; height: 90px;
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-3);
  background: var(--color-white);
  border-radius: var(--radius-sm);
}
.logo-slot img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.7);
  transition: filter 0.2s var(--ease-standard);
}
.logo-slot:hover img { filter: grayscale(0) opacity(1); }
.logo-slot.placeholder {
  border: 1px dashed var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.78rem;
  text-align: center;
}

/* ==========================================================================
   Instagram teaser
   ========================================================================== */

.instagram-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
@media (max-width: 640px) { .instagram-grid { grid-template-columns: repeat(2, 1fr); } }
.instagram-grid .photo-placeholder { min-height: 140px; border-radius: var(--radius-sm); padding: var(--space-2); }
.instagram-grid .photo-placeholder svg { width: 28px; height: 28px; margin-bottom: 0.3em; }
.instagram-grid .photo-placeholder .ph-label { font-size: 0.78rem; }

/* ==========================================================================
   Contact section
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.info-card {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
}
.info-card:last-child { border-bottom: none; }
.info-card svg { width: 24px; height: 24px; color: var(--color-terracotta-dark); flex-shrink: 0; }
.info-card strong { display: block; color: var(--color-navy-dark); margin-bottom: 0.15em; }
.info-card p { margin: 0; font-size: 0.95rem; color: var(--color-text-muted); }

.map-placeholder {
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 220px;
  margin-top: var(--space-4);
}

/* Google Maps: click-to-load consent gate (no data sent to Google before opt-in) */
.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 280px;
  border: 1px solid var(--color-border);
}
.map-embed iframe { display: block; }
.map-consent {
  min-height: 280px;
  height: 100%;
  background: var(--color-navy-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-2);
  padding: var(--space-5);
}
.map-consent svg { width: 40px; height: 40px; color: var(--color-navy); opacity: 0.6; }
.map-consent p { font-size: 0.9rem; color: var(--color-navy-dark); max-width: 40ch; margin: 0; }
.map-consent p a { color: var(--color-navy-dark); }
.map-consent-btn { margin-top: var(--space-1); }

/* ==========================================================================
   Forms
   ========================================================================== */

.form-field { margin-bottom: var(--space-3); }
.form-field label { display: block; font-weight: 700; font-size: 0.92rem; color: var(--color-navy-dark); margin-bottom: 0.4em; }
.form-field .hint { font-size: 0.82rem; color: var(--color-text-muted); margin-top: 0.3em; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 0.8em 1em;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-ink);
  min-height: 44px;
  transition: border-color 0.18s var(--ease-standard), box-shadow 0.18s var(--ease-standard);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-olive);
  box-shadow: 0 0 0 3px var(--color-olive-light);
}
.form-field .required { color: var(--color-terracotta-dark); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.form-status {
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  font-weight: 600;
  margin-bottom: var(--space-4);
}
.form-status.success { background: var(--color-olive-light); color: var(--color-olive-dark); border: 1px solid var(--color-olive); }
.form-status.error { background: var(--color-terracotta-light); color: var(--color-terracotta-dark); border: 1px solid var(--color-terracotta); }

/* Honeypot spam trap: hidden from real visitors, still in tab order for bots to fill */
.hp-field { position: absolute; left: -9999px; top: -9999px; }

.form-note {
  background: var(--color-accent-light);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  font-size: 0.88rem;
  color: var(--color-text-muted);
  display: flex;
  gap: 0.6em;
  align-items: flex-start;
}
.form-note svg { width: 20px; height: 20px; color: var(--color-navy); flex-shrink: 0; margin-top: 0.1em; }

/* ==========================================================================
   FAQ (details/summary)
   ========================================================================== */

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-3);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--color-navy-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex-shrink: 0; width: 24px; height: 24px; position: relative; }
.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: ""; position: absolute; background: var(--color-terracotta); border-radius: 2px;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.faq-item summary .plus::before { width: 16px; height: 2.5px; }
.faq-item summary .plus::after { width: 2.5px; height: 16px; transition: transform 0.2s var(--ease-standard); }
.faq-item[open] summary .plus::after { transform: translate(-50%, -50%) rotate(90deg) scale(0); }
.faq-item p { margin-top: var(--space-2); color: var(--color-text-muted); }

/* ==========================================================================
   Timeline (Historie)
   ========================================================================== */

.timeline { position: relative; padding-left: var(--space-5); border-left: 2px solid var(--color-border); display: flex; flex-direction: column; gap: var(--space-5); }
.timeline-item { position: relative; }
.timeline-item::before {
  content: ""; position: absolute; left: calc(-1 * var(--space-5) - 7px); top: 4px;
  width: 14px; height: 14px; border-radius: 50%; background: var(--color-terracotta); border: 3px solid var(--color-cream);
}
.timeline-item .year { font-family: var(--font-serif); font-weight: 600; color: var(--color-terracotta-dark); font-size: 1.1rem; }

/* ==========================================================================
   CTA banner
   ========================================================================== */

.cta-banner {
  background: linear-gradient(135deg, var(--color-navy-dark), var(--color-navy));
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: var(--color-white); }
.cta-banner p { color: rgba(255,255,255,0.85); margin-inline: auto; }
.cta-banner .hero-actions { justify-content: center; margin-top: var(--space-4); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: linear-gradient(120deg, var(--color-terracotta) 0%, var(--color-navy-dark) 32%);
  color: rgba(255,255,255,0.85);
  padding-block: var(--space-7) var(--space-5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid h4 { color: var(--color-white); font-family: var(--font-sans); font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: var(--space-3); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6em; }
.footer-grid a { color: rgba(255,255,255,0.85); text-decoration: none; }
.footer-grid a:hover { color: var(--color-terracotta); }
.footer-logo img { height: 34px; margin-bottom: var(--space-3); filter: brightness(0) invert(1); }
.footer-grid p { color: rgba(255,255,255,0.7); font-size: 0.92rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.footer-bottom ul { display: flex; gap: var(--space-4); list-style: none; padding: 0; margin: 0; }
.footer-bottom ul a,
.footer-bottom ul button { color: inherit; text-decoration: underline; }
.footer-bottom ul a:hover,
.footer-bottom ul button:hover { color: var(--color-white); }

.social-links { display: flex; gap: var(--space-2); }
.social-links a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
}
.social-links a:hover { background: var(--color-terracotta); }
.social-links svg { width: 18px; height: 18px; }

/* ==========================================================================
   Page hero (Unterseiten – schmaler als Startseite-Hero)
   ========================================================================== */

.page-hero {
  padding-block: var(--space-7) var(--space-6);
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 1; max-width: 800px; }
.page-hero.tone-terracotta { background: linear-gradient(160deg, var(--color-terracotta-light) 0%, var(--color-cream) 60%); }
.page-hero.tone-navy { background: linear-gradient(160deg, var(--color-navy-light) 0%, var(--color-cream) 60%); }
.page-hero.tone-olive { background: linear-gradient(160deg, var(--color-olive-light) 0%, var(--color-cream) 60%); }
.page-hero .breadcrumb { font-size: 0.85rem; font-weight: 600; color: var(--color-text-muted); margin-bottom: var(--space-3); }
.page-hero .breadcrumb a { color: var(--color-text-muted); }

/* Two-column content + image section, reusable across sub-pages */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: center; }
.split-section.reverse .split-media { order: -1; }
@media (max-width: 860px) {
  .split-section, .split-section.reverse .split-media { grid-template-columns: 1fr; order: 0; }
}

.pill-list { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; padding: 0; margin: var(--space-3) 0; }
.pill-list li {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.5em 1.1em;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-navy-dark);
}

.stat-row { display: flex; gap: var(--space-6); flex-wrap: wrap; margin-top: var(--space-4); }
.stat-row .stat strong { display: block; font-family: var(--font-serif); font-size: 2rem; color: var(--color-terracotta-dark); }
.stat-row .stat span { font-size: 0.85rem; color: var(--color-text-muted); }

.legal-content h2 { margin-top: var(--space-6); font-size: 1rem; font-weight: 700; color: var(--color-ink); }
.legal-content h2:first-child { margin-top: 0; }

.placeholder-note {
  background: var(--color-terracotta-light);
  border: 1px solid var(--color-terracotta);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  font-size: 0.9rem;
  color: var(--color-navy-dark);
  margin-bottom: var(--space-6);
  display: flex;
  gap: 0.7em;
}
.placeholder-note svg { width: 22px; height: 22px; color: var(--color-terracotta-dark); flex-shrink: 0; margin-top: 0.1em; }

/* ==========================================================================
   Cookie banner + settings modal
   ========================================================================== */

.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 500;
  background: var(--color-navy-dark);
  color: var(--color-white);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.18);
}
.cookie-banner-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  justify-content: space-between;
}
.cookie-banner-inner p { margin: 0; font-size: 0.9rem; color: rgba(255,255,255,0.9); flex: 1 1 320px; }
.cookie-banner-inner a { color: var(--color-white); }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.cookie-banner .btn-ghost { color: var(--color-white); }
.cookie-banner .btn-secondary { border-color: var(--color-white); color: var(--color-white); }
.cookie-banner .btn-secondary:hover { background: var(--color-white); color: var(--color-navy-dark); }

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(20, 30, 38, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}
.cookie-modal[hidden] { display: none; }
.cookie-modal-inner {
  background: var(--color-white);
  border-radius: var(--radius-md);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-5);
  box-shadow: var(--shadow-lg);
}
.cookie-modal-inner h2 { margin-bottom: var(--space-4); }
.cookie-category { border-top: 1px solid var(--color-border); padding-block: var(--space-3); }
.cookie-category:first-of-type { border-top: none; }
.cookie-category-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: 0.4em; }
.cookie-category-head strong { color: var(--color-navy-dark); }
.cookie-category-head input[type="checkbox"] { width: 20px; height: 20px; min-height: auto; accent-color: var(--color-olive); }
.cookie-category p { margin: 0; font-size: 0.88rem; color: var(--color-text-muted); }
.cookie-modal-actions { display: flex; justify-content: flex-end; gap: var(--space-2); margin-top: var(--space-4); }

.map-locked {
  min-height: 280px;
  background: var(--color-navy-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-2);
  padding: var(--space-5);
  border-radius: var(--radius-md);
}
.map-locked p { font-size: 0.9rem; color: var(--color-navy-dark); max-width: 40ch; margin: 0; }

/* ==========================================================================
   Scroll-Reveal (dezent, per JS aktiviert; respektiert prefers-reduced-motion)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.reveal-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
