/* =========================================================
   VALUE Plus GmbH — Editorial Kanzlei Stylesheet
   Webcraft #4 · Felix Pfisterer · Stuttgart
   ========================================================= */

:root {
  /* Brand — Editorial Dark Mode (Anwalts-Look, warm-beige-Akzent) */
  --bg:            #0A0908;           /* Haupt-BG: fast Schwarz mit Bronze-Touch */
  --bg-2:          #14100B;           /* Cards / Sektionen mit Wechsel */
  --bg-3:          #1C160F;           /* Headers, Footers, Highlight-Boxen */

  --accent:        #F87848;           /* Warm-Orange — Pfeile, CTAs, Akzent-Markierungen */
  --accent-2:      #E76434;           /* Dunkleres Orange für Hover */
  --accent-soft:   rgba(248, 120, 72, 0.14);
  --accent-line:   rgba(248, 120, 72, 0.42);

  --cream:         #F8F4EC;           /* Hauptlesefarbe für Text & Headlines */
  --cream-2:       #EAE1CC;           /* Highlight-Cream (Eyebrow-Tags, Stat-Labels-Big) */
  --cream-soft:    #C9BFAA;           /* Dim-Cream für Meta-Text */
  --cream-mute:    #8E8675;           /* Captions, Footer-Soft */

  /* Backwards-Compat-Mappings (legacy CSS-Vars zu neuer Palette) */
  --petrol:        var(--cream);      /* Headlines & Brand-Schrift in Cream auf Dark */
  --petrol-2:      var(--cream-2);
  --petrol-3:      var(--bg-3);
  --mint:          var(--accent);     /* Brand-Akzent jetzt Orange */
  --mint-deep:     var(--accent);
  --mint-soft:     var(--accent-soft);
  --mint-line:     var(--accent-line);

  --white:         var(--bg);          /* "weißer BG" in Komponenten ist jetzt dark */
  --off:           var(--bg-2);        /* Off-White Wechselsektionen sind jetzt bg-2 */
  --off-2:         var(--bg-3);
  --ink:           var(--cream);       /* Body-Text */
  --ink-2:         var(--cream);
  --ink-dim:       var(--cream-soft);
  --ink-soft:      var(--cream-mute);
  --hairline:      #2A2117;            /* dunkler bronze-getönter Divider */
  --hairline-2:    #38291C;

  /* Layout */
  --gutter:        clamp(1rem, 4vw, 2.5rem);
  --container:     1180px;
  --section-y:     clamp(4.5rem, 9vw, 7.5rem);
  --r-sm:          4px;
  --r-md:          6px;

  /* Type */
  --f-head:        "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-body:        "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--cream);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; }

/* =========================================================
   Typography
   ========================================================= */
h1, h2, h3, h4 {
  font-family: var(--f-head);
  color: var(--cream);
  letter-spacing: -0.018em;
  line-height: 1.15;
  font-weight: 700;
  margin: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
  -webkit-hyphens: manual;
}

h1 { font-size: clamp(2rem, 3.8vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { margin: 0 0 1rem 0; max-width: 70ch; }

.eyebrow {
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow.dim { color: var(--cream-soft); }
.eyebrow.dim::before { background: var(--cream-soft); }

.plate {
  font-family: var(--f-head);
  font-style: italic;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.plate.on-dark { color: var(--accent); }

.lead {
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--ink-dim);
  max-width: 62ch;
}

/* =========================================================
   Layout primitives
   ========================================================= */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section.tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section.off { background: var(--bg-2); }
.section.petrol { background: var(--bg-3); color: var(--cream); }
.section.petrol h1, .section.petrol h2, .section.petrol h3 { color: var(--cream); }

.divider {
  height: 1px;
  background: var(--hairline);
  border: 0;
  margin: 0;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 9, 8, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--hairline);
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.18rem;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  color: var(--cream);
  padding: 0.6rem 0;
  min-height: 44px;
}
.brand .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-left: 0.25rem;
  align-self: center;
}

.nav-main {
  display: none;
  gap: 1.8rem;
  font-size: 0.97rem;
}
.nav-main a {
  color: var(--cream-soft);
  font-weight: 500;
  padding-block: 0.4rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.nav-main a:hover { color: var(--cream); border-bottom-color: var(--accent); }
.nav-main a[aria-current="page"] { color: var(--cream); border-bottom-color: var(--accent); }

.header-cta {
  display: none;
  align-items: baseline;
  gap: 1.4rem;
}
.tel-inline {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--cream-soft);
  line-height: 1;
  white-space: nowrap;
  padding: 0.85rem 0;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.tel-inline:hover { color: var(--cream); }

@media (min-width: 980px) {
  .nav-main { display: inline-flex; }
  .header-cta { display: inline-flex; }
}

.burger {
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
}
.burger svg { width: 24px; height: 24px; }
@media (min-width: 980px) { .burger { display: none; } }

/* Mobile nav overlay */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 90;
  padding: 5.5rem var(--gutter) 2rem;
  display: none;
  flex-direction: column;
  gap: 1.2rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--f-head);
  font-size: 1.4rem;
  color: var(--cream);
  font-weight: 600;
  padding-block: 0.55rem;
  border-bottom: 1px solid var(--hairline);
}
.nav-mobile a:hover { color: var(--accent); }
.nav-mobile .btn { margin-top: 1rem; align-self: flex-start; }
.nav-mobile .tel-mobile {
  margin-top: auto;
  font-size: 1.1rem;
  color: var(--cream);
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: 0.005em;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.06s ease;
  min-height: 48px;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-filled {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.btn-filled:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn-filled.on-dark { background: var(--cream); color: var(--bg); border-color: var(--cream); }
.btn-filled.on-dark:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream-soft);
}
.btn-outline:hover { background: var(--cream); color: var(--bg); border-color: var(--cream); }
.btn-outline.on-dark {
  color: var(--cream);
  border-color: rgba(248, 244, 236, 0.4);
}
.btn-outline.on-dark:hover { background: var(--cream); color: var(--bg); border-color: var(--cream); }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--cream);
  border-bottom: 1px solid var(--accent);
  border-radius: 0;
  min-height: 44px;
}
.btn-text:hover { color: var(--accent); }

/* Focus rings (a11y) */
:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
  border-radius: 2px;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
}

.hero-text .eyebrow { margin-bottom: 1.6rem; }
.hero-text h1 { margin-bottom: 1.2rem; }
.hero-text .lead { margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.hero-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-2);
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(248, 120, 72, 0.18), 0 1px 0 0 var(--hairline) inset;
}
@media (min-width: 980px) { .hero-media { aspect-ratio: 5 / 6; } }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(96%) brightness(0.94);
}

/* =========================================================
   Stat-Quad
   ========================================================= */
.stat-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding-block: clamp(1.6rem, 3.5vw, 2.4rem);
  gap: 0;
}
@media (min-width: 720px) { .stat-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.6rem 1rem 0.6rem 0;
  border-bottom: 1px solid var(--hairline);
  min-width: 0;
}
@media (min-width: 720px) {
  .stat {
    border-bottom: 0;
    border-right: 1px solid var(--hairline);
    padding: 0.4rem 1.6rem;
  }
  .stat:last-child { border-right: 0; }
  .stat:first-child { padding-left: 0; }
}
.stat:last-child { border-bottom: 0; }

@media (max-width: 719px) {
  .stat {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
  }
}

.stat .num {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  color: var(--cream);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.stat .lbl {
  font-family: var(--f-body);
  font-size: 0.82rem;
  color: var(--cream-soft);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.35;
  margin-top: 0.6rem;
}
@media (max-width: 719px) {
  .stat .lbl {
    margin-top: 0;
    text-align: right;
    max-width: 60%;
  }
}

/* =========================================================
   Editor Quote
   ========================================================= */
.pullquote {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding-inline: 0;
}
.pullquote blockquote {
  margin: 0;
  padding: 0 0 0 1.4rem;
  border-left: 2px solid var(--accent);
  font-family: var(--f-head);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.45;
  color: var(--cream);
  letter-spacing: -0.01em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
  -webkit-hyphens: manual;
  max-width: 36ch;
}
.pullquote cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (min-width: 760px) {
  .pullquote { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3rem; }
}

/* =========================================================
   Service Cards (2x2)
   ========================================================= */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-head .lead { margin-bottom: 0; }
@media (min-width: 860px) {
  .section-head { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: end; gap: 2.5rem; }
}

.cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
@media (min-width: 760px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; } }
@media (min-width: 1080px) { .cards.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card {
  background: var(--bg-2);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-width: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.card:hover {
  border-color: var(--accent);
  box-shadow: 0 14px 36px -22px rgba(248, 120, 72, 0.45);
}
.card .plate { margin: 0; }
.card h3 { color: var(--petrol); }
.card ul { list-style: none; padding: 0; margin: 0.4rem 0 0; display: grid; gap: 0.5rem; }
.card ul li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.96rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 1px;
  background: var(--accent);
}
.card .meta {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.card .meta strong { color: var(--cream); font-weight: 600; letter-spacing: 0; }

/* =========================================================
   Process (4-step horizontal)
   ========================================================= */
.process {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  position: relative;
}
@media (min-width: 760px) {
  .process { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
}
.process-step {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline);
}
.process-step h3 { color: var(--cream); font-size: 1.05rem; font-weight: 600; }
.process-step p { color: var(--cream-soft); font-size: 0.95rem; margin: 0; }

/* =========================================================
   Values Trio
   ========================================================= */
.trio {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.2rem;
}
@media (min-width: 860px) { .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.trio-card {
  background: var(--bg-2);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  padding: clamp(1.4rem, 3vw, 1.9rem);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.trio-card .icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.trio-card .icon svg { width: 18px; height: 18px; }
.trio-card h3 { color: var(--cream); font-size: 1.05rem; font-weight: 600; }
.trio-card p { color: var(--cream-soft); font-size: 0.95rem; margin: 0; }

/* =========================================================
   Split (image + text)
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 880px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split.reverse > .split-media { order: 2; }
}
.split-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--off);
}
@media (min-width: 880px) { .split-media { aspect-ratio: 4 / 5; } }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-text h2 { margin-bottom: 1rem; color: var(--petrol); }
.split-text ul { list-style: none; padding: 0; margin: 0.6rem 0 1.4rem; display: grid; gap: 0.55rem; }
.split-text ul li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 1rem;
  color: var(--ink-2);
}
.split-text ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 1px;
  background: var(--accent);
}
.split-text .meta-row {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.split-text .meta-row strong { color: var(--cream); font-weight: 600; letter-spacing: 0; }

/* =========================================================
   Sub-Brand Trio
   ========================================================= */
.sub-brands {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  align-items: center;
}
@media (min-width: 760px) { .sub-brands { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.sub-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.4rem 0;
}
.sub-brand .name {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.sub-brand .role {
  font-size: 0.82rem;
  color: var(--cream-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =========================================================
   CTA Band
   ========================================================= */
.cta-band {
  background: var(--bg-3);
  color: var(--cream);
  border-radius: var(--r-sm);
  padding: clamp(2.4rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  border: 1px solid var(--hairline);
}
@media (min-width: 860px) {
  .cta-band { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3rem; }
}
.cta-band h2 { color: var(--cream); margin: 0 0 0.5rem; }
.cta-band .accent-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 0.6rem;
  vertical-align: middle;
}
.cta-band p { color: var(--cream-soft); max-width: 50ch; margin: 0; }
.cta-band .ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: flex-start; }
@media (min-width: 860px) { .cta-band .ctas { justify-content: flex-end; } }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--bg-3);
  color: var(--cream-soft);
  padding-block: clamp(3rem, 5vw, 4.5rem) 0;
  font-size: 0.92rem;
  border-top: 1px solid var(--hairline);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.2rem;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; } }

.footer-brand .brand { color: var(--cream); font-size: 1.4rem; margin-bottom: 1rem; }
.footer-brand .brand .dot { background: var(--accent); }
.footer-brand p { font-size: 0.92rem; color: var(--cream-soft); max-width: 30ch; }

.footer-col h4,
.footer-col .footer-label {
  color: var(--cream);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: var(--f-body);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.2rem; }
.footer-col a, .footer-col li {
  display: block;
  color: var(--cream-soft);
  padding: 0.6rem 0;
  min-height: 44px;
  line-height: 1.5;
}
.footer-col a:hover { color: var(--accent); }
.footer-col li:not(:has(a)) { color: var(--cream-soft); }

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-block: 1.5rem;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--cream-mute);
  font-size: 0.82rem;
}

/* =========================================================
   Forms (Contact)
   ========================================================= */
.form {
  display: grid;
  gap: 1.4rem;
}
.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
@media (min-width: 600px) { .form-row.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

.form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cream-soft);
  margin-bottom: 0.45rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--cream);
  background: var(--bg-2);
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  min-height: 48px;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(248, 120, 72, 0.18);
}
.form input::placeholder, .form textarea::placeholder { color: var(--cream-mute); }

.honey { position: absolute; left: -9999px; }

.topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.topic-pills input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.topic-pills label {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--hairline-2);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--cream-soft);
  cursor: pointer;
  margin: 0;
  min-height: 44px;
  background: var(--bg-2);
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.topic-pills input[type="radio"]:checked + label {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.topic-pills input[type="radio"]:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }

.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--cream-soft);
  line-height: 1.4;
}
.consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  accent-color: var(--accent);
  cursor: pointer;
}
.consent a { color: var(--cream); border-bottom: 1px solid var(--accent); }

.form-feedback {
  padding: 1rem 1.2rem;
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  display: none;
}
.form-feedback.show { display: block; }
.form-feedback.success { background: var(--accent-soft); color: var(--cream); border: 1px solid var(--accent-line); }
.form-feedback.error { background: rgba(220, 38, 38, 0.12); color: #FFA5A5; border: 1px solid rgba(220, 38, 38, 0.35); }

.form .btn { width: 100%; }
@media (min-width: 600px) { .form .btn-submit { width: auto; } }

/* =========================================================
   Contact aside
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}
@media (min-width: 980px) { .contact-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }

.contact-aside {
  background: var(--bg-2);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: sticky;
  top: 90px;
}
.contact-aside h2,
.contact-aside h3 { color: var(--cream); }
.contact-aside address { font-style: normal; color: var(--cream); line-height: 1.5; }
.contact-aside a { color: var(--cream); border-bottom: 1px solid var(--accent); }
.contact-aside a:hover { color: var(--accent); }
.contact-aside .sub-divider { height: 1px; background: var(--hairline); }
.contact-aside .small { font-size: 0.86rem; color: var(--cream-soft); }

.map-wrap {
  aspect-ratio: 16 / 7;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--hairline);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder {
  width: 100%;
  height: 100%;
  border: 0;
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-2) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding: 2rem;
  cursor: pointer;
  transition: background 0.2s ease;
  text-align: center;
  font-family: var(--f-body);
}
.map-placeholder:hover { background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%); }
.map-placeholder:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.map-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.map-icon svg { width: 28px; height: 28px; }
.map-text { display: flex; flex-direction: column; gap: 0.35rem; align-items: center; }
.map-text strong { color: var(--cream); font-size: 1.15rem; font-weight: 700; }
.map-meta { color: var(--cream); font-size: 0.95rem; }
.map-hint { color: var(--cream-soft); font-size: 0.82rem; max-width: 38ch; }

/* =========================================================
   Legal pages
   ========================================================= */
.legal {
  max-width: 72ch;
  margin: 0 auto;
}
.legal h2 {
  font-size: 1.4rem;
  margin-top: 2.4rem;
  margin-bottom: 0.8rem;
}
.legal h3 {
  font-size: 1.1rem;
  margin-top: 1.8rem;
  margin-bottom: 0.5rem;
}
.legal p, .legal li {
  color: var(--cream-soft);
  font-size: 0.98rem;
  line-height: 1.65;
}
.legal a { color: var(--cream); border-bottom: 1px solid var(--accent); }
.legal a:hover { color: var(--accent); }

/* =========================================================
   Gallery
   ========================================================= */
.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
@media (min-width: 760px) {
  .gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 18vw;
    gap: 1rem;
  }
}
@media (min-width: 1100px) { .gallery { grid-auto-rows: 14vw; } }

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-sm);
  background: var(--off);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item .caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.9rem 1rem;
  background: linear-gradient(to top, rgba(10, 9, 8, 0.92), transparent 70%);
  color: var(--white);
  font-size: 0.82rem;
  line-height: 1.4;
}
.gallery-item .caption .plate {
  color: var(--mint);
  display: block;
  margin-bottom: 0.2rem;
}

@media (max-width: 759px) {
  .gallery-item { aspect-ratio: 4 / 3; }
}

/* =========================================================
   Blog
   ========================================================= */
.blog-featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  background: var(--bg-2);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.blog-featured .plate { margin: 0; }
.blog-featured h2 { color: var(--cream); margin: 0.5rem 0 0; }
.blog-featured .meta { color: var(--cream-mute); font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; }

.blog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.2rem;
}
@media (min-width: 760px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: clamp(1.4rem, 3vw, 1.8rem);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  background: var(--bg-2);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.blog-card:hover { border-color: var(--accent); box-shadow: 0 14px 36px -22px rgba(248, 120, 72, 0.45); }
.blog-card h3 { color: var(--cream); margin: 0.2rem 0 0.4rem; }
.blog-card p { font-size: 0.95rem; color: var(--cream-soft); margin: 0; }
.blog-card .meta { color: var(--cream-mute); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; margin-top: auto; padding-top: 1rem; }

/* =========================================================
   Page header
   ========================================================= */
.page-header {
  background: var(--bg-2);
  padding-block: clamp(3rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--hairline);
}
.page-header .eyebrow { margin-bottom: 1rem; }
.page-header h1 { margin-bottom: 1rem; }
.page-header .lead { max-width: 55ch; }

/* =========================================================
   Cookie banner
   ========================================================= */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 200;
  background: var(--bg-3);
  color: var(--cream);
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-sm);
  padding: 1rem 1.2rem;
  box-shadow: 0 18px 50px -10px rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; font-size: 0.92rem; color: var(--cream-soft); flex: 1 1 280px; }
.cookie-banner p a {
  color: var(--cream);
  border-bottom: 1px solid var(--accent);
  display: inline-block;
  padding: 0.7rem 0.2rem;
  min-height: 44px;
  line-height: 1.4;
}
.cookie-banner .actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cookie-banner .btn { min-height: 42px; padding: 0.65rem 1.2rem; font-size: 0.92rem; }

@media (min-width: 760px) {
  .cookie-banner { bottom: 1.4rem; right: 1.4rem; left: auto; max-width: 480px; }
}

/* =========================================================
   Reveal (transform-only, a11y-safe)
   ========================================================= */
.reveal { transform: translateY(14px); transition: transform 0.6s ease; }
.reveal.in { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

html { background: var(--bg); }

/* =========================================================
   Comparison Table (Festverzins)
   ========================================================= */
.compare {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: var(--cream-soft);
}
.compare th, .compare td {
  padding: 0.85rem 0.8rem;
  text-align: left;
  border-bottom: 1px solid var(--hairline);
  vertical-align: middle;
}
.compare thead th {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cream-mute);
  font-weight: 600;
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--hairline-2);
}
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr.highlight {
  background: linear-gradient(to right, var(--accent-soft), transparent);
}
.compare tbody tr.highlight td:first-child {
  border-left: 3px solid var(--accent);
  padding-left: calc(0.8rem - 3px);
  font-weight: 600;
  color: var(--accent);
}
.compare tbody tr.highlight td { color: var(--cream); }
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* =========================================================
   Faces strip
   ========================================================= */
.faces {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}
@media (min-width: 760px) { .faces { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.face {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--r-sm);
  background: var(--bg-2);
}
.face img { width: 100%; height: 100%; object-fit: cover; filter: saturate(96%) brightness(0.94); }
.face::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 9, 8, 0.75), transparent 55%);
}

/* =========================================================
   Logo-Strip (Partner-Versicherer)
   ========================================================= */
.logo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #F8F4EC;
  border-radius: var(--r-sm);
  padding: clamp(1.2rem, 3vw, 2.2rem) clamp(1rem, 4vw, 3rem);
  border: 1px solid var(--hairline);
  box-shadow: 0 20px 50px -28px rgba(248, 120, 72, 0.18);
}
.logo-strip img {
  max-width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  display: grid;
  gap: 0.7rem;
  max-width: 920px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-2);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  padding: 1.1rem 1.5rem;
  transition: border-color 0.18s ease;
}
.faq-item[open] { border-color: var(--accent); }
.faq-item summary {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--cream);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.4rem 0;
  min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.18s ease;
  width: 24px;
  text-align: center;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: 0.8rem 0 0;
  color: var(--cream-soft);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 68ch;
}

/* =========================================================
   Compare-Mini (Was bleibt / Was sich ändert)
   ========================================================= */
.compare-mini {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.4rem;
  margin: 1.4rem 0 1.6rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
@media (min-width: 700px) { .compare-mini { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.compare-mini ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}
.compare-mini ul li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  color: var(--cream-soft);
  line-height: 1.5;
}
.compare-mini ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 1px;
  background: var(--accent);
}

/* =========================================================
   Example-Headline (Beispielrechnung)
   ========================================================= */
.example-headline {
  text-align: center;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 1rem;
}
.example-headline .big-number {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.example-headline p {
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--cream-soft);
  max-width: 38ch;
}

/* =========================================================
   Check-list (Was darin enthalten ist)
   ========================================================= */
.check-list {
  background: var(--bg-2);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  padding: clamp(1.4rem, 3vw, 2rem);
  max-width: 720px;
}
.check-list h3 { color: var(--cream); }
.check-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}
.check-list ul li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--cream-soft);
  line-height: 1.5;
}
.check-list ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* =========================================================
   Hidden helpers
   ========================================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   Section heading column
   ========================================================= */
.section-title {
  max-width: 36ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-title .eyebrow { margin-bottom: 1rem; }
.section-title h2 { margin-bottom: 0.8rem; }
.section-title .lead { margin-bottom: 0; }
