:root {
  --lime: #b4e61d;        /* primary brand */
  --lime-deep: #8fc400;
  --lime-soft: #eef9c9;
  --ink: #14210f;         /* dark forest, used for all text on lime */
  --bg: #fbfcf6;
  --white: #ffffff;
  --muted: rgba(20, 33, 15, 0.68);
  --line: rgba(20, 33, 15, 0.14);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 1.05rem; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, blockquote, figure { margin: 0; }
em { font-style: italic; }
section { padding: clamp(64px, 9vw, 120px) var(--pad); }
.wrap { max-width: 1080px; margin: 0 auto; }
.narrow { max-width: 720px; margin: 0 auto; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.35rem; }

.eyebrow {
  display: inline-block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--lime); color: var(--ink); padding: 6px 12px; border-radius: 999px; margin-bottom: 20px;
}

/* Buttons */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: 16px 30px; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--lime); color: var(--ink); cursor: pointer; transition: transform 0.15s, background-color 0.15s, color 0.15s;
}
.btn:hover { background: var(--ink); color: var(--lime); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.92rem; }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 252, 246, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--pad); }
.logo { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; display: flex; align-items: center; gap: 10px; }
.logo-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-link { font-weight: 500; font-size: 0.95rem; }
.nav-link:hover { text-decoration: underline; text-decoration-color: var(--lime-deep); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* Hero */
.hero { background: var(--lime); position: relative; overflow: hidden; padding-top: clamp(72px, 11vw, 150px); padding-bottom: clamp(72px, 11vw, 150px); }
.hero::after { content: ''; position: absolute; right: -12vw; top: -14vw; width: 46vw; height: 46vw; border-radius: 50%; background: rgba(255,255,255,0.35); }
.hero::before { content: ''; position: absolute; right: 8vw; bottom: -10vw; width: 22vw; height: 22vw; border-radius: 50%; background: rgba(20,33,15,0.08); }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.8rem, 8vw, 6.4rem); max-width: 14ch; }
.hero p { font-size: clamp(1.1rem, 2vw, 1.4rem); max-width: 40ch; margin: 28px 0 36px; }
.hero .btn { background: var(--ink); color: var(--lime); }
.hero .btn:hover { background: var(--white); color: var(--ink); }

/* Problem */
.problem .narrow > * + * { margin-top: 1.2em; }
.problem h2 { margin-bottom: 0.6em; }
.pull { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem); font-style: italic; line-height: 1.3; padding-left: 24px; border-left: 6px solid var(--lime); margin: 1.6em 0 !important; }
.problem .strong { font-weight: 600; font-size: 1.2em; }
.problem .final { font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.2; font-weight: 600; background: linear-gradient(transparent 62%, var(--lime) 62%); display: inline; }

/* Value */
.value { background: var(--ink); color: var(--bg); }
.value h2 em { color: var(--lime); }
.value-lead { max-width: 60ch; margin: 24px 0 48px; font-size: 1.2rem; color: rgba(251,252,246,0.82); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: rgba(255,255,255,0.06); border: 1px solid rgba(180,230,29,0.35); border-radius: var(--radius); padding: 28px; }
.card h3 { color: var(--lime); margin-bottom: 12px; }
.card p { color: rgba(251,252,246,0.82); font-size: 1rem; }
.value-foot { margin-top: 40px; font-family: var(--serif); font-size: 1.4rem; font-style: italic; }

/* Guide */
.guide .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.portrait { aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--lime-soft); border: 2px dashed var(--lime-deep); display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); font-size: 0.95rem; overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.guide-copy > * + * { margin-top: 1em; }
.guide-copy h2 { margin-bottom: 0.5em; }
.sign { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }

/* Ablauf */
.ablauf { background: var(--lime-soft); }
.ablauf h2 { margin-bottom: 48px; max-width: 18ch; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--white); border-radius: var(--radius); padding: 32px 28px; border: 1px solid var(--line); }
.step-num { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); font-family: var(--serif); font-weight: 700; font-size: 1.2rem; margin-bottom: 18px; }
.step h3 { margin-bottom: 10px; }
.ablauf-foot { margin-top: 44px; display: flex; gap: 24px 36px; align-items: center; flex-wrap: wrap; }
.ablauf-foot p { font-family: var(--serif); font-size: 1.3rem; font-style: italic; max-width: 32ch; }

/* Bereiche */
.bereiche h2 { max-width: 20ch; }
.bereiche-lead { max-width: 62ch; margin: 24px 0 44px; color: var(--muted); }
.areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.area { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 0; overflow: hidden; }
.area summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 22px 24px; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; line-height: 1.25; }
.area summary::-webkit-details-marker { display: none; }
.area summary .n { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lime); font-size: 0.95rem; }
.area summary::after { content: '+'; margin-left: auto; font-size: 1.6rem; font-weight: 400; transition: transform 0.2s; }
.area[open] summary::after { transform: rotate(45deg); }
.area[open] { border-color: var(--lime-deep); }
.area p { padding: 0 24px 24px 80px; color: var(--muted); font-size: 1rem; }

/* Method */
.method { background: var(--bg); padding-top: 0; }
.method h2 { margin-bottom: 40px; }
.method-list { display: grid; gap: 0; }
.method-item { display: grid; grid-template-columns: 1fr 2fr; gap: 24px 48px; padding: 32px 0; border-top: 1px solid var(--line); }
.method-item:last-child { border-bottom: 1px solid var(--line); }
.method-item h3 span { display: block; color: var(--lime-deep); font-size: 0.8rem; font-family: var(--sans); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 8px; }
.method-item p { color: var(--muted); }
.method-item p + p { margin-top: 0.8em; }
.method-note { margin-top: 32px; font-family: var(--serif); font-size: 1.3rem; font-style: italic; }
.disclaimer { margin-top: 28px; background: var(--lime-soft); border-left: 6px solid var(--lime-deep); border-radius: 8px; padding: 18px 22px; font-size: 0.98rem; }

/* Abschluss */
.closing { background: var(--lime); text-align: center; }
.closing h2 { max-width: 16ch; margin: 0 auto 24px; }
.closing p { max-width: 52ch; margin: 0 auto 18px; font-size: 1.15rem; }
.closing .quiet { font-family: var(--serif); font-style: italic; font-size: 1.4rem; margin: 28px auto 36px; }
.closing .btn { background: var(--ink); color: var(--lime); }
.closing .btn:hover { background: var(--white); color: var(--ink); }

/* Testimonials */
.testi h2 { margin-bottom: 44px; text-align: center; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.stars { color: var(--ink); letter-spacing: 3px; background: var(--lime); align-self: flex-start; padding: 2px 12px; border-radius: 999px; font-size: 0.95rem; }
.quote h3 { font-size: 1.3rem; }
.quote p { color: var(--muted); font-size: 0.98rem; }
.quote cite { margin-top: auto; font-style: normal; font-weight: 600; }

/* Contact */
.contact { background: var(--ink); color: var(--bg); text-align: center; }
.contact h2 { color: var(--lime); margin-bottom: 18px; }
.contact p { max-width: 48ch; margin: 0 auto 28px; color: rgba(251,252,246,0.82); }
.contact-links { display: flex; gap: 14px 24px; justify-content: center; flex-wrap: wrap; align-items: center; }
.contact .btn:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.contact-alt { color: var(--bg); border-bottom: 2px solid var(--lime); padding-bottom: 2px; }

/* Footer */
.site-footer { padding: 36px var(--pad); display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: space-between; align-items: center; font-size: 0.92rem; color: var(--muted); border-top: 1px solid var(--line); }
.foot-links { display: flex; gap: 24px; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }

@media (max-width: 900px) {
  .cards, .steps, .testi-grid, .areas { grid-template-columns: 1fr; }
  .guide .wrap { grid-template-columns: 1fr; }
  .portrait { max-width: 360px; }
  .method-item { grid-template-columns: 1fr; gap: 12px; }
  .nav-link { display: none; }
}
@media (max-width: 520px) {
  .area p { padding-left: 24px; }
  .logo { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* CTA rows + secondary button */
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 16px; }
.closing .cta-row { justify-content: center; }
.value .cta-row { margin-top: 28px; }
.btn-line { background: transparent; }
.hero .btn-line, .closing .btn-line { background: transparent; color: var(--ink); }
.hero .btn-line:hover, .closing .btn-line:hover { background: var(--white); color: var(--ink); }
.value .btn:hover, .contact .btn:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Popups */
body.popup-open { overflow: hidden; }
.popup { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity 0.2s; }
.popup[hidden] { display: none; }
.popup.is-open { opacity: 1; }
.popup-backdrop { position: absolute; inset: 0; background: rgba(20, 33, 15, 0.6); }
.popup-card { position: relative; background: var(--bg); border-radius: var(--radius); border-top: 8px solid var(--lime); padding: 36px 32px 32px; width: 100%; max-width: 480px; max-height: 92vh; overflow-y: auto; }
.popup-close { position: absolute; top: 10px; right: 14px; border: 0; background: none; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--ink); }
.popup-card h2 { font-size: 2rem; margin-bottom: 10px; }
.popup-text { color: var(--muted); margin-bottom: 20px; }
.popup-form { display: grid; gap: 12px; }
.popup-form input[type=text], .popup-form input[type=email], .popup-form textarea { width: 100%; font: inherit; padding: 14px 16px; border: 2px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); }
.popup-form input:focus, .popup-form textarea:focus { outline: none; border-color: var(--ink); }
.popup-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--muted); }
.popup-consent input { margin-top: 5px; accent-color: var(--ink); }
.popup-consent a { text-decoration: underline; }
.popup-form .btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; background: var(--lime); color: var(--ink); }
.popup-msg { margin-top: 14px; font-weight: 500; }

.nav .btn-line { background: transparent; }
.nav .btn-line:hover { background: var(--ink); color: var(--lime); }
@media (max-width: 640px) {
  .nav { gap: 8px; }
  .btn-sm { padding: 8px 12px; font-size: 0.8rem; }
  .logo { font-size: 1.1rem; }
  .logo-dot { display: none; }
}

/* Legal pages */
.legal { padding: clamp(48px, 7vw, 96px) var(--pad); }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 32px; }
.legal h2 { font-size: 1.4rem; margin: 36px 0 10px; }
.legal p { color: var(--ink); margin-bottom: 1em; }
.legal a { text-decoration: underline; text-decoration-color: var(--lime-deep); text-underline-offset: 3px; }
mark.ph { background: #fff176; color: var(--ink); padding: 1px 5px; border-radius: 4px; }
.ph-note { background: var(--lime-soft); border-left: 6px solid var(--lime-deep); border-radius: 8px; padding: 16px 20px; margin-bottom: 36px; font-size: 0.98rem; }

.popup-form[hidden], .popup-text[hidden] { display: none; }
.popup-msg:not(:empty) { margin-top: 0; font-size: 1.15rem; }
