/* =============================================================================
   babbadeggl Kommunikationsdesign — Stylesheet
   Reconstructed from the 7 full-page screenshots in ./screenshots (2023-01-24)
   and VERIFIED against the original site's own generated CSS, recovered from
   ../Webseite_gehackt/babbadeggl.de/wp-content/uploads/elementor/css/.

   Colours: measured from the PNGs by pixel histogram, then confirmed
   value-for-value against the original Elementor global palette. They are the
   site's real colours — do not "clean them up".

   Type + container: taken from the recovered Elementor global tokens
   (exact rem values, see STYLEGUIDE.md "Provenance").

   FONTS: load ../fonts/fonts.css BEFORE this file. It declares the four
   self-hosted woff2 families that stand in for the Adobe originals:

     exo-soft                 -> Exo 2       body, nav, UI
     (no Adobe name)          -> Caveat      every handwritten heading
                                 (Bad Script is also installed as an alternative)
     rift-soft                -> Oswald      condensed uppercase

   NOTE (Aug 2026): Architects Daughter was tried here as the headline face and
   reverted to Caveat the same month — see STYLEGUIDE.md §3.

   The Adobe names are kept FIRST in --font-body and --font-condensed purely so
   that adding an Adobe Fonts kit later upgrades those two roles with no CSS
   change. With no kit loaded the browser falls straight through to the
   self-hosted face, at no cost.

   EXCEPTION (Aug 2026): --font-display no longer carries its Adobe name.
   adobe-handwriting-frank was dropped from that stack; Caveat is declared
   directly now. So --font-display does NOT get the free kit upgrade — if Adobe
   Fonts is ever licensed, re-add the name to that stack by hand.

   Never add a fonts.googleapis.com <link>: serving the fonts from Google passes
   visitor IPs to a US provider and was ruled a GDPR violation in Germany
   (LG München I, 20.01.2022, 3 O 17493/20). The files are local for that reason.
   ============================================================================= */

/* ---------------------------------------------------------------- PALETTE --- */
:root {
  /* Core brand — the colours that carry the whole site */
  --bd-navy:          #0D2B5B; /* PRIMARY — hover, dropdown panel, dark bands, footer, header bar */
  --bd-blue:          #073E78; /* ALL body copy, headings on light, buttons */
  --bd-yellow:        #FFF100; /* accent, copy on dark, active nav marker */
  --bd-warm-pink:     #FF0066; /* accent band, script headings on dark */
  --bd-teal:          #49989A; /* accent band (Kundenstimmen) */
  --bd-green:         #7AE004; /* CTA buttons only */
  --bd-orange-400:    #F9B315; /* links on the Netzwerk page, global focus outline */

  /* Supporting */
  --bd-black:         #000000; /* full-black band (Mein Netzwerk) */
  --bd-white:         #FFFFFF;

  /* Neutrals */
  --bd-gray-100:      #F1F1F1; /* accordion row */
  --bd-gray-200:      #E2E2E2; /* logo cards, borders (no longer a band ground since Nov 2026) */
  --bd-gray-hero:     #E4E4E6; /* homepage hero ground */
  --bd-slate:         #2C3E50;

  /* Tints & seconds (dividers, form fields, illustration accents) */
  --bd-amber:         #FFDE59;
  --bd-lavender-600:  #6C6F87;

  /* Pastel 30% tints (each core colour at 30% strength on white) */
  --bd-navy-tint30:        #B6BFCE;
  --bd-blue-tint30:        #B5C5D6;
  --bd-yellow-tint30:      #FFFBB2;
  --bd-warm-pink-tint30:   #FFB2D1;
  --bd-teal-tint30:        #C8E0E1;
  --bd-green-tint30:       #D7F6B4;
  --bd-orange-400-tint30:  #FDE8B9;

  /* ------------------------------------------------------------- FONTS --- */
  /* 1st name = original Adobe family (used only if you load a kit).
     2nd name = the self-hosted face that is actually doing the work.
     --font-display is the exception: no Adobe name, Caveat is declared
     directly, with Bad Script installed in ../fonts/ as an alternative. */
  --font-body:      "exo-soft", "Exo 2", system-ui, sans-serif;
  --font-display:   "Caveat", "Bad Script", cursive;
  --font-condensed: "rift-soft", "Oswald", "Arial Narrow", sans-serif;

  /* -------------------------------------------------------------- SCALE --- */
  /* Values recovered from the original Elementor global typography tokens,
     extended in Aug 2026 with an explicit H1-H6 / body / small / blockquote
     scale — see STYLEGUIDE.md §3 for the full class-to-role mapping.
     Root is 16px, so 1.4rem body = 22.4px. */
  /* Fluid: the MAXIMUM of each clamp is the target value, so desktop matches
     spec exactly while headings scale down instead of forcing horizontal
     overflow on a 360px phone. */
  --step--1:   0.875rem;                                /* 14px   UI-wide token (form fields, captions, footer legal, etc.) */
  --step-btn:  1.075rem;                                /* 17.2px button text — own token, +0.2rem over --step--1 (Aug 2026); see STYLEGUIDE.md */
  --step-small: clamp(0.8rem, 0.75rem + 0.5vw, 0.9rem); /* ->14.4px "small text" (.fine only) */
  --step-0:    clamp(1.125rem, 0.9rem + 0.7vw, 1.4rem); /* ->22.4px "normal text" / body */
  --step-1:    clamp(1.25rem, 1rem + 1vw, 1.75rem);     /* ->28px   lead / kicker (unchanged) */
  --step-2:    clamp(1.75rem, 1.2rem + 2vw, 2.4rem);    /* ->38.4px H4, blockquote */
  --step-h3:   clamp(1.6rem, 1.1rem + 1.1vw, 2rem);     /* ->32px H3 (Nov 2026; was 2.8rem/44.8px) */
  --step-h2:   clamp(2.3rem, 1.5rem + 2.8vw, 3.4rem);   /* ->54.4px H2 (+0.2rem, Aug 2026) */
  --step-4:    clamp(2.25rem, 1.3rem + 3.4vw, 3.7rem);  /* ->59.2px H1 */
  --step-5:    clamp(2.5rem, 1.3rem + 4.6vw, 5rem);     /* ->80px   hero H1 (unchanged) */

  --lh-tight:  1.1;     /* original primary/secondary line-height */
  --lh-script: 0.95;    /* original accent line-height */
  --lh-body:   1.6;

  /* -------------------------------------------------------- SPACE / GRID --- */
  --container: 1140px;  /* original Elementor boxed content width, confirmed in
                           the recovered post-6.css */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --band-y: clamp(3.5rem, 8vw, 7rem);   /* vertical padding inside a band */
  --header-h: 8.25rem;                   /* measured 158px raw / 1.2 capture scale */

  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-card: 0 10px 30px rgba(7, 62, 120, 0.18);
  --shadow-soft: 0 4px 14px color-mix(in srgb, var(--bd-navy) 14%, transparent); /* Nov 2026: war rgba(20,27,65) = altes Navy */

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

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

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

body {
  margin: 0;
  /* German compounds and long URLs are the two things that break a narrow
     layout; one unbreakable string widens the whole page. */
  overflow-wrap: break-word;
  font-family: var(--font-body);
  font-weight: 400;   /* "normal text" spec, explicit (was already the effective default) */
  font-size: var(--step-0);
  line-height: var(--lh-body);
  color: var(--bd-blue);
  background: var(--bd-white);
  -webkit-font-smoothing: antialiased;
}

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

code, pre, kbd, samp { overflow-wrap: anywhere; }

/* Wide content must scroll inside its own box, never widen the page. */
.scroll-x { max-width: 100%; overflow-x: auto; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

:where(a, button, input, textarea, select, summary):focus-visible {
  /* Globale Fokusfarbe seit Nov 2026: Orange (vorher Warm Pink, das auf den
     pinken Bändern unsichtbar war). Siehe STYLEGUIDE.md §6. */
  outline: 3px solid var(--bd-orange-400);
  outline-offset: 3px;
}

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

/* =============================================================================
   BANDS
   The whole site is a vertical stack of full-width colour bands. A band owns
   its palette: --ink (copy), --script (handwritten heading), --rule, and the
   default button look. Components inside read those variables, so the same
   markup works on any background.
   ============================================================================= */
.band {
  --band-bg:  var(--bd-white);
  --ink:      var(--bd-blue);
  --ink-soft: color-mix(in srgb, var(--bd-blue) 75%, transparent);
  --script:   var(--bd-navy);
  --rule:     var(--bd-blue);
  position: relative;
  padding: var(--band-y) 0;
  background: var(--band-bg);
  color: var(--ink);
}

.band--white   { --band-bg: var(--bd-white); }
.band--gray    { --band-bg: var(--bd-white);    --script: var(--bd-blue); } /* Nov 2026: weißer Grund (war --bd-gray-200) */
.band--hero    { --band-bg: var(--bd-gray-hero); --script: var(--bd-blue); }
.band--yellow  { --band-bg: var(--bd-yellow);  --script: var(--bd-navy); }
.band--magenta { --band-bg: var(--bd-warm-pink); --ink: var(--bd-yellow); --script: var(--bd-yellow); }
.band--teal    { --band-bg: var(--bd-teal);    --ink: var(--bd-white);  --script: var(--bd-white);  --rule: var(--bd-white); } /* Nov 2026: Weiß statt Gelb, s. STYLEGUIDE.md §1 */
.band--navy    { --band-bg: var(--bd-navy);    --ink: var(--bd-yellow); --script: var(--bd-warm-pink); --rule: var(--bd-navy-tint30); }
.band--black   { --band-bg: var(--bd-black);   --ink: var(--bd-white);  --script: var(--bd-white); --rule: var(--bd-gray-200); }

.band--flush { padding: 0; }

/* Contrast decisions (Nov 2026) — see STYLEGUIDE.md "Contrast":
   - .band--teal: yellow ink/script (2.86:1) replaced by white (3.36:1).
   - .band--magenta: yellow on warm pink (3.28:1) checked and accepted as is.
   The old commented-out fixes (navy ink on magenta, blue ink on teal) are
   retired with these decisions. */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 46rem; }

/* =============================================================================
   TYPOGRAPHY
   Heading scale (see STYLEGUIDE.md §3 for the full H1-H6 table):
   H1 = .h-script (Caveat, 3.7rem) / .h-script--hero (Caveat, 5rem, unchanged)
   H2 = .h2 (Caveat, 3.4rem)            -- Nov 2026: was .h-light, Oswald uppercase
   H3 = .h3 (Oswald, uppercase, 2rem)   -- Nov 2026: was .h-script--h3, Caveat 2.8rem;
        also replaces the retired Caveat kicker (.h-script--kicker)
   H4 = .h4 (Exo 2, weight 600, 2.4rem)
   H5 / H6 = intentionally not set — no rule, browser default if ever used
   normal text = body default (Exo 2, weight 400, 1.4rem, already in place)
   small text = .fine (Exo 2, weight 300, 0.9rem)
   blockquote = .blockquote (Caveat, 2.4rem) -- opt-in class, NOT a bare
        `blockquote{}` tag rule: real <blockquote> elements already exist as
        testimonials (.testimonial__quote) and must not be silently restyled
   ============================================================================= */

/* Handwritten — H1 and other display lines. Always in --script. */
.h-script {
  font-family: var(--font-display);
  font-weight: 400;          /* H1 base weight */
  font-size: var(--step-4);  /* H1 = 3.7rem */
  line-height: 1.2;
  color: var(--script);
  margin: 0 0 1rem;
}
.h-script--hero { font-size: var(--step-5); font-weight: 200; line-height: var(--lh-tight); } /* hero H1, kept at 5rem/200 on request */

/* H2 — Caveat (Nov 2026; until then Oswald uppercase as .h-light). In --script,
   like every handwritten line. */
.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--step-h2); /* H2 = 3.4rem */
  line-height: 1.2;
  color: var(--script);
  margin: 0 0 1rem;
}

/* H3 — Oswald uppercase (Nov 2026; until then Caveat as .h-script--h3). Also
   the former kickers (.h-script--kicker, retired). In --ink, like every
   condensed line. */
.h3 {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: var(--step-h3); /* H3 = 2rem / 32px */
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

/* Condensed uppercase at small size — accordion rows, eyebrows, badges. Same
   face as H3, its own smaller size. */
.h-condensed {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: var(--step-1);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: 0;
}

/* H4 — Exo 2 semibold. No existing "voice" class fit, so this is new. */
.h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--step-2); /* H4 = 2.4rem */
  line-height: var(--lh-tight);
  color: var(--ink);
  margin: 0 0 0.5rem;
}

/* Blockquote voice — typographic only (font/size), no border or quote marks.
   Opt-in: apply to a <blockquote> where you want this treatment. Testimonials
   keep using .testimonial__quote and are unaffected. */
.blockquote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--step-2); /* 2.4rem, same value as H4 by spec, different voice */
  line-height: 1.25;
  color: var(--script);
  margin: 0 0 1rem;
}

.lead   { font-size: var(--step-1); }
.fine   { font-family: var(--font-body); font-weight: 300; font-size: var(--step-small); } /* "small text" = Exo 2 weight 300, 0.9rem */
.center { text-align: center; }

p { margin: 0 0 1.25em; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 700; }

/* =============================================================================
   BUTTONS
   Small radius, generous horizontal padding. Four fills, one pill variant.

   Real-world usage of each modifier (Aug 2026 audit — see STYLEGUIDE.md §"Buttons"):
     .btn--blue        "mehr dazu" / "zurück zur Startseite" secondary links, throughout
     .btn--blue-green  hero "Anrufen" pill, left half of .btn-duo (homepage only)
     .btn--yellow      "Angebot einholen" / "Jaaa!" primary CTAs, several pages
     .btn--green       "Angebot einholen" CTAs + the one .btn--block "Anfragen" submit
     .btn--magenta     NOT USED on any real page — demoed in styleguide.html §4 only
     .btn--white       real <button type="submit"> "Senden", every page's footer form
   ============================================================================= */
.btn {
  --btn-bg: var(--bd-blue);
  --btn-fg: var(--bd-yellow);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.7em 1.4em;
  font-family: var(--font-body);
  font-size: var(--step-btn); /* was --step--1 (0.875rem); own token now, +0.2rem, Aug 2026 */
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.15s var(--ease), filter 0.15s var(--ease);
}
.btn:hover  { filter: brightness(1.08); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--blue    { --btn-bg: var(--bd-blue);    --btn-fg: var(--bd-yellow); }
/* the hero "Anrufen" pill: green label on blue, as in the original */
.btn--blue-green { --btn-bg: var(--bd-blue); --btn-fg: var(--bd-green); }
.btn--yellow  { --btn-bg: var(--bd-yellow);  --btn-fg: var(--bd-blue); }
.btn--green   { --btn-bg: var(--bd-green);   --btn-fg: var(--bd-blue); }
.btn--magenta { --btn-bg: var(--bd-warm-pink); --btn-fg: var(--bd-white); }
/* Real <button type="submit"> in every page's footer newsletter form — not a text
   link (styleguide.html §4 used to demo it as an <a>; fixed, Aug 2026). White fill
   was already solid, not transparent, but on a plain white ground (as in that old
   demo) it visually disappears; the 2px border fixes that in any context. */
.btn--white   { --btn-bg: var(--bd-white);   --btn-fg: var(--bd-blue); border: 2px solid var(--btn-fg); } /* Nov 2026: Exo 2 in Button-Größe wie alle Buttons (vorher Caveat kursiv, --step-0) */
.btn--block   { width: 100%; justify-content: center; }

/* trailing arrow used on every "mehr dazu" button */
.btn__arrow { flex: none; width: 1.1em; height: 1.1em; fill: currentColor; }
/* outline icons (phone, envelope) — the originals are stroked, not filled */
.btn__icon { flex: none; width: 1.35em; height: 1.35em; fill: none; stroke: currentColor; }

/* The paired hero CTA: [ Anrufen ] (OR) [ Nachricht ].
   Plain .btn halves — standard --radius-sm corner, standard padding and
   --step-btn size, like every other button on the site. Until Aug 2026 both
   carried a .btn--pill modifier (999px rounding, bigger padding, --step-0
   text); that class is gone and the pair is no longer a special size. */
.btn-duo { display: inline-flex; align-items: center; flex-wrap: wrap; max-width: 100%; }
.btn-duo .btn { border-radius: var(--radius-sm); }
/* The two halves sit flush, sharing one edge, and the badge straddles that seam:
   its margin-inline of -1.05em is exactly half its 2.1em width, so it overlaps
   each button by the same amount. The labels need to clear it either side.
   (Until Aug 2026 button 2 had margin-left: -1.4em so the two rounded PILL ends
   interlocked; with square corners that overlap just hid button 1's edge and
   pushed the colour seam 1.4em left of the badge centre. Do not reinstate it.) */
.btn-duo .btn:first-child { padding-right: 2.6em; }
.btn-duo .btn:last-child  { padding-left: 2.6em; }
.btn-duo__or {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.1em;
  height: 2.1em;
  margin-inline: -1.05em;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--bd-blue);
  background: var(--bd-white);
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
}

/* Below ~480px the two pills plus the badge cannot fit side by side, so stack
   them. This block must stay AFTER the rules above, or the negative margin on
   .btn-duo__or wins and the badge hangs off the left edge. */
@media (max-width: 30rem) {
  .btn-duo { flex-direction: column; align-items: stretch; width: 100%; }
  .btn-duo .btn { justify-content: center; }
  .btn-duo .btn:first-child { padding-right: 1.6em; }
  .btn-duo .btn:last-child { padding-left: 1.6em; margin-left: 0; }
  .btn-duo__or { margin: 0.4rem auto; }
}

/* =============================================================================
   HEADER / NAVIGATION
   Solid --bd-navy bar. Italic nav labels. Active item marked by a yellow
   underline that sits at the very bottom edge of the bar.
   ============================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--bd-navy);
  color: var(--bd-white);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 5vw, 4rem);
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Wordmark: two stacked lowercase lines + a small outlined square. */
.logo { display: inline-flex; align-items: flex-end; gap: 0.35em; text-decoration: none; color: var(--bd-white); }
.logo__mark { font-family: var(--font-body); font-weight: 300; font-size: var(--step-1); line-height: 0.95; letter-spacing: 0.02em; }
.logo__mark span { display: block; }
.logo__dot { width: 0.5em; height: 0.5em; border: 2px solid currentColor; margin-bottom: 0.15em; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.25rem); }
.nav__list { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.25rem); margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; }
.nav__link {
  position: relative;
  display: inline-block;
  padding: 0.35em 0;
  font-style: italic;
  font-size: 1.25rem;      /* 20px — nav is smaller than body copy */
  white-space: nowrap;     /* "Gut zu wissen …" must not wrap */
  color: var(--bd-white);
  text-decoration: none;
}
.nav__link[aria-current="page"]::after,
.nav__link:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1.9rem;          /* drops to the bottom edge of the bar */
  height: 4px;
  background: var(--bd-yellow);
}
.nav__caret { display: inline-block; width: 0.6em; margin-left: 0.35em; fill: currentColor; }

.nav__submenu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 15rem;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  background: var(--bd-navy);
  box-shadow: var(--shadow-soft);
  display: none;
}
.nav__item:hover > .nav__submenu,
.nav__item:focus-within > .nav__submenu { display: block; }
.nav__submenu a { display: block; padding: 0.5em 1.25em; font-style: italic; color: var(--bd-white); text-decoration: none; }
.nav__submenu a:hover { background: var(--bd-blue); color: var(--bd-yellow); }

.nav__search { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; color: var(--bd-white); background: none; border: 0; cursor: pointer; }

.nav-toggle { display: none; }
@media (max-width: 60rem) {
  .nav-toggle { display: grid; place-items: center; width: 3rem; height: 3rem; color: var(--bd-white); background: none; border: 0; cursor: pointer; }
  .nav__list { display: none; }
  .nav__list[data-open="true"] {
    display: flex;
    position: absolute;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem var(--gutter) 1.5rem;
    background: var(--bd-navy);
  }
  .nav__list[data-open="true"] .nav__link { padding: 0.6em 0; }
  .nav__link[aria-current="page"]::after, .nav__link:hover::after { bottom: 0.2em; }
  .nav__submenu { position: static; display: block; background: none; box-shadow: none; padding-left: 1rem; }
}

/* =============================================================================
   LAYOUT BLOCKS
   ============================================================================= */

/* Homepage checkerboard: alternating colour tile / text tile, 50-50.
   Capped at the 1140px content width (Aug 2026) so it lines up with every other
   section on the site; it used to run full-bleed, as the original did. The
   panels stay flush against each other and against the box edge — no gutter
   inside, or the checkerboard reads as four separate cards. */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: var(--container);
  margin-inline: auto;
}
/* Square tiles: the grid is 50-50, so aspect-ratio 1 makes each tile exactly as
   tall as it is wide (570px at the 1140px cap). Dropped in the stacked mobile
   view below, where a full-width square would be absurdly tall. */
.split__panel { display: grid; align-content: center; gap: 1rem; min-width: 0; padding: clamp(1.25rem, 6vw, 5rem); aspect-ratio: 1; }
.split__panel--flip { order: -1; }
.split__panel :is(.h-script, .h2) { margin: 0; }
/* Startseite (.split--home): Im HTML steht jede Überschriften-Kachel VOR ihrer
   Textkachel, damit Screenreader und Suchmaschinen Überschrift und Inhalt
   zusammen lesen. Sichtbar bleibt das Schachbrett wie bisher: In Zeile 2 und 4
   steht die Überschrift rechts bzw. – gestapelt – unter ihrem Text. `order`
   gilt in beiden Layouts. Die Zahlen bilden genau die vier Zeilen der
   Startseite ab; bei einer neuen Zeile hier mitziehen. */
.split--home > :nth-child(3) { order: 2; }   /* Überschrift Zeile 2 … */
.split--home > :nth-child(4) { order: 1; }   /* … nach ihrem Text */
.split--home > :nth-child(n+5) { order: 3; }
.split--home > :nth-child(7) { order: 5; }   /* Überschrift Zeile 4 … */
.split--home > :nth-child(8) { order: 4; }   /* … nach ihrem Text */
@media (max-width: 48rem) {
  .split { grid-template-columns: 1fr; }
  .split__panel { aspect-ratio: auto; min-height: clamp(18rem, 32vw, 26rem); }
  .split__panel--flip { order: 0; }
}

/* Service block: light heading + script kicker + copy on one side, framed
   image on the other. .service--flip swaps sides. */
.service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.service--flip > :first-child { order: 2; }
.service__body > * + * { margin-top: 1rem; }
@media (max-width: 52rem) {
  .service { grid-template-columns: 1fr; }
  .service--flip > :first-child { order: 0; }
}

/* White photo frame with a soft drop shadow, optionally pushed off-grid. */
.media-card { padding: 0.9rem; background: var(--bd-white); border-radius: var(--radius-sm); box-shadow: var(--shadow-card); }
.media-card img { border-radius: 2px; }
.media-card--offset { transform: translate(clamp(-3rem, -4vw, 0rem), 0); }

/* A white panel that floats on a coloured band, bleeding off one edge. */
.panel {
  background: var(--bd-white);
  color: var(--bd-blue);
  padding: clamp(2rem, 6vw, 5rem);
  /* Das Panel ist ein eigener weißer Grund und setzt deshalb seine Palette
     selbst, wie ein Band. Ohne --ink erbt z. B. .h3 die Tinte des
     umgebenden Bands — auf Mein Angebot war das Gelb auf Weiß. */
  --ink: var(--bd-blue);
  --script: var(--bd-navy);
}
.panel--bleed-left  { margin-right: clamp(2rem, 12vw, 12rem); }
.panel--bleed-right { margin-left: clamp(2rem, 12vw, 12rem); }

/* =============================================================================
   LISTS
   Three bullet styles seen on the site: navy star, plus sign, check mark.
   ============================================================================= */
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.list__item { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; }
.list__icon { flex: none; width: 1.4em; height: 1.4em; fill: var(--rule); margin-top: 0.1em; }
.list__title { font-family: var(--font-display); font-size: var(--step-1); color: var(--script); line-height: 1.2; }
.list--check .list__icon,
.list--plus .list__icon { width: 1.1em; height: 1.1em; }
.list--tight { gap: 0.6rem; }
.list--tight .list__item { align-items: center; }

/* =============================================================================
   DIVIDERS
   ============================================================================= */

/* Row of small squares. */
.divider-dots {
  height: 10px;
  max-width: var(--container);
  margin: clamp(2rem, 5vw, 4rem) auto;
  background-image: linear-gradient(to right, var(--rule) 0 60%, transparent 60% 100%);
  background-size: 18px 10px;
  background-repeat: repeat-x;
}

/* Diagonal edge between two bands. Set BOTH colours: --divider-from is the band
   above, --divider-to the band below. (Setting `background` inline instead does
   not work — it overrides the layer that paints the upper colour.) */
.divider-angle {
  --divider-from: var(--bd-white);
  --divider-to: var(--bd-white);
  --divider-tilt: 3.5vw;
  position: relative;
  height: var(--divider-tilt);
  background: var(--divider-to);
  overflow: hidden;
}
.divider-angle::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--divider-from);
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%);
}
/* mirrored: the edge falls to the right instead of the left */
.divider-angle--right::before { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0); }

/* Lavender band riding the diagonal, as on the Kontakt page. A parallelogram,
   not a triangle — a triangle collapses to nothing at one end. */
.divider-angle--sliver { --divider-tilt: 4.5vw; }
.divider-angle--sliver::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bd-lavender-600);
  clip-path: polygon(0 100%, 100% 0, 100% 38%, 0 138%);
}
.divider-angle--sliver.divider-angle--right::after {
  clip-path: polygon(0 0, 100% 100%, 100% 138%, 0 38%);
}

/* Soft organic edge (the yellow-to-white wave under "Was ist denn drin"). */
.divider-wave {
  --divider-from: var(--bd-yellow);
  height: clamp(2rem, 5vw, 4.5rem);
  background: var(--divider-from);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 60%, transparent 61%);
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 60%, transparent 61%);
}

/* =============================================================================
   ACCORDION  (Gut zu wissen)
   Closed row: light gray, navy condensed label, "+" left, chevron right.
   Open row:   solid blue, white label, "-" ; panel is white with a hairline.
   ============================================================================= */
.accordion { display: grid; gap: 0.55rem; }
.accordion__item { border-radius: var(--radius-md); overflow: hidden; }
/* Jeder Akkordeon-Button sitzt in einer Überschrift (WAI-ARIA-Muster), damit
   man per Überschriften-Navigation von Abschnitt zu Abschnitt springen kann.
   Die Überschrift selbst trägt keine Gestaltung. */
.accordion__heading { margin: 0; }
.accordion__header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 0.9rem 1.25rem;
  font-family: var(--font-condensed);
  font-size: var(--step-1);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: left;
  color: var(--bd-blue);
  background: var(--bd-gray-100);
  border: 0;
  border-radius: var(--radius-md);
  cursor: pointer;
}
.accordion__header[aria-expanded="true"] { color: var(--bd-white); background: var(--bd-blue); border-radius: var(--radius-md) var(--radius-md) 0 0; }
.accordion__sign { font-family: var(--font-body); font-weight: 400; font-size: 1.1em; line-height: 1; }
.accordion__chevron { width: 0.8em; fill: currentColor; transition: transform 0.2s var(--ease); }
.accordion__header[aria-expanded="true"] .accordion__chevron { transform: rotate(90deg); }
/* Panel-Hintergrund = Hintergrund des Bands, auf dem das Akkordeon steht
   (Nov 2026; vorher fest Weiß). Auf Gut zu wissen also Gelb. Regel: Akkordeon-
   Inhalte haben immer dieselbe Farbe wie der Seitenhintergrund. */
.accordion__panel {
  padding: 1.1rem 1.25rem;
  font-size: var(--step-0); /* Fließtextgröße wie auf der übrigen Site (Nov 2026; war --step--1, 14px) */
  color: var(--ink, var(--bd-blue));
  background: var(--band-bg, transparent); /* ohne Band: Seitenhintergrund scheint durch */
  border: 1px solid var(--bd-gray-200);
  border-top: 0;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}
.accordion__panel[hidden] { display: none; }
/* Panel-Inhalte (Nov 2026, übernommen vom Blog): Zwischenüberschrift, Listen, Bilder */
.accordion__panel > :first-child { margin-top: 0; }
.accordion__panel h3 { font-family: var(--font-body); font-size: var(--step-1); font-weight: 600; line-height: 1.2; /* eine Stufe über dem Panel-Text */ margin: 1.25rem 0 0.4rem; }
.accordion__panel ul { padding-left: 1.4em; margin: 0.4rem 0 1rem; }
.accordion__panel li { margin-bottom: 0.2em; }
.accordion__figure { margin: 0; }
.accordion__figure img { display: block; width: 100%; height: auto; border-radius: var(--radius-sm); }
/* Bildunterschrift wie auf dem Blog: kursiv, gedämpft */
.accordion__figure figcaption { margin-top: 0.5rem; font-size: 0.75rem; font-style: italic; opacity: 0.8; }
.accordion__figure--center figcaption { text-align: center; }
/* SVG-Maske „Blob“ wie auf dem Blog (UIUX-Bild). Form aus Elementors
   Mask-Shapes (blob.svg, GPL-3.0). Als data-URI eingebettet statt als Datei,
   weil Chrome externe Masken unter file:// blockiert (lokale Vorschau). */
.accordion__figure--blob img {
  --mask-blob: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 121.0002 89'%3E%3Cpath d='M100.016,7.3972C90.2452,1.22,73.3084-3.6663,64.4255,3.7126,56.9836,9.89,62.0469,18.9174,55.01,25.3032c-10.6,9.6134-28.1589-5.4423-41.8584,2.6318C.6757,35.2543-4.2791,59.1489,4.2781,73.7975c13.1369,22.524,53.13,13.8541,61.1936,12.1061,4.5007-.9931,53.4953-12.265,55.4693-42.7043C121.898,28.2528,111.1,14.4185,100.016,7.3972Z'/%3E%3C/svg%3E");
  border-radius: 0;
  -webkit-mask: var(--mask-blob) center / contain no-repeat;
          mask: var(--mask-blob) center / contain no-repeat;
}
.accordion__figure--blob figcaption { text-align: center; }

/* Zweispaltiges Panel-Layout wie auf dem Blog (Nov 2026). Standard 1:1;
   --1-2 schmale Bildspalte links (UIUX), --2-1 breite Spalte links (Social Media).
   Unter 48rem untereinander, in HTML-Reihenfolge. */
.acc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; align-items: start; }
.acc-cols--1-2 { grid-template-columns: 1fr 2fr; }
.acc-cols--2-1 { grid-template-columns: 2fr 1fr; }
.acc-cols__col { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.acc-cols__col > * { margin: 0; }
.acc-cols__col--center { align-self: center; }
.acc-cols__col > h3 { margin: 0.5rem 0 -0.6rem; }
.acc-cols__col > ul { margin: -0.75rem 0 0; } /* Liste rückt an ihren Einleitungssatz */
.acc-cols__col .video-consent { max-width: none; }
@media (max-width: 48rem) {
  .acc-cols, .acc-cols--1-2, .acc-cols--2-1 { grid-template-columns: 1fr; }
  .accordion__figure--hide-mobile { display: none; }
}

/* YouTube erst nach Klick (Nov 2026). Bis dahin nur dieser Platzhalter — keine
   Verbindung zu Google. site.js ersetzt ihn beim Klick durch das iframe
   (youtube-nocookie.com). Ohne JS bleibt der Link zu YouTube. */
.video-consent {
  position: relative;
  max-width: 34rem;
  aspect-ratio: 16 / 9;
  margin: 0 0 1rem;
  color: var(--bd-yellow);
  background: var(--bd-navy);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.video-consent__box { display: grid; align-content: center; gap: 0.6rem; height: 100%; padding: 1.25rem 1.5rem; text-align: center; }
.video-consent__box p { margin: 0; }
.video-consent__title { font-family: var(--font-condensed); font-weight: 600; font-size: var(--step-1); text-transform: uppercase; letter-spacing: 0.02em; }
.video-consent__note { font-size: 0.8rem; color: var(--bd-white); }
.video-consent a { color: inherit; }
.video-consent__actions { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; justify-content: center; align-items: center; font-size: var(--step--1); }
.video-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 30rem) { .video-consent { aspect-ratio: auto; } }

/* =============================================================================
   SKILL BARS  (Das macht mich aus)
   Yellow fill on a magenta track, navy label left, percentage right.
   ============================================================================= */
.skills { display: grid; gap: 0.6rem; }
.skill { position: relative; height: calc(var(--step-0) * 1.8); /* wächst mit der Schrift (Nov 2026; war 2rem) */ background: var(--bd-warm-pink); border-radius: var(--radius-sm); overflow: hidden; }
.skill__fill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
  padding: 0 0.7rem;
  font-size: var(--step-0);  /* Fließtextgröße (Nov 2026; war --step--1, 14px) */
  font-weight: 500;
  line-height: 1.2;
  color: var(--bd-blue);
  background: var(--bd-yellow);
  width: var(--value, 50%);
}
.skill__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.skill__value { flex: none; }

/* =============================================================================
   PROJECT GRID  (Projekte & Kundenstimmen)
   Screenshot in a speech-bubble shape, condensed uppercase title, caption.
   ============================================================================= */
.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: clamp(2rem, 4vw, 3.5rem); }
.project { text-align: center; }
.project__shot {
  position: relative;
  background: var(--bd-white);
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  /* NB: no clip-path here — it would clip the ::after pointer below. */
}
.project__shot::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.85rem;
  width: 1.7rem;
  height: 0.9rem;
  transform: translateX(-50%);
  background: var(--bd-white);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.project__title { margin: 1.5rem 0 0.5rem; font-family: var(--font-condensed); font-weight: 600; font-size: var(--step-1); text-transform: uppercase; letter-spacing: 0.02em; color: var(--ink); }
.project__caption { font-size: var(--step--1); color: var(--ink); }

/* =============================================================================
   TESTIMONIAL  (logo, quote, attribution — two columns on white)
   ============================================================================= */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: clamp(2rem, 5vw, 4rem); }
.testimonial { display: grid; gap: 1.25rem; }
.testimonial__logo { display: grid; place-items: center; min-height: 9rem; }
.testimonial__logo img { max-height: 9rem; width: auto; }
.testimonial__quote { margin: 0; color: var(--bd-blue); }
.testimonial__source { font-size: var(--step--1); }
.testimonial__author { font-weight: 700; text-align: center; color: var(--bd-blue); }

/* =============================================================================
   BENEFIT CARD  (yellow panel, rotated magenta tab on the left edge)
   ============================================================================= */
.benefit { position: relative; background: var(--bd-yellow); color: var(--bd-blue); padding: clamp(1.5rem, 4vw, 2.5rem); }
.benefit__tab {
  /* Nov 2026: nur noch ein schmaler pinker Streifen außen an der linken Kante,
     ohne Text (vorher senkrechter Reiter „Das ist für dich drin“). Rein
     dekorativ, im HTML aria-hidden. 3px am Handy bis 6px am Desktop, 40 % der
     Kartenhöhe, oben bündig. */
  --tab-w: clamp(3px, 0.42vw, 6px);
  position: absolute;
  left: calc(-1 * var(--tab-w));
  top: 0;
  width: var(--tab-w);
  height: 40%;
  background: var(--bd-warm-pink);
}

/* =============================================================================
   PRICE LIST  (Meine Website)
   Title with a dotted leader, description, then a navy price pill with the
   gross price underneath.
   ============================================================================= */
.pricelist { display: grid; gap: 1.75rem; }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(1rem, 4vw, 3rem); align-items: start; }
.price-row__title { display: flex; align-items: baseline; gap: 0.75rem; font-weight: 700; color: var(--ink); }
.price-row__title::after { content: ""; flex: 1; border-bottom: 2px dotted currentColor; opacity: 0.6; }
.price-row__desc { margin: 0.35rem 0 0; font-size: var(--step--1); }
.price-row__amounts { text-align: right; }
.price-tag {
  display: inline-block;
  padding: 0.3em 0.9em;
  font-weight: 500;
  color: var(--bd-yellow);
  background: var(--bd-blue);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.price-tag--total { color: var(--bd-blue); background: var(--bd-green); }
.price-gross { display: block; margin-top: 0.3rem; font-size: var(--step--1); opacity: 0.85; }
.price-total { margin-top: 2rem; padding-top: 1.5rem; border-top: 3px solid var(--ink); }
/* Retired (Aug 2026): this used to shrink+weight the total row's .h-light down
   from the old "light Exo 2" identity (2.7rem/200) to 2.4rem/400 for emphasis.
   Now that .h-light IS the bold uppercase H2 by default, that override would
   make the total row smaller AND lighter than every other .h-light on the
   page — the opposite of emphasis — so it's removed; the total heading now
   just uses the standard H2 style like its siblings. */

/* =============================================================================
   FORMS
   Fields are a lighter tint of the band they sit on; placeholders are the
   band's ink lightened. No visible labels on the original — keep a
   visually-hidden label for screen readers.
   ============================================================================= */
.form { display: grid; gap: 0.6rem; }
.form__field {
  --field-bg: var(--bd-blue);
  --field-fg: var(--bd-white);
  width: 100%;
  padding: 0.75em 0.9em;
  font-family: inherit;
  font-size: var(--step--1);
  color: var(--field-fg);
  background: var(--field-bg);
  border: 0;
  border-radius: var(--radius-sm);
}
.form__field::placeholder { color: var(--field-fg); opacity: 0.85; }
textarea.form__field { min-height: 8rem; resize: vertical; }

/* per-band field tints */
.band--magenta .form__field { --field-bg: color-mix(in srgb, var(--bd-warm-pink) 60%, white); --field-fg: var(--bd-white); }
.band--navy    .form__field { --field-bg: var(--bd-blue);         --field-fg: var(--bd-white); }
.band--white   .form__field,
.band--yellow  .form__field { --field-bg: var(--bd-gray-100);     --field-fg: var(--bd-blue); }

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

/* =============================================================================
   SOCIAL GRID  (yellow rounded squares, navy glyph)
   ============================================================================= */
.social { display: flex; flex-wrap: wrap; gap: 0.75rem; padding: 0; margin: 0; list-style: none; }
.social__link { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; color: var(--bd-navy); background: var(--bd-yellow); border-radius: var(--radius-md); text-decoration: none; }
.social__link:hover { background: var(--bd-warm-pink); color: var(--bd-white); }
.social__link svg { width: 1.6rem; height: 1.6rem; fill: currentColor; }

/* =============================================================================
   LOGO WALL  (Mein Netzwerk — light cards on black)
   ============================================================================= */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.logo-wall__card { display: grid; place-items: center; min-height: 11rem; padding: 1.5rem; background: var(--bd-gray-200); border-radius: var(--radius-md); }

/* =============================================================================
   FOOTER  ("Stay in Touch" + newsletter + legal line)
   ============================================================================= */
.site-footer { background: var(--bd-navy); color: var(--bd-yellow); padding: var(--band-y) 0 3rem; text-align: center; --script: var(--bd-warm-pink); }
.site-footer .form { max-width: 26rem; margin-inline: auto; }
.site-footer__legal { margin-top: clamp(3rem, 10vw, 8rem); font-size: var(--step--1); color: var(--bd-navy-tint30); }
.site-footer__legal a { color: var(--bd-navy-tint30); }
.site-footer__badge { display: inline-block; margin-top: 2rem; }

/* ------------------------------------------------------------ UTILITIES --- */
.stack > * + * { margin-top: var(--stack-gap, 1.25rem); }
.cluster { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-yellow  { color: var(--bd-yellow); }
.text-magenta { color: var(--bd-warm-pink); }
.text-green   { color: var(--bd-green); }
.text-blue    { color: var(--bd-blue); }
.text-orange  { color: var(--bd-orange-400); }   /* link colour on the Netzwerk page */

@media print {
  .site-header, .nav, .site-footer .form { display: none; }
  .band { padding: 1rem 0; }
}

/* =============================================================================
   PAGE PATTERNS
   Added while rebuilding the seven pages. Everything above is the design system;
   this section is the handful of layouts the real pages needed on top of it.
   ============================================================================= */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.75em 1.25em;
  color: var(--bd-blue);
  background: var(--bd-yellow);
  font-weight: 500;
}
.skip-link:focus { left: 0; }

.logo img { width: clamp(104px, 9vw, 140px); height: auto; }

/* an extra band variant: the solid blue tile on the homepage checkerboard */
.band--blue-tile { --band-bg: var(--bd-blue); --ink: var(--bd-white); --script: var(--bd-yellow); }

.page-hero { padding-block: clamp(4rem, 10vw, 8rem); }
.page-hero .h-script { margin-bottom: 0; }

.eyebrow {
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

/* ------------------------------------------------------------- home hero --- */
.home-hero { padding-block: 0; overflow: hidden; }
.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  min-height: clamp(26rem, 46vw, 38rem);
}
.home-hero__text { padding-block: var(--band-y); }
.home-hero__lead { margin-bottom: 0.5rem; }
.home-hero__list { margin: 0 0 2rem; padding-left: 1.35em; }
.home-hero__list li { margin-bottom: 0.25em; }
/* Brushstroke mask, ported Sep 2026 from the interim WordPress site at
   wp.babbadeggl.de, where the hero portrait ships as a pre-masked PNG. That
   PNG's alpha was extracted into img/hero-mask.png (white shape, alpha
   channel = the stroke), so the mask is reusable on any image instead of
   being baked into one photo. It replaces the angled polygon clip-path the
   rebuild had reconstructed from the 2023 screenshot; that shape is kept
   below, commented out, in case the old look is wanted back.
   The tech-pattern background behind the portrait did not survive the hack
   — see INHALT-OFFEN.md. */
.home-hero__figure {
  margin: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
}
.home-hero__figure img {
  /* Mask and photo are both square, so the figure has to be square too: the
     mask is laid over the image at 100% 100%, and any other box ratio would
     both stretch the stroke and slide it out of register with the portrait. */
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  /* clip-path: polygon(16% 0, 100% 6%, 88% 100%, 4% 92%);  <- pre-Sep-2026 shape */
  -webkit-mask-image: url(../img/hero-mask.png);
          mask-image: url(../img/hero-mask.png);
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
}
@media (max-width: 52rem) {
  .home-hero__grid { grid-template-columns: 1fr; min-height: 0; }
  /* Stacked: the portrait is square now, so cap it by WIDTH and let the height
     follow. Capping by height (the pre-Sep-2026 max-height) no longer bounds a
     square image — it would render full-column-width and tall, overlapping the
     heading below it. */
  .home-hero__figure { order: -1; justify-content: center; }
  .home-hero__figure img { width: min(100%, 22rem); }
}

/* photo showing faintly behind a white checkerboard tile, as in the original */
.split__panel--photo { position: relative; background-size: cover; background-position: center; }
.split__panel--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--bd-white) 86%, transparent);
}
.split__panel--photo > * { position: relative; }

.cta-right { text-align: right; }

.home-questions { list-style: none; margin: 0 0 1rem; padding: 0; }
.home-questions li { margin-bottom: 0.15em; }

/* ------------------------------------------------------------ about grid --- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  margin-top: var(--band-y);
}
.about-grid figure { margin: 0 0 1rem; }
.about-grid__photo { align-self: end; }
.about-grid__aim { align-self: center; }

/* --------------------------------------------------------------- panels --- */
/* .panel bleeds off one edge; its content still needs the container rhythm. */
.panel__inner { max-width: var(--container); margin-inline: auto; }

/* ------------------------------------------------------------- CTA shot --- */
.cta-shot { position: relative; margin: 0; }
.cta-shot img { width: 100%; display: block; }
/* Navy-Schleier über dem ganzen Bild, damit der gelbe Kicker lesbar ist.
   60 % ist so gewählt, dass selbst reines Weiß darunter noch 3,5:1 gegen
   --bd-yellow ergibt (WCAG AA für große Schrift) — gilt also auch, wenn das
   Platzhalterbild ersetzt wird. Ersetzt den früheren Verlauf, der noch das
   alte Navy #141B41 benutzte. */
.cta-shot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--bd-navy) 60%, transparent);
  pointer-events: none;
}
.cta-shot__overlay {
  --ink: var(--bd-yellow);  /* H3 auf dem Navy-Schleier */
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  justify-items: start;
  gap: 0.75rem;
  padding: clamp(1rem, 3vw, 2rem);
}

/* ------------------------------------------------------- benefit grid --- */
/* Meine Website, Nov 2026: die gelben Nutzen-Karten als quadratische Kacheln
   wie das Schachbrett der Startseite (.split) — zwei Spalten, bündig, 1:1,
   gleicher Innenabstand, Inhalt mittig, volle Containerbreite (1140px).
   Zeile 1: Titel | Karte · Zeile 2: Karte | frei · Zeile 3: frei | Karte.
   Die freien Felder sind die Plätze der Illustrationen, die nicht im Archiv
   sind (INHALT-OFFEN.md). Ersetzt .benefit-solo. */
.benefit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-inline: calc(-1 * var(--gutter));
}
.benefit-grid > * {
  display: grid;
  align-content: center;
  min-width: 0;
  margin: 0;
  padding: clamp(1.25rem, 6vw, 5rem);
  aspect-ratio: 1;
}
.benefit-grid__end { grid-column: 2; grid-row: 3; }
/* Gleicher Umbruch wie .split. Gestapelt bekommen die gelben Kacheln Abstand,
   sonst verschmelzen drei gleichfarbige Quadrate zu einem Block. */
@media (max-width: 48rem) {
  .benefit-grid { grid-template-columns: minmax(0, 1fr); row-gap: clamp(1.5rem, 6vw, 2.5rem); margin-inline: 0; }
  .benefit-grid > * { aspect-ratio: auto; }
  .benefit-grid > .benefit { min-height: clamp(18rem, 32vw, 26rem); }
  .benefit-grid__title { padding: 0; }
  .benefit-grid__end { grid-column: auto; grid-row: auto; }
}

/* -------------------------------------------------------- media credits --- */
.media-card__credit {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--ink);
  opacity: 0.75;
}

/* -------------------------------------------------------- project cards --- */
.project-grid { list-style: none; margin: 0; padding: 0; }
.project__shot {
  display: block;
  width: 100%;
  border: 0;
  cursor: zoom-in;
  font: inherit;
}
/* Square tiles, as in the original: the shots have wildly different native
   ratios (wide banner, tall phone mockup, landscape device shots), so they are
   cropped to a square rather than fitted, which is what the 2023 screenshot
   shows. Nothing is lost — the lightbox opens the full, uncropped image. */
.project__shot img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 5vw, 3rem);
  background: color-mix(in srgb, var(--bd-black) 88%, transparent);
}
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: min(60rem, 100%); text-align: center; }
.lightbox__img { max-height: 78vh; width: auto; margin-inline: auto; border-radius: var(--radius-sm); }
.lightbox__caption {
  margin-top: 1rem;
  font-family: var(--font-condensed);
  font-size: var(--step-1);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--bd-yellow);
}
.lightbox__close {
  position: absolute;
  top: clamp(0.5rem, 2vw, 1.5rem);
  right: clamp(0.5rem, 2vw, 1.5rem);
  width: 3rem;
  height: 3rem;
  font-size: 2rem;
  line-height: 1;
  color: var(--bd-warm-pink);
  background: none;
  border: 0;
  cursor: pointer;
}
body.has-lightbox { overflow: hidden; }

/* --------------------------------------------------------- social centre --- */
.social--center { justify-content: center; }

/* ----------------------------------------------------------- link groups --- */
.link-groups {
  display: grid;
  gap: 1.5rem;
  max-width: 46rem;
  margin: var(--band-y) auto 0;
}
.link-group summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.link-group summary::-webkit-details-marker { display: none; }
.link-group summary::before {
  content: "";
  width: 0.55em;
  height: 0.55em;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease);
}
.link-group[open] summary::before { transform: rotate(225deg); }
/* min-width: 0 — ein langes H3-Wort („Lieblingsdatenschützer*innen“) darf die
   Box nicht über den Bildschirmrand schieben; es bricht notfalls innerhalb um. */
.link-group { min-width: 0; }
.link-group summary .h3 { margin: 0; min-width: 0; }
.link-group ul { margin: 0.5rem 0 0; padding-left: 2.2em; }
.link-group li { margin-bottom: 0.35em; }

/* ------------------------------------------------------------------ legal --- */
.legal h2 {
  font-family: var(--font-condensed);
  font-size: var(--step-1);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 2.25rem 0 0.6rem;
}
.legal h2:first-child { margin-top: 0; }
/* Unterabschnitte der Rechtstexte (Datenschutz, Nov 2026): Fließtextschrift, fett,
   bewusst kleiner als .legal h2 — nicht die große .h3 aus dem Design-System. */
.legal h3 {
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 600;
  margin: 1.75rem 0 0.4rem;
}
.legal ul { padding-left: 1.4em; }
.legal li { margin-bottom: 0.3em; }
.todo {
  display: inline-block;
  padding: 0.1em 0.5em;
  font-size: 0.85em;
  color: var(--bd-white);
  background: var(--bd-warm-pink);
  border-radius: var(--radius-sm);
}

/* ------------------------------------------------------------------ forms --- */
.form__actions { margin: 0; text-align: left; }
.form__note {
  margin: 0.5rem 0 0;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--ink);
}
.form__note--error { font-weight: 700; }

/* Kontaktformular (Nov 2026): Datenschutz-Hinweis, Fangfeld, ALTCHA-Widget */
.form__privacy {
  margin: 0;
  font-size: var(--step--1);
  text-align: left;
}
/* Fangfeld für Bots: für Menschen unsichtbar, für Screenreader ausgeblendet
   (aria-hidden am Wrapper, tabindex="-1" am Feld). Nicht display:none —
   manche Bots überspringen versteckte Felder sonst gezielt. */
.form__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* ALTCHA-Widget im Look der Formularfelder; Farben folgen dem Band wie .form__field */
.form__altcha {
  --field-bg: var(--bd-blue);
  --field-fg: var(--bd-white);
  --altcha-max-width: 100%;
  --altcha-border-width: 0;
  --altcha-border-radius: var(--radius-sm);
  --altcha-color-base: var(--field-bg);
  --altcha-color-text: var(--field-fg);
  --altcha-color-border: transparent;
  --altcha-color-border-focus: var(--field-fg);
  --altcha-color-active: var(--field-fg);
  --altcha-color-error-text: var(--field-fg);
  --altcha-color-footer-bg: transparent;
  display: block;
  font-size: var(--step--1);
  text-align: left;
}
.band--magenta .form__altcha { --field-bg: color-mix(in srgb, var(--bd-warm-pink) 60%, white); --field-fg: var(--bd-white); }
.band--white   .form__altcha,
.band--yellow  .form__altcha { --field-bg: var(--bd-gray-100); --field-fg: var(--bd-blue); }

/* =============================================================================
   KACHEL-VARIANTEN  (Referenzen, Nov 2026)
   .project-grid--tiles und .testimonials--tiles setzen Projekte und
   Kundenstimmen als Schachbrett wie auf der Startseite (.split): bündige,
   quadratische Kacheln, Farbkachel mit Caveat-Überschrift neben Bild bzw.
   weißer Kachel. Ging als Variante B aus einem A/B-Entwurf hervor; die
   Basis-Komponenten oben (Sprechblase, Logo-Spalten) bleiben unverändert.
   ============================================================================= */

/* Kachelfarben in der Reihenfolge der Startseite: gelb, petrol, pink, blau */
:is(.project-grid--tiles > .project, .testimonials--tiles > .testimonial):nth-child(4n+1) { --tile: var(--bd-yellow);    --ink: var(--bd-blue);   --script: var(--bd-navy); }
:is(.project-grid--tiles > .project, .testimonials--tiles > .testimonial):nth-child(4n+2) { --tile: var(--bd-teal);      --ink: var(--bd-white);  --script: var(--bd-white); }
:is(.project-grid--tiles > .project, .testimonials--tiles > .testimonial):nth-child(4n+3) { --tile: var(--bd-warm-pink); --ink: var(--bd-yellow); --script: var(--bd-yellow); }
:is(.project-grid--tiles > .project, .testimonials--tiles > .testimonial):nth-child(4n+4) { --tile: var(--bd-blue);      --ink: var(--bd-white);  --script: var(--bd-yellow); }

/* Das Raster läuft wie .split über die volle Containerbreite (1140px),
   also ohne den seitlichen Gutter des .container. */
.project-grid--tiles,
.testimonials--tiles {
  gap: 0;
  margin-inline: calc(-1 * var(--gutter));
}

/* --- Projekte: Bildkachel + Farbkachel, zwei Projekte je Zeile.
   Zeile 1: Bild|Farbe|Bild|Farbe, Zeile 2 gespiegelt — echtes Schachbrett. */
.project-grid--tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-grid--tiles .project {
  --pad: clamp(1rem, 2.6vw, 2rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 1fr auto auto 1fr;
  text-align: left;
  background: var(--tile);
}
.project-grid--tiles .project__shot {
  grid-column: 1;
  grid-row: 1 / -1;
  padding: 0;
  /* Rahmen in der Farbe der Textkachel daneben. Bewusst border statt padding:
     overflow schneidet an der Innenkante des Rahmens, so bleibt der Rahmen
     auch beim Hover-Zoom des Bildes stehen. */
  border: clamp(2px, 0.42vw, 6px) solid var(--tile);  /* 2px am Handy, 6px ab ~1430px */
  border-radius: 0;
  background: var(--tile);
  box-shadow: none;
  min-height: 100%;
  overflow: hidden;
}
.project-grid--tiles .project__shot::after { display: none; }
.project-grid--tiles .project__shot img { height: 100%; transition: transform 0.4s ease; }
.project-grid--tiles .project__shot:hover img { transform: scale(1.04); }
.project-grid--tiles .project__title {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  padding: var(--pad) var(--pad) 0;
  font-family: var(--font-condensed);  /* H3 = Oswald, Nov 2026 */
  font-weight: 600;
  font-size: var(--step-h3);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  hyphens: manual;  /* keine automatische Trennung — nur an &shy; im Markup */
  color: var(--ink);
}
.project-grid--tiles .project__caption {
  grid-column: 2;
  grid-row: 3;
  margin: 0;  /* steht im HTML nicht mehr am Ende (Titel und Text vor dem Bild) */
  padding: 0.6rem var(--pad) var(--pad);
}
.project-grid--tiles .project:is(:nth-child(4n+3), :nth-child(4n+4)) .project__shot { grid-column: 2; }
.project-grid--tiles .project:is(:nth-child(4n+3), :nth-child(4n+4)) :is(.project__title, .project__caption) { grid-column: 1; }

/* --- Kundenstimmen: Farbkachel mit Name | weiße Kachel mit Logo + Zitat,
   eine Stimme je Zeile, Seiten im Wechsel wie auf der Startseite. */
.testimonials--tiles { grid-template-columns: minmax(0, 1fr); }
.testimonials--tiles .testimonial {
  --pad: clamp(1.25rem, 5vw, 4rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 1fr auto auto 1fr;
  gap: 0;
}
.testimonials--tiles .testimonial__author {
  grid-column: 1;
  grid-row: 1 / -1;
  display: grid;
  place-items: center;
  margin: 0;
  padding: var(--pad);
  aspect-ratio: 1;  /* hält die Zeile quadratisch; ein längeres Zitat macht sie höher */
  background: var(--tile);
  font-family: var(--font-condensed);  /* H3 = Oswald, Nov 2026 */
  font-weight: 600;
  font-size: var(--step-h3);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink);
}
.testimonials--tiles .testimonial__logo {
  grid-column: 2;
  grid-row: 2;
  min-height: 0;
  padding: var(--pad) var(--pad) 1.25rem;
  justify-items: start;
}
.testimonials--tiles .testimonial__logo img { max-height: 7rem; }
.testimonials--tiles .testimonial__quote { grid-column: 2; grid-row: 3; padding: 0 var(--pad) var(--pad); }
.testimonials--tiles .testimonial:nth-child(even) .testimonial__author { grid-column: 2; }
.testimonials--tiles .testimonial:nth-child(even) :is(.testimonial__logo, .testimonial__quote) { grid-column: 1; }

/* Gleicher Umbruch wie .split: ab 48rem ein Projekt je Zeile, Stimmen gestapelt */
@media (max-width: 48rem) {
  .project-grid--tiles { grid-template-columns: minmax(0, 1fr); }
  /* :nth-child(odd) statt bloßem .project: muss die Spiegelung der 4n+3/4n+4-Regel oben überstimmen */
  .project-grid--tiles .project:nth-child(odd) .project__shot { grid-column: 1; }
  .project-grid--tiles .project:nth-child(odd) :is(.project__title, .project__caption) { grid-column: 2; }
  .project-grid--tiles .project:nth-child(even) .project__shot { grid-column: 2; }
  .project-grid--tiles .project:nth-child(even) :is(.project__title, .project__caption) { grid-column: 1; }

  .testimonials--tiles .testimonial { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .testimonials--tiles .testimonial:nth-child(n) .testimonial__author { grid-column: 1; grid-row: auto; order: -1; aspect-ratio: auto; min-height: 10rem; }
  .testimonials--tiles .testimonial:nth-child(n) :is(.testimonial__logo, .testimonial__quote) { grid-column: 1; grid-row: auto; }
}
/* Ganz schmal reicht eine halbe Bildschirmbreite nicht für die Bildunterschrift:
   Bild oben, Farbkachel darunter. */
@media (max-width: 30rem) {
  .project-grid--tiles .project { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .project-grid--tiles .project:nth-child(n) .project__shot,
  .project-grid--tiles .project:nth-child(n) :is(.project__title, .project__caption) { grid-column: 1; grid-row: auto; }
  /* im HTML stehen Titel und Text vor dem Bild; gestapelt bleibt das Bild oben */
  .project-grid--tiles .project__shot { order: -1; }
}

/* =============================================================================
   ZWEIZEILIGE H1 (SEO/GEO A8a, Dez 2026)
   Ein <h1>-Element, zwei Zeilen: Teil 1 wie bisher (.h-script--hero), Teil 2
   (.h1-zusatz) kleiner in der Grundschrift. Zwischen beiden steht ein nur für
   Screenreader sichtbarer Trenner (.visually-hidden).
   ============================================================================= */
.h1-zweizeilig { margin: 0 0 1rem; font: inherit; }
.page-hero .h1-zweizeilig { margin: 0; }
.h1-zweizeilig .h-script { display: block; margin: 0; }
.h1-zusatz {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-body);
  font-size: var(--step-1);
  font-weight: 400;
  line-height: 1.3;
  color: var(--script);
}
