/* =========================================
   TPS HUFSCHUTZ – LANDING PAGE STYLES
   Designprinzipien: hochwertig, natürlich,
   viel Weißraum, mobil optimiert
   ========================================= */

/* --- Lokale Fonts (DSGVO-konform, kein Google-Kontakt) --- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/inter-300.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-500.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/playfair-500.ttf') format('truetype');
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-bg:         #FAFAF8;
  --color-surface:    #F4F2EE;
  --color-white:      #FFFFFF;
  --color-text:       #2C2A27;
  --color-text-muted: #6B6760;
  --color-accent:     #5C4A32;
  --color-accent-mid: #7A6248;
  --color-accent-lt:  #C4A882;
  --color-border:     #E4E0D8;
  --color-hero-dark:  rgba(28, 24, 18, 0.52);

  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  --shadow-sm:  0 1px 4px rgba(0,0,0,.06);
  --shadow-md:  0 4px 20px rgba(0,0,0,.09);

  --max-w:      1120px;
  --gap:        clamp(1.5rem, 4vw, 3rem);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: 1.15rem; margin-bottom: .5rem; }
h4 { font-size: 1rem; margin-bottom: .4rem; }

p { color: var(--color-text-muted); margin-bottom: .9rem; }
p:last-child { margin-bottom: 0; }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-accent-mid);
  margin-bottom: .75rem;
}

.brand-quote {
  border-left: 3px solid var(--color-accent-lt);
  padding-left: 1.1rem;
  margin-top: 1.5rem;
  font-style: italic;
  color: var(--color-text-muted);
  font-size: .95rem;
  line-height: 1.6;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.btn-primary:hover { background: var(--color-accent-mid); border-color: var(--color-accent-mid); }

.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn-secondary:hover { background: var(--color-accent); color: var(--color-white); }

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,.7);
}
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: var(--color-white); }

.btn-sm { padding: .55rem 1.1rem; font-size: .82rem; }
.btn-lg { padding: .9rem 2rem; font-size: 1rem; }

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250, 250, 248, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .9rem;
}

/* Scroll-Offset: Anker-Sektionen landen unter dem sticky Header */
#hero, #was-ist-tps, #system, #vorteile, #untergrund, #anwendung, #starter-set, #groesse, #tact, #faq {
  scroll-margin-top: 72px;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.logo-img {
  height: 52px;
  width: auto;
  display: block;
}
.logo-sub {
  font-size: .75rem;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--color-text-muted);
  margin-left: 0.3em;
  letter-spacing: .05em;
}

.anchor-nav {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}
.anchor-nav a {
  font-size: .85rem;
  color: var(--color-text-muted);
  transition: color .2s;
}
.anchor-nav a:hover { color: var(--color-accent); }

/* ---- HERO SPLIT (Bild in Originalproportionen, Text rechts über Hintergrund) ---- */
.hero-split {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
  min-height: 640px; /* Mindesthoehe damit Buttons nie über den Bildrand ragen */
}

/* Bild-Wrapper: fixierte Werte (Breite 100, Fade 45→66, Skalierung 98%) */
.hero-split-image {
  position: relative;
  z-index: 0;
  width: 100%;
  overflow: hidden;
  /* Fade: beginnt bei 45%, endet bei 66% (45+21) */
  -webkit-mask-image: linear-gradient(to right, black 0%, black 45%, transparent 66%);
  mask-image: linear-gradient(to right, black 0%, black 45%, transparent 66%);
}
.hero-split-image img {
  width: 98%;
  height: auto;
  display: block;
}
/* Textbereich: nach oben ausgerichtet, mit Abstand zur Fade-Kante rechts */
.hero-split-text {
  position: absolute;
  z-index: 2;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  display: flex;
  /* Nach oben versetzt: align-items flex-start + padding-top */
  align-items: flex-start;
  background: transparent;
  /* Mehr Abstand links (Puffer zur Fade-Kante) + etwas mehr rechts */
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3.5rem) clamp(2rem, 4vw, 3rem) clamp(2.5rem, 5vw, 4rem);
}

.hero-split-content {
  max-width: 420px;   /* etwas kompakter als vorher */
  width: 100%;
}

/* 1) Label: ruhiger Herkunftshinweis, keine Versalien */
.hero-eyebrow {
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: none;    /* keine Versalien */
  font-style: italic;      /* leicht kursiv – wirkt wie ein Hinweis, nicht wie Stempel */
  color: var(--color-accent-mid);
  margin-bottom: .45rem;
}

/* 6) Headline: etwas kompaktere Zeilenlänge durch kleinere Schrift auf Desktop */
.hero-headline {
  color: var(--color-text);
  font-size: clamp(2rem, 3.8vw, 3rem);  /* war größer – jetzt 1 Zeile weniger */
  line-height: 1.15;
  margin-bottom: 1.1rem;
}

/* 3) Subline: kürzere max-width für ruhigeren Zeilenfall */
.hero-subline {
  color: var(--color-text-muted);
  font-size: 1rem;
  max-width: 340px;        /* begrenzt Zeilenlänge – wirkt editorial */
  margin-bottom: 2.5rem;   /* 5) mehr Luft vor Buttons (+8–16px) */
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;             /* etwas enger als vorher */
  align-items: center;
}

/* Ghost-Button: sekundär, aber klar klickbar */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  background: rgba(92, 74, 50, 0.05);        /* sehr leichte Tönung */
  border: 1.5px solid rgba(92, 74, 50, 0.55); /* etwas stärkerer Rand */
  color: var(--color-text);                   /* etwas dunkler als vorher */
}
.btn-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(92, 74, 50, 0.08);
}

/* ---- BRIDGE ---- */
.bridge {
  background: var(--color-accent);
  padding-block: 2.5rem;
}
.bridge-inner { max-width: 800px; }
.bridge-text {
  color: rgba(255,255,255,.9);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0;
}

/* ---- KENNER-HOOK ---- */
.kenner-hook {
  background: var(--color-bg);
  padding-block: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.kenner-hook-inner {
  max-width: 640px;
  text-align: center;
}
.kenner-hook-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}
.kenner-hook-body {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}
.kenner-hook-closing {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-accent);
  line-height: 1.6;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

/* ---- BENEFITS ---- */
.benefits { padding-block: clamp(3rem, 7vw, 5rem); background: var(--color-white); }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.benefit-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.benefit-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.benefit-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.1rem;
  color: var(--color-accent);
}
.benefit-icon svg { width: 100%; height: 100%; }

.benefit-card h3 { color: var(--color-text); }
.benefit-card p { font-size: .9rem; }

/* ---- CTA BAND ---- */
.cta-band {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding-block: 1.75rem;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.cta-band-hint {
  font-size: .9rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* ---- TRUST SECTIONS ---- */
.trust-section { padding-block: clamp(3rem, 7vw, 5.5rem); }

.bg-light { background: var(--color-surface); }

.trust-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
}
.trust-two-col.reverse { direction: rtl; }
.trust-two-col.reverse > * { direction: ltr; }

.trust-text { max-width: 520px; }
.trust-text h2 { margin-bottom: .75rem; }

.trust-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.centered-text-block {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 2.5rem;
}
.centered-text-block h2 { margin-bottom: .75rem; }

/* ---- STEPS ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.step-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.step-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-accent-lt);
  line-height: 1;
  margin-bottom: .75rem;
}

.step-card h4 { color: var(--color-text); }
.step-card p { font-size: .88rem; }

.section-cta { text-align: center; }

/* ---- STARTER SET ---- */
.starter-set-section { background: var(--color-white); }

.starter-set-visual { display: flex; align-items: center; justify-content: center; }

.placeholder-box {
  width: 100%;
  height: 380px;
  background: var(--color-surface);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: .85rem;
  text-align: center;
  padding: 1rem;
}

.placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  color: var(--color-text-muted);
}
.placeholder-inner svg { opacity: .4; }

/* ---- PRODUCT DETAIL IMAGE ---- */
.product-detail-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.product-detail-image img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain !important;
  object-position: center center;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #fff;
}
.product-on-white {
  width: 100%;
  height: auto !important;
  max-height: 380px;
  object-fit: contain !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* ---- SYSTEM OVERVIEW ---- */
.system-overview { background: var(--color-white); }

.system-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.system-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
}

.system-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 1rem;
  color: var(--color-accent);
}
.system-icon svg { width: 100%; height: 100%; }
.system-card h4 { color: var(--color-text); margin-bottom: .5rem; }
.system-card p { font-size: .88rem; }

/* ---- SIZE GUIDE VISUAL ---- */
.size-guide-visual {
  width: 100%;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.size-guide-box {
  width: 100%;
  max-width: 360px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.size-guide-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.75rem;
  color: var(--color-accent);
  font-weight: 500;
  font-size: .9rem;
}

.size-guide-rows {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

.size-row {
  display: grid;
  grid-template-columns: 60px 1fr 30px;
  align-items: center;
  gap: .75rem;
}

.size-label {
  font-size: .82rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.size-bar {
  height: 8px;
  background: var(--color-surface);
  border-radius: 4px;
  overflow: hidden;
}

.size-bar-fill {
  height: 100%;
  background: var(--color-accent);
  border-radius: 4px;
}

.size-unit {
  font-size: .75rem;
  color: var(--color-text-muted);
  text-align: right;
}

.size-guide-note {
  font-size: .78rem;
  color: var(--color-text-muted);
  text-align: center;
  margin: 0;
  font-style: italic;
}

/* ---- TACT SECTION ---- */
.tact-section { background: linear-gradient(135deg, var(--color-accent) 0%, #3D2E1A 100%); }
.tact-section .section-label { color: var(--color-accent-lt); }
.tact-section h2 { color: var(--color-white); }
.tact-section p { color: rgba(255,255,255,.75); }
.tact-section .brand-quote { border-left-color: var(--color-accent-lt); color: rgba(255,255,255,.7); }

/* ---- FAQ ---- */
.faq-list {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.1rem 1.4rem;
  font-weight: 500;
  font-size: .95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text);
  transition: background .15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--color-accent);
  transition: transform .2s;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { background: var(--color-surface); }

.faq-item p {
  padding: 0 1.4rem 1.1rem;
  font-size: .9rem;
  border-top: 1px solid var(--color-border);
  padding-top: .9rem;
  margin: 0;
}

/* ---- FINAL CTA ---- */
.final-cta {
  background: linear-gradient(135deg, var(--color-accent) 0%, #3D2E1A 100%);
  padding-block: clamp(4rem, 8vw, 6rem);
  text-align: center;
}

.final-cta-inner { max-width: 600px; }

.final-cta h2 {
  color: var(--color-white);
  margin-bottom: .75rem;
}
.final-cta p {
  color: rgba(255,255,255,.8);
  margin-bottom: 2rem;
}

.final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.final-cta .btn-primary {
  background: var(--color-white);
  color: var(--color-accent);
  border-color: var(--color-white);
}
.final-cta .btn-primary:hover {
  background: var(--color-surface);
  border-color: var(--color-surface);
}
.final-cta .btn-outline {
  border-color: var(--color-white);
  color: var(--color-white);
}
.final-cta .btn-outline:hover {
  background: rgba(255,255,255,.15);
}

.final-cta-note {
  display: none;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--color-text);
  padding-block: 2rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  margin: 0;
}
.footer-nav {
  display: flex;
  gap: 1.5rem;
}
.footer-nav a {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
.footer-nav a:hover { color: rgba(255,255,255,.85); }

/* =========================================
   RESPONSIVE
   ========================================= */

/* Mittlere Desktops (900-1400px): Headline kompakter damit Buttons ins Bild passen */
@media (min-width: 901px) and (max-width: 1400px) {
  .hero-headline {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
  }
  .hero-subline {
    font-size: .92rem;
    margin-bottom: 1.8rem;
  }
}

@media (max-width: 900px) {
  .anchor-nav { display: none; }

  /* Hero Split → Stack auf Mobile */
  .hero-split {
    flex-direction: column;
  }
  .hero-split-text {
    position: relative;
    width: 100%;
    background: var(--color-bg);
    -webkit-mask-image: none;
    mask-image: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 2.5rem 1.5rem;
  }

  /* Fix 2: Fade-Maske auf Hero-Bild auf Mobile entfernen */
  .hero-split-image {
    -webkit-mask-image: none;
    mask-image: none;
  }
  /* Fix 3: Blur-Streifen rechts abdecken – nur wenn Text unten (Bild endet bei 65% von links) */
  .hero-split-image::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 35%;
    height: 100%;
    background: var(--color-bg);
    z-index: 1;
    pointer-events: none;
  }

  .trust-two-col {
    grid-template-columns: 1fr;
  }
  .trust-two-col.reverse { direction: ltr; }
  .trust-two-col .trust-image { order: -1; }
  .trust-two-col.reverse .trust-image { order: -1; }

  .trust-image img { height: 260px; }
  .placeholder-box { height: 260px; }
  .size-guide-visual { height: auto; padding-block: 1rem; }
}

@media (max-width: 600px) {
  /* Header: Logo sichtbar, Shop-Button ausblenden (im Mobile-Nav vorhanden) */
  .logo { display: block; font-size: .8rem; }
  .header-inner { justify-content: space-between; }
  .header-inner > .btn-sm { display: none; } /* Shop-Button nur im Mobile-Nav */

  /* Hero-Bild: vollflächig, links priorisiert, kein Fade */
  .hero-split-image {
    height: 65vw;
    overflow: hidden;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
  .hero-split-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: left center !important;
  }

  .cta-band-inner { flex-direction: column; align-items: flex-start; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-nav { flex-wrap: wrap; gap: 1rem; }
}

/* Landscape-only: rechten Restbereich im Hero kaschieren */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-split-image::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 38%;
    height: 100%;
    background: var(--color-bg);
    z-index: 1;
    pointer-events: none;
  }
}

/* =========================================
   HAMBURGER / MOBILE NAV
   ========================================= */

/* Hamburger-Button – standardmäßig sichtbar, auf Desktop ausgeblendet */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  position: relative;
  z-index: 201;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
  transform-origin: center;
}
/* X-Animation wenn offen */
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: var(--color-bg);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 5rem 2rem 3rem;
  overflow-y: auto;
}
.mobile-nav.is-open {
  display: flex;
}
.mobile-nav-link {
  display: block;
  width: 100%;
  max-width: 320px;
  text-align: center;
  padding: 1rem 0;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
  transition: color .15s;
}
.mobile-nav-link:first-child { border-top: 1px solid var(--color-border); }
.mobile-nav-link:hover { color: var(--color-accent); }
.mobile-nav-cta {
  margin-top: 1.5rem;
  border: none !important;
  background: var(--color-accent);
  color: #fff !important;
  border-radius: 6px;
  padding: .85rem 2rem !important;
  font-size: 1rem;
}
.mobile-nav-cta:hover { background: var(--color-accent-dark, #5a4a2a); color: #fff !important; }

/* Schließen-Button im Mobile-Nav Overlay */
.mobile-nav-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  padding: 0;
}

/* Hamburger auf Desktop ausblenden */
@media (min-width: 901px) {
  .nav-toggle { display: none; }
}

/* =========================================
   SCROLL ANIMATIONS (subtle)
   ========================================= */
@media (prefers-reduced-motion: no-preference) {
  .benefit-card,
  .step-card,
  .trust-two-col,
  .faq-list {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s ease, transform .55s ease;
  }
  .benefit-card.visible,
  .step-card.visible,
  .trust-two-col.visible,
  .faq-list.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   ORIGIN BLOCK – "Wie TPS entstand"
   ========================================= */
.origin-block {
  margin-top: 2.5rem;
  padding: 2rem 2.25rem;
  background: var(--color-surface);
  border-left: 3px solid var(--color-accent-lt);
  border-radius: var(--radius-md);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.origin-block h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: .75rem;
}

.origin-lead {
  font-size: .95rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 1rem;
  letter-spacing: .01em;
}

.origin-block p {
  font-size: .93rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: .85rem;
}

.origin-block p:last-of-type {
  margin-bottom: 1.25rem;
}

.origin-link {
  display: inline-block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid var(--color-accent-lt);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}

.origin-link:hover {
  color: var(--color-accent-mid);
  border-color: var(--color-accent-mid);
}

/* =========================================
   MYSTERY PAGE
   ========================================= */
.mystery-hero {
  background: var(--color-surface);
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.mystery-hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.mystery-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  color: var(--color-text);
  margin-top: .5rem;
  margin-bottom: .75rem;
  line-height: 1.2;
}

.mystery-subline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--color-text-muted);
  font-style: italic;
  font-family: var(--font-serif);
}

.mystery-story {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.mystery-story-inner {
  max-width: 640px;
  margin: 0 auto;
}

.mystery-text-block {
  margin-bottom: 2rem;
}

.mystery-lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.mystery-text-block p {
  font-size: .97rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: .85rem;
}

.mystery-text-block p:last-child {
  margin-bottom: 0;
}

.mystery-signature {
  margin: 2.5rem 0 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.mystery-signature p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--color-text);
  font-style: italic;
}

.mystery-signature-note {
  font-family: var(--font-sans) !important;
  font-style: normal !important;
  font-size: .82rem !important;
  color: var(--color-text-muted) !important;
  margin-top: .3rem;
}

.mystery-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Active nav link */
.nav-active {
  color: var(--color-text) !important;
  font-weight: 600;
}

/* ===== MYSTERY – BILDER ===== */

.mystery-image-section {
  padding: 0 0 clamp(1.5rem, 4vw, 3rem);
}

/* Zwei-Spalten-Intro: Bild links, Text rechts */
.mystery-intro-section {
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.mystery-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 700px) {
  .mystery-intro-grid {
    grid-template-columns: 1fr;
  }
}

.mystery-intro-img-col {
  /* Bild-Spalte */
}

.mystery-intro-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-surface);
  padding: .75rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.mystery-intro-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius) - 4px);
}

.mystery-intro-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mystery-intro-text-col p {
  font-size: .97rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: .85rem;
}

.mystery-intro-text-col p:last-child {
  margin-bottom: 0;
}

.mystery-image-wrap {
  max-width: 680px;
  border-radius: var(--radius);
  overflow: hidden;
}

.mystery-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.mystery-image-caption {
  margin-top: .6rem;
  font-size: .82rem;
  color: var(--color-text-muted);
  font-style: italic;
  line-height: 1.5;
  max-width: 640px;
}

.mystery-inline-image {
  margin: 1.25rem 0 1.25rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.mystery-inline-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

/* ===== MYSTERY – SIGNATUR & ABSCHLUSS ===== */

.mystery-closing-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: .75rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.mystery-signature-block {
  margin: 2rem auto 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  max-width: 560px;
}

.mystery-sig-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--color-text);
  font-style: italic;
  margin-bottom: .3rem;
}

.mystery-sig-note {
  font-size: .82rem;
  color: var(--color-text-muted);
}

.mystery-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.5rem;
}

/* trust-image caption unterhalb des Bildes */
.trust-image .mystery-image-caption {
  margin-top: .6rem;
  font-size: .82rem;
  color: var(--color-text-muted);
  font-style: italic;
  line-height: 1.5;
}

/* trust-text p spacing für mystery */
#mystery-intro .trust-text p,
#mystery-weg .trust-text p {
  font-size: .97rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: .85rem;
}

#mystery-intro .trust-text p:last-child,
#mystery-weg .trust-text p:last-child {
  margin-bottom: 0;
}

.mystery-sig-logo {
  width: 80px;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
  opacity: .85;
}

.mystery-sig-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.mystery-sig-row .mystery-sig-logo {
  width: 120px;
  height: auto;
  display: block;
  margin: 0;
  opacity: .9;
}

.mystery-sig-row > div {
  text-align: left;
}

.mystery-paragraph-break {
  margin: 0;
  padding: 0;
  height: 1.2rem;
}

.mystery-text-block {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.mystery-text-block p {
  font-size: .97rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: .85rem;
}

.mystery-text-block p:last-child {
  margin-bottom: 0;
}

.kenner-hook.bg-light {
  background: var(--color-surface);
}

/* origin-inline: kein Card-Rahmen, direkt im dunklen Hintergrund */
.origin-inline {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.origin-inline-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: rgba(245, 240, 232, 0.95);
  margin-bottom: 0.5rem;
  text-align: center;
}
.origin-inline p {
  color: rgba(245, 240, 232, 0.8);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
  text-align: center;
}
.origin-inline .origin-lead {
  font-weight: 600;
  color: rgba(245, 240, 232, 0.95);
}
.origin-inline .origin-link {
  display: block;
  text-align: center;
  color: var(--color-accent-lt);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 1.25rem;
  text-decoration: none;
  border-bottom: none;
  padding-bottom: 0;
  transition: color 0.2s;
}
.origin-inline .origin-link:hover {
  color: #fff;
}

/* origin-inline: kein Card-Rahmen, direkt im dunklen Hintergrund */
.origin-inline {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.origin-inline-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: rgba(245, 240, 232, 0.95);
  margin-bottom: 0.5rem;
  text-align: center;
}
.origin-inline p {
  color: rgba(245, 240, 232, 0.8);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
  text-align: center;
}
.origin-inline .origin-lead {
  font-weight: 600;
  color: rgba(245, 240, 232, 0.95);
}
.origin-inline .origin-link {
  display: block;
  text-align: center;
  color: var(--color-accent-lt);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 1.25rem;
  text-decoration: none;
  border-bottom: none;
  padding-bottom: 0;
  transition: color 0.2s;
}
.origin-inline .origin-link:hover {
  color: #fff;
}
