/* Landingpage - Stilrichtung "Editorial Naturalism".
   Redaktionelles Magazin-Layout mit organischer SVG-Tiefe in der CI-Grüntönung.
   Fonts (Fraunces Display + InterVar Body) sind self-hosted (@font-face im <head>).
   CI-Farben kommen als --c-primary/--c-secondary/--c-akzent aus den Stammdaten. */

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

:root {
  --max: 1180px;

  /* Aus der Primärfarbe abgeleitete Tints/Shades (oklab-Mischung). */
  --p-50:  color-mix(in oklab, var(--c-primary), white 92%);
  --p-100: color-mix(in oklab, var(--c-primary), white 84%);
  --p-200: color-mix(in oklab, var(--c-primary), white 70%);
  --p-700: color-mix(in oklab, var(--c-primary), black 22%);

  --ink: #16201c;
  --muted: #56655d;
  --line: color-mix(in oklab, var(--c-primary), white 80%);
  --bg: #fbfcfb;
  --surface: #ffffff;

  --shadow-1: 0 1px 2px rgba(20,32,28,.06), 0 2px 8px rgba(20,32,28,.05);
  --shadow-2: 0 12px 40px -12px rgba(20,32,28,.22);
  --glow: 0 18px 50px -18px color-mix(in oklab, var(--c-primary), transparent 55%);

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;

  --ease: cubic-bezier(.16,1,.3,1);
  --dur: .55s;

  /* Obergrenze bewusst niedriger als früher: der Hero trägt jetzt zwei kurze
     Sätze, und der Akzent-Unterstrich unter dem Markwort darf nicht über
     zwei Zeilen laufen. */
  --fs-hero: clamp(2.6rem, 1.8rem + 3.4vw, 4.6rem);
  --fs-h2:   clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  --fs-h3:   clamp(1.25rem, 1.05rem + .8vw, 1.6rem);
  --fs-lead: clamp(1.12rem, 1rem + .55vw, 1.42rem);

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "InterVar", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 82px; }

body.lp {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* Platz für den fixierten Header (immer sichtbar). */
  padding-top: 74px;
}

.lp-container { max-width: var(--max); margin: 0 auto; padding: 0 1.6rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -.012em; color: var(--c-secondary); }

/* Atmosphaere: feines Topografie-Pattern im Hintergrund. */
.lp-atmo {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: .045;
}
.lp-atmo svg { width: 100%; height: 100%; }
/* Stapelkontext für normale Inhalte - aber NICHT für fixierte Elemente
   (Header/Editbar/Editfab), sonst würde 'position: relative' deren 'fixed'
   überschreiben und das Sticky-Verhalten kaputtmachen. */
body.lp > *:not(.lp-atmo):not(.lp-header):not(.lp-editbar):not(.lp-editfab) { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .72rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .98rem;
  text-decoration: none; cursor: pointer;
  background: var(--c-primary); color: #fff; border: 2px solid var(--c-primary);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .2s, color .2s;
}
.lp-btn:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.lp-btn:active { transform: translateY(0) scale(.98); }
.lp-btn:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; }
.lp-btn-lg { padding: .95rem 2.1rem; font-size: 1.06rem; }
.lp-btn-sm { padding: .5rem 1.1rem; font-size: .88rem; }
.lp-btn-ghost { background: transparent; color: var(--c-primary); }
.lp-btn-ghost:hover { background: var(--p-50); color: var(--p-700); box-shadow: none; }
.lp-btn-akzent { background: var(--c-akzent); border-color: var(--c-akzent); color: #2a2400; }
.lp-arrow { width: 18px; height: 18px; transition: transform .22s var(--ease); }
.lp-btn-ghost:hover .lp-arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.lp-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  border-bottom: 1px solid transparent;
}
.lp-header.is-scrolled {
  background: color-mix(in oklab, var(--surface), transparent 12%);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-1);
}
.lp-header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.lp-brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.lp-brand img { border-radius: 9px; }
.lp-brand-name { font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--c-secondary); letter-spacing: -.01em; }
.lp-nav { display: flex; align-items: center; gap: 1.7rem; }
.lp-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; position: relative; }
.lp-nav a:not(.lp-btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--c-primary); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.lp-nav a:not(.lp-btn):hover::after { transform: scaleX(1); }
.lp-nav a:not(.lp-btn):hover { color: var(--c-primary); }
.lp-login { color: var(--muted) !important; font-size: .85rem !important; }
@media (max-width: 820px) {
  .lp-nav { gap: 1rem; }
  .lp-nav a:not(.lp-btn):not(.lp-login) { display: none; }
}

/* ---------- Hero ---------- */
.lp-hero {
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(2.5rem, 4vw, 4rem);
  background:
    radial-gradient(120% 130% at 92% 4%, color-mix(in oklab, var(--c-akzent), transparent 90%), transparent 55%),
    linear-gradient(168deg, var(--p-50), var(--bg) 62%);
}
.lp-hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center; min-height: min(58vh, 520px);
}
.lp-kicker {
  display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.4rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--p-700);
}
.lp-kicker-dot { width: 9px; height: 9px; fill: var(--c-akzent); }
.lp-hero-title { font-size: var(--fs-hero); margin: 0 0 1.6rem; }
.lp-hero-lead-word { display: block; color: var(--c-secondary); }
.lp-mark { position: relative; isolation: isolate; font-style: normal; color: var(--c-primary); display: inline-block; }
.lp-mark-underline {
  position: absolute; left: 0; right: 0; bottom: .02em; width: 100%; height: .3em;
  stroke: var(--c-akzent); stroke-width: 7; stroke-linecap: round; overflow: visible;
  z-index: -1; /* hinter den Text (Highlighter-Effekt), nicht darueber */
}
.lp-hero-lead { font-size: var(--fs-lead); color: var(--muted); max-width: 56ch; margin: 0 0 2.2rem; }
.lp-hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.lp-hero-visual { display: flex; justify-content: center; }
.lp-hero-art { width: 100%; max-width: 480px; height: auto; overflow: visible; }
.lp-art-core { transform-origin: center; }
.lp-art-mods rect { transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  /* Die Kernkarte atmet, die Satellitenmodule folgen versetzt - eine Bewegung,
     die "Module haengen an einer Plattform" erzaehlt. */
  .lp-art-core { animation: lpCoreFloat 9s ease-in-out infinite; }
  .lp-art-mods rect:nth-child(1) { animation: lpModFloat 7s ease-in-out infinite; }
  .lp-art-mods rect:nth-child(2) { animation: lpModFloat 7s ease-in-out .9s infinite; }
  .lp-art-mods rect:nth-child(3) { animation: lpModFloat 7s ease-in-out 1.8s infinite; }
  .lp-art-mods rect:nth-child(4) { animation: lpModFloat 7s ease-in-out 2.7s infinite; }
  .lp-art-seed { animation: lpSeed 6s ease-in-out infinite; }
  @keyframes lpCoreFloat { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(-.8deg); } }
  @keyframes lpModFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
  @keyframes lpSeed { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
}
@media (max-width: 880px) {
  .lp-hero-grid { grid-template-columns: 1fr; text-align: left; }
  .lp-hero-visual { order: -1; max-width: 320px; }
  .lp-hero-art { max-width: 320px; }
}

/* ---------- Sections ---------- */
.lp-section { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.lp-section-alt { background: var(--p-50); }
.lp-section-head { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 46ch; }
.lp-eyebrow {
  margin: 0 0 .6rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-primary);
}
.lp-section-title { font-size: var(--fs-h2); margin: 0; }
.lp-muted { color: var(--muted); }
.lp-small { font-size: .85rem; }
.lp-empty {
  padding: 2.5rem; text-align: center; color: var(--muted);
  border: 1px dashed var(--line); border-radius: var(--r-md); background: var(--surface);
}

/* ---------- Cards (Basis) ---------- */
.lp-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

/* ---------- Prose (CMS-Bloecke) ---------- */
.lp-prose { max-width: 820px; }
.lp-prose h2 { font-size: var(--fs-h2); margin: 0 0 1rem; }
.lp-prose h3 { font-size: var(--fs-h3); margin: 2rem 0 .8rem; }
.lp-prose p { font-size: 1.1rem; color: #36433d; margin: 0 0 1.1rem; }
.lp-prose a { color: var(--c-primary); }
/* Eingebettete CMS-Block-Sections im Prose-Container neutralisieren. */
.lp-prose .site-hero,
.lp-prose .site-text,
.lp-prose .site-cta { padding: 0; background: none; }
.lp-prose .site-hero__titel { font-size: var(--fs-h2); }
.lp-prose .site-cta__btn {
  display: inline-flex; align-items: center; padding: .8rem 1.8rem; border-radius: 999px;
  background: var(--c-primary); color: #fff; text-decoration: none; font-weight: 600; margin-top: 1rem;
}

/* ---------- Badge und Textlink (Blog-Liste) ---------- */
.lp-badge {
  display: inline-block; font-size: .72rem; font-weight: 700; padding: .2rem .7rem; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .04em;
}
.lp-badge--ok { background: var(--p-100); color: var(--p-700); }
.lp-link { color: var(--c-primary); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.lp-link:hover { text-decoration: underline; }
.lp-link-arrow { transition: transform .2s var(--ease); }
.lp-link:hover .lp-link-arrow { transform: translateX(3px); }

/* ---------- Blog (Magazin-Bento) ---------- */
.lp-blog-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.6rem; align-items: start; }
.lp-blog-lead { display: flex; flex-direction: column; }
.lp-blog-lead:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.lp-blog-lead-title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); margin: .6rem 0 1rem; }
.lp-blog-lead-title a { color: inherit; text-decoration: none; }
.lp-blog-lead-title a:hover { color: var(--c-primary); }
.lp-blog-teaser { color: #36433d; font-size: 1.08rem; margin: 0 0 1.4rem; }
.lp-blog-meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .9rem; flex-wrap: wrap; }
.lp-blog-stack { display: flex; flex-direction: column; gap: 1.6rem; }
.lp-blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.lp-blog-card h4 { font-size: 1.18rem; margin: .5rem 0 .5rem; }
.lp-blog-card h4 a { color: inherit; text-decoration: none; }
.lp-blog-card h4 a:hover { color: var(--c-primary); }
.lp-blog-card p { color: var(--muted); font-size: .94rem; margin: 0 0 .6rem; }
.lp-tag {
  display: inline-block; background: var(--p-100); color: var(--p-700);
  font-size: .72rem; font-weight: 700; padding: .18rem .65rem; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .05em;
}
@media (max-width: 820px) { .lp-blog-grid { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.lp-cta {
  position: relative; overflow: hidden;
  background: var(--c-secondary); color: #fff;
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.lp-atmo--cta { position: absolute; inset: 0; z-index: 0; opacity: .12; }
.lp-cta-inner { position: relative; z-index: 1; text-align: center; max-width: 680px; margin: 0 auto; }
.lp-cta h2 { color: #fff; font-size: var(--fs-h2); margin: 0 0 .7rem; }
.lp-cta p { color: rgba(255,255,255,.82); font-size: var(--fs-lead); margin: 0 0 2rem; }

/* ---------- Footer ---------- */
.lp-footer { background: #0f1a15; color: #c5d0ca; padding: clamp(3rem, 6vw, 4.5rem) 0 1.6rem; }
.lp-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.2rem; }
.lp-footer h3 { color: #fff; margin: 0 0 .7rem; font-size: 1.4rem; }
.lp-footer h4 { color: #fff; margin: 0 0 .9rem; font-size: 1rem; font-family: var(--body); font-weight: 700; letter-spacing: .02em; }
.lp-footer a { color: #c5d0ca; text-decoration: none; transition: color .2s; }
.lp-footer a:hover { color: #fff; }
.lp-footer .lp-muted { color: #8a988f; }
.lp-address { font-style: normal; line-height: 1.9; }
.lp-social { display: flex; gap: 1rem; margin-top: 1.1rem; flex-wrap: wrap; }
.lp-social a { font-weight: 600; }
.lp-footer-links { list-style: none; padding: 0; margin: 0; line-height: 2.1; }
.lp-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.4rem; padding-top: 1.3rem;
  font-size: .85rem; color: #7c8a83; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
@media (max-width: 880px) { .lp-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .lp-footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal-Motion (nur transform/opacity) ---------- */
.lp-reveal { opacity: 0; transform: translateY(20px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); transition-delay: var(--d, 0s); }
.lp-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .lp-reveal { opacity: 1; transform: none; }
}

/* Fallback für Browser ohne JS: Inhalt bleibt sichtbar (kein dauerhaftes opacity:0). */
.no-js .lp-reveal { opacity: 1; transform: none; }


/* ============================================================
   OEFFENTLICHE UNTERSEITEN (Termine, Termin-Detail, Beitritt, Danke)
   Diese nutzen die bestehenden site-*-Klassen der Core-Templates.
   ============================================================ */

/* Inhalts-Wrapper als zentrierte Seitenspalte mit grosszuegigem Rhythmus */
.site-text { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.site-text__inner {
  max-width: 760px; margin: 0 auto; padding: 0 1.6rem;
}
.site-text__inner > h1,
.site-termin-detail__titel { font-family: var(--display); font-size: var(--fs-h2); color: var(--c-secondary); margin: 0 0 1rem; line-height: 1.08; letter-spacing: -.012em; }
.site-text__inner > p { color: var(--muted); font-size: var(--fs-lead); }

/* ----- Termin-Detail ----- */
.site-termin-detail__zurueck { margin: 0 0 1.5rem; }
.site-termin-detail__zurueck a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; }
.site-termin-detail__zurueck a:hover { color: var(--c-primary); }
.site-termin-detail__datum {
  display: inline-block; font-weight: 700; color: var(--c-primary);
  background: var(--p-50); padding: .35rem .9rem; border-radius: 999px; font-size: .95rem; margin: 0 0 1.5rem;
}
.site-termin-detail__text { color: var(--ink); line-height: 1.75; margin-bottom: 2.5rem; }
.site-termin-detail__hinweis { color: var(--muted); background: var(--p-50); border-radius: var(--r-md); padding: 1.2rem 1.4rem; }

/* ----- Formulare (Beitritt + Termin-Anmeldung) ----- */
.site-termin-detail__anmeldung { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.site-termin-detail__anmeldung h2,
.site-form h1 + p + form, .site-form h1 { font-family: var(--display); }
.site-termin-detail__anmeldung h2 { font-family: var(--display); font-size: var(--fs-h3); color: var(--c-secondary); margin: 0 0 1.5rem; }

.site-form__form {
  display: flex; flex-direction: column; gap: 1.1rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4vw, 2.4rem); box-shadow: var(--shadow-1); margin-top: .5rem;
}
.site-form__row { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.site-form__row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .site-form__row--2 { grid-template-columns: 1fr; } }

/* Label umschliesst Input -> als Stack mit Abstand */
.site-form__form > .site-form__row label,
.site-form__form label:not(.site-form__check) {
  display: flex; flex-direction: column; gap: .4rem;
  font-size: .9rem; font-weight: 600; color: var(--c-secondary);
}
.site-form__form input[type="text"],
.site-form__form input[type="email"],
.site-form__form input[type="tel"],
.site-form__form input:not([type]) {
  width: 100%; padding: .8rem 1rem; font: inherit; font-weight: 400; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s;
}
.site-form__form input:hover { border-color: color-mix(in oklab, var(--c-primary), white 55%); }
.site-form__form input:focus {
  outline: none; border-color: var(--c-primary); background: var(--surface);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--c-primary), transparent 86%);
}
.site-form__form input::placeholder { color: color-mix(in oklab, var(--muted), white 25%); }

/* DSGVO-Checkbox */
.site-form__check {
  display: flex; align-items: flex-start; gap: .7rem; font-size: .92rem; color: var(--muted);
  font-weight: 400; line-height: 1.5; margin-top: .3rem; cursor: pointer;
}
.site-form__check input[type="checkbox"] {
  width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: var(--c-primary); cursor: pointer;
}

/* Submit als Primary-Pille */
.site-form__submit {
  align-self: flex-start; margin-top: .6rem;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem; border-radius: 999px; font-weight: 600; font-size: 1rem; cursor: pointer;
  background: var(--c-primary); color: #fff; border: 2px solid var(--c-primary);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.site-form__submit:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.site-form__submit:active { transform: translateY(0) scale(.98); }
.site-form__submit:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; }

.site-form__fehler {
  background: color-mix(in oklab, #e53935, white 88%); color: #b3261e;
  border: 1px solid color-mix(in oklab, #e53935, white 70%); border-radius: var(--r-sm);
  padding: .8rem 1.1rem; font-size: .92rem; margin-bottom: 1rem;
}

/* Honeypot wirklich unsichtbar */
.ws-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ----- Termin-Liste ----- */
.site-termine__titel { font-family: var(--display); font-size: var(--fs-h2); color: var(--c-secondary); margin: 0 0 2rem; }
.site-termine__liste { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.site-termin__link {
  display: flex; align-items: center; gap: 1.2rem; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.1rem 1.4rem; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.site-termin__link:hover { transform: translateX(4px); box-shadow: var(--shadow-2); border-color: color-mix(in oklab, var(--c-primary), white 60%); }
.site-termin__datum {
  flex-shrink: 0; font-weight: 700; color: var(--c-primary); font-variant-numeric: tabular-nums;
  background: var(--p-50); padding: .4rem .8rem; border-radius: 999px; font-size: .9rem;
}
.site-termin__name { font-weight: 600; color: var(--c-secondary); font-size: 1.08rem; }
.site-termine__leer { color: var(--muted); background: var(--p-50); border-radius: var(--r-md); padding: 1.4rem 1.6rem; }


/* ---------- Untertitel unter einer Abschnitts-Überschrift ---------- */
.lp-section-sub { margin: .8rem 0 0; font-size: var(--fs-lead); }

/* ---------- Bearbeiten-Umschalter (nur für Berechtigte sichtbar) ---------- */
.lp-editfab {
  position: fixed; left: 1.4rem; bottom: 1.4rem; z-index: 80;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.3rem; border-radius: 999px; text-decoration: none; font-weight: 600;
  background: var(--c-secondary); color: #fff; box-shadow: var(--shadow-2);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.lp-editfab:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -12px rgba(20,32,28,.4); }
.lp-editfab svg { width: 18px; height: 18px; }
.lp-editbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap;
  padding: .75rem 1.4rem; background: var(--c-secondary); color: #eaf1ec;
  box-shadow: 0 -4px 20px rgba(20,32,28,.25); font-size: .95rem;
}
.lp-editbar__label strong { color: var(--c-akzent); }
.lp-editbar__btn {
  background: var(--c-akzent); color: #2a2400; text-decoration: none; font-weight: 600;
  padding: .5rem 1.2rem; border-radius: 999px; transition: transform .2s var(--ease);
}
.lp-editbar__btn:hover { transform: translateY(-1px); }
body.lp--edit { padding-bottom: 64px; }

/* ---------- Blog-Liste (/blog) ---------- */
.lp-blog-list { display: grid; gap: 1.5rem; max-width: 860px; }
.lp-blogcard {
  display: grid; grid-template-columns: 240px 1fr; gap: 1.6rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.lp-blogcard:not(:has(.lp-blogcard-img)) { grid-template-columns: 1fr; }
.lp-blogcard:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.lp-blogcard-img { display: block; }
.lp-blogcard-img img { width: 100%; height: 100%; min-height: 170px; object-fit: cover; }
.lp-blogcard-body { padding: 1.5rem 1.7rem; }
.lp-blogcard:has(.lp-blogcard-img) .lp-blogcard-body { padding-left: 0; }
.lp-blogcard-title { font-size: 1.45rem; margin: .45rem 0; line-height: 1.15; }
.lp-blogcard-title a { color: var(--c-secondary); text-decoration: none; }
.lp-blogcard-title a:hover { color: var(--c-primary); }
.lp-blogcard p { color: var(--muted); margin: .6rem 0 1rem; }
@media (max-width: 620px) {
  .lp-blogcard { grid-template-columns: 1fr; }
  .lp-blogcard-img img { min-height: 200px; }
  .lp-blogcard:has(.lp-blogcard-img) .lp-blogcard-body { padding-left: 1.7rem; }
}

/* ---------- Blog-Artikel (/blog/<slug>) ---------- */
.lp-article { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.lp-article-inner { max-width: 760px; }
.lp-article-back a { color: var(--muted); text-decoration: none; font-weight: 500; }
.lp-article-back a:hover { color: var(--c-primary); }
.lp-article-title { font-size: clamp(2rem, 4vw, 3rem); margin: .8rem 0 .5rem; }
.lp-article-meta { color: var(--muted); margin: 0 0 1.5rem; }
.lp-article-img { width: 100%; border-radius: var(--r-md); margin: 1.5rem 0; }
.lp-article-lead { font-size: var(--fs-lead); color: var(--ink); font-weight: 500; margin: 0 0 1.4rem; }
.lp-article-body { line-height: 1.78; }
.lp-article-body h2 { font-size: var(--fs-h3); margin: 1.9rem 0 .6rem; }
.lp-article-body p { margin: 0 0 1.1rem; color: #36433d; }
.lp-article-body a { color: var(--c-primary); }

/* ---------- Newsletter-Anmeldung (Startseite) ---------- */
.lp-nl {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center;
}
.lp-nl-form { display: flex; flex-direction: column; gap: 1rem; }
.lp-nl-row { display: flex; gap: .7rem; flex-wrap: wrap; }
.lp-nl-row input[type=email] {
  flex: 1 1 240px; min-width: 0; padding: .85rem 1rem;
  border: 1px solid var(--line); border-radius: 12px; font: inherit;
  background: var(--surface); color: var(--ink);
}
.lp-nl-row input[type=email]:focus {
  outline: none; border-color: var(--c-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 18%, transparent);
}
.lp-nl-listen { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.lp-nl-check { display: flex; align-items: flex-start; gap: .5rem; font-size: .95rem; color: #36433d; }
.lp-nl-check input { margin-top: .2rem; accent-color: var(--c-primary); }
.lp-nl-ds { font-size: .85rem; color: var(--muted-ink, #6b7770); }
@media (max-width: 760px) {
  .lp-nl { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ---------- Newsletter: Landing-Button + eigene Seite ---------- */
.lp-nl-action { display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }
.lp-nl-page { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: start; }
.lp-nl-info-titel { font-size: var(--fs-h3); margin: 0 0 1.2rem; }
.lp-nl-cards { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.lp-nl-card { padding: 1.3rem 1.5rem; }
.lp-nl-card h3 { margin: 0 0 .35rem; font-size: 1.15rem; }
.lp-nl-card p { margin: 0; color: #36433d; }
.lp-nl-anmeldung { padding: 1.7rem 1.8rem; position: sticky; top: 96px; }
.lp-nl-anmeldung h2 { margin: 0 0 1rem; font-size: var(--fs-h3); }
.lp-nl-anmeldung input[type=text], .lp-nl-anmeldung input[type=email] {
  width: 100%; padding: .8rem 1rem; margin-bottom: .4rem;
  border: 1px solid var(--line); border-radius: 12px; font: inherit;
  background: var(--surface); color: var(--ink);
}
.lp-nl-anmeldung input:focus {
  outline: none; border-color: var(--c-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 18%, transparent);
}
.lp-nl-anmeldung .lp-btn { width: 100%; margin-top: 1rem; }
.lp-nl-label { display: block; font-weight: 600; margin: .9rem 0 .35rem; color: var(--c-secondary); }
@media (max-width: 820px) {
  .lp-nl-page { grid-template-columns: 1fr; gap: 1.6rem; }
  .lp-nl-anmeldung { position: static; }
}


/* ============================================================
   PRODUKTSEITE: Zielgruppen, Betrieb, Preise, Kontakt
   Diese Bausteine tragen die Abschnitte, die eine Produktseite
   braucht und eine Vereinsseite nicht hatte. Farben kommen weiter
   aus den CI-Variablen - hier wird nur Rhythmus und Hierarchie
   ergaenzt, keine zweite Palette.
   ============================================================ */

/* ----- Kennzahlenband direkt unter dem Hero ----- */
.lp-zahlen { background: var(--surface); border-block: 1px solid var(--line); padding: 2.1rem 0; }
.lp-zahlen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.lp-zahl { display: flex; flex-direction: column; gap: .45rem; }
.lp-zahl-wert {
  font-family: var(--display); font-size: clamp(1.9rem, 1.2rem + 2vw, 2.7rem); font-weight: 600;
  line-height: 1; color: var(--c-secondary); font-variant-numeric: tabular-nums;
}
.lp-zahl-label {
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 760px) { .lp-zahlen-grid { grid-template-columns: 1fr 1fr; gap: 1.3rem; } }

/* ----- Dunkle Vollflaeche als Rhythmuswechsel ----- */
.lp-dunkel {
  background: var(--c-secondary); color: #d6e2da;
  padding: clamp(3.4rem, 6vw, 5.5rem) 0;
}
.lp-eyebrow--hell { color: var(--c-akzent); }
.lp-titel--hell { color: #fff; max-width: 20ch; }
.lp-dunkel .lp-section-title { margin-bottom: 2.4rem; }
.lp-dunkel-fuss { margin: 2.4rem 0 0; max-width: 70ch; color: #9fb3a8; font-size: .92rem; }
.lp-prose--hell p, .lp-prose--hell li { color: #c3d3ca; }
.lp-prose--hell h2, .lp-prose--hell h3 { color: #fff; }

/* Vorher/Nachher nebeneinander */
.lp-gegenueber {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.6rem; align-items: center;
}
.lp-gegen { border-radius: var(--r-md); padding: 1.6rem 1.8rem; }
.lp-gegen-kopf {
  margin: 0 0 .9rem; font-size: .74rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase;
}
.lp-gegen ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.lp-gegen li { position: relative; padding-left: 1.4rem; font-size: .98rem; }
.lp-gegen li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%;
}
.lp-gegen--alt { background: rgba(255,255,255,.05); color: #93a79c; }
.lp-gegen--alt .lp-gegen-kopf { color: #7d9188; }
.lp-gegen--alt li::before { background: #6d7f76; }
.lp-gegen--neu { background: color-mix(in oklab, var(--c-primary), transparent 72%); color: #eaf5ee; }
.lp-gegen--neu .lp-gegen-kopf { color: var(--c-akzent); }
.lp-gegen--neu li::before { background: var(--c-akzent); }
.lp-gegen-pfeil { color: var(--c-akzent); }
.lp-gegen-pfeil svg { width: 42px; height: 26px; }
@media (prefers-reduced-motion: no-preference) {
  .lp-gegen-pfeil svg { animation: lpPfeil 2.6s ease-in-out infinite; }
  @keyframes lpPfeil { 0%,100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
}
@media (max-width: 760px) {
  .lp-gegenueber { grid-template-columns: 1fr; }
  .lp-gegen-pfeil { justify-self: center; rotate: 90deg; }
}

/* ----- Modulraster: viele kleine Symbolkacheln, je eine Zeile Text ----- */
.lp-modulgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
@media (max-width: 1000px) { .lp-modulgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .lp-modulgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 430px)  { .lp-modulgrid { grid-template-columns: 1fr; } }
.lp-mod {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.3rem 1.35rem;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
}
.lp-mod:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.lp-mod h3 { font-size: 1.03rem; margin: .9rem 0 .3rem; }
.lp-mod p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.lp-mod-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  transition: transform .25s var(--ease);
}
.lp-mod-ic svg { width: 22px; height: 22px; }
.lp-mod:hover .lp-mod-ic { transform: scale(1.12) rotate(-4deg); }
/* Drei Farbfamilien im Wechsel - das Raster bekommt Farbe, ohne bunt zu werden. */
.lp-mod--a .lp-mod-ic { background: var(--p-50); color: var(--c-primary); }
.lp-mod--b .lp-mod-ic { background: color-mix(in oklab, var(--c-akzent), white 78%); color: #7a6000; }
.lp-mod--c .lp-mod-ic { background: color-mix(in oklab, var(--c-secondary), white 88%); color: var(--c-secondary); }
.lp-mod--b { background: color-mix(in oklab, var(--c-akzent), white 96%); }
.lp-mod--c { background: color-mix(in oklab, var(--c-primary), white 97%); }

/* Optionale Zusatzmodule als hervorgehobene Zeilen unter dem Raster */
.lp-optionen { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-top: .9rem; }
.lp-option {
  display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.35rem;
  border-radius: var(--r-md); font-size: .95rem; line-height: 1.5;
}
.lp-option svg { width: 26px; height: 26px; flex-shrink: 0; }
.lp-option strong { color: var(--c-secondary); }
.lp-option--ki { background: color-mix(in oklab, var(--c-akzent), white 84%); color: #6b5600; }
.lp-option--werk { background: var(--p-50); color: var(--p-700); }
@media (max-width: 760px) { .lp-optionen { grid-template-columns: 1fr; } }

/* ----- Zielgruppen als Symbol-Chips ----- */
.lp-chipgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 900px) { .lp-chipgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .lp-chipgrid { grid-template-columns: 1fr; } }
.lp-chip { text-align: left; }
.lp-chip h3 { font-size: 1.12rem; margin: 1rem 0 .3rem; }
.lp-chip p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.lp-chip-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line); color: var(--c-primary);
  transition: transform .25s var(--ease), background .25s;
}
.lp-chip-ic svg { width: 26px; height: 26px; }
.lp-chip:hover .lp-chip-ic { transform: translateY(-4px); background: var(--p-50); }

/* ----- Ablauf in vier nummerierten Schritten ----- */
.lp-schritte {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
}
@media (max-width: 900px) { .lp-schritte { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .lp-schritte { grid-template-columns: 1fr; } }
/* Reihenfolge im Kasten: Linie, Nummer, Titel, Text. Die Linie lag früher als
   border-top hinter der Ziffer und schnitt sie mittendurch - deshalb liegt sie
   jetzt als eigenes Element über der Nummer. */
.lp-schritt { position: relative; }
.lp-schritt::before {
  content: ""; display: block; height: 2px; border-radius: 1px;
  background: var(--c-primary); opacity: .3; margin-bottom: 1.1rem;
}
.lp-schritt-nr {
  display: block; margin-bottom: .9rem;
  font-family: var(--display); font-size: 2.4rem; font-weight: 600; line-height: 1;
  color: color-mix(in oklab, var(--c-primary), white 42%);
  font-variant-numeric: tabular-nums; pointer-events: none;
}
.lp-schritt h3 { font-size: 1.1rem; margin: 0 0 .35rem; }
.lp-schritt p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.55; }

/* ----- Symbolzeile auf dunkler Flaeche ----- */
.lp-symbolzeile { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
@media (max-width: 900px) { .lp-symbolzeile { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .lp-symbolzeile { grid-template-columns: 1fr; } }
.lp-symbol h3 { color: #fff; font-size: 1.05rem; margin: .9rem 0 .3rem; }
.lp-symbol p { margin: 0; color: #9fb3a8; font-size: .9rem; line-height: 1.55; }
.lp-symbol-ic { display: inline-flex; color: var(--c-akzent); }
.lp-symbol-ic svg { width: 28px; height: 28px; }

/* ----- Preise: drei Karten, die mittlere traegt das Angebot ----- */
/* Vier getrennt buchbare Blöcke nebeneinander: Basis, Betrieb, KI, Werkstatt.
   KI-Funktionalität und Werkstatt werden getrennt abgerechnet und dürfen
   deshalb nie in einer gemeinsamen Karte landen. */
.lp-preis-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; align-items: stretch;
}
.lp-preis { display: flex; flex-direction: column; padding: 1.7rem 1.6rem; }
.lp-preis-kicker {
  margin: 0 0 .5rem; font-size: .76rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-primary);
}
.lp-preis h3 { font-size: 1.35rem; margin: 0 0 1.2rem; }
.lp-preis-wert {
  font-family: var(--display); font-size: clamp(2.1rem, 1.4rem + 2.2vw, 3rem); font-weight: 600;
  line-height: 1; color: var(--c-secondary); margin: 0 0 1.4rem;
  display: flex; flex-direction: column; gap: .45rem;
}
.lp-preis-einheit {
  font-family: var(--body); font-size: .9rem; font-weight: 600; color: var(--muted);
  letter-spacing: 0;
}
.lp-preis-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.lp-preis-liste li {
  position: relative; padding-left: 1.5rem; color: var(--muted);
  font-size: .95rem; line-height: 1.6;
}
.lp-preis-liste li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px;
  border-radius: 50%; background: var(--c-primary); opacity: .55;
}
.lp-preis-liste strong { color: var(--c-secondary); font-variant-numeric: tabular-nums; }
/* Variante mit Betragsspalte rechts: Position links, Zahl rechtsbuendig. */
.lp-preis-liste--zahlen li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding-left: 0; border-bottom: 1px dashed var(--line); padding-bottom: .6rem;
}
.lp-preis-liste--zahlen li::before { content: none; }
.lp-preis-liste--zahlen li:last-child { border-bottom: none; padding-bottom: 0; }
.lp-preis-liste--zahlen strong { white-space: nowrap; }

/* Hierarchie: das laufende Entgelt ist das eigentliche Angebot. */
.lp-preis--haupt {
  background: var(--p-50); border-color: var(--p-200);
  box-shadow: var(--shadow-2); transform: translateY(-10px);
}
.lp-preis--haupt .lp-preis-wert { color: var(--c-primary); }
.lp-preis--option { border-style: dashed; }
.lp-preis-fuss { margin: 2rem 0 0; max-width: 78ch; }

/* Modulpauschalen: schlanke Liste in zwei Spalten, Betrag rechtsbuendig. */
.lp-preis-zwischen { font-size: 1.15rem; margin: 2.6rem 0 1.1rem; }
.lp-modulpreise {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.6rem;
}
.lp-modulpreise li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .62rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem;
  color: var(--muted);
}
.lp-modulpreise strong {
  color: var(--c-secondary); white-space: nowrap; font-variant-numeric: tabular-nums;
}
@media (max-width: 760px) { .lp-modulpreise { grid-template-columns: 1fr; } }
@media (max-width: 1080px) {
  .lp-preis-grid { grid-template-columns: 1fr 1fr; }
  .lp-preis--haupt { transform: none; }
}
@media (max-width: 620px) {
  .lp-preis-grid { grid-template-columns: 1fr; }
}

/* ----- Kontaktzeile im CTA ----- */
.lp-cta-kontakt {
  margin: 1.6rem 0 0; display: flex; justify-content: center; align-items: center;
  gap: .8rem; flex-wrap: wrap; font-size: .96rem;
}
.lp-cta-kontakt a { color: rgba(255,255,255,.9); text-decoration: none; font-weight: 600; }
.lp-cta-kontakt a:hover { color: #fff; text-decoration: underline; }
.lp-cta-kontakt span { color: rgba(255,255,255,.45); }
