/* =====================================================
   Klaus Handler — Redesign „Navy Statement"
   Design-Tokens laut Handoff-README (verbindlich)
   ===================================================== */

:root {
  /* Farben */
  --navy:        #101B30;
  --navy-deep:   #0B1424;
  --cream:       #F4F1EA;
  --white:       #FFFFFF;
  --orange:      #D97B2A;
  --orange-dark: #B05E17;
  --muted-dark:  rgba(244, 241, 234, .72);   /* Fließtext auf Navy */
  --muted-light: #5A5F6B;                    /* Fließtext auf hell */
  --subtle:      #6B6455;                    /* Nebentexte auf Cream */
  --line-dark:   rgba(255, 255, 255, .1);
  --line-dark-2: rgba(255, 255, 255, .15);
  --line-light:  rgba(16, 27, 48, .1);
  --line-input:  rgba(16, 27, 48, .18);
  --photo-offset: rgba(217, 123, 42, .3);

  /* Typografie */
  --font-head: 'Archivo', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
  --font-quote: 'Newsreader', Georgia, serif;

  /* Layout */
  --radius-btn:  6px;
  --radius-card: 12px;
  --container:   1180px;
  --pad-x:       48px;
  --pad-section: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
ul { margin: 0; padding-left: 1.3em; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(38px, 5vw, 62px); letter-spacing: -.025em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.02em; }
h3 { font-size: clamp(18px, 2vw, 22px); font-weight: 700; letter-spacing: -.01em; }

p { margin: 0 0 1em; }

.container { width: min(var(--container), 100%); margin: 0 auto; padding-inline: var(--pad-x); }

/* Sektionen */
.sec        { padding: var(--pad-section) 0; }
.sec-tight  { padding: 48px 0; }
.sec-navy   { background: var(--navy);  color: var(--cream); }
.sec-cream  { background: var(--cream); color: var(--navy); }
.sec-white  { background: var(--white); color: var(--navy); }
.sec-cream + .sec-cream { border-top: 1px solid rgba(16,27,48,.08); }
.sec-white + .sec-white { border-top: 1px solid rgba(16,27,48,.08); }

.sec-navy  p, .sec-navy  li { color: var(--muted-dark); }
.sec-cream p, .sec-cream li,
.sec-white p, .sec-white li { color: var(--muted-light); }

.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.sec-head h2 { margin: 0; }
.sec-head .aside { font-size: 15px; color: var(--subtle); }
.sec-head .aside a { font-weight: 700; color: var(--orange-dark); }

/* Badges & Pills */
.badge {
  display: inline-block;
  font: 700 12px var(--font-head);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid rgba(217, 123, 42, .4);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow {
  font: 700 12px var(--font-head);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  border: 1px solid rgba(244, 241, 234, .25);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  color: rgba(244, 241, 234, .85);
}
.pill-light {
  border: 1px solid var(--line-input);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--navy);
  background: var(--white);
}
.pill-tag {
  display: inline-block;
  font: 700 11px var(--font-head);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange-dark);
  background: rgba(217, 123, 42, .12);
  border-radius: 999px;
  padding: 4px 11px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: filter .15s ease, background .15s ease, transform .1s ease;
  white-space: nowrap;
}
.btn:hover { filter: brightness(.92); }
.btn-orange { background: var(--orange); color: var(--navy); }
.btn-outline-dark {
  background: transparent;
  border: 1.5px solid rgba(244, 241, 234, .3);
  color: var(--cream);
  font-weight: 600;
}
.btn-outline-dark:hover { filter: none; background: rgba(255,255,255,.08); }
.btn-outline-light {
  background: transparent;
  border: 1.5px solid rgba(16, 27, 48, .25);
  color: var(--navy);
  font-weight: 600;
}
.btn-outline-light:hover { filter: none; background: rgba(16, 27, 48, .05); }
.btn-small { padding: 11px 20px; font-size: 15px; }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

.link-orange { font-weight: 700; color: var(--orange-dark); }
.sec-navy .link-orange { color: var(--orange); }
.link-orange:hover { text-decoration: underline; }

/* =====================================================
   Navigation
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid var(--line-dark);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
  gap: 20px;
}
.brand img { height: 52px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14.5px;
}
.nav-link { color: rgba(244, 241, 234, .7); transition: color .15s; }
.nav-link:hover  { color: var(--cream); }
.nav-link.active { color: var(--orange); font-weight: 600; }
.nav-cta { margin-left: 4px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 210;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--cream);
  transition: transform .2s, opacity .2s, background .2s;
}
.nav-toggle span:last-child { width: 16px; background: var(--orange); }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { width: 24px; transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 80px 32px 40px;
    font-size: 22px;
    display: none;
    z-index: 200;
  }
  body.nav-open .nav-links { display: flex; }
  body.nav-open { overflow: hidden; }
  .nav-link { padding: 10px 0; }
  .nav-cta { margin: 18px 0 0; width: 100%; }
}

/* =====================================================
   Hero (Startseite + Unterseiten)
   ===================================================== */
.hero      { padding: 72px 0 80px; }
.hero-sub  { padding: 64px 0 72px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.hero-grid.photo-first { grid-template-columns: .85fr 1.15fr; }
.hero h1 { color: var(--cream); margin-bottom: 18px; }
.hero h1 .hl { color: var(--orange); }
.hero .intro {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted-dark);
  max-width: 46ch;
  margin-bottom: 30px;
}
.hero-sub .intro { max-width: 860px; margin-bottom: 28px; }

.accent-line {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: clamp(19px, 2.4vw, 24px);
  color: var(--orange);
  margin: 0 0 16px;
}

/* Fakten-Zeile */
.facts {
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 22px;
  margin-top: 34px;
}
.facts > div { flex: 1; }
.facts .num  { font: 800 26px var(--font-head); color: var(--cream); }
.facts .lbl  { font-size: 13.5px; color: rgba(244, 241, 234, .6); }

/* Foto mit Versatzfläche */
.photo-wrap { position: relative; }
.photo-wrap::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  background: var(--photo-offset);
  border-radius: var(--radius-card);
}
.photo-wrap img {
  position: relative;
  width: 100%;
  height: 470px;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: 1px solid var(--line-dark-2);
}
.photo-wrap.h380 img { height: 380px; object-position: top; }
.photo-wrap.h400 img { height: 400px; object-position: top; }
.photo-caption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: rgba(16, 27, 48, .85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line-dark-2);
  border-radius: 8px;
  padding: 12px 18px;
  color: var(--cream);
  font-size: 14px;
}

/* =====================================================
   Karten
   ===================================================== */
.card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-card);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
a.card { transition: transform .15s ease, box-shadow .15s ease; color: inherit; }
a.card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(16, 27, 48, .1); }
.card h3 { margin: 0; font-size: 19px; color: var(--navy); }
.card p  { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted-light); }
.card .more { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 14px; color: var(--orange-dark); }

/* Leistungs-Grid Startseite */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.card-feature {
  grid-row: span 2;
  background: var(--navy);
  color: var(--cream);
  border: none;
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
a.card-feature { transition: transform .15s ease, box-shadow .15s ease; }
a.card-feature:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(16, 27, 48, .25); }
.card-feature .tag {
  font: 700 12px var(--font-head);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.card-feature h3 { margin: 0 0 10px; font: 800 26px var(--font-head); letter-spacing: -.01em; color: var(--cream); }
.card-feature p  { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--muted-dark); }
.card-feature .more { margin-top: auto; padding-top: 18px; font-weight: 700; font-size: 15px; color: var(--orange); }

/* Prozess „So läuft's" */
.steps-grid {
  display: grid;
  grid-template-columns: 220px repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}
.steps-grid .steps-title { margin: 0; font: 800 24px/1.15 var(--font-head); letter-spacing: -.01em; color: var(--navy); }
.steps-grid .steps-title small { display: block; font: 400 14px var(--font-body); color: var(--subtle); margin-top: 4px; }
.step { display: flex; flex-direction: column; gap: 6px; }
.step .no { font: 800 15px var(--font-head); color: var(--orange); }
.step strong { font-size: 15.5px; color: var(--navy); }
.step span:last-child { font-size: 14px; line-height: 1.5; color: var(--muted-light); }

/* Baustein-Karten (Leistungs-Detail) */
.blocks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.block-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.block-card .no { font: 800 15px var(--font-head); color: var(--orange); }
.block-card strong { font-size: 16.5px; color: var(--navy); }
.block-card span:last-child { font-size: 14px; line-height: 1.55; color: var(--muted-light); }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.testi {
  background: var(--cream);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.testi .q { font: 800 34px var(--font-quote); color: var(--orange); line-height: .6; }
.testi blockquote {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: #3A3F4D;
  font-style: italic;
  border: none;
  padding: 0;
}
.testi-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-avatar {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 800 14px var(--font-head);
}
.testi-person strong { font-size: 14.5px; color: var(--navy); display: block; }
.testi-person .sub { font-size: 13px; color: var(--subtle); }

/* Fakten-Zeilen (Über-mich-Block) */
.fact-rows { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.fact-row { display: flex; gap: 14px; align-items: baseline; }
.fact-row .k { font: 800 15px var(--font-head); color: var(--orange); min-width: 48px; flex: none; }
.fact-row .v { font-size: 15px; color: rgba(244, 241, 234, .8); }

/* Zweispaltiges Text-Layout */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

/* Timeline (Über mich) */
.timeline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tl-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tl-card .station { font: 700 11px var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-dark); }
.tl-card strong { font-size: 17px; color: var(--navy); }
.tl-card span:last-child { font-size: 14px; line-height: 1.55; color: var(--muted-light); }

/* „X statt Y"-Grid */
.statt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.statt-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-card);
  padding: 24px;
}
.statt-card strong { display: block; font: 700 18px var(--font-head); color: var(--cream); margin-bottom: 4px; }
.statt-card span { font-size: 14.5px; color: var(--muted-dark); }
.statt-cta {
  background: var(--orange);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font: 700 18px var(--font-head);
  color: var(--navy);
  transition: filter .15s ease;
}
.statt-cta:hover { filter: brightness(.92); }

/* Galerie (Bilder & Eindrücke) */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: 1px solid var(--line-light);
}
.gallery-item.pos-20 img { object-position: 50% 20%; }
.gallery-item figcaption { margin-top: 10px; font-size: 14px; color: var(--subtle); }
.gallery-item figure { margin: 0; }

/* Blog-Karten */
.blog-grid    { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.blog-card    { padding: 30px; gap: 10px; }
.blog-card .meta { font-size: 13px; color: var(--subtle); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.blog-card h3 { font: 700 22px/1.25 var(--font-head); color: var(--navy); }
.blog-card p  { font-size: 15px; line-height: 1.55; }
.blog-card .more { font-size: 14.5px; }

/* CTA-Zeile (Leistungs-Detail) */
.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-row h2 { margin: 0 0 8px; font-size: clamp(24px, 2.6vw, 30px); }
.cta-row p  { margin: 0; font-size: 15.5px; }

/* FAQ-Accordion */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.faq-item {
  background: var(--cream);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-btn);
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 44px 16px 20px;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font: 700 22px var(--font-head);
  color: var(--orange);
  transition: transform .15s ease;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0; padding: 0 20px 18px; font-size: 15.5px; line-height: 1.6; color: var(--muted-light); }

/* Zentrierter CTA-Block */
.cta-center { text-align: center; }
.cta-center h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 14px; }
.cta-center p { max-width: 52ch; margin: 0 auto 30px; font-size: 17px; }
.cta-center .btn-group { justify-content: center; }

/* Navy-Band (Blog → Newsletter) */
.band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.band h2 { margin: 0 0 6px; color: var(--cream); font-size: clamp(24px, 3vw, 32px); }
.band p  { margin: 0; }

/* =====================================================
   Formulare
   ===================================================== */
.form-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-card);
  padding: 32px;
}
.form-card-cream { background: var(--cream); border: none; }
.form-card h3 { margin: 0 0 6px; font-size: 22px; color: var(--navy); }
.form-card .form-note { font-size: 13.5px; color: var(--subtle); margin: 0 0 20px; }

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group label .opt { font-weight: 400; color: var(--muted-light); }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="password"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line-input);
  border-radius: var(--radius-btn);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-group .help { display: block; font-size: 13px; color: var(--muted-light); margin-top: 5px; }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 18px;
  font-size: 14.5px;
  color: var(--muted-light);
}
.checkbox-row input { margin-top: 3px; accent-color: var(--orange); }
.checkbox-row a { color: var(--orange-dark); font-weight: 600; }

.honeypot { position: absolute; left: -9999px; opacity: 0; }

/* Zeitfenster-Karten (Rückruf) */
.slot-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.slot-group input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.slot-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 14px 8px;
  background: var(--white);
  border: 1px solid var(--line-input);
  border-radius: var(--radius-btn);
  cursor: pointer;
  text-align: center;
  transition: background .15s, color .15s, border-color .15s;
}
.slot-card strong { font-size: 15px; }
.slot-card span   { font-size: 13px; color: var(--muted-light); }
.slot-group input[type="radio"]:checked + .slot-card {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
}
.slot-group input[type="radio"]:checked + .slot-card span { color: var(--muted-dark); }
.slot-group input[type="radio"]:focus-visible + .slot-card { outline: 2px solid var(--orange); outline-offset: 2px; }

/* Status-Banner */
.status-banner {
  padding: 14px 18px;
  border-radius: var(--radius-btn);
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 15px;
}
.status-banner.ok    { background: #E7F4E4; color: #1C4A22; border: 1px solid #B7DBB0; }
.status-banner.error { background: #FBEAEA; color: #7F1D1D; border: 1px solid #EFC4C4; }
.status-banner.info  { background: #FFF4E3; color: #7A4A10; border: 1px solid #F0D9B5; }

/* Kontakt-Layout */
.kontakt-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.kontakt-side { display: flex; flex-direction: column; gap: 16px; }
.card-navy {
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius-card);
  padding: 28px;
}
.card-navy h3 { margin: 0 0 6px; color: var(--cream); font-size: 21px; }
.card-navy p  { margin: 0 0 18px; color: var(--muted-dark); font-size: 15px; }
.contact-list dt { font-weight: 700; font-size: 14.5px; color: var(--navy); margin-top: 14px; }
.contact-list dt:first-child { margin-top: 0; }
.contact-list dd { margin: 2px 0 0; font-size: 15px; color: var(--muted-light); }
.contact-list dd a { color: var(--orange-dark); font-weight: 600; }
.contact-list { margin: 0; }

/* Hinweis-Box mit oranger Left-Border */
.note-left {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-btn);
  padding: 22px 26px;
}
.note-left strong { color: var(--navy); }
.note-left p { margin: 8px 0 0; font-size: 15px; }

/* Gelbe Hinweis-Box (Rechtsseiten-Platzhalter) */
.note-box {
  background: #FFF4E3;
  color: #7A4A10;
  border: 1px solid #F0D9B5;
  border-radius: var(--radius-btn);
  padding: 16px 20px;
  margin-bottom: 28px;
  font-size: 14.5px;
}

/* =====================================================
   Artikel / Rechtsseiten (schmale Spalte)
   ===================================================== */
.narrow { max-width: 720px; }
.article-head { padding: 56px 0 48px; }
.article-head h1 { font-size: clamp(32px, 4vw, 44px); color: var(--cream); margin: 14px 0 16px; }
.article-head .meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted-dark); }
.article-head .lead { font-size: 18px; line-height: 1.6; color: var(--muted-dark); margin: 0; max-width: 720px; }

.article-body { font-size: 17px; line-height: 1.75; }
.article-body h2 { font-size: 26px; margin: 1.7em 0 .6em; }
.article-body h3 { font-size: 20px; margin: 1.5em 0 .5em; }
.article-body p, .article-body li { color: #333846; }
.article-body blockquote {
  margin: 1.5em 0;
  background: var(--white);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-btn);
  padding: 18px 24px;
  font-family: var(--font-quote);
  font-style: italic;
  font-size: 19px;
  color: var(--navy);
}
.author-card {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--navy);
  border-radius: var(--radius-card);
  padding: 26px 30px;
  margin-top: 48px;
}
.author-card img { width: 64px; height: 64px; border-radius: 999px; object-fit: cover; object-position: top; flex: none; }
.author-card .who { flex: 1; min-width: 200px; }
.author-card strong { color: var(--cream); font-size: 16px; display: block; }
.author-card p { margin: 4px 0 0; color: var(--muted-dark); font-size: 14.5px; }

.legal-body h2 { font-size: 20px; margin: 1.8em 0 .5em; }
.legal-body h3 { font-size: 17px; margin: 1.4em 0 .4em; }
.legal-body p, .legal-body li { font-size: 15.5px; line-height: 1.65; }

/* =====================================================
   404
   ===================================================== */
.page-404 {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}
.page-404 .code { font: 800 120px var(--font-head); color: rgba(217, 123, 42, .25); line-height: 1; }
.page-404 h1 { color: var(--cream); font-size: clamp(28px, 4vw, 40px); margin: 10px 0 8px; }
.page-404 p  { color: var(--muted-dark); margin-bottom: 28px; }

/* =====================================================
   Footer
   ===================================================== */
.site-footer {
  background: var(--navy-deep);
  color: rgba(244, 241, 234, .7);
  padding: 56px 0 32px;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col strong { color: var(--cream); font-size: 15px; }
.footer-col a:hover { color: var(--cream); }
.footer-brand img { height: 52px; width: auto; align-self: flex-start; }
.footer-brand p { margin: 0; line-height: 1.6; }
.footer-link-orange { color: var(--orange); font-weight: 600; }
.footer-link-orange:hover { color: var(--orange) !important; text-decoration: underline; }
.footer-gap { margin-top: 8px; }

.frage-box {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  padding: 14px 16px;
}
.frage-box .lbl {
  font: 700 10.5px var(--font-head);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}
.frage-box .txt {
  font-family: var(--font-quote);
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(244, 241, 234, .85);
  font-style: italic;
}

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 20px;
  font-size: 13px;
  color: rgba(244, 241, 234, .45);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Privacy-Banner */
.privacy-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: rgba(11, 20, 36, .97);
  color: rgba(244, 241, 234, .85);
  z-index: 300;
  font-size: 14px;
  border-top: 1px solid var(--line-dark);
}
.privacy-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 12px;
}
.privacy-inner p { margin: 0; flex: 1; }
.privacy-inner a { color: var(--orange); }

/* =====================================================
   Utility
   ===================================================== */
.text-center { text-align: center; }
.mt-lg { margin-top: 32px; }
.mb-0  { margin-bottom: 0 !important; }
.hidden { display: none !important; }

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .card-feature  { grid-row: auto; grid-column: 1 / -1; }
  .steps-grid    { grid-template-columns: 1fr 1fr; }
  .steps-grid .steps-title { grid-column: 1 / -1; }
  .blocks-grid   { grid-template-columns: 1fr 1fr; }
  .testi-grid    { grid-template-columns: 1fr 1fr; }
  .timeline-grid { grid-template-columns: 1fr 1fr; }
  .statt-grid    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --pad-x: 20px; --pad-section: 44px; }
  body { font-size: 15px; }
  h1 { font-size: 38px; }
  h2 { font-size: 28px; }

  .hero, .hero-sub { padding: 40px 0 48px; }
  .hero-grid, .hero-grid.photo-first { grid-template-columns: 1fr; gap: 36px; }
  .hero-grid.photo-first .photo-wrap { order: 2; }
  .photo-wrap img { height: 300px; }
  .photo-wrap::before { inset: 14px -12px -12px 14px; }
  .photo-wrap.h380 img, .photo-wrap.h400 img { height: 300px; }
  .btn-group .btn { width: 100%; }
  .facts { margin-top: 28px; }
  .facts > div { border-right: 1px solid rgba(255,255,255,.12); padding-right: 10px; }
  .facts > div:last-child { border-right: none; padding-right: 0; }
  .facts > div + div { padding-left: 10px; }
  .facts .num { font-size: 21px; }
  .facts .lbl { font-size: 12.5px; }

  .services-grid, .blocks-grid, .testi-grid, .timeline-grid,
  .statt-grid, .gallery-grid, .blog-grid, .steps-grid,
  .kontakt-grid, .form-grid-2, .slot-group, .grid-2col { grid-template-columns: 1fr; }
  .grid-2col { gap: 24px; }
  .card-feature { grid-column: auto; }

  /* Testimonials als Swiper */
  .testi-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .testi-grid::-webkit-scrollbar { display: none; }
  .testi { flex: 0 0 88%; scroll-snap-align: center; }
  .swiper-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
  .swiper-dots button {
    width: 8px; height: 8px;
    border-radius: 999px;
    border: none;
    background: rgba(16, 27, 48, .2);
    padding: 0;
    cursor: pointer;
  }
  .swiper-dots button.active { background: var(--orange); }

  .sec-head { flex-direction: column; gap: 6px; align-items: flex-start; margin-bottom: 24px; }
  .cta-row { flex-direction: column; align-items: flex-start; }
  .cta-row .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .privacy-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .article-head { padding: 36px 0 32px; }
  .author-card { padding: 22px; }
}

@media (min-width: 769px) {
  .swiper-dots { display: none; }
}
