/* =============================================================
   benedikt-rudnik.de, Onepager Systemische Beratung (Okt. 2026)
   Design System "Innere Kommunikation" (Moodboard)

   Farben:
     #ffffff  Weiß        Seitengrund
     #eaedef  Hellgrau    abgesetzte Abschnitte, Text auf Blau
     #e0e9f1  Nebel       getönte Abschnitte
     #535e69  Schiefer    Sekundärtext, Linien
     #1a3f5b  Navy        Hero und Kontakt, Zahlen, Zweit-Buttons
     #081e33  Tiefblau    Text, Footer
     #66bb6a  Grün        Hauptbutton, Schrift darauf tiefblau
     #ff4242  Signalrot   Textlinks, immer unterstrichen
   Keine Bewegung, keine Animation. Fotos ohne Rundung, Flächen 4px.
   ============================================================= */

/* ---------- Schriften (lokal) ---------- */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/montserrat-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('fonts/open-sans-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: italic; font-weight: 300 800; font-display: swap; src: url('fonts/open-sans-latin-wght-italic.woff2') format('woff2'); }

/* ---------- Tokens ---------- */
:root {
  --weiss: #ffffff;
  --hellgrau: #eaedef;
  --nebel: #e0e9f1;
  --schiefer: #535e69;
  --navy: #1a3f5b;
  --tiefblau: #081e33;
  --gruen: #66bb6a;
  --gruen-hover: #57a95b;
  --rot: #ff4242;

  --ink: var(--tiefblau);
  --ink-muted: var(--schiefer);
  --line: #c9d3dc;
  --link: var(--rot);
  --focus: var(--navy);

  --font-head: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;

  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 32px; --s6: 48px; --s7: 64px; --s8: 96px;
  --radius: 4px;
  --max: 1160px;
  --nav-h: 72px;
  --section-y: clamp(64px, 9vw, 104px);
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; animation: none !important; transition: none !important; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--weiss); -webkit-font-smoothing: antialiased; }
img, picture { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; color: var(--ink); line-height: 1.25; text-wrap: balance; overflow-wrap: break-word; -webkit-hyphens: manual; hyphens: manual; }
h1 { font-size: clamp(30px, 6.2vw, 50px); line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: clamp(25px, 3.4vw, 34px); }
h3 { font-size: clamp(18px, 2vw, 21px); line-height: 1.35; }
p, li { overflow-wrap: break-word; text-wrap: pretty; }
p { max-width: 68ch; }
p + p { margin-top: var(--s3); }
@media (max-width: 600px) { p, li { -webkit-hyphens: auto; hyphens: auto; } }

a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--tiefblau); text-decoration-thickness: 2px; }
strong { font-weight: 600; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 3000; background: var(--navy); color: var(--weiss); padding: 12px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 16px; color: var(--weiss); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
section { padding: var(--section-y) 0; }
.s-white { background: var(--weiss); }
.s-grey  { background: var(--hellgrau); }
.s-mist  { background: var(--nebel); }
.s-blue  { background: var(--navy); color: var(--hellgrau); --ink: var(--hellgrau); --ink-muted: var(--nebel); --link: var(--hellgrau); --focus: var(--hellgrau); }
.s-blue h1, .s-blue h2, .s-blue h3, .s-blue p { color: var(--ink); }
.s-blue a:not(.btn):hover { color: var(--weiss); }

.eyebrow { display: block; font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--s3); }
.head { margin-bottom: var(--s6); }
.head p { margin-top: var(--s3); max-width: 62ch; }
.grid > *, .split > *, .cards > *, .hero__grid > * { min-width: 0; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 1000; background: var(--weiss); border-bottom: 1px solid var(--hellgrau); }
.nav__inner { display: flex; align-items: center; gap: var(--s4); height: var(--nav-h); max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 5vw, 48px); }
.nav__logo { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; color: var(--tiefblau); min-width: 0; }
.nav__logo:hover { color: var(--tiefblau); }
.nav__logo img { width: 34px; flex: none; }
.nav__name { font-family: var(--font-head); font-weight: 600; font-size: 17px; line-height: 1.15; }
.nav__name small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 12px; color: var(--schiefer); }
.nav__links { display: flex; gap: var(--s5); list-style: none; }
.nav__links a { font-size: 15px; font-weight: 600; color: var(--tiefblau); text-decoration: none; }
.nav__links a:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav__hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; flex: none; }
.nav__hamburger span { display: block; height: 2px; background: var(--tiefblau); }
@media (max-width: 960px) {
  .nav__hamburger { display: flex; order: 3; }
  .nav__links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0; background: var(--weiss); border-bottom: 1px solid var(--hellgrau); padding: var(--s2) clamp(16px, 5vw, 48px) var(--s4); }
  .nav__links.open { display: flex; }
  .nav__links a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--hellgrau); }
}
@media (max-width: 440px) {
  .nav__inner { gap: 8px; }
  .nav__name { font-size: 14px; }
  .nav__name small { display: none; }
  .nav__logo img { width: 26px; }
  .btn.btn--nav { font-size: 12px; padding: 4px 10px; min-height: 36px; max-width: 8.5rem; white-space: normal; line-height: 1.2; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 var(--s4); font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 1.25; text-decoration: none; border: 2px solid transparent; border-radius: var(--radius); background: var(--gruen); color: var(--tiefblau); cursor: pointer; white-space: nowrap; -webkit-appearance: none; appearance: none; }
.btn:hover { background: var(--gruen-hover); color: var(--tiefblau); text-decoration: none; }
.btn--nav { min-height: 40px; padding: 0 var(--s3); font-size: 14px; background: var(--navy); color: var(--weiss); flex: none; }
.btn--nav:hover { background: var(--tiefblau); color: var(--weiss); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--nebel); color: var(--navy); }
@media (max-width: 400px) { .btn { white-space: normal; text-align: center; padding: 10px var(--s3); } }
.cta { margin-top: var(--s5); }
.cta__note { font-size: 14px; color: var(--ink-muted); margin-bottom: var(--s3); }
.more { display: inline-block; font-weight: 600; }
.more::after { content: " \2192"; }

/* ---------- Hero ---------- */
.hero { padding: var(--nav-h) 0 0; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: stretch; }
.hero__text { align-self: center; padding: var(--s7) var(--s6) var(--s7) max(clamp(20px, 5vw, 48px), calc((100vw - var(--max)) / 2 + 48px)); }
.hero__sub { margin-top: var(--s4); font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; max-width: 34rem; }
.hero__image { position: relative; min-height: 420px; }
.hero__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 30%; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__image { order: -1; min-height: 0; }
  .hero__image img { position: static; aspect-ratio: 4 / 3; height: auto; }
  .hero__text { padding: var(--s6) clamp(20px, 5vw, 48px) var(--s7); }
}

/* ---------- Vertrauensleiste ---------- */
.trust { padding: var(--s4) 0; background: var(--hellgrau); }
.trust ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2) var(--s6); }
.trust li { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--tiefblau); }

/* ---------- Anliegen ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s7); align-items: center; }
.split--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split img { width: 100%; height: auto; }
@media (max-width: 900px) { .split, .split--rev { grid-template-columns: 1fr; gap: var(--s5); } .split--rev .split__img { order: -1; } }
.topics { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); margin-top: var(--s6); }
.topics li { border-top: 1px solid var(--schiefer); padding-top: var(--s3); }
.topics h3 { margin-bottom: var(--s2); }
@media (max-width: 900px) { .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .topics { grid-template-columns: 1fr; } }

/* ---------- Angebote ---------- */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.card { background: var(--weiss); border-radius: var(--radius); padding: var(--s5) var(--s4); display: flex; flex-direction: column; gap: var(--s2); }
.card__num { font-family: var(--font-head); font-weight: 600; font-size: 36px; line-height: 1; color: var(--navy); padding-bottom: var(--s3); margin-bottom: var(--s2); border-bottom: 1px solid var(--schiefer); }
.card .more { margin-top: auto; padding-top: var(--s3); }
.cards__note { margin-top: var(--s5); }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Textabschnitte ---------- */
.prose h3 { margin: var(--s5) 0 var(--s2); }
.prose h2 + p { margin-top: var(--s4); }
.note { margin-top: var(--s5); padding: var(--s4); background: var(--nebel); border-left: 3px solid var(--navy); border-radius: var(--radius); }
.s-mist .note { background: var(--weiss); }

/* ---------- Ablauf ---------- */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.steps li { counter-increment: step; min-width: 0; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-head); font-weight: 600; font-size: 44px; line-height: 1; color: var(--navy); padding-bottom: var(--s4); margin-bottom: var(--s4); border-bottom: 1px solid var(--schiefer); }
.steps h3 { margin-bottom: var(--s2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Über mich ---------- */
.about { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s7); align-items: center; }
.about__img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 25%; }
.about__facts { margin-top: var(--s4); font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--ink-muted); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: var(--s5); } .about__img { max-width: 20rem; } }

/* ---------- Stimmen (schmales Karussell, eine Stimme) ---------- */
.voices { max-width: 46rem; margin: 0 auto; text-align: center; }
.carousel { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; gap: var(--s3); align-items: center; margin-top: var(--s4); }
.carousel__track { min-width: 0; }
.carousel__item[hidden] { display: none; }
.carousel__item blockquote p { font-size: 16px; line-height: 1.7; max-width: none; margin: 0 auto; }
.carousel__item figcaption { margin-top: var(--s3); font-family: var(--font-head); font-weight: 600; font-size: 14px; }
.carousel__btn { width: 40px; height: 40px; border-radius: 9999px; border: 2px solid var(--navy); background: transparent; color: var(--navy); font-size: 18px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.carousel__btn:hover { background: var(--navy); color: var(--weiss); }
.carousel__bar { grid-column: 1 / -1; display: flex; justify-content: center; align-items: center; gap: var(--s4); flex-wrap: wrap; font-size: 13px; color: var(--ink-muted); }
.carousel__status { margin: 0; }
.carousel__pause { background: none; border: 0; padding: 0; font: inherit; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.voices__more { margin-top: var(--s4); font-size: 15px; }
@media (max-width: 560px) {
  .carousel { grid-template-columns: 40px 1fr 40px; grid-template-areas: "t t t" "p b n"; }
  .carousel__track { grid-area: t; }
  .carousel__btn--prev { grid-area: p; }
  .carousel__btn--next { grid-area: n; }
  .carousel__bar { grid-area: b; flex-direction: column; gap: 2px; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item h3 { font-size: 17px; }
.faq__trigger { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); width: 100%; padding: 18px 0; background: none; border: 0; cursor: pointer; text-align: left; font: inherit; font-family: var(--font-head); font-weight: 600; color: var(--ink); line-height: 1.4; }
.faq__trigger::after { content: '+'; font-family: var(--font-body); font-weight: 400; font-size: 26px; line-height: 1; color: var(--navy); flex-shrink: 0; }
.faq__trigger[aria-expanded="true"]::after { content: '\2212'; }
.faq__panel { padding: 0 0 var(--s4); }
.faq__panel[hidden] { display: none; }
.faq__panel ul { margin: var(--s2) 0 0 var(--s4); }
.faq__panel li + li { margin-top: var(--s1); }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4); align-items: start; }
.box { background: var(--weiss); color: var(--tiefblau); border-radius: var(--radius); padding: var(--s5); --ink: var(--tiefblau); --ink-muted: var(--schiefer); --link: var(--rot); --focus: var(--navy); }
.box h3 { color: var(--tiefblau); margin-bottom: var(--s2); }
.box p { color: var(--tiefblau); }
.box .cta__note { color: var(--schiefer); }
.calendly-box { margin-top: var(--s4); }
.calendly-box .hint { margin-top: var(--s3); font-size: 13px; color: var(--schiefer); }
.contact__info { margin-top: var(--s5); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6); }
.contact__info p { font-size: 15px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

.form-group { margin-bottom: var(--s3); display: flex; flex-direction: column; gap: var(--s1); }
.form-label { font-size: 14px; font-weight: 600; }
.form-input, .form-select, .form-textarea { width: 100%; min-height: 44px; padding: 9px var(--s3); font: inherit; font-size: 16px; color: var(--tiefblau); background: var(--weiss); border: 1px solid var(--schiefer); border-radius: var(--radius); }
.form-textarea { min-height: 130px; resize: vertical; }
.form-check { display: flex; gap: var(--s2); align-items: flex-start; font-size: 13px; color: var(--schiefer); }
.form-check input { margin-top: 4px; flex: none; }
.form-success, .form-error { display: none; margin-top: var(--s3); padding: var(--s3); border-radius: var(--radius); font-size: 15px; font-weight: 600; color: var(--tiefblau); }
.form-success { background: var(--nebel); }
.form-success::before { content: "\2713  "; }
.form-error { border: 2px solid var(--rot); }
.form-error::before { content: "! "; color: var(--rot); }
.hp { position: absolute; left: -9999px; }
.box .btn { width: 100%; }

/* ---------- Footer ---------- */
.footer { background: var(--tiefblau); color: var(--hellgrau); padding: var(--s7) 0 var(--s5); --focus: var(--hellgrau); }
.footer__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--s5); }
.footer img { width: 40px; margin-bottom: var(--s3); }
.footer h2 { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hellgrau); margin-bottom: var(--s3); }
.footer p, .footer li, .footer address { font-size: 14px; font-style: normal; line-height: 1.7; color: var(--hellgrau); }
.footer ul { list-style: none; }
.footer a, .footer__btn { color: var(--hellgrau); text-decoration: underline; text-underline-offset: 3px; }
.footer a:hover, .footer__btn:hover { color: var(--weiss); }
.footer__btn { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; cursor: pointer; }
.footer__brand { font-family: var(--font-head); font-weight: 600; font-size: 17px; }
.footer__bottom { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--navy); font-size: 12px; color: #aab6c2; }
@media (max-width: 860px) { .footer__inner { grid-template-columns: 1fr; } }

/* ---------- Cookie-Banner ---------- */
#cookieBanner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2000; max-width: 38rem; margin: 0 auto; background: var(--navy); color: var(--hellgrau); border-radius: var(--radius); padding: var(--s4); display: none; --focus: var(--hellgrau); }
#cookieBanner.cb--visible { display: block; }
.cb__text strong { display: block; font-family: var(--font-head); margin-bottom: var(--s1); }
.cb__text p { font-size: 14px; line-height: 1.6; max-width: none; color: var(--hellgrau); }
.cb__actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }
#cookieBanner .btn { background: var(--nebel); color: var(--tiefblau); min-height: 40px; font-size: 14px; }
#cookieBanner .btn:hover { background: var(--weiss); }
.cb__link { display: inline-block; margin-top: var(--s3); font-size: 14px; color: var(--hellgrau); }

/* Hero-Überschrift: "Familienaufstellung" bleibt in jeder Breite in einer Zeile */
.hero h1 { font-size: clamp(22px, 7.4vw, 44px); }
@media (min-width: 861px) { .hero h1 { font-size: clamp(32px, 3.5vw, 50px); } }

/* ---------- Impressum und Datenschutz ---------- */
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(30px, 6vw, 44px); margin-bottom: var(--s5); }
.legal h2 { font-size: clamp(20px, 2.6vw, 24px); margin: var(--s6) 0 var(--s3); }
.legal h3 { font-size: 18px; margin: var(--s5) 0 var(--s2); }
.legal p, .legal li { overflow-wrap: break-word; }
.legal p + p { margin-top: var(--s3); }
.legal ul { margin: var(--s3) 0 var(--s3) 1.2em; }
.legal li { margin-bottom: var(--s1); }
.legal__btn { background: none; border: 0; padding: 0; font: inherit; color: var(--rot, #ff4242); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.legal__date { margin-top: var(--s6); font-size: 14px; color: var(--schiefer); }
.legal { padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 72px)); }
