/* ============================================================
   Emotional Trust — V1 styles.css
   Plain CSS, mobile-first, no build step.
   ============================================================ */

:root {
  /* Brand tokens (canonical) */
  --et-ocean-mist:   #30C5AA;
  --et-baltic-blue:  #235580;
  --et-jet-black:    #0F252E;
  --et-honey-bronze: #EDAD45;
  --et-white:        #FFFFFF;

  /* Derived utility (CI §4.2) */
  --et-soft-bg:      #F5F8F8;
  --et-soft-bg-2:    #ECF1F2;
  --et-border:       #E2E8EA;
  --et-border-strong: #C9D3D7;
  --et-muted:        #4A5B62;
  --et-muted-light:  rgba(255, 255, 255, 0.66);

  /* Pill-text contrast-rescue (CI §4.4 — pill-text-on-tinted-fill only) */
  --et-bronze-text:  #8A5B0E;  /* 7.71:1 on white  */
  --et-mist-text:    #0D6D5A;  /* 6.95:1 on white  */

  /* Hero-gradient top stop (darker shade of --et-baltic-blue #235580) — codify ad-hoc hex per CI §11.11.
     Gradient end stop = --et-baltic-blue so Hero blends seamlessly into Trust-Strip below. */
  --et-baltic-dark:    #1A4368;

  /* Type */
  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 "Helvetica Neue", Arial, "Noto Sans", sans-serif,
                 "Apple Color Emoji", "Segoe UI Emoji";

  /* Spacing */
  /* Modular φ-scale on 8-px baseline — CI §8 */
  --space-xs:  0.5rem;   /*  8 px */
  --space-sm:  0.75rem;  /* 12 px */
  --space-md:  1.25rem;  /* 20 px */
  --space-lg:  2rem;     /* 32 px */
  --space-xl:  3.25rem;  /* 52 px */
  --space-2xl: 5.25rem;  /* 84 px */
  --space-3xl: 7.5rem;   /* 120 px */

  /* Radii */
  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-sm: 6px;
  --radius-pill: 999px;

  /* Shadows — soft, brand-coherent */
  --shadow-soft: 0 1px 2px rgba(15, 37, 46, 0.04), 0 4px 14px rgba(15, 37, 46, 0.05);
  --shadow-card: 0 2px 4px rgba(15, 37, 46, 0.05), 0 12px 30px rgba(15, 37, 46, 0.07);
  --shadow-hero: 0 30px 80px rgba(35, 85, 128, 0.16);

  /* Hairlines */
  --hairline-light: rgba(35, 85, 128, 0.10);
  --hairline-dark:  rgba(255, 255, 255, 0.12);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-system);
  color: var(--et-jet-black);
  background: var(--et-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, object { max-width: 100%; height: auto; display: block; }

a {
  color: var(--et-baltic-blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 140ms ease, color 140ms ease;
}
a:hover, a:focus { border-bottom-color: var(--et-baltic-blue); }

:focus-visible {
  outline: 2px solid var(--et-baltic-blue);
  outline-offset: 3px;
  border-radius: 4px;
}
.section-dark :focus-visible,
.site-footer :focus-visible,
.section-contact :focus-visible {
  outline: 2px solid var(--et-honey-bronze);
}

/* Skip-link target should not be occluded by sticky header */
#main { scroll-margin-top: 80px; }

::selection {
  background: var(--et-baltic-blue);
  color: var(--et-white);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--et-jet-black);
  color: var(--et-white) !important;
  padding: 0.75rem 1rem;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
  z-index: 1000;
}
.skip-link:focus { left: 0; outline: 2px solid var(--et-honey-bronze); }

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-weight: 600;
  margin: 0 0 var(--space-md);
  color: inherit;
}

h1 {
  font-size: clamp(2.25rem, 5.2vw + 0.5rem, 4rem);
  font-weight: 600;            /* CI §5.1 — pinned */
  letter-spacing: -0.02em;     /* CI §5 — pinned */
  line-height: 1.05;
}
.h1-soft { color: var(--et-baltic-blue); }

h2 {
  font-size: clamp(1.75rem, 2.0vw + 0.5rem, 2.25rem);   /* CI §5.1 ceiling 36px */
  line-height: 1.2;
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;     /* CI §5 — pinned */
}
.h2-soft-dark { color: var(--et-ocean-mist); display: block; }

h3 {
  font-size: clamp(1.15rem, 0.7vw + 1rem, 1.5rem);      /* CI §5.1 ceiling 24px */
  line-height: 1.35;
  letter-spacing: 0;           /* CI §5 — pinned (overrides group rule) */
  margin-bottom: var(--space-xs);
}

p { margin: 0 0 var(--space-sm); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.1rem, 0.55vw + 1rem, 1.3rem);
  color: var(--et-muted);
  max-width: 40rem;
  line-height: 1.55;
}

.eyebrow {
  /* CI §5 + §5.1 pinned: 12px font-size, 0.08em letter-spacing */
  display: inline-block;
  font-size: 0.75rem;          /* CI §5 — exactly 12px */
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--et-muted);
  margin: 0 0 0.85rem;
}
.eyebrow-accent {
  color: var(--et-baltic-blue);
  position: relative;
  padding-left: 1.6rem;
}
.eyebrow-accent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.1rem;
  height: 2px;
  background: var(--et-baltic-blue);
}
.eyebrow-dark {
  color: var(--et-ocean-mist);
  position: relative;
  padding-left: 1.6rem;
}
.eyebrow-dark::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.1rem;
  height: 2px;
  background: var(--et-ocean-mist);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  padding: 0 1.25rem;   /* 20px mobile floor */
  margin: 0 auto;
}
@media (min-width: 880px) {
  .container { padding: 0 2rem; }   /* 32px desktop — CI §8 */
}
.container.narrow { max-width: 760px; }
.center { text-align: center; }
.center-row { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--et-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  min-height: 84px;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--et-jet-black);
  border-bottom: none !important;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.brand-glyph {
  display: inline-block;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  background-color: var(--et-jet-black);
  -webkit-mask: url(assets/logo-emotional-trust-mark.svg) no-repeat center / contain;
          mask: url(assets/logo-emotional-trust-mark.svg) no-repeat center / contain;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-left: auto;   /* push nav-block close to EN, brand stays at H2-left */
}
.primary-nav a {
  color: var(--et-jet-black);
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: none;
  padding: 0.25rem 0;
}
.primary-nav a:hover,
.primary-nav a:focus {
  color: var(--et-baltic-blue);
  border-bottom: 1px solid var(--et-baltic-blue);
}
.primary-nav .nav-cta {
  background: var(--et-jet-black);
  color: var(--et-white) !important;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-btn);
  font-weight: 600;
  border-bottom: none !important;
  transition: background 140ms ease;
}
.primary-nav .nav-cta:hover,
.primary-nav .nav-cta:focus {
  background: var(--et-baltic-blue);
  border-bottom: none !important;
}

/* Mobile nav-toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--et-border-strong);
  border-radius: var(--radius-btn);
  padding: 0.5rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--et-jet-black);
  border-radius: 2px;
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--et-white);
    border-bottom: 1px solid var(--et-border);
    padding: 0.25rem 1.25rem 1rem;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--et-border) !important;
  }
  .primary-nav a:last-child { border-bottom: none !important; }
  .primary-nav .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
  }
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(4rem, 7.5vw, var(--space-3xl)) 0;   /* CI §8 — mobile 64px floor, desktop 120px ceiling */
  position: relative;
}
.section-light { background: var(--et-white); }
.section-soft  { background: var(--et-soft-bg); }
.section-dark {
  background: var(--et-jet-black);
  color: var(--et-white);
}
/* Baltic-tinted soft variant — adds brand-blue rhythm beats between neutrals */
.section-dark h1,
.section-dark h2,
.section-dark h3 { color: var(--et-white); }
.section-dark p { color: rgba(255, 255, 255, 0.86); }
.section-dark a { color: var(--et-ocean-mist); }

/* Inner reading-width helper — sits inside a full-width container so
   the section visually keeps the page-rhythm but the prose stays readable. */


/* ---------- Hero — V2 baltic-dominant type-only (Anthropic stance, Mercury colour-stance) ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 85% -20%, rgba(48, 197, 170, 0.18), transparent 50%),
    radial-gradient(800px 420px at -10% 60%, rgba(237, 173, 69, 0.10), transparent 55%),
    linear-gradient(180deg, var(--et-baltic-dark) 0%, var(--et-baltic-blue) 80%, var(--et-baltic-blue) 100%);
  color: var(--et-white);
  padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(2.25rem, 4vw, 3.5rem);  /* generous bottom — pills sitzen im Hero und brauchen Atem zur weißen Section */
  border-bottom: 0;
  overflow: hidden;
}
/* Soft baltic-mask am Hero-Boden — 60px Mini-Fade, garantiert nahtlosen Übergang
   zur Trust-Strip ohne große visual real-estate zu kosten. */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 60px;
  background: linear-gradient(180deg, transparent 0%, var(--et-baltic-blue) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  display: block;
  max-width: 73.75rem;  /* match .container (1180px) → Tafelbreite same as Produkte-Grid darunter */
}

.hero-copy { max-width: 73.75rem; }   /* match .hero-inner so H1 reicht bis Cards-Rechtsrand */
.hero-copy h1 {
  color: var(--et-white);
  font-size: clamp(2.8rem, 7.3vw + 0.5rem, 7rem);  /* gepush — füllt bis Produkte-Card-Rechtsrand */
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: var(--space-md);
}
.hero-copy .h1-soft {
  color: var(--et-ocean-mist);
  display: inline;
}
.hero-copy .lead {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.1rem, 0.5vw + 1.05rem, 1.4rem);
  max-width: 73.75rem;               /* match hero-copy → lead fits auf einer Zeile */
  margin-bottom: var(--space-lg);
}
.hero-copy .eyebrow-on-dark {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 var(--space-md);
}


/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
  line-height: 1.2;
  text-align: center;
  letter-spacing: -0.005em;
}

.btn-primary {
  background: var(--et-jet-black);
  color: var(--et-white);
  border-color: var(--et-jet-black);
  box-shadow: var(--shadow-soft);
  border-bottom: 1.5px solid var(--et-jet-black);
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--et-baltic-blue);
  border-color: var(--et-baltic-blue);
  color: var(--et-white);
  border-bottom: 1.5px solid var(--et-baltic-blue);
}

.btn-secondary {
  background: transparent;
  color: var(--et-jet-black);
  border-color: var(--et-jet-black);
  border-bottom: 1.5px solid var(--et-jet-black);
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--et-jet-black);
  color: var(--et-white);
  border-color: var(--et-jet-black);
  border-bottom: 1.5px solid var(--et-jet-black);
}

.btn-primary-on-dark {
  background: var(--et-honey-bronze);
  color: var(--et-jet-black);
  border-color: var(--et-honey-bronze);
  border-bottom: 1.5px solid var(--et-honey-bronze);
}
.btn-primary-on-dark:hover,
.btn-primary-on-dark:focus {
  background: var(--et-white);
  color: var(--et-jet-black);
  border-color: var(--et-white);
  border-bottom: 1.5px solid var(--et-white);
}

/* Hero visual block + mark — retired V2; type-only hero per CI Hero-Pattern V2 */

/* ---------- Cards / Grids ---------- */
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .card-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--et-white);
  border: 1px solid var(--et-border);
  border-radius: var(--radius-card);
  padding: 1.5rem;                 /* CI §8: 24px mobile floor — all-sides equal */
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  position: relative;
}
@media (min-width: 760px) {
  .card { padding: 2rem; }         /* CI §8: 32px desktop — all-sides equal */
}
.card:hover {
  border-color: var(--et-border-strong);
  box-shadow: var(--shadow-card);
}
.card h3 { margin-top: 0.25rem; }
.card p { color: var(--et-muted); margin-bottom: 0; }

/* .card-marker + .sec-full retired with product-card normalisation 2026-05-18 */

/* Card-head: product-mark + product-name (h3) side-by-side as brand-lockup
   at the top of each product-card. Badge sits below as category-tag. */

/* Product-mark — 44px rounded-square, paired with h3 in card-head as
   brand-lockup (CI §8.3 Rule 7: all-or-none mit identical visual quality). */

/* Card-CTA bottom-flush: identical visual baseline across all 3 product cards
   regardless of copy length (CI §8 — cards in a grid share layout commitments) */
/* Meta+CTA als block an den Card-Boden — Striche aller Cards auf gleicher Y-Höhe
   (war: card-cta margin-top:auto, dann saß der Strich auf variabler Höhe pro Card) */

/* Whole-card-clickable pattern: overlay anchor stretches across the card,
   inner CTA escapes via z-index so it remains independently clickable. */


.card-plain {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0.25rem 0;
}
.card-plain:hover {
  border-color: transparent;
  box-shadow: none;
}


/* ---------- Flow (Ansatz) ---------- */
.flow {
  list-style: none;
  margin: 0 0 var(--space-md);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;   /* spread flow across full container width — Atemraum nach rechts */
  gap: 0.9rem 1.25rem;
  max-width: 73.75rem;              /* match container effective inner width */
}
.flow-step { display: inline-flex; }
.flow-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  background: var(--et-white);
  color: var(--et-jet-black);
  border: 1px solid var(--et-border-strong);
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.15rem;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-soft);
}
.flow-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--et-baltic-blue);
}
.flow-pill-end {
  background: linear-gradient(135deg, var(--et-ocean-mist) 0%, var(--et-honey-bronze) 100%);
  border-color: transparent;
  color: var(--et-jet-black);
  box-shadow: 0 4px 14px rgba(237, 173, 69, 0.28);
}
.flow-pill-end .flow-num { color: var(--et-jet-black); }
.flow-arrow {
  width: 26px;
  height: 2px;
  background: var(--et-baltic-blue);
  position: relative;
  border-radius: 2px;
  opacity: 0.55;
}
.flow-arrow::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--et-baltic-blue);
  border-right: 2px solid var(--et-baltic-blue);
}

@media (max-width: 760px) {
  .flow { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .flow-arrow { width: 2px; height: 22px; }
  .flow-arrow::after {
    right: 50%;
    top: auto;
    bottom: -2px;
    transform: translateX(50%) rotate(135deg);
  }
}

.flow-caption {
  color: var(--et-muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

/* ---------- Vision ---------- */
.vision-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
  margin-top: var(--space-md);
  align-items: end;   /* callout bottom-aligns mit copy-bottom (operator: 'unten mit der schrift abschließen') */
}
@media (min-width: 880px) {
  .vision-grid { grid-template-columns: 1.05fr 1fr; gap: var(--space-xl); }
}
.vision-copy p { font-size: 1.05rem; }

.callout {
  margin: 0;
  padding: 1.5rem 1.5rem 1.25rem;
  border-left: 3px solid var(--et-honey-bronze);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  font-size: clamp(1.15rem, 1vw + 0.95rem, 1.4rem);
  line-height: 1.4;
  color: var(--et-white);
  font-weight: 500;
}
.callout p { margin-bottom: 0.5rem; color: var(--et-white) !important; }
.callout p:last-child {
  color: var(--et-ocean-mist) !important;
  margin-bottom: 0;
}

/* ---------- About (dead code .about-grid / .about-portrait / .about-role removed — see CI V1.1 dead-CSS sweep) ---------- */

/* ---------- Founder Grid (3-card team) ---------- */
@media (min-width: 760px) {
}


/* ---------- Contact ---------- */
.section-contact .lead,
.section-contact p { color: rgba(255, 255, 255, 0.86); }
.contact-meta {
  margin-top: var(--space-md);
  font-size: 0.88rem;
  color: var(--et-muted-light) !important;
  letter-spacing: 0.02em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--et-jet-black);
  color: var(--et-white);
  padding: var(--space-lg) 0 var(--space-md);
}
.site-footer a {
  color: var(--et-ocean-mist);
  border-bottom: 1px solid transparent;
}
.site-footer a:hover,
.site-footer a:focus { border-bottom-color: var(--et-ocean-mist); }

.footer-inner {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
}
@media (min-width: 760px) {
  .footer-inner { grid-template-columns: 1.618fr 1fr 1fr 1fr; gap: var(--space-lg); }   /* CI §8.1 — φ-exact */
}

.footer-col-brand { max-width: 22rem; }
.footer-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--et-white);
  margin-bottom: 0.5rem;
}
.footer-mark-svg {
  display: inline-block;
  width: 32px;
  height: 32px;
  background-color: var(--et-white);
  -webkit-mask: url(assets/logo-emotional-trust-mark.svg) no-repeat center / contain;
          mask: url(assets/logo-emotional-trust-mark.svg) no-repeat center / contain;
}
.footer-tag {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li { margin: 0.35rem 0; }
.footer-col a { font-size: 0.95rem; }

.footer-heading {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 0.75rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  border-top: 1px solid var(--hairline-dark);
  padding-top: var(--space-sm);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom p { margin: 0; }
.footer-bottom-meta { color: rgba(255, 255, 255, 0.6); }

/* ---------- Trust pills (consolidated INTO Hero — kein eigenes Trust-Strip mehr) ---------- */
/* Pills sitzen jetzt direkt im Hero (.hero-pills modifier), als visual base-line der blauen
   Section. Damit fluchten Hero-bottom und Produkte-top exakt: ONE Tree-watermark center
   genau am blue/white-seam, beide Tree-Hälften überlappen pixel-perfekt. */
.trust-strip-badges.hero-pills {
  margin-top: var(--space-md);   /* breathing room zwischen lead und pills */
  max-width: none;               /* fill hero-copy width — pattern A·Pill·A·Pill·A·Pill·A */
  margin-right: auto;
  margin-left: auto;
  justify-content: space-between;
  gap: 2rem;                     /* inner gap A = 2rem */
  padding-inline: 2rem;          /* outer A on left+right = 2rem (matches inner gap → 4 equal A's) */
}
/* The <li> wrappers are the actual flex-children of <ul>, not the <a class="trust-pill">.
   flex: 1 must apply to <li> so the pills share the row equally. */
.trust-strip-badges.hero-pills > li {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
}
.trust-strip-badges.hero-pills .trust-pill {
  flex: 1 1 100%;                /* anchor stretches to fill its <li> */
  justify-content: center;
  text-align: center;
  font-size: 1.05rem;
  padding: 0.7rem 1.4rem;
}
@media (max-width: 720px) {
  .trust-strip-badges.hero-pills { flex-direction: column; gap: 0.6rem; }
  .trust-strip-badges.hero-pills > li { width: 100%; }
  .trust-strip-badges.hero-pills .trust-pill { font-size: 1rem; }
}
.trust-strip-badges {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;             /* fill container */
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;    /* pack links — alignt unter H1-Text */
  gap: 0.7rem 0.85rem;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--et-white);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  line-height: 1.2;
}
.trust-pill-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--et-ocean-mist);
  flex: 0 0 9px;
}

/* ---------- Trust Center teaser (index.html) ---------- */
@media (min-width: 880px) {   /* CI §8.1 — φ-exact */
}

/* ---------- Secondary CTA on dark background ---------- */
.btn-secondary-on-dark {
  background: transparent;
  color: var(--et-white);
  border-color: rgba(255, 255, 255, 0.65);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.65);
}
.btn-secondary-on-dark:hover,
.btn-secondary-on-dark:focus {
  background: rgba(255, 255, 255, 0.08);
  color: var(--et-white);
  border-color: var(--et-white);
  border-bottom: 1.5px solid var(--et-white);
}

/* ---------- Footer inline note (e.g. "auf Anfrage") ---------- */

/* ---------- Trust page specifics ---------- */

@media (min-width: 760px) {
}


@media (min-width: 760px) {
}


/* ---------- Legal pages (Impressum / Datenschutz) ---------- */
/* Footer jurisdiction-note — replaces the old inline-styled footer-tag */

/* Legacy — kept for any deep-page that still references the class */

/* ---------- Responsible-AI / disclaimers / quiet badges ---------- */


/* ---------- Crisis / help block ---------- */
@media (min-width: 760px) {
}


/* ---------- Language switcher (hreflang toggle — V2: small text-only, outside nav-list) ---------- */
.lang-toggle {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--et-muted);
  text-decoration: none;
  border-bottom: none !important;
  padding: 0.35rem 0.45rem;
  border-radius: var(--radius-sm);
  transition: color 160ms ease, background 160ms ease;
}
.lang-toggle:hover, .lang-toggle:focus-visible {
  color: var(--et-jet-black);
  background: var(--et-soft-bg);
}
/* Header-positioned lang-toggle — sits as the rightmost header element,
   outside the primary-nav list, so it never reads as a nav item. */
.header-lang { margin-left: auto; flex-shrink: 0; }
@media (min-width: 760px) {
  /* Desktop: lang-toggle hugs the right edge after the primary-nav */
  .header-lang { margin-left: 0; }
}

/* ---------- Hero method-link (replaces verbose disclaimer per CI §6.2 No-Claim-Without-Receipt) ---------- */

/* ---------- Trust-pill anchor states (now <a>, per CI §17) ---------- */
a.trust-pill {
  text-decoration: none;
  color: inherit;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}
a.trust-pill:hover, a.trust-pill:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-1px);
}

/* ---------- Product-card CTA (per CI §16 CTA-Hierarchy product-card-level) ---------- */

/* ---------- Contact form (dark section, per CI §16 / §18 — no external backend) ---------- */
@media (min-width: 540px) {
}

/* ---------- Sticky mobile CTA bar (per CI §19) ---------- */
.sticky-mobile-cta {
  display: flex;
  gap: 12px;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  backdrop-filter: blur(10px) saturate(160%);
  border-top: 1px solid var(--et-border);
  box-shadow: 0 -6px 24px rgba(15, 37, 46, 0.05);
}
.sticky-mobile-cta .btn { flex: 1; padding: 12px 16px; font-size: 0.95rem; text-align: center; }
@media (min-width: 760px) { .sticky-mobile-cta { display: none; } }
/* Hide on legal/utility pages — body.legal-page set by markup */
body.legal-page .sticky-mobile-cta { display: none; }
/* Push body bottom-padding on mobile so sticky bar doesn't cover footer-bottom-meta */
@media (max-width: 759.98px) {
  body:not(.legal-page) { padding-bottom: 72px; }
}

/* ---------- Motion · Reveal patterns (Motion-Designer recommendations) ---------- */
/* Scroll-reveal pattern — applied via JS class-toggle */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 520ms cubic-bezier(.16, 1, .3, 1),
              transform 520ms cubic-bezier(.16, 1, .3, 1);
}
.reveal.is-in { opacity: 1; transform: none; }
/* Per-card stagger using --i set inline */
.reveal { transition-delay: calc(var(--i, 0) * 80ms); }

/* Hero ambient drift — slow breathing of the brand gradient */
@keyframes et-hero-drift {
  0%   { transform: translate3d(0, 0, 0)        scale(1);    }
  50%  { transform: translate3d(-0.6%, 0.4%, 0) scale(1.015); }
  100% { transform: translate3d(0, 0, 0)        scale(1);    }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 360px at 82% 12%, rgba(48, 197, 170, 0.16), transparent 60%),
    radial-gradient(520px 320px at 6% 96%, rgba(237, 173, 69, 0.09), transparent 65%);
  pointer-events: none;
  animation: et-hero-drift 22s ease-in-out infinite;
  will-change: transform;
  z-index: 0;
}
.hero .container { position: relative; z-index: 2; }

/* Tree-Watermark — 2 trees, ein gemeinsamer Y-Anker am Hero/Produkte-Seam.
   Trust-Strip ist konsolidiert (Pills sitzen im Hero) → Hero-bottom == Produkte-top.
   Hero-Tree: center an Hero-bottom (top:100% + translateY(-50%)).
   Produkte-Tree: center an Produkte-top (top:0 + translateY(-50%)).
   Beide Center an exakt gleicher absoluter Y → die zwei Tree-Hälften (Krone in
   Blau, Stamm+Wurzeln in Weiß) ergeben EINE durchgehende Silhouette ohne Y-Sprung.
   Color-Shift natürlich durch Per-Section-Background-Kontrast. */
.hero-decoration,
.section-tree-decoration {
  position: absolute;
  /* Resolution-aware X-anchor — see site/styles.css for the full rationale.
     The tree is a left-gutter watermark; placement must relate to the centered
     1180px content column, not the raw viewport. `left` is an affine function
     of viewport width, calibrated to two anchors (width clamps to 1400px):
       · 3840px (4K)  → left:-461px → tree fully in the gutter (approved look)
       · 1920px (FHD) → left:-845px → tree tucks behind the headline edge
     The retired `left:-12%` scaled 1:1 with the viewport and bulldozed the H1
     on anything narrower than 4K. CI §8.4 is the canonical spec. */
  left: min(20vw - 1229px, -64px);
  width: clamp(700px, 95vw, 1400px);
  aspect-ratio: 1 / 1;
  -webkit-mask: url(assets/logo-emotional-trust-mark.svg) no-repeat center / contain;
          mask: url(assets/logo-emotional-trust-mark.svg) no-repeat center / contain;
  pointer-events: none;
  z-index: 0;
}
/* Same source-color in BEIDEN Hälften → keine Farb-Kante am Seam.
   mix-blend-mode multiply: tree erscheint immer als "leicht dunkler als bg" —
   auf baltic-dark dezent dunkler (Krone visible), auf white als baltic-blue
   Schatten (Stamm + Wurzeln visible). Geometric continuity (seam_gap 0px) +
   color continuity → ein durchgehender, sauberer Tree. */
.hero-decoration {
  top: 100%;
  transform: translateY(-50%);
  background: var(--et-baltic-blue);
  opacity: 0.42;
  mix-blend-mode: multiply;
}
/* Sections that host the section-tree-decoration must be the positioning
   context for the absolute-positioned tree (otherwise the tree anchors
   against <body> and rides outside its intended seam). Main page hosts
   the decoration on #produkte; sec hosts it on #lehrgang — the FIRST
   section after hero so the tree sits sauber on the hero-seam. */
#produkte,
#lehrgang { position: relative; overflow: hidden; }

/* CTA-row variant inside a light section (sec page): the in-hero CTA
   was moved out of the dark hero per CI alignment with main. Sits
   above the eyebrow of the first content section, on white. */
.cta-row-section {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin: 0 0 var(--space-xl) 0;
}
.section-tree-decoration {
  top: 0;
  transform: translateY(-50%);
  background: var(--et-baltic-blue);
  opacity: 0.42;
  mix-blend-mode: multiply;
}
@media (max-width: 880px) {
  .hero-decoration,
  .section-tree-decoration { display: none; }
}

/* Sticky-header shrink+darken on scroll */
.site-header { transition: background 220ms ease, box-shadow 220ms ease; }
body.is-scrolled .site-header {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 var(--et-border), 0 6px 24px rgba(15, 37, 46, 0.04);
}
/* Header-shrink-on-scroll retired — verursachte Layout-Shift-Feedback-Loop
   ("Vibration") an der 8px-Schwelle. Header bleibt jetzt durchgehend gleich
   groß; nur subtle background-darken on scroll (kein Layout-shift). */

/* Trust-pill confidence on hover (already partially in place; lift the dot pulse) */
.trust-pill .trust-pill-dot {
  transition: transform 220ms cubic-bezier(.2, .8, .2, 1),
              box-shadow 220ms ease;
}
a.trust-pill:hover .trust-pill-dot,
a.trust-pill:focus-visible .trust-pill-dot {
  transform: scale(1.35);
  box-shadow: 0 0 0 4px rgba(48, 197, 170, 0.22);
}

/* Card-CTA arrow slide on hover — the "feels-like-a-real-product" hover */

/* Card-lift with brand-tinted shadow */
.card,
.founder-card {
  transition: border-color 220ms ease,
              box-shadow 260ms cubic-bezier(.2, .8, .2, 1),
              transform 220ms cubic-bezier(.2, .8, .2, 1);
}
.card:hover,
.founder-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(15, 37, 46, 0.05),
              0 18px 40px rgba(35, 85, 128, 0.12);
}
/* Founder-portrait zoom on card-hover */

/* Button press-state */
.btn-primary,
.btn-secondary,
.btn-primary-on-dark,
.btn-secondary-on-dark { transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms cubic-bezier(.2, .8, .2, 1), box-shadow 200ms ease; }
.btn-primary:hover,
.btn-primary-on-dark:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(35, 85, 128, 0.22); }
.btn-primary:active,
.btn-primary-on-dark:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(35, 85, 128, 0.18); }
.btn-secondary:hover,
.btn-secondary-on-dark:hover { transform: translateY(-1px); }

/* Section-dark — flat jet-black, no animated halo (operator-revert: was reading as "halbkreis blur") */
.section-dark:not(.hero) { background: var(--et-jet-black); }

/* Vision callout left-border wipe-in on reveal */
.callout {
  position: relative;
  border-left: 0;
  padding-left: 1.25rem;
}
.callout::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 100%;
  width: 3px;
  background: var(--et-honey-bronze);
  transition: bottom 700ms cubic-bezier(.2, .8, .2, 1) 200ms;
}
.callout.reveal.is-in::before,
.reveal.is-in .callout::before { bottom: 0; }
/* fallback when reveal isn't applied yet (SSR/first-paint) */

/* Sticky mobile CTA — entrance + hide on scroll-down */
.sticky-mobile-cta {
  transform: translateY(110%);
  opacity: 0;
  transition: transform 360ms cubic-bezier(.2, .8, .2, 1),
              opacity 240ms ease;
}
.sticky-mobile-cta.is-ready { transform: translateY(0); opacity: 1; }
body.is-scrolling-down .sticky-mobile-cta { transform: translateY(110%); opacity: 0; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0ms !important; animation-duration: 0ms !important; }
  /* Static fallbacks */
  .reveal { opacity: 1; transform: none; }
  .hero::before { animation: none; }
  .sticky-mobile-cta { transform: none; opacity: 1; }
  .callout::before { bottom: 0; }
}

/* ============================================================
   SEC subdomain addendum
   Single-page landing — adds wordmark-sub and softens h2 inline
   ============================================================ */
/* SEC subdomain header wordmark.
   Layout: ET tree-glyph + SEC product-mark + "Safety Emotional Certificate"
   text — single row, no double-stack, parallel to main page where the
   tree-glyph is followed by a single wordmark. */
.brand-wordmark-sub {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--et-jet-black);
  letter-spacing: -0.01em;
  margin-left: 0.4rem;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .brand-wordmark-sub { display: none; }
}

.h2-soft {
  color: var(--et-muted);
  font-weight: 400;
}

.btn-secondary-on-dark {
  background: transparent;
  color: var(--et-white);
  border: 1px solid rgba(255,255,255,0.45);
  padding: 0.7em 1.4em;
  border-radius: var(--radius-btn);
  font-weight: 600;
  display: inline-block;
  transition: border-color 140ms ease, background 140ms ease;
}
.btn-secondary-on-dark:hover,
.btn-secondary-on-dark:focus {
  border-color: var(--et-honey-bronze);
  background: rgba(237, 173, 69, 0.08);
  border-bottom-color: var(--et-honey-bronze);
}

/* Sec h1: text is longer than main's ("Konflikte muss man nicht moderieren.
   Man muss sie halten können.") — the inherited clamp-max of 7rem causes
   3+ line-wraps and an oversized hero. Tighter clamp keeps the h1 to ~2
   lines on desktop, matching the main page's visual rhythm. */
.hero-copy h1 {
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.875rem);
  line-height: 1.1;
}

/* SEC product-mark next to the Emotional-Trust tree-glyph in the header.
   The PNG is equalized to dark-content ratio 0.945 (matches main page
   Produkte grid). 55px box → visible dark-content ≈ 52px, matching the
   tree-glyph's 52px visible content. */
.brand-product-mark {
  display: inline-block;
  width: 55px;
  height: 55px;
  vertical-align: middle;
  margin-left: 6px;
  flex: 0 0 55px;
}

/* SEC header nav: keep every item on a single line. The default flex-wrap
   on .primary-nav let "Für wen" wrap to "Für" / "wen" when the brand block
   grew (the header right side was getting cramped). */
.site-header .primary-nav a { white-space: nowrap; }

/* Section-dark anchor coloring (line 365) bleeds onto the CTA buttons
   inside #kontakt — the .btn-primary-on-dark text turns ocean-mist green
   on bronze background → unreadable (~1.1:1 contrast, WCAG fail).
   Exclude .btn from the dark-section anchor coloring so the button's
   own color rule wins. */
.section-dark a.btn,
.section-contact a.btn {
  color: var(--et-jet-black);
}
.section-dark a.btn-secondary-on-dark,
.section-contact a.btn-secondary-on-dark {
  color: var(--et-white);
}

/* ---------- 404-page helpers ---------- */
/* Class equivalent of the former inline style= on 404.html, so the CSP can
   drop style-src 'unsafe-inline' (CI §14.5). */
.container.error-pad { padding: 6rem 1rem; }
