/* =========================================================
   DESIGN TOKENS – change colours / fonts / sizes here only.
   Colours are read from the design files (raw pixel values).
   ========================================================= */
:root {
  /* Colours */
  --c-green:        #3f5f4a;   /* dark sections, headings on light, body text on light */
  --c-sage:         #d5e4bb;   /* hero panel, light sage sections, progress cards */
  --c-cream:        #f8ffef;   /* cream sections, cards, text on dark */
  --c-mustard:      #e3b23c;   /* buttons, big numbers, rules, borders */
  --c-mustard-dk:   #cf9f2e;   /* button hover */
  --c-btn-text:     #4a3424;   /* text on the buttons, desktop and mobile */
  --c-pink:         #c0426a;   /* accent words, eyebrows on light, titles in light cards */
  --c-rose:         #c44a6c;   /* desktop: rules under the Hintergrund column titles */
  --c-orange:       #f06e42;   /* desktop: button and back-to-top hover */
  --c-sage-line:    #d3e2b9;   /* desktop: dividers between the Kennst du das card items */
  --c-olive:        #8ea06f;   /* small rules under card titles, pricing outline */
  --c-line:         #8ba278;   /* thin dividers on dark */
  --c-text:         #3e5f4b;
  --c-text-soft:    #4b6b57;
  --c-text-inv:     #f8ffef;
  --c-text-inv-soft:#e6f0d8;
  --c-sage-text:    #d5e4bb;   /* light-sage text on dark (H2 in some sections) */
  --c-bar:          #232323;   /* bottom footer bar */
  --c-placeholder:  #b9c79b;
  --c-placeholder-ink: #587264;

  /* legacy aliases (kept so older rules keep working) */
  --c-terracotta: var(--c-pink);
  --c-green-deep: var(--c-green);
  --c-sage-2: var(--c-sage);
  --c-card: var(--c-cream);

  /* Typography */
  --font-head: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-alt:  "Roboto", "DM Sans", system-ui, sans-serif;   /* "Das passt zu dir" headings */

  --fs-body:    1.125rem;                          /* 18px */
  --fs-small:   1rem;
  --fs-lead:    1.3rem;                            /* large paragraphs */
  --fs-h1:      clamp(2.4rem, 5.6vw, 5.1rem);
  --fs-h2:      2.875rem;                          /* 46px */
  --fs-h3:      clamp(1.4rem, 2.1vw, 1.9rem);
  --fs-eyebrow: 1.05rem;
  --fs-stat:    clamp(2.6rem, 4.3vw, 3.9rem);
  --fs-step-num: 7.5rem;
  --lh-body:    1.6;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(1.25rem, 5vw, 6.5rem);
  --section-y: clamp(3.5rem, 8vw, 7rem);
  --radius: 30px;        /* images, big panels */
  --radius-card: 32px;
  --radius-btn: 16px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-text);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0 0 .55em; font-weight: 600; letter-spacing: -.005em; }
h1 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.22; color: var(--c-green); }
h2 { font-size: var(--fs-h2); font-weight: 600; line-height: 1; color: var(--c-green); }
h3 { font-size: var(--fs-h3); line-height: 1.25; font-family: var(--font-body); }
h4 { font-size: 1.4rem; line-height: 1.25; font-family: var(--font-body);}
/* h2 followed directly by a short rule: 30px gap (also once revealed, see .reveal.reveal) */
h2:has(+ .rule), h2.reveal.reveal:has(+ .rule) { margin-bottom: 1.875rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; position: relative; z-index: 1; }
.center { text-align: center; }
.small { font-size: var(--fs-small); }
.accent { color: var(--c-pink); }
.narrow-lg { max-width: 50rem; }

.eyebrow {
  display: block;
  font-size: var(--fs-eyebrow);
  letter-spacing: .05em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c-mustard);
  margin-bottom: 1.14rem;
}
.eyebrow--pink { color: var(--c-pink); }

/* short rules under headings */
.rule { display: block; width: 98px; height: 4px; border-radius: 3px; background: var(--c-mustard); margin: 0 0 2rem; }
.rule--center { margin-inline: auto; }
.rule--pink { background: var(--c-pink); }
.rule--olive { background: var(--c-olive); height: 5px; margin-bottom: 1.5rem; }
.divider { border: 0; height: 2px; background: var(--c-line); opacity: .8; margin: clamp(2.5rem, 6vw, 5.5rem) 0; }
.divider--dark { background: var(--c-olive); opacity: .45; height: 1px; margin-block: clamp(2rem, 4vw, 3.5rem); }

/* body-text variants */
.lead-p { font-size: 1.12rem; width: 33rem; font-weight: 400; line-height: 1.6; color: var(--c-text-inv); }
.lead-p--dark { color: var(--c-text-soft); width: 31rem; }
.small-lead { font-size: 1.15rem; }
.soft-sage { color: var(--c-text-inv); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .9rem;
  padding: 1.1rem 1.7rem;
  background: var(--c-mustard);
  color: var(--c-btn-text);
  font: 800 1.05rem/1 var(--font-body);  /* every button is 800, desktop and mobile */
  letter-spacing: .01em;
  text-transform: uppercase;
  border: 0;
  border-radius: var(--radius-btn);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--c-mustard-dk); transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn--small { padding: .8rem 1.1rem; font-size: .95rem; border-radius: 14px; gap: .7rem; }
.chev { width: 18px; height: 18px; flex: none; }
:focus-visible { outline: 3px solid var(--c-mustard); outline-offset: 3px; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; overflow: hidden; }
.section--dark  { background: var(--c-green); color: var(--c-text-inv); }
.section--dark h2, .section--dark h3 { color: var(--c-text-inv); }
.section--sage  { background: var(--c-sage); }
.section--cream { background: var(--c-cream); }
.h2-sage { color: var(--c-sage-text); }

/* decorative line patterns: <span class="pattern .pattern-<n> .pattern-<section>">
   File = the SVG mask AND its colour (the file class sets --ring !important, so the colour named in
   the file class always wins, regardless of what other classes are on the element). Section = --w +
   position offsets only — never colour. New instance: add a .pattern-<section> rule with --w +
   right/bottom:0, then nudge. */
.pattern {
  --w: clamp(320px, 45vw, 660px);
  position: absolute; z-index: 0; pointer-events: none;
  width: var(--w);
  background: var(--ring);
  -webkit-mask-position: center; -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat;
          mask-position: center; mask-size: contain; mask-repeat: no-repeat;
}
.pattern-1  { --ring: rgba(150, 168, 120, .5) !important; aspect-ratio: 657.25 / 650.5; -webkit-mask-image: url("../images/patterns/pattern-1.svg");  mask-image: url("../images/patterns/pattern-1.svg"); }
.pattern-2  { --ring: rgba(150, 168, 120, .5) !important; aspect-ratio: 657.25 / 650.5; -webkit-mask-image: url("../images/patterns/pattern-2.svg");  mask-image: url("../images/patterns/pattern-2.svg"); }
.pattern-3  { --ring: rgba(150, 168, 120, .5) !important; aspect-ratio: 718.52 / 870.5; -webkit-mask-image: url("../images/patterns/pattern-3.svg");  mask-image: url("../images/patterns/pattern-3.svg"); }
.pattern-4  { --ring: rgba(227, 178, 60, .5)  !important; aspect-ratio: 930.7 / 965.01; -webkit-mask-image: url("../images/patterns/pattern-4.svg");  mask-image: url("../images/patterns/pattern-4.svg"); }
.pattern-5  { --ring: rgba(227, 178, 60, .5)  !important; aspect-ratio: 686.55 / 815.45; -webkit-mask-image: url("../images/patterns/pattern-5.svg");  mask-image: url("../images/patterns/pattern-5.svg"); }
.pattern-6  { --ring: rgba(150, 168, 120, .5) !important; aspect-ratio: 724.06 / 754.15; -webkit-mask-image: url("../images/patterns/pattern-6.svg");  mask-image: url("../images/patterns/pattern-6.svg"); }
.pattern-7  { --ring: rgba(150, 168, 120, .5) !important; aspect-ratio: 493.15 / 498.27; -webkit-mask-image: url("../images/patterns/pattern-7.svg");  mask-image: url("../images/patterns/pattern-7.svg"); }
.pattern-8  { --ring: rgba(227, 178, 60, .5)  !important; aspect-ratio: 666.27 / 899.21; -webkit-mask-image: url("../images/patterns/pattern-8.svg");  mask-image: url("../images/patterns/pattern-8.svg"); }
.pattern-9  { --ring: rgba(227, 178, 60, .5)  !important; aspect-ratio: 757.33 / 999.42; -webkit-mask-image: url("../images/patterns/pattern-9.svg");  mask-image: url("../images/patterns/pattern-9.svg"); }
.pattern-10 { --ring: rgba(227, 178, 60, .5)  !important; aspect-ratio: 660.8 / 892.31; -webkit-mask-image: url("../images/patterns/pattern-10.svg"); mask-image: url("../images/patterns/pattern-10.svg"); }
.pattern-11 { --ring: rgba(150, 168, 120, .5) !important; aspect-ratio: 542.86 / 612.25; -webkit-mask-image: url("../images/patterns/pattern-11.svg"); mask-image: url("../images/patterns/pattern-11.svg"); }

.pattern-hero { --w: clamp(420px, 46vw, 640px); right: 0; bottom: calc(var(--w) * -.71); z-index: 2; }  /* crosses the photo corner */
.pattern-role { --w: clamp(500px, 55vw, 780px); left: calc((100% - 100vw) / 2 - var(--w) * .23); top: calc(var(--w) * -.109); z-index: 0; }  /* far left, behind the photo */
.pattern-kennst-du-das { --w: clamp(440px, 48vw, 690px); right: calc(var(--w) * -.44); bottom: calc(var(--w) * -.286); }  /* bottom-right of intro */
.pattern-kennst-du-das-top { --w: clamp(440px, 48vw, 690px); right: calc(var(--w) * -.44); top: calc(var(--w) * -.9255); }  /* same box, continued in the next section (both sections clip, so it takes two elements) */
.pattern-kennst-du-das-bottom { --w: clamp(540px, 67vw, 970px); left: calc(var(--w) * -.558); bottom: calc(var(--w) * -.841); }  /* mostly lives in the next section (band-dark), just a sliver here */
.pattern-band-dark-top { --w: clamp(540px, 67vw, 970px); left: calc(var(--w) * -.558); top: calc(var(--w) * -.196); z-index: 2; }  /* same box, continued from the section above, over the photo */
.pattern-band-dark { --w: clamp(440px, 47.5vw, 685px); right: calc(var(--w) * -.402); bottom: calc(var(--w) * -.806); z-index: 2; }  /* bottom-right of the band, continued in #ablauf */
.pattern-ablauf { --w: clamp(440px, 47.5vw, 685px); right: calc(var(--w) * -.402); top: calc(var(--w) * -.382); z-index: 2; }  /* same box, continued from the band above */
.pattern-ablauf-bottom { --w: clamp(450px, 49vw, 706px); right: calc(var(--w) * -.473); bottom: calc(var(--w) * -.674); z-index: 2; }  /* bottom-right of #ablauf, continued in #preise */
.pattern-preise { --w: clamp(450px, 49vw, 706px); right: calc(var(--w) * -.473); top: calc(var(--w) * -.368); z-index: 2; }  /* same box, continued from #ablauf above */
.pattern-preise-bottom { --w: clamp(320px, 34vw, 490px); left: calc(var(--w) * -.43); bottom: calc(var(--w) * -.165); }  /* bottom-left of #preise, continued in #ueber-mich */
.pattern-ueber-mich { --w: clamp(320px, 34vw, 490px); left: calc(var(--w) * -.43); top: calc(var(--w) * -.845); }  /* same box, continued from #preise above */
.pattern-story { --w: clamp(460px, 49vw, 705px); left: calc(var(--w) * -.565); bottom: calc(var(--w) * -.36); z-index: 2; }  /* bottom-left of .story, continued in .cta-band */
.pattern-cta { --w: clamp(460px, 49vw, 705px); left: calc(var(--w) * -.565); top: calc(var(--w) * -.99); }  /* same box, continued from .story above */
.pattern-progress { --w: clamp(500px, 55vw, 790px); right: calc(var(--w) * -.548); bottom: calc(var(--w) * -.524); }  /* right of .progress, continued in .fit-section */
.pattern-fit { --w: clamp(500px, 55vw, 790px); right: calc(var(--w) * -.548); top: calc(var(--w) * -.796); }  /* same box, continued from .progress above */
.pattern-fit-bottom { --w: clamp(460px, 49vw, 705px); left: calc(var(--w) * -.44); bottom: calc(var(--w) * -.397); z-index: 2; }  /* bottom-left of .fit-section (over the photo), continued in .closing */
.pattern-closing { --w: clamp(460px, 49vw, 705px); left: calc(var(--w) * -.44); top: calc(var(--w) * -.953); }  /* same box, continued from .fit-section above */
.pattern-kontakt { --w: clamp(360px, 36.7vw, 530px); right: calc(var(--w) * -.535); bottom: calc(var(--w) * -.23); }  /* bottom-right of #kontakt, continued in the footer */
.pattern-footer { --w: clamp(360px, 36.7vw, 530px); right: calc(var(--w) * -.535); top: calc(var(--w) * -.898); }  /* same box, continued from #kontakt above */

/* ---------- Images / placeholders ---------- */
.ph {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.18) 0 12px, transparent 12px 24px), var(--c-placeholder);
  color: var(--c-placeholder-ink);
  display: grid; place-items: center;
  overflow: hidden;
}
.ph[data-label]::after { content: attr(data-label); font-size: var(--fs-small); font-weight: 600; padding: .4rem .8rem; background: rgba(248,255,239,.9); border-radius: 999px; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph--nat { display: block; aspect-ratio: auto; background: none; }
.ph--nat img { position: static; height: auto; }
.ph--bleed { border-radius: 0; min-height: 100%; }
.ph--full  { border-radius: 0; aspect-ratio: 2000 / 828; }
.ph--full-fit { aspect-ratio: 1440 / 963; margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.ph--role  { aspect-ratio: 1000 / 939; }
.ph--bg    { aspect-ratio: 1; max-width: 331px; justify-self: end; }
.ph--pcard { border-radius: 24px; aspect-ratio: 800 / 500; }
.ph--avatar { aspect-ratio: 1; max-width: var(--avatar-w, 259px); border-radius: 28px; margin-block: 3rem 1.2rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--c-green); color: var(--c-text-inv); }
.header-inner { position: static; display: flex; align-items: center; justify-content: space-between; min-height: clamp(68px, 7vw, 100px); }
.logo { display: block; text-decoration: none; }
.logo .logo-img { display: block; width: auto; height: clamp(46px, 4.4vw, 64px); }
.site-nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.4rem); font-size: 1.15rem; }
.site-nav a { text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--c-mustard); }
.lang-switch { display: flex; gap: 1rem; }
.lang { font-size: 1rem; letter-spacing: .04em; opacity: .9; }
.lang:hover { opacity: 1; }
.logo-img { display: none; }  /* the footer's image logo is mobile-only */
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--c-text-inv); margin: 5px 0; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 56fr 44fr;
  min-height: clamp(440px, 51.5vw, 760px);
  background: var(--c-sage);
  position: relative;
}
.hero-text {
  padding: clamp(2.5rem, 5vw, 5rem) 1rem clamp(2.5rem, 5vw, 5rem) calc((100vw - min(100vw - 2 * var(--gutter), var(--container))) / 2);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.hero h1 { margin-bottom: .5em; line-height: 1; font-size: 3.75rem; font-weight: 700;}
.hero .rule { margin-bottom: 1.6rem; }
.hero-sub { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.45; color: var(--c-green); max-width: 36rem; margin-bottom: 4.5rem; }
.hero-note { font-size: 1rem; color: var(--c-green); margin: 1.3rem 0 0; letter-spacing: 0.01rem;}
.hero-media { position: relative; overflow: hidden; }

/* ---------- Intro (dark) ---------- */
.intro { padding-top: clamp(3rem, 6vw, 6.5rem); padding-bottom: clamp(3rem, 6vw, 6rem); }
.intro > .container { z-index: 3; }  /* above .pattern-hero's z-index: 2 */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2.6rem); }
.stat {
  background: var(--c-cream); border: 7px solid var(--c-mustard); border-radius: 30px;
  padding: clamp(1.4rem, 2.4vw, 2.3rem) 1.5rem clamp(1.4rem, 2.4vw, 2.2rem); text-align: center;
  display: flex; flex-direction: column; align-items: center;
  position: relative; z-index: 3;
}
.stat strong { font: 600 var(--fs-stat)/1.1 var(--font-head); color: var(--c-green); margin-bottom: .7rem; }
.stat em { font: 600 clamp(1.15rem, 1.7vw, 1.5rem)/1.2 var(--font-head); color: var(--c-pink); }
.stat em::after { content: ""; display: block; width: 98px; height: 5px; border-radius: 3px; background: var(--c-olive); margin: .9rem auto 1.1rem; }
.stat span { font-size: 1.1rem; line-height: 1.6; color: var(--c-text-soft); max-width: 17rem; }

.intro-head { max-width: 62rem; margin-inline: auto; text-align: center; padding-block: clamp(1rem, 3vw, 2.5rem); }
.intro-head h2 { color: var(--c-text-inv); margin-bottom: 1.6em; }
.intro-head .lead-p { max-width: 43rem; margin-inline: auto; margin-bottom: .6rem; }
.lead-paragraph {max-width: 30rem; margin: auto; margin-inline: auto; line-height: 1.6;}
.intro-emph { font: italic 600 1.375rem/1.6 var(--font-head); max-width: 25rem; color: var(--c-text-inv); margin-top: 5rem; }

.role {
  position: relative;
  display: grid; grid-template-columns: 1.23fr 1fr; column-gap: clamp(2rem, 4.5vw, 4rem); row-gap: 3rem;
  grid-template-areas: "img text" "more more";
  align-items: start;
}
.role > .ph { grid-area: img; }
.role-text { grid-area: text; max-width: 33rem;}
.role-more { grid-area: more; max-width: 33rem; }
.role-text h2 { color: var(--c-text-inv); line-height: 1.143; }
.role-lead { font-family: var(--font-body); font-weight: 600; font-size: 1.4rem; line-height: 1.45; color: var(--c-text-inv); margin-bottom: 3rem; }  /* the gap between the two role-more paragraphs */
.role-big { font-family: var(--font-body); font-size: 1.4rem; font-weight: 700; line-height: 1.45; color: var(--c-text-inv); margin: 3rem 0; }
.quote-line { margin: 0; padding-left: 1.25rem; border-left: 4px solid var(--c-mustard); font-family: var(--font-head); font-weight: 400; font-size: 1.85rem; font-style: italic; line-height: 1.2; color: var(--c-text-inv); }

/* ---------- "Kennst du das?" ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.6vw, 2.6rem); margin-top: 2.5rem; }
.cards-3--tight { gap: clamp(.75rem, 1.4vw, 1.25rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.card { background: var(--c-cream); color: var(--c-text); border-radius: var(--radius-card); }
.card--know { padding: clamp(2rem, 4vw, 3.6rem) clamp(1.5rem, 3vw, 2.6rem) clamp(2rem, 4vw, 3.4rem); text-align: center; min-height: 32rem; }
.card--know .icon { width: 130px; height: 130px; margin: -1.2rem auto 0; display: block; }
.card--know h3 { font-family: var(--font-head); font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 600; color: var(--c-green); margin-bottom: 3.25rem; }
.card--know .bullets { text-align: left; }
.bullets li, .dots li { position: relative; padding-left: 2.1rem; margin-bottom: 1.5rem; font-size: 1.1rem; line-height: 1.6; }
.card--know .centered-list { text-align: center; }
.card--know .centered-list p { margin: 0 auto 2rem; }
.know-item { width: 16rem; line-height: 1.6; }
.know-title { width: 15rem; margin-inline: auto; }
.bullets li::before, .dots li::before { content: ""; position: absolute; left: .2rem; top: .5lh; transform: translateY(-50%); width: 10px; height: 10px; border-radius: 50%; background: var(--c-green); }
.dots--gold li::before { background: var(--c-mustard); }

/* ---------- Ticks / crosses ---------- */
.ticks li, .crosses li { position: relative; padding-left: 2.6rem; margin-bottom: 1.3rem; font-size: 1.1rem; line-height: 1.6; font-weight: 500; letter-spacing: .02em; }
.ticks li::before, .crosses li::before { position: absolute; left: .3rem; top: 0; font-weight: 700; }
.ticks li::before   { content: "✓"; color: var(--c-mustard); }
.crosses li::before { content: "✕"; color: var(--c-pink); }

/* ---------- Dark band: full-bleed photo + tue / nicht tue ---------- */
.band-dark { background: var(--c-green); padding-top: clamp(2rem, 6vw, 5.5rem); position: relative; overflow: hidden; }
.band-dark .ph--full { position: relative; z-index: 1; }
.band-box-wrap { padding-block: clamp(2.5rem, 8vw, 7rem); }
.band-box {
  --band-gap: clamp(.75rem, 1.5vw, 1.25rem);
  display: grid; grid-template-columns: repeat(2, calc((100% - var(--band-gap)) / 2 * .84)); justify-content: center; gap: var(--band-gap);  /* each box 84% of half the row */
}
.band-card {
  background: var(--c-cream); color: var(--c-text); border-radius: 30px;
  padding: clamp(1.5rem, 3.2vw, 3rem) clamp(1.25rem, 2.5vw, 2.5rem) clamp(1rem, 2vw, 1.75rem);
}
.band-card h2 { text-align: left; }
.band-card ul { width: 21rem; max-width: 100%; margin-inline: 0; margin-top: 2.42rem; }
.band-box h3 { font-size: clamp(1.6rem, 2.7vw, 2.4rem); font-weight: 500; color: var(--c-green); margin-bottom: 1.4rem; }
.band-card h2 em { color: var(--c-pink); font-style: italic; }
.band-box .ticks li, .band-box .crosses li { color: var(--c-text-soft); }

/* ---------- Ablauf ---------- */
.section--cream h2 { line-height: 1.3; }
.steps { display: grid; gap: clamp(3rem, 6vw, 5.5rem); }
.step { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4.5vw, 4.5rem); align-items: start; }
.step--rev { grid-template-columns: 1fr 1.05fr; }
.step--rev .ph { order: -1; }
.step .ph--nat { align-self: stretch; }
.step .ph--nat img { height: 100%; object-fit: cover; }
.step-head { display: flex; align-items: stretch; gap: clamp(1rem, 2vw, 2rem); margin-bottom: 1.4rem; }
/* title + pink line + badges span exactly the drawn height of the digits: the italic "01" ink starts
   .096em below the top of its .9 line box and ends .0725em above the bottom */
.step-head > div { display: flex; flex-direction: column; padding-block: calc(var(--fs-step-num) * .096) calc(var(--fs-step-num) * .0725); }
.step-num { font: 800 var(--fs-step-num)/.9 var(--font-head); font-style: italic; color: var(--c-mustard); letter-spacing: -.03em; flex: none; }
/* short pink line under titles (step headings, price info cards) */
.step-head > div::after, .card--mini h4::after { content: ""; width: 1.95rem; height: 6px; border-radius: 3px; background: var(--c-pink); }
.step-head h3 { margin: -.13em 0 .05em; line-height: 1; font-weight: 700; color: var(--c-green); }
/* pink line: its own flex item between title and badges; auto margins split the free space equally
   (the title's .05em bottom margin makes its box end at the descenders), then it's nudged 20% of that
   gap closer to the title */
.step-head > div::after { order: 1; flex: none; margin-block: auto; translate: 0 -.11rem; }
.step-head .meta { order: 2; }
.step-title { font-family: var(--font-head); font-size: 2.25rem; }
.meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.meta li { padding: .45rem .9rem; border-radius: 999px; background: color-mix(in srgb, var(--c-green) 10%, var(--c-cream)); font-size: .875rem; font-weight: 500; line-height: 1.2; color: var(--c-green); }
.step-body { width: 33rem; }  /* the head above may use the whole column, so the title and badges fit beside the number */
.step-text p { font-size: 1.1rem; line-height: 1.6; color: var(--c-text-soft); margin-bottom: 1.6rem; }
.step-text .step-lead { font-size: 1.375rem; line-height: 1.45; font-weight: 700; }
.step-text strong { color: var(--c-green); font-weight: 700; }

/* ---------- Preise ---------- */
.price-lead { font-family: var(--font-body); font-weight: 400; font-size: 1.125rem; line-height: 1.6; color: var(--c-text-inv); width: 31rem; max-width: 100%; margin-block: 3rem 5rem; }
.price-lead.reveal.reveal { margin-bottom: 5rem; line-height: 1.6; }
.mini-cards { margin-top: 0; margin-bottom: 8rem; gap: clamp(1rem, 3vw, 2.6rem); }
.mini-cards.reveal.reveal { margin-bottom: 8rem; }
.mini-cards + .pricing { margin-top: 0; }  /* the 8rem above is the whole gap */
.card--mini { border: 7px solid var(--c-mustard); border-radius: 22px; padding: 1.5rem 1.6rem 1.7rem; }
.card--mini h4 { font-family: var(--font-head); font-size: clamp(1.4rem, 2vw, 1.8rem); color: var(--c-green); text-align: left; font-weight: 700; margin-bottom: 1.5rem; padding-left: .4rem; text-indent: -.065em; }  /* starts where the dots do; the indent cancels the capital's side bearing */
.card--mini h4::after { display: block; height: 3px; margin-top: .45rem; }
.dots li { font-size: 1.1rem; line-height: 1.6; margin-bottom: .55rem; padding-left: 1.7rem; }
.card--mini .dots li { font-size: 1.125rem; font-weight: 400; }  /* as the Kennst du das card text */
.card--mini .dots li::before { width: 5px; height: 5px; left: .4rem; }

.pricing {
  position: relative;
  display: grid; grid-template-columns: 1.17fr 1fr 1fr;
  grid-template-rows: auto auto auto 1fr;  /* icon | title | price | text, shared by all three cards */
  margin-block: clamp(3.5rem, 5vw, 4.5rem) clamp(3rem, 5vw, 5rem);
}
.pricing::before { content: ""; position: absolute; z-index: 0; top: 14px; bottom: 14px; left: 20%; right: 0; border: 2px solid var(--c-olive); border-radius: 28px; }
.price { position: relative; z-index: 1; padding: clamp(2rem, 3.4vw, 2.75rem) clamp(1.25rem, 2.4vw, 2.25rem); display: grid; grid-row: span 4; grid-template-rows: subgrid; align-content: start; }
.price h3 { align-self: last baseline; }  /* the titles' last lines share a baseline, so the prices line up across cards */
.price .icon { display: block; width: 130px; height: 130px; margin: -1rem 0 .4rem -1.6rem; }
.price--featured .icon { margin-top: calc(-1rem - var(--featured-border)); }  /* cancel the border so all icons line up */
.price h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); color: var(--c-mustard); line-height: 1.35; font-weight: 600; margin-bottom: .9rem; }
.price-tag { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.25rem, 1.9vw, 1.6rem); color: var(--c-text-inv); margin-bottom: 2.5rem; }
.price-tag-p-box {width: 18rem;}
.price p:not(.price-tag) { font-size: 1.1rem; line-height: 1.6; margin-bottom: .8rem; color: var(--c-text-inv); }
.price p.gap { margin-top: 2.4rem; }
.price--featured { --featured-border: 7px; background: var(--c-sage); border: var(--featured-border) solid var(--c-mustard); border-radius: 28px; box-shadow: none; }
.price--featured h3 { color: var(--c-pink); font-size: clamp(1.7rem, 2.9vw, 2.6rem); line-height: 1.3; }
.price--featured .price-tag { color: var(--c-green); }
.price--featured p:not(.price-tag) { color: var(--c-text-soft); }
.badge { position: absolute; bottom: 100%; left: 1.5rem; background: var(--c-mustard); color: var(--c-text-inv); font-size: 1.1rem; font-weight: 500; padding: .95rem 2rem; border-radius: 20px 20px 0 0; }  /* its bottom edge meets the inside of the card frame */
.price-cta .btn { margin-bottom: 1.4rem; }
.contact-button {margin-top: 2rem;}
.price-note { font-size: 1.2rem; color: var(--c-text-inv); margin: 0; }

/* ---------- Hintergrund ---------- */
.green-title { color: var(--c-green); line-height: 1.1; }
.bg-top { display: grid; grid-template-columns: 1.9fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.bg-top .lead-p { max-width: 50rem; }
.bg-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.75rem); margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.bg-cols h4 { font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: var(--c-pink); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .02em; }
.bg-cols li { font-size: 1.1rem; line-height: 1.6; letter-spacing: .02em; color: var(--c-text-soft); }
.ul-dotted {list-style: disc; margin-left: 1rem;}
.ul-dotted li {font-size: 1.125rem; font-weight: 400;}

/* ---------- Story ---------- */
.story { padding-bottom: clamp(3rem, 6vw, 6rem); }
.section.section--dark.story h2 {color: var(--c-text-inv)}
.story .rule { margin-bottom: 1.6rem; }  /* with the photo centred beside the text, this halves the old gap to the photo */
.story h2 {color: var(--c-text-inv);}
.story-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.story-row:last-child { margin-bottom: 0; }
.story-row--rev .ph { order: 2; }
.story-text {width: 26.5rem;}
.story-text h3 { font-family: var(--font-body); color: var(--c-mustard) !important; font-weight: 600; font-size: 1.12rem; margin-bottom: 1.8rem; text-transform: uppercase; }
.story-text p.gap { margin-top: 1.9rem; }
.story-text p.serif-b { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-style: italic; line-height: 1.45; color: var(--c-text-inv); margin-top: 1.1rem; }
.story-text h3 + p.serif-b { margin-top: 0; }
.story-small {font-family: var(--font-body); line-height: 1.6; font-size: 1.12rem;}

/* ---------- CTA ---------- */
.cta-band { text-align: center; padding-block: clamp(4rem, 9vw, 8rem); }
.cta-band h2 { max-width: 52rem; margin: 0 auto 2.5rem; line-height: 1.2; }
.cta-note { margin: 1.8rem 0 0; font-size: 1.2rem; color: var(--c-text-soft); }

/* ---------- Progress ---------- */
.progress h2 { color: var(--c-text-inv); }
.pcards { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.pcard {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  background: #e1eadb; color: var(--c-text);
  border: 8px solid var(--c-cream); border-radius: 36px; overflow: hidden;
}
.pcard .ph { border-radius: 30px 0 0 30px; height: 100%; }  /* square on the side facing the text */
.pcard--rev .ph { border-radius: 0 30px 30px 0; }
/* number | title in the first row, the list under the title: both share the second column, so they always start at the same x */
.pcard-text { --pcard-indent: clamp(0rem, 4vw, 4rem); --pcard-num-size: clamp(3.2rem, 5vw, 4.6rem); padding: clamp(1rem, 2vw, 1.5rem); align-self: center; display: grid; grid-template-columns: auto 1fr; column-gap: .8rem; row-gap: 1rem; align-items: center; }
.pcard-head { display: contents; }
.pcard-num { margin: 1rem 0 0 var(--pcard-indent); font: italic 600 var(--pcard-num-size)/1 var(--font-head); color: var(--c-mustard); letter-spacing: -.03em; }
.pcard-head h3 { font-family: var(--font-head); color: var(--c-green); font-weight: 700; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.1; max-width: 11em; margin: 1rem 0 0; }
.pcard-num, .pcard-head h3 { align-self: baseline; }  /* the number and the title's first line share a baseline */
.pcard-list { grid-column: 2; margin: 0; padding: .4rem 0; width: calc(25rem - 2 * clamp(1.25rem, 2.5vw, 2.25rem)); max-width: 100%; }  /* the text width it had inside the old padded box */
.pcard-list li { padding-block: .85rem; font-size: 1.13rem; line-height: 1.6; color: var(--c-text-soft); }
.pcard-list li + li { border-top: 1px solid color-mix(in srgb, var(--c-olive) 50%, transparent); }

.quote { margin: clamp(3rem, 7vw, 6rem) auto 0; max-width: 46rem; text-align: center; }
.quote blockquote { max-width: 32rem; margin: 0 auto clamp(1.25rem, 2.5vw, 2rem); font-family: var(--font-head); font-style: italic; font-weight: 400; font-size: 1.85rem; line-height: 1.2; color: var(--c-text-inv); position: relative; padding-inline: 1rem; }
/* one “ above the text, centred, twice the text size. Lora's “ ink runs from .76em to .435em above the
   baseline; with line-height 1 that is .106em–.431em below the box top, so the box is trimmed to the ink */
.q { display: block; height: .431em; margin: -.106em 0 .1em; font: normal 700 2em/1 var(--font-head); color: var(--c-mustard); }
.quote figcaption { max-width: 28.8rem; padding-inline: 1rem; margin: 7rem auto 0; font-size: 1.125rem; line-height: 1.6; font-weight: 400; color: var(--c-text-inv); }

/* ---------- Fit ---------- */
.fit-section { padding-bottom: clamp(3.5rem, 8vw, 7rem); }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); margin-top: clamp(2.5rem, 6vw, 5.5rem); padding-inline: clamp(0rem, 1.5vw, 1.5rem); }
.fit h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.76rem; color: var(--c-green); margin-bottom: 2rem; }
.fit h3 em { color: var(--c-pink); }
.fit-box {width: 26rem;}
.ticks--lg li { font-size: 1.1rem; margin-bottom: 1.5rem; color: var(--c-text-soft); }
.fit-section > .ph { position: relative; z-index: 1; }

/* ---------- Testimonial ---------- */
.closing { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.narrow-c { max-width: 46rem; }
.closing-text { font-family: var(--font-body); font-weight: 400; font-size: 1.125rem; line-height: 1.6; color: var(--c-text-inv); margin: 0 auto 2.25rem; width: 28rem; max-width: 100%;}
.attrib { color: var(--c-text-inv); font-size: 1rem; font-weight: 400; font-variant-caps: small-caps; margin: 0; }
/* the feedbacks share one cell, so the box keeps the height of the longest and nothing below jumps when it pages */
.feedback { display: grid; }
.feedback-item { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.feedback-item.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease .3s, visibility 0s; }

/* ---------- Contact ---------- */
.contact { padding-block: clamp(3.5rem, 6vw, 5.5rem) clamp(4rem, 8vw, 7rem); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.contact h2 { line-height: 1.1; margin-bottom: 1.728rem; }
.contact-text { width: 30rem; max-width: 100%; }
.contact-text .lead-p { width: auto; }  /* let the paragraphs follow their wrapper instead of their own 31rem */
.contact-lead { width: 23rem; max-width: 100%; }
.contact .contact-p1 { line-height: 1.6; }
.contact-p2-link { color: inherit; text-decoration: none; }
.contact-p2 .accent { color: inherit; }  /* one colour, as the notes under the buttons */
.contact-sub { font-size: 1.25rem; color: var(--c-green); margin-bottom: 1.6rem; }
.who { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: var(--avatar-w, 259px); margin: 0; }  /* centred under the avatar */
.who strong { font: 500 clamp(1.8rem, 2.6vw, 2.4rem)/1.2 var(--font-head); color: var(--c-mustard); font-style: italic; }
.who span { font-size: 1.1rem; line-height: 1.6; color: var(--c-green); }
.form { padding-top: .3rem; }
.field { margin-bottom: 1.6rem; }
.field label { display: block; font-size: 1.1rem; margin-bottom: .55rem; color: var(--c-green); }
.field .req { color: var(--c-olive); }
.fld { position: relative; }
.fld-ic { position: absolute; left: 1.15rem; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); fill: none; stroke: var(--c-green); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%; font: inherit; font-size: 1.15rem; color: var(--c-green);
  background: transparent;
  border: 2px solid var(--c-olive);
}
.field input[type="text"], .field input[type="tel"], .field input[type="email"] { padding: 1.05rem 1.25rem 1.05rem 3.4rem; border-radius: 999px; }
.field textarea { padding: 1.2rem 1.5rem; border-radius: 30px; resize: none; font-size: 1.125rem; line-height: 1.6; min-height: 13rem; }
.char-count { margin: .45rem 1.5rem 0; text-align: right; font-size: .95rem; line-height: 1.3; color: var(--c-text-soft); }
.char-count.is-near { color: var(--c-mustard-dk); }
.char-count.is-full { color: var(--c-pink); font-weight: 700; }
.field input::placeholder, .field textarea::placeholder { color: #9aa79b; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--c-mustard); box-shadow: 0 0 0 3px rgba(227, 178, 60, .3); }
.hp { position: absolute; left: -9999px; }
.consent { display: flex; gap: .9rem; align-items: center; font-size: .95rem; line-height: 1.6; letter-spacing: .03em; margin: 1.6rem 0 2.75rem; color: var(--c-green); }
.consent input { appearance: none; -webkit-appearance: none; flex: none; width: 32px; height: 32px; border: 2px solid var(--c-olive); border-radius: 50%; margin: 0; background: transparent; cursor: pointer; }
.consent input:checked { background: var(--c-mustard) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233e5f4b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 20px no-repeat; border-color: var(--c-mustard); }
.form-status { margin: 1rem 0 0; font-weight: 700; }
.form-status.is-ok { color: var(--c-green); }
.form-status.is-error { color: var(--c-pink); }

.toast {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
  z-index: 100; max-width: calc(100vw - 2rem);
  padding: .9rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: .95rem;
  color: var(--c-cream); box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
}
.toast--ok { background: var(--c-green); }
.toast--error { background: var(--c-pink); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem); z-index: 60;
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--c-mustard); color: var(--c-btn-text); box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--c-mustard-dk); }
.to-top svg { width: 24px; height: 24px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--c-green); color: var(--c-sage-text); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-block: clamp(2rem, 4vw, 3.25rem); }
.footer-grid p { margin: 0; font-size: 1.15rem; line-height: 1.6; }
.footer-logo { display: block; font-weight: 700; font-size: 1.9rem; line-height: 1.2; color: #eaf3cf; margin-bottom: .6rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--c-mustard); }
.footer-grid > div:nth-child(2), .footer-grid > div:nth-child(3) { padding-top: .5rem; }
.footer-bar { background: var(--c-bar); text-align: center; padding: 1rem; font-size: .95rem; letter-spacing: .06em; color: var(--c-text-inv); position: relative; z-index: 1; }

/* ---------- Legal pages (legal.php) ---------- */
.legal { padding-block: clamp(2.5rem, 6vw, 5rem); }
.legal-body { max-width: 46rem; }
.legal-body h1 { font-size: var(--fs-h2); line-height: 1.1; margin-bottom: .4em; }
.legal-body h2 { font-size: 1.35rem; line-height: 1.3; margin: 2.2rem 0 .6rem; }
.legal-body h1, .legal-body h2 { hyphens: auto; overflow-wrap: break-word; }   /* long German compounds on phones */
.legal-body p { font-size: 1.05rem; line-height: 1.6; color: var(--c-text-soft); margin: 0 0 .9rem; }
.legal-body a { color: var(--c-green); }
.legal-sub { font-size: .95rem !important; }
.legal-note { padding: .8rem 1rem; border-radius: 14px; background: color-mix(in srgb, var(--c-green) 8%, var(--c-cream)); }
.legal-back { color: var(--c-text-inv); text-decoration: none; font-weight: 500; }
.legal-back:hover { color: var(--c-mustard); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
/* steps float in sideways */
.reveal--left, .reveal--right { transition: opacity 1.6s ease, transform 1.6s cubic-bezier(.22, .61, .36, 1); }
.reveal--left  { transform: translateX(-14rem); }
.reveal--right { transform: translateX(14rem); }
.reveal.is-visible { opacity: 1; transform: none; }
/* layout that used to switch on with .is-visible now applies from the start (same specificity), so revealing
   blocks no longer shifts the page mid-scroll and anchor links land where they should */
.reveal.reveal { line-height: 1; margin-bottom: 3rem; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .to-top { transition: none; }
  .feedback-item, .feedback-item.is-active { transition: none; }
}

/* ---------- Desktop only (≥981px) ----------
   Rules the mobile block below doesn't override, so they can't live in the base rules above. */
@media (min-width: 981px) {
  /* meta text: eyebrows, step badges, character counter and copyright bar */
  .meta li, .char-count, .footer-bar { font-size: .875rem; letter-spacing: .1em; }
  .eyebrow { font-size: .875rem; letter-spacing: .08em; }
  /* the "Hinterlass einfach deine Nummer" notes under the buttons: DM Sans 400 18px everywhere; under the
     price and "Schauen wir" buttons centred, with a line break after the comma (and all white under the prices) */
  .hero-note { font-family: var(--font-body); font-size: 1.125rem; font-weight: 400; }
  .price-note, .cta-note { font: 400 1.125rem/1.6 var(--font-body); }
  .price-note .accent, .cta-note .accent { display: block; }
  .hero-note .accent, .price-note .accent, .cta-note .accent { color: inherit; }  /* one colour, no pink half */

  /* header: the links in DM Sans 500 (Kontakt stays 700) */
  .site-nav > a:not(.btn) { font-weight: 500; }

  .btn:hover, .to-top:hover { background: var(--c-orange); }
  .hero h1 { font-size: 3.625rem; font-weight: 600; }  /* Lora 600 58px */
  .hero .rule { background: var(--c-mustard); }
  /* the subline as wide as the H1: the text column shrinks to its widest line, and the subline adds no
     width of its own (width 0) but fills the column (min-width 100%) */
  .hero-text { justify-self: start; width: fit-content; }
  .hero-sub { width: 0; min-width: 100%; }

  /* role: "geht" starts the third line. Once the closing paragraphs come into view (.slide-seq gets
     .is-visible), "Der Fokus" floats in from the left, "Wenn du bereits" 1s later from the right and the
     quote 1s after that from the left */
  .role-text h2 { max-width: 29rem; }
  .role-text .lead-p { width: 27.75rem; }  /* as wide as the "Meine Rolle liegt" lines above */
  .slide-seq > * { opacity: 0; transition: opacity 1.2s ease, transform 1.2s cubic-bezier(.22, .61, .36, 1); }
  .slide-seq > :nth-child(odd)  { transform: translateX(-14rem); }
  .slide-seq > :nth-child(even) { transform: translateX(14rem); transition-delay: 1s; }
  .slide-seq > :nth-child(3)    { transition-delay: 2s; }
  .slide-seq.is-visible > * { opacity: 1; transform: none; }
  .quote-line { margin-top: 4.14rem; }  /* collapses with the 3rem above it */

  /* Kennst du das: a thin line halfway between the items */
  .card--know .centered-list p { margin-bottom: 1rem; }
  .card--know .centered-list p + p { padding-top: 1rem; border-top: 1px solid var(--c-sage-line); }

  /* Was ich tue / nicht tue: centred title and list box (the items stay left-aligned), text as in the
     Kennst du das cards, marks 20% bolder */
  .band-card h2 { font-size: 2.625rem; text-align: center; }
  .band-card ul { margin-inline: auto; }
  .band-box .ticks li, .band-box .crosses li { font-size: 1.125rem; font-weight: 400; letter-spacing: normal; margin-bottom: 1.43rem; }
  .band-box .ticks li::before { -webkit-text-stroke: .032em currentColor; }
  .band-box .crosses li::before { -webkit-text-stroke: .021em currentColor; }

  /* steps: no pink line; title and badges span the digits' height, the title ends in a pink full stop */
  .step-num { letter-spacing: -.045em; }
  .step-head > div { justify-content: space-between; }
  .step-head > div::after { content: none; }
  .step-title::after { content: "."; color: var(--c-pink); }
  .step-head h3 { margin-top: calc(-.13em + var(--fs-step-num) * .11); }  /* 15% of the digits' height lower, nearer the badges */
  .step-head { margin-bottom: 1.69rem; }

  /* DM Sans 600 for the Hauptangebot tab. Desktop loads no 600 face (that would turn every other
     600 into a real 600 too), so the variable font is set to 600 directly. */
  .badge { font-weight: 600; font-variation-settings: "wght" 600; }

  .card--mini h4 { text-align: center; padding-left: 0; text-indent: 0; margin-bottom: 1.65rem; }
  .card--mini h4::after { width: 98px; height: 3px; margin: .4em auto 0; border-radius: 2px; background: var(--c-olive); }  /* as under the stat labels */

  /* Hintergrund: column titles with the price info cards' rule, in pink */
  .bg-cols > div { text-align: center; }  /* title, rule and list centred in each column */
  .bg-cols h4 { width: fit-content; margin-inline: auto; font-family: var(--font-head); font-size: 1.125rem; font-weight: 700; font-style: italic; text-transform: none; letter-spacing: normal; color: var(--c-green); margin-bottom: 1.21rem; }
  .bg-cols h4::after { content: ""; display: block; width: 88px; height: 3px; margin: .72rem auto 0; border-radius: 2px; background: var(--c-rose); }  /* centred under the title */
  .bg-cols.reveal.reveal { margin-bottom: 1.25rem; }  /* 20% less space under the lists */
  .bg-cols .ul-dotted li { font-size: 1rem; font-weight: 400; }
  .bg-cols .ul-dotted { list-style: none; margin-left: 0; display: flex; flex-direction: column; }  /* no dots */
  .bg-cols > div:nth-child(3) li:nth-child(2) { order: -1; }  /* Therapeutische Körperarbeit: Shiatsu first */

  /* progress: pink rule, cards float in from their photo's side like the steps */
  .progress .rule { background: var(--c-pink); }
  .pcard.reveal { transform: translateX(-14rem); transition: opacity 1.6s ease, transform 1.6s cubic-bezier(.22, .61, .36, 1); }
  .pcard--rev.reveal { transform: translateX(14rem); }
  .pcard.reveal.is-visible { transform: none; }
  /* numbers 20% bigger; the titles on one line, their capitals starting level with the top of the
     digits (Lora's digits rise .716em, its capitals .7em); a gap of 10% of the number size between
     them, taken off the indent so the titles stay put */
  .pcard-text { --pcard-num-size: clamp(3.84rem, 6vw, 5.52rem); --pcard-indent: calc(clamp(0rem, 3.2vw, 3.2rem) - var(--pcard-num-size) * .1); }
  .pcard-num { margin-right: calc(var(--pcard-num-size) * .1); }
  .pcard-head h3 { max-width: none; font-size: clamp(1.5rem, 2.23vw, 2rem); }  /* 32px at 1440px */
  .pcard-head h3 br { display: none; }

  /* progress quote: as on mobile, 24px text with the single “ above it (see .q), 70% bigger here */
  .quote blockquote { font: italic 600 1.5rem/1.5 var(--font-head); max-width: 27.2rem; }
  .quote .q { font-size: 3.4em; margin-bottom: .1105em; }  /* the visible gap to the text 5% larger (17.2px → 18.1px) */
  .quote figcaption { margin-top: 4.9266rem; }  /* 15% closer to the quote than the old 5.796rem */

  /* testimonial: a pink rule under the heading, spaced like h2 + .rule elsewhere (drawn here so mobile stays as it is) */
  .closing h2 { margin-bottom: 2rem; }
  .closing h2::after { content: ""; display: block; width: 98px; height: 4px; border-radius: 3px; background: var(--c-pink); margin: 1.875rem auto 0; }
  .attrib { font: italic 700 1.125rem/1.6 var(--font-head); }

  .contact h2 .period { color: var(--c-pink); }
  .contact-p2-link { pointer-events: none; }  /* the link to the form is for phones only */
  .contact .contact-p1 { margin-bottom: 1.2em; }
  .contact h2 { margin-bottom: 1.9rem; }
  .contact-p2 { font: 400 1.125rem/1.6 var(--font-body); color: var(--c-green); }
  .who span { font-size: calc(1.1rem - 4px); }
  .form-status { text-align: center; }  /* under the centred button */
  .contact-p2 { max-width: 23rem; }  /* as wide as "Lass uns" */
  .form .btn { display: flex; margin-inline: auto; width: fit-content; }  /* centred under the fields */

  .footer-logo-img { display: block; width: auto; height: clamp(46px, 4.4vw, 64px); margin-bottom: 1rem; }
  .footer-logo { display: none; }
}
@media (min-width: 981px) and (prefers-reduced-motion: reduce) {
  .pcard.reveal { transform: none; transition: none; }
  .slide-seq > * { opacity: 1; transform: none; transition: none; }
}

/* German and English pages, desktop */
@media (min-width: 981px) {
  html[lang="de"] .hero-sub { min-width: 85%; }  /* 15% narrower than the H1 */
  html[lang="en"] #ablauf .lead-p { width: 27.1875rem; }  /* as wide as the H2 above it (435px) */
}
/* Hungarian page, desktop: its longer copy needs other measures */
@media (min-width: 981px) {
  /* the H1 wraps to three lines here (it needs 730px, the column has 690), so the subline gets the width of
     its widest line, "mindennapokig." (437px at 58px), instead of the H1's box */
  html[lang="hu"] .hero-sub { width: 23.2156rem; min-width: 0; }  /* 15% narrower than that line */
  html[lang="hu"] .intro-head .lead-paragraph:not(.intro-emph) { max-width: 24rem; }  /* 20% narrower */
  html[lang="hu"] .role-text h2 { width: 33.35rem; max-width: none; }  /* 15% wider than 29rem */
  html[lang="hu"] .price-lead { width: 31.62rem; }  /* 15% narrower than the 37.2rem before */
  html[lang="hu"] .meta li { white-space: nowrap; flex-shrink: 0; }  /* each badge's text on one line */
  html[lang="hu"] .price-note .accent, html[lang="hu"] .cta-note .accent { display: inline; }  /* "Csak hagyd meg…" on one line */
  html[lang="hu"] .bg-top .lead-p { width: 27.9rem; }  /* 10% narrower */
}
/* from 1280px the step titles and badges stay on one line (at most ~5px into the gap before the photo) */
@media (min-width: 1280px) {
  html[lang="hu"] .step-title { white-space: nowrap; }
  html[lang="hu"] .meta { flex-wrap: nowrap; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 1.1rem;
    background: var(--c-green); padding: 1.25rem var(--gutter) 1.75rem;
    display: none;
  }
  .site-nav.is-open { display: flex; }

  .hero { grid-template-columns: 1fr; }
  .hero-text { padding: 2.5rem var(--gutter); }
  .hero-media { aspect-ratio: 4 / 3; }

  .role { grid-template-columns: 1fr; grid-template-areas: "img" "text" "more"; }
  .step, .story-row, .contact-grid, .bg-top, .fit, .band-box, .pcard { grid-template-columns: 1fr; }
  .band-box { grid-template-columns: minmax(0, 1fr); }  /* let the card shrink below its 21rem list */
  .story-row--rev .ph, .pcard--rev .pcard-text, .step--rev .ph { order: 0; }
  .pcard--rev .ph { order: -1; }
  .pcard .ph, .pcard--rev .ph { border-radius: 30px 30px 0 0; }  /* stacked: text is below */
  .cards-3, .bg-cols, .pricing, .stats { grid-template-columns: 1fr; }
  .card--know { min-height: 0; }
  .pricing::before { left: 0; top: 40px; }
  .price--featured { margin-bottom: 1.5rem; }
  .price { display: block; grid-row: auto; }  /* stacked: no shared rows */
  .bg-top .ph--bg { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ---------- Mobile (≤980px) – sizes and spacing from the mobile design ----------
   Colours, cards, icons and text stay as on desktop; only layout and type change here. */
@media (max-width: 980px) {
  :root {
    --gutter: 1.75rem;       /* 28px */
    --section-y: 4.5rem;
    --fs-h1: 2.375rem;       /* 38px */
    --fs-h2: 2rem;           /* 32px */
    --fs-h3: 1.75rem;        /* 28px */
    --fs-card: 1.25rem;      /* 20px – card titles */
    --fs-card-text: 1.0625rem; /* 17px – card content */
    --fs-body: 1.0625rem;    /* 17px – body text that is 18px on desktop */
    --fs-lead: 1.25rem;      /* 20px */
    --fs-small: .875rem;     /* 14px */
    --fs-eyebrow: .8125rem;  /* 13px – meta: eyebrows, step badges, character counter, copyright bar */
    --lh-body: 1.6;
  }
  /* desktop line breaks in the copy – let the text wrap naturally on a phone */
  .hero h1 br, .intro-head h2 br, .intro-emph br, .know-item br, .step-text br, .green-title br, .pcard-head h3 br, .footer-grid > div:first-child br { display: none; }
  .reveal.reveal { line-height: var(--lh-body); }  /* the base rule squeezes everything inside to 1 */

  /* ----- base type ----- */
  h1, .hero h1, .legal-body h1 { font: 700 var(--fs-h1)/1.1 var(--font-head); }
  h2, h2.reveal.reveal, .role-text h2, .band-card h2, .section--cream h2, .green-title, .cta-band h2, .contact h2 {
    font: 600 var(--fs-h2)/1.2 var(--font-head);
  }
  .legal-body h2 { font-size: 1.35rem; line-height: 1.3; }   /* legal pages keep their small section headings */
  h2:has(+ .rule), h2.reveal.reveal:has(+ .rule) { margin-bottom: 1.25rem; }
  .rule { margin-bottom: 2rem; }
  h3 { font: 600 var(--fs-h3)/1.25 var(--font-head); }
  .eyebrow { font-size: var(--fs-eyebrow); font-weight: 500; letter-spacing: .08em; line-height: 1.5; margin-bottom: 1rem; }
  .lead-p, .small-lead, .lead-paragraph { font-size: var(--fs-body); font-weight: 400; line-height: 1.6; }
  .btn { font: 800 1.0625rem/1.15 var(--font-body); min-height: 3.5rem; padding: .6rem .75rem; gap: .5rem; letter-spacing: .01em; }  /* 20% narrower than the old 26/30px sides and 27px gap */
  .btn .chev { width: 16px; height: 16px; }

  /* .m-in: float in when scrolled into view (main.js adds .is-visible), phones only */
  .m-in { opacity: 0; transition: opacity 1.2s ease, transform 1.2s cubic-bezier(.22, .61, .36, 1); }
  .m-in--left  { transform: translateX(-6rem); }
  .m-in--right { transform: translateX(6rem); }
  .m-in--up    { transform: translateY(2.5rem); transition-delay: .35s; }
  .m-in--pop   { transform: scale(.6); transition: opacity .6s ease, transform .8s cubic-bezier(.34, 1.56, .64, 1); }
  .m-in--late  { transition-delay: .3s; }
  .m-in.is-visible { opacity: 1; transform: none; }

  /* keep the fixed desktop measures from running off a phone screen */
  .lead-p, .bg-top .lead-p, .quote figcaption, .step-text, .step-body, .story-text, .fit-box, .price-tag-p-box, .know-item, .know-title,
  .contact-lead, .contact-text, .closing-text, .price-lead { width: auto; max-width: 100%; }
  .role, .steps, .step, .step--rev, .story-row, .contact-grid, .bg-top, .fit, .band-box, .pcards, .pcard { grid-template-columns: minmax(0, 1fr); }

  /* ----- header: logo + menu button; the links, Kontakt and the language switch live in the menu ----- */
  .header-inner { width: calc(100% - 3rem); flex-wrap: wrap; min-height: 0; padding-block: .5rem; column-gap: .75rem; }
  /* logo takes the row's spare width, up to its full 58px height (204px wide), and scales down
     with its proportions intact on narrow phones instead of being squeezed */
  .logo { flex: 1 1 0; min-width: 0; max-width: 204px; margin-left: -.4rem; }
  .logo .logo-img { width: 100%; height: auto; }
  .nav-toggle { order: 2; margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 5.5px; padding: .75rem 0 .75rem .5rem; }
  .nav-toggle span { width: 36px; height: 2.5px; margin: 0; border-radius: 2px; }
  .site-nav, .site-nav.is-open { display: contents; }  /* its links and the language switch join the header row */
  .lang-switch { display: none; }
  .site-nav.is-open .lang-switch { display: flex; order: 3; flex: 0 0 100%; gap: 1.5rem; padding: .9rem 0 1.4rem; border-top: 1px solid color-mix(in srgb, var(--c-text-inv) 25%, transparent); }
  .lang { font-size: var(--fs-body); font-weight: 400; letter-spacing: .04em; line-height: var(--lh-body); opacity: 1; }
  .site-nav > a { display: none; }
  .site-nav.is-open > a { display: block; order: 3; flex: 0 0 100%; padding: .75rem 0; font-size: var(--fs-body); font-weight: 500; }
  .site-nav.is-open > a:first-child { margin-top: .6rem; }
  .site-nav.is-open > a:nth-last-child(2) { margin-bottom: .5rem; }  /* the last link, just above the language switch */
  /* the Kontakt item keeps its golden box, as on desktop */
  .site-nav.is-open > a.btn--small { display: inline-flex; flex: 0 0 auto; min-height: 0; padding: .8rem 1.1rem; gap: .7rem; border-radius: 14px;
    font: 800 .95rem/1 var(--font-body); letter-spacing: .01em; text-transform: uppercase; margin-block: .6rem 1.25rem; }
  .site-nav .btn--small .chev { width: 18px; height: 18px; }

  /* ----- hero ----- */
  .hero-text { padding: 3rem 2rem 3rem; align-items: center; text-align: center; }
  .hero .eyebrow { margin-bottom: 1.4rem; letter-spacing: .075em; }
  .hero h1 { margin-bottom: 1.85rem; font-weight: 600; }  /* Lora 600, as on desktop */
  .hero .rule { width: 100px; margin-bottom: 1.9rem; background: var(--c-mustard); }
  .hero-sub { width: var(--match-w, 95%); max-width: 100%; font-size: var(--fs-lead); line-height: 1.6; letter-spacing: .005em; margin-bottom: 4rem; }
  /* hero button: text and chevron on one line; the padding puts the capitals' centre (.009em above the
     line box's centre in DM Sans) on the button's centre, and the chevron's ink (.25 of its 16 units below
     its box's centre) is lifted onto the same line */
  .hero .btn { width: auto; padding: calc(.6rem + .009em) 1.2rem calc(.6rem - .009em); font-size: 1rem; white-space: nowrap; }
  .hero .btn .chev { translate: 0 -.025em; }
  .hero-note .accent, .price-note .accent, .cta-note .accent { display: block; }  /* a line break after the comma */
  .hero-note { line-height: 1.5; margin-top: 1.1rem; }
  .hero-media { aspect-ratio: 800 / 938; }

  /* ----- stats ----- */
  .intro { padding-top: 2.6rem; }
  .stats { gap: 1.5rem; padding-inline: .15rem; }
  .stat { padding: .7rem 1.25rem .55rem; }
  .stat strong { font-size: 2.0625rem; line-height: 1.2; margin-bottom: 1.15rem; }
  .stat em { font-size: var(--fs-card); line-height: 1.3; }
  .stat em::after { width: 100px; margin: .85rem auto .8rem; }
  .stat span { font-size: var(--fs-card-text); line-height: 1.5; }

  /* ----- intro text ----- */
  .intro-head h2 { margin-bottom: 2.6rem; }
  .intro-head .eyebrow { margin-bottom: 2.4rem; font-weight: 600; }
  .intro-head .lead-paragraph br { display: block; content: ""; margin-bottom: .5rem; }
  .lead-paragraph { font-size: var(--fs-lead); line-height: 1.6; }
  .intro-emph { font: italic 600 1.875rem/1.3 var(--font-head); max-width: 100%; margin-top: 3.5rem; }

  /* ----- role ----- */
  .role { row-gap: 3rem; }
  .role-more { margin-top: -3rem; }  /* stacked under the text, so only a paragraph gap between the two parts */
  .role-text h2 { line-height: 1.2; margin-bottom: 1.5rem; }
  .role-text .rule { margin-bottom: 3.2rem; }
  .role-text .eyebrow { font-weight: 700; }  /* same weight as on desktop */
  /* 1.8rem between all the paragraphs (20% more than the old 1.5rem) */
  .role-lead { font: 600 1.125rem/1.5 var(--font-body); margin-bottom: 1.8rem; }
  .role-text .lead-p, .role-more .lead-p { font-size: var(--fs-body); line-height: 1.6; margin-bottom: 1.8rem; }
  .role-big { font: 700 1.125rem/1.5 var(--font-body); margin: 0 0 2.376rem; }  /* 38px before the quote */
  .quote-line { font: italic 400 1.375rem/1.3 var(--font-head); padding-left: 1.1rem; }

  /* ----- Kennst du das ----- */
  .cards-3--tight { gap: 1.5rem; margin-top: 1rem; }
  /* 20% shorter than the 501px card it was: tighter padding and gaps; the icon's empty top (29px above
     the dot) is pulled up so the space above the dot matches the 36px under the last item */
  .card--know { padding: 1.25rem 1.75rem 2.25rem; }
  /* the icon's ink ends 32px above the title's text, as on desktop (the 90px icon has 19.8px of empty
     space under the arcs, the title 3px of half-leading) */
  .card--know .icon { width: 90px; height: 90px; margin: -.8rem auto .59rem; }
  .card--know picture { display: block; }  /* inline, it left an empty line above the icon */
  .card--know h3 { width: 90%; margin-inline: auto; font: 700 var(--fs-card)/1.3 var(--font-head); margin-bottom: 1.8975rem; }
  .know-title { width: auto; }
  /* a thin line halfway between the items, as on desktop */
  .card--know .centered-list p { line-height: 1.5; margin: 0 0 1rem; }
  .card--know .centered-list p + p { padding-top: 1rem; border-top: 1px solid var(--c-sage-line); }
  .card--know .centered-list p:last-child { margin-bottom: 0; }
  .card--know .centered-list { width: 90%; margin-inline: auto; }
  /* the cards flip in */
  .card--know.reveal { transform: perspective(900px) rotateY(-75deg); transition: opacity .9s ease, transform 1.1s cubic-bezier(.22, .61, .36, 1); }
  .card--know.reveal.is-visible { transform: none; }

  /* ----- was ich tue / nicht tue ----- */
  .band-dark { padding-top: 5.5rem; }
  .band-dark .ph--full { aspect-ratio: 3 / 2; }
  .band-box-wrap { padding-block: 4.5rem 4rem; }
  .band-box { gap: 1.5rem; }  /* two separate cards, as on desktop */
  .band-box.reveal { opacity: 1; transform: none; }  /* the cards pop up one by one as they come into view (.m-in--pop) */
  .band-box .band-card { padding: 2.5rem 1.5rem 1.125rem; }  /* + the last item's 1.5rem margin = 2.625rem */
  .band-card h2 { font: 600 var(--fs-h2)/1.2 var(--font-head); margin-bottom: 0; text-align: center; }
  .band-card ul { width: auto; margin-top: 1.98rem; }
  .ticks li, .crosses li { font-size: var(--fs-body); line-height: 1.6; font-weight: 500; letter-spacing: .02em; margin-bottom: 1.5rem; }

  /* ----- steps ----- */
  .steps { gap: 4rem; }
  .step-head { flex-direction: column; align-items: flex-start; gap: .6rem; margin-bottom: 1.8975rem; }  /* more room under the badges */
  .step-head > div { padding: 0; min-width: 0; }
  .step-head > div::after { content: none; }  /* as on desktop: no pink line, the title ends in a pink full stop */
  .step-title::after { content: "."; color: var(--c-pink); }
  .step-num { font-size: 6.65rem; font-style: italic; font-weight: 600; line-height: .85; letter-spacing: -.045em; }
  /* the italic 1 comes 2.5px closer to the 0 than the 2 and the 3 do, so "01" gets that back */
  .steps > .step:first-child .step-num { letter-spacing: -.021em; }
  .step-head .step-title { font: 500 1.8125rem/1.3 var(--font-head); margin: 0 0 .5rem; }
  /* the same 1.725rem between all the paragraphs (15% more than the old 1.5rem) */
  .step-text p { font-size: var(--fs-body); line-height: 1.6; margin-bottom: 1.725rem; }
  .step-text .step-lead { font-size: var(--fs-body); font-weight: 600; line-height: 1.6; margin-bottom: 1.725rem; }
  /* each step pops up as a whole (number, title and text together) as it comes into view */
  .step.reveal { opacity: 0; transform: scale(.85); transition: opacity .6s ease, transform .8s cubic-bezier(.34, 1.56, .64, 1); }
  .step.reveal.is-visible { opacity: 1; transform: none; }
  .meta li { font-size: var(--fs-eyebrow); line-height: 1.5; padding-inline: .65rem; }  /* the three step 1 badges fit on one line */
  html[lang="hu"] .meta { flex-wrap: nowrap; gap: .35rem; }  /* the longer Hungarian badges too, down to 375px */
  html[lang="hu"] .meta li { padding-inline: .5rem; white-space: nowrap; }

  /* ----- prices ----- */
  .price-lead, .price-lead.reveal.reveal { font: 400 var(--fs-body)/1.6 var(--font-body); margin-block: 3rem 3.5rem; }  /* as on desktop */
  .mini-cards, .mini-cards.reveal.reveal { gap: 1.5rem; margin-bottom: 5.5rem; }
  .card--mini { padding: 1.6rem 1.75rem 1.75rem; }
  .card--mini h4 { font: 600 var(--fs-card)/1.3 var(--font-head); }
  .dots li, .card--mini .dots li { font-size: var(--fs-card-text); line-height: 1.75; font-weight: 400; margin-bottom: .1rem; }
  /* three separate cards: the main one keeps its mustard frame, the others get the thin olive line;
     they float in from alternating sides (.m-in) */
  .pricing::before { content: none; }
  .pricing { row-gap: 1.5rem; }
  .pricing.reveal { opacity: 1; transform: none; }
  .price { padding: 1.5rem 1.4rem 2rem; }
  .price--featured { margin-bottom: 0; }
  .price:not(.price--featured) { border: 2px solid var(--c-olive); border-radius: 28px; }
  .price h3, .price--featured h3 { font: 600 1.5rem/1.3 var(--font-head); }
  /* the arcs' left end (37.45 of the icon's 200 units) lines up with the text */
  .price .icon { width: 110px; height: 110px; margin: 0 0 1rem calc(110px * -37.45 / 200); }
  .price-tag { font-size: 1.375rem; line-height: 1.45; margin-bottom: 2.5rem; }
  .price p:not(.price-tag) { font-size: var(--fs-card-text); line-height: 1.6; }
  .price-note { line-height: 1.6; }
  .hero-note .accent, .price-note .accent, .cta-note .accent { color: inherit; }  /* one colour, no pink half */
  .price-cta .btn { font-size: 1rem; padding-inline: 1.2rem; }  /* as the hero button */
  .badge { font-size: var(--fs-small); font-weight: 600; line-height: 1.5; }

  /* ----- about ----- */
  .bg-top { gap: 2.5rem; }
  .bg-top .lead-p { font-size: var(--fs-body); line-height: 1.6; }
  .bg-top .ph--bg { max-width: 100%; justify-self: stretch; }
  .bg-cols { gap: 2.8875rem; margin-top: 3.5rem; }  /* 46px between the columns */
  .bg-cols > div:nth-child(3) .ul-dotted { display: flex; flex-direction: column; }
  .bg-cols > div:nth-child(3) li:nth-child(2) { order: -1; }  /* Shiatsu first */
  /* column titles as on desktop: dark green Lora italic with a pink rule centred under them */
  .bg-cols h4 { width: fit-content; margin-inline: auto; font: italic 600 1.25rem/1.3 var(--font-head); color: var(--c-green); text-transform: none; letter-spacing: normal; margin-bottom: 1.27rem; }
  .bg-cols h4::after { content: ""; display: block; width: 88px; height: 3px; margin: .72rem auto 0; border-radius: 2px; background: var(--c-rose); }
  .bg-cols .ul-dotted { list-style: none; margin-left: 0; text-align: center; }  /* centred lists without dots */
  .bg-cols li, .ul-dotted li { font-size: var(--fs-body); line-height: 1.6; letter-spacing: .02em; }

  /* ----- story ----- */
  .story .rule { margin-bottom: 3.5rem; }
  .story-row { gap: 2.5rem; margin-bottom: 4rem; }
  .story-row.reveal.reveal:not(:last-child) { margin-bottom: 3.2125rem; }  /* 68px -> 71.4px after the row's last line */
  .story-text h3 { font: 700 1rem/1.25 var(--font-body); text-transform: uppercase; margin-bottom: 1.2rem; }
  .story-text p.serif-b { font: italic 600 1.375rem/1.45 var(--font-head); margin-top: 1.4rem; }
  /* the photos are revealed left to right */
  /* the photos float in from alternating sides: left, right, left */
  .story-row.reveal .ph { opacity: 0; transform: translateX(-6rem); transition: opacity 1.2s ease, transform 1.2s cubic-bezier(.22, .61, .36, 1); }
  .story-row--rev.reveal .ph { transform: translateX(6rem); }
  .story-row.reveal.is-visible .ph { opacity: 1; transform: none; }
  .story-small { font: 400 1.0625rem/1.6 var(--font-body); }
  .story-text p.gap { margin-top: 1.5rem; }

  /* ----- CTA ----- */
  .cta-band h2 { margin-bottom: 3.5rem; }
  .cta-note { line-height: 1.6; margin-top: 2.85rem; }
  /* the button 5% wider than with 12px sides (224 / 217 / 211px) */
  .cta-band .btn { padding-inline: 1.1rem; }
  html[lang="en"] .cta-band .btn { padding-inline: 1.09rem; }
  html[lang="hu"] .cta-band .btn { padding-inline: 1.0795rem; }

  /* ----- progress ----- */
  .progress .lead-p { font-size: var(--fs-body); line-height: 1.6; }
  .pcards { gap: 2.5rem; margin-top: 3.5rem; }
  .pcard-text { grid-template-columns: auto minmax(0, 1fr); padding: 1.5rem 1.25rem 1.75rem; row-gap: .75rem; column-gap: .9rem; }
  /* number and title in their own row, the number on the baseline of the title's last line (flex-end
     where last baseline isn't supported: the two boxes' baselines are then within half a pixel) */
  .pcard-head { display: flex; align-items: flex-end; align-items: last baseline; gap: .9rem; grid-column: 1 / -1; }
  .pcard-num, .pcard-head h3 { align-self: auto; }
  .pcard-num { margin: 0; font-size: 3.15rem; }
  .pcard-head h3 { font: 600 1.375rem/1.3 var(--font-head); margin: 0; }
  .pcard-list { grid-column: 1 / -1; width: auto; }
  .pcard-list li { font-size: var(--fs-card-text); line-height: 1.6; }
  /* cards float in from alternating sides */
  .pcard.reveal { transform: translateX(-6rem); transition: opacity 1.2s ease, transform 1.2s cubic-bezier(.22, .61, .36, 1); }
  .pcard--rev.reveal { transform: translateX(6rem); }
  .pcard.reveal.is-visible { transform: none; }
  .quote { margin-top: 4.527rem; }  /* 115.3px from the last card to the “ */
  .quote blockquote { font: italic 600 1.5rem/1.5 var(--font-head); padding-inline: 2.25rem; margin-bottom: 3.75rem; }  /* 15% more room under it */
  .quote figcaption { font-size: var(--fs-body); line-height: 1.6; margin-top: 0; font-weight: 400; }

  /* ----- fit ----- */
  .fit { gap: 4rem; margin-top: 3.5rem; padding-inline: 0; }
  .fit h3 { font: 600 1.25rem/1.3 var(--font-body); margin-bottom: 2rem; }
  .ticks--lg li { font-size: var(--fs-body); margin-bottom: 1.4rem; }

  /* ----- testimonial ----- */
  .closing { padding-block: 5rem; }
  /* a pink rule under the heading, spaced as h2 + .rule elsewhere */
  .closing h2 { margin-bottom: 2rem; }
  .closing h2::after { content: ""; display: block; width: 98px; height: 4px; border-radius: 3px; background: var(--c-pink); margin: 1.25rem auto 0; }
  .closing-text { font: 400 var(--fs-body)/1.6 var(--font-body); margin-bottom: 2.5rem; }
  .attrib { font: italic 600 1rem/1.5 var(--font-head); }

  /* ----- contact ----- */
  /* heading and text centred; the paragraphs 90% wide; 15% more room under the heading and above p2 */
  .contact h2 { margin-bottom: 2.1735rem; text-align: center; }
  .contact-text { text-align: center; }
  .contact .contact-p1 { margin-bottom: 1.32825em; }
  /* the heading pops up first, then the text fades in */
  .contact-grid > .reveal:first-child { opacity: 1; transform: none; }
  .contact-grid > .reveal:first-child h2 { opacity: 0; scale: .6; transition: opacity .4s ease, scale .7s cubic-bezier(.34, 1.56, .64, 1); }
  .contact-grid > .reveal:first-child > :not(h2) { opacity: 0; transition: opacity 1s ease .6s; }
  .contact-grid > .reveal.is-visible:first-child h2, .contact-grid > .reveal.is-visible:first-child > :not(h2) { opacity: 1; scale: none; }
  .contact-intro, .contact .contact-p1 { font-size: var(--fs-body); line-height: 1.5; }
  .contact-text .lead-p:not(.contact-intro) { font-size: var(--fs-body); line-height: 1.6; }
  .contact .ph--avatar { margin: 4rem auto 1.25rem; width: 245px; }
  .who { margin: 0 auto; max-width: none; }
  .who strong { font: 600 2.4rem/1.2 var(--font-head); font-style: normal; }
  .who span { font-size: var(--fs-small); line-height: 1.5; font-weight: 400; margin-top: .5rem; }
  .contact-grid { gap: 2.82rem; }  /* 98px from the caption to the form's first label */
  .field { margin-bottom: 1.4rem; }
  .field label { font-size: var(--fs-body); font-weight: 400; margin-bottom: .6rem; }
  .field input[type="text"], .field input[type="tel"], .field input[type="email"] { font-size: var(--fs-body); padding-block: .95rem; }
  .field textarea { font-size: var(--fs-body); line-height: 1.6; min-height: 11.5rem; }
  .consent { font-size: var(--fs-small); line-height: 1.5; margin-block: 1rem 3rem; }
  .form .btn { display: flex; margin-inline: auto; width: fit-content; }
  .char-count { font-size: var(--fs-eyebrow); line-height: 1.5; }

  /* ----- footer ----- */
  .footer-grid { text-align: center; justify-items: center; gap: 1.6rem; padding-block: 2.5rem; }
  .footer-grid > div:nth-child(2), .footer-grid > div:nth-child(3) { padding-top: 0; }
  .footer-logo-img { display: block; width: auto; height: 58px; margin: 0 auto 1rem; }  /* width:auto overrides the header .logo-img width:100% */
  .footer-logo { display: none; }
  .footer-grid p { font-size: var(--fs-body); line-height: 1.6; }
  .footer-bar { font-size: var(--fs-eyebrow); line-height: 1.5; padding: 1rem 2.5rem; }

  /* the "Hinterlass einfach deine Nummer" notes under the buttons */
  .hero-note, .price-note, .cta-note { font-family: var(--font-body); font-size: 1.125rem; font-weight: 400; font-style: normal; letter-spacing: normal; }
  /* text that is 18px / 1.6 on desktop is 17px / 1.6 here */
  .lead-paragraph, .intro-head .lead-paragraph, .legal-back { font-size: var(--fs-body); line-height: 1.6; }
  /* legal pages: "Zur Startseite" 5% smaller and kept 2rem from the logo, which gives up the width */
  .legal-back { font-size: calc(var(--fs-body) * .95); white-space: nowrap; }
  .legal-page .header-inner { column-gap: 2rem; }
  /* the Hintergrund lists are 16px on desktop too */
  .bg-cols li, .ul-dotted li { font-size: 1rem; line-height: 1.6; }
  /* card content (stats, Kennst du das, Was ich tue, price info and price cards, progress cards) is 17px */
  .card--know .centered-list p, .band-box .ticks li, .band-box .crosses li { font-size: var(--fs-card-text); }
  /* text that is 22px on desktop is 20px / 1.5 here */
  .hero-sub, .intro-emph, .intro-head .intro-emph, .role-lead, .role-big, .step-text .step-lead, .story-text p.serif-b { font-size: 1.25rem; line-height: 1.5; }
  /* card titles Lora 600 20px, card text DM Sans 400 17px (the price cards' titles follow their price) */
  .band-box .ticks li, .band-box .crosses li { font-weight: 400; }
  /* the contact paragraphs: 10% narrower, centred (after the width: auto above) */
  .contact-text .lead-p { width: 90%; margin-inline: auto; }
  .contact-text .lead-p.contact-p2 { font: 400 1.125rem/1.6 var(--font-body); }  /* DM Sans 400 18px, as on desktop */
  .contact-p2-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }  /* it leads to the form */
  html:is([lang="en"], [lang="hu"]) .contact-p2 .accent { display: block; }  /* a line break after the comma */
  /* English: both paragraphs 16px, 10% more room between them */
  html[lang="en"] .contact-text .lead-p { font-size: 1rem; }
  html[lang="en"] .contact .contact-p1 { margin-bottom: 1.5525rem; }
  /* English and Hungarian: the intro and price lead paragraphs as wide as their heading's widest line */
  html:is([lang="en"], [lang="hu"]) .intro-head .lead-paragraph { width: var(--match-w, auto); max-width: 100%; margin-inline: auto; }
  html:is([lang="en"], [lang="hu"]) .price-lead { width: var(--match-w, auto); }
  /* German: the hero subline 10% narrower than the H1 */
  html[lang="de"] .hero-sub { width: calc(var(--match-w, 105.5%) * .9); }
}
@media (max-width: 980px) and (prefers-reduced-motion: reduce) {
  .m-in, .card--know.reveal, .pcard.reveal, .role .m-in { opacity: 1; transform: none; transition: none; }
  .step.reveal { opacity: 1; transform: none; transition: none; }
  .story-row.reveal .ph { opacity: 1; transform: none; transition: none; }
  .contact-grid > .reveal:first-child h2, .contact-grid > .reveal:first-child > :not(h2) { opacity: 1; scale: none; transition: none; }
}
