/* =========================================================
   Rheinthaler – Global Styles (HTML is Single Source of Truth)
   - Fonts: Fraunces (headings), Manrope (body)
   - Motion: IntersectionObserver toggles .is-revealed on .reveal
   - Nav: JS toggles body.nav-open + [data-nav].is-open
   - Header: JS toggles [data-header].is-scrolled
   ========================================================= */

:root{
  --bg-0: hsl(26 58% 93%);
  --bg-1: hsl(22 50% 89%);
  --ink:  hsl(220 22% 14%);
  --muted: hsl(220 10% 42%);
  --line: hsl(22 26% 78%);

  --card:  hsl(26 40% 98% / 0.78);
  --card-2:hsl(24 36% 97% / 0.66);

  --accent: hsl(164 55% 36%);
  --accent-2: hsl(192 55% 40%);

  --shadow-sm: 0 10px 30px hsl(220 25% 12% / .08);
  --shadow-md: 0 18px 60px hsl(220 25% 12% / .12);

  --r-sm: 14px;
  --r-md: 18px;
  --r-lg: 26px;

  --container: 1120px;
  --gutter: clamp(18px, 4vw, 30px);

  --space-1: clamp(10px, 1.4vw, 16px);
  --space-2: clamp(16px, 2.2vw, 24px);
  --space-3: clamp(24px, 3vw, 40px);
  --space-4: clamp(34px, 4.8vw, 72px);

  --h1: clamp(34px, 4.4vw, 56px);
  --h2: clamp(24px, 2.7vw, 34px);
  --h3: clamp(18px, 2.1vw, 22px);

  --ease-out: cubic-bezier(.16,1,.3,1);
}

*,
*::before,
*::after{ box-sizing: border-box; }

html{
  color-scheme: light;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}

body{
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1800px 1300px at 12% 6%, hsl(30 60% 88% / .25), transparent 60%),
    radial-gradient(1600px 1200px at 86% 18%, hsl(22 55% 86% / .22), transparent 55%),
	radial-gradient(1600px 1100px at 20% 95%, hsl(164 60% 78% / .14), transparent 70%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1));
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle “grain” (pure CSS) */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .11;
  mix-blend-mode: soft-light;
  background-image:
    radial-gradient(circle at 1px 1px, hsl(220 15% 10% / .18) 1px, transparent 0);
  background-size: 3px 3px;
}

img{
  max-width: 100%;
  height: auto;
  display: block;
}

/* Reset: Browser-Default (figure hat sonst oft margin: 1em 40px) */
figure{
  margin: 0;
}

a{
  color: inherit;
  text-decoration: none;
}

:focus-visible{
  outline: 3px solid hsl(164 55% 36% / .35);
  outline-offset: 3px;
  border-radius: 10px;
}

.container{
  width: min(var(--container), 100% - (var(--gutter) * 2));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.container--margin{
	 margin-top: 14px;
}

.main{
  position: relative;
  z-index: 1;
}

/* =========================================================
   Background Shapes (from existing .bg markup)
   JS may set: .bg { --mx, --my } for subtle parallax
   ========================================================= */
.bg{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  --mx: 0;
  --my: 0;
}
.bg__shape{
  position: absolute;
  border-radius: 999px;
  filter: blur(26px);
  opacity: .60;
  transform: translate3d(calc(var(--mx) * 18px), calc(var(--my) * 14px), 0);
  will-change: transform;
}
.bg__shape--a{
  width: min(560px, 60vw);
  height: min(560px, 60vw);
  left: -12vw;
  top: -18vh;
  background: radial-gradient(circle at 30% 30%, hsl(164 55% 78% / .75), transparent 60%),
              radial-gradient(circle at 70% 60%, hsl(192 55% 78% / .55), transparent 65%);
}
.bg__shape--b{
  width: min(520px, 58vw);
  height: min(520px, 58vw);
  right: -14vw;
  top: 8vh;
  background: radial-gradient(circle at 30% 30%, hsl(28 70% 84% / .70), transparent 62%),
              radial-gradient(circle at 70% 70%, hsl(164 55% 82% / .52), transparent 68%);
  opacity: .52;
}
.bg__shape--c{
  width: min(640px, 70vw);
  height: min(640px, 70vw);
  left: 18vw;
  bottom: -26vh;
  background: radial-gradient(circle at 25% 35%, hsl(192 55% 80% / .55), transparent 60%),
              radial-gradient(circle at 75% 60%, hsl(164 55% 78% / .48), transparent 66%);
  opacity: .44;
}

/* =========================================================
   Typography
   ========================================================= */
h1, h2, h3{
  font-family: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  letter-spacing: -0.02em;
  margin: 0;
}
h1{ font-size: var(--h1); line-height: 1.05; }
h2{ font-size: var(--h2); line-height: 1.15; }
h3{ font-size: var(--h3); line-height: 1.2; }

p{ margin: 0; line-height: 1.65; }
.muted{ color: var(--muted); }
.lead{
  font-size: clamp(16px, 1.45vw, 18px);
  color: hsl(220 14% 26%);
  line-height: 1.7;
}

.kicker{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: hsl(164 55% 24%);
}
.kicker::before{
  content:"";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, hsl(164 55% 36%), hsl(192 55% 42%));
  opacity: .75;
}

.link{
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
  font-weight: 700;
  color: hsl(164 55% 24%);
  position: relative;
}
.link::after{
  content:"";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, hsl(164 55% 38%), hsl(192 55% 44%));
  transform: scaleX(.15);
  transform-origin: left;
  transition: transform .45s var(--ease-out);
  opacity: .8;
}
.link:hover::after{ transform: scaleX(1); }

/* =========================================================
   Header / Navigation (existing markup)
   JS toggles:
   - [data-header].is-scrolled
   - body.nav-open + [data-nav].is-open
   ========================================================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, hsl(0 0% 100% / .68), hsl(0 0% 100% / .48));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid hsl(220 18% 88% / .70);
}
.site-header.is-scrolled{
  box-shadow: 0 10px 32px hsl(220 25% 12% / .10);
  border-bottom-color: hsl(220 18% 84% / .85);
}
.header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 14px;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}
.brand__mark{
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(180deg, hsl(0 0% 100% / .85), hsl(0 0% 100% / .55));
  border: 1px solid hsl(220 18% 86% / .85);
  box-shadow: var(--shadow-sm);
  color: hsl(164 55% 28%);
}
.brand__mark svg{ width: 28px; height: 28px; }
.brand__text{ display: grid; line-height: 1.1; }
.brand__name{ font-weight: 800; font-size: 14px; letter-spacing: .01em; }
.brand__tagline{ font-size: 12px; color: var(--muted); margin-top: 4px; }

.nav-toggle{
  display: none;
  appearance: none;
  border: 1px solid hsl(220 18% 86% / .9);
  background: hsl(0 0% 100% / .72);
  border-radius: 14px;
  width: 46px;
  height: 46px;
  padding: 0;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  position: relative;
}
.nav-toggle__lines,
.nav-toggle__lines::before,
.nav-toggle__lines::after{
  content:"";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2px;
  background: hsl(220 18% 18% / .85);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .45s var(--ease-out), opacity .35s var(--ease-out);
}
.nav-toggle__lines::before{ transform: translate(-50%, calc(-50% - 7px)); }
.nav-toggle__lines::after{ transform: translate(-50%, calc(-50% + 7px)); }

.site-nav{
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav__list{
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav__link{
  display: inline-flex;
  white-space: nowrap;  /*Added for single line buttons*/
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  color: hsl(220 18% 20% / .88);
  transition: background .35s var(--ease-out), transform .35s var(--ease-out), color .35s var(--ease-out);
}
.nav__link:hover{
  background: hsl(0 0% 100% / .65);
  transform: translateY(-1px);
}
.nav__link.is-active,
.nav__link[aria-current="page"]{
  background: linear-gradient(180deg, hsl(0 0% 100% / .78), hsl(0 0% 100% / .55));
  border: 1px solid hsl(220 18% 86% / .85);
  box-shadow: 0 10px 26px hsl(220 25% 12% / .08);
  color: hsl(164 55% 22%);
}

.nav__actions{
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;  /*Added for single line buttons*/
}

.lang-switch{
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border-radius: 999px;
  border: 1px solid hsl(220 18% 86% / .85);
  background: hsl(0 0% 100% / .55);
}
.lang-btn{
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .06em;
  color: hsl(220 12% 32%);
  background: transparent;
  transition: background .35s var(--ease-out), transform .35s var(--ease-out), color .35s var(--ease-out);
}
.lang-btn:hover{ transform: translateY(-1px); }
.lang-btn[aria-pressed="true"]{
  color: hsl(164 55% 22%);
  background: linear-gradient(180deg, hsl(0 0% 100% / .85), hsl(0 0% 100% / .55));
  box-shadow: 0 10px 24px hsl(220 25% 12% / .08);
}

/* Mobile Nav */
@media (max-width: 1140px){
  .nav-toggle{ display: inline-grid; place-items: center; }
  .site-header{ z-index: 80; }
  .site-nav{
    position: fixed;
    left: var(--gutter);
    right: var(--gutter);
    top: 74px;
    z-index: 85; /*war 60*/
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: var(--r-lg);
    border: 1px solid hsl(220 18% 84% / .85);
    background: linear-gradient(180deg,  hsl(32 40% 98% / .92), hsl(32 35% 96% / .88));
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-md);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s var(--ease-out), transform .45s var(--ease-out);
  }
  .site-nav.is-open{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav__list{
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
	display: grid;
  }
  .nav__link{
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 14px;
    background: hsl(0 0% 100% / .40);
    border: 1px solid hsl(220 18% 88% / .60);
  }
  .nav__actions{
    justify-content: space-between;
    padding-top: 6px;
    border-top: 1px solid hsl(220 18% 86% / .75);
  }

  body.nav-open .nav-toggle__lines{ opacity: 0; }
  body.nav-open .nav-toggle__lines::before{
    transform: translate(-50%, -50%) rotate(45deg);
  }
  body.nav-open .nav-toggle__lines::after{
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  /* Light page dim (no new HTML; uses body::after) */
  body.nav-open::after{
    content:"";
    position: fixed;
    inset: 0;
    background: hsl(220 25% 10% / .16);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 55;
  }
  
  
}

/* =========================================================
   Buttons (existing .btn + modifiers)
   ========================================================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid hsl(220 18% 84% / .75);
  background: linear-gradient(180deg, hsl(0 0% 100% / .84), hsl(0 0% 100% / .62));
  box-shadow: 0 12px 26px hsl(220 25% 12% / .08);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s var(--ease-out), background .35s var(--ease-out);
  user-select: none;
}
.btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 44px hsl(220 25% 12% / .12);
  border-color: hsl(220 18% 78% / .9);
}
.btn:active{ transform: translateY(0); }

.btn--primary{
  border-color: hsl(164 55% 34% / .50);
  background: linear-gradient(180deg, hsl(164 55% 44% / .20), hsl(0 0% 100% / .72));
  color: hsl(164 55% 18%);
}
.btn--ghost{
  background: hsl(0 0% 100% / .46);
  border-color: hsl(220 18% 84% / .60);
  color: hsl(220 18% 18% / .85);
}
.btn--sm{ padding: 10px 14px; font-size: 12px; }
.btn--lg{ padding: 14px 18px; font-size: 14px; }

/* =========================================================
   Layout Sections
   ========================================================= */
.section{
  padding-block: var(--space-4);
}
.section--soft{
  background: linear-gradient(180deg, hsl(0 0% 100% / .38), hsl(0 0% 100% / .18));
  border-top: 1px solid hsl(220 18% 88% / .70);
  border-bottom: 1px solid hsl(220 18% 88% / .70);
}
.section__head{
  display: grid;
  gap: 12px;
  margin-bottom: var(--space-2);
}
.section__head h2{
  max-width: 30ch;
}

/* =========================================================
   Hero (index)
   ========================================================= */
.hero{
  padding-top: clamp(18px, 2.5vw, 26px);
  padding-bottom: var(--space-4);
}
.hero__grid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: var(--space-3);
  align-items: start;
}
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
}
.hero__content{
  display: grid;
  gap: 16px;
}
.hero__title{
  margin-top: 2px;
}
.hero__subtitle{
  max-width: 62ch;
}
.hero__cta{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.hero__hint{
  font-size: 13px;
  color: var(--muted);
  padding-left: 14px;
  border-left: 2px solid hsl(164 55% 36% / .35);
  max-width: 60ch;
}

.badges{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
}
.badge{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid hsl(220 18% 86% / .75);
  background: hsl(0 0% 100% / .52);
  font-weight: 700;
  font-size: 12px;
  color: hsl(220 12% 26%);
}

.media-card{
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid hsl(220 18% 84% / .75);
  background: linear-gradient(180deg, hsl(0 0% 100% / .74), hsl(0 0% 100% / .52));
  box-shadow: var(--shadow-md);
}
.media-card img{
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.media-card__cap{
  padding: 14px 16px 16px;
  font-size: 13px;
  line-height: 1.55;
  color: hsl(220 12% 30%);
}

/* =========================================================
   Page Hero (inner pages)
   ========================================================= */
.page-hero{
  padding-block: clamp(26px, 4vw, 46px);
}
.page-hero__inner{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: var(--space-3);
  align-items: start;
}

@media (max-width: 980px){
  .page-hero__inner{ grid-template-columns: 1fr; }
}
.page-hero__copy{
  display: grid;
  gap: 12px;
  max-width: 56ch;
  min-width: 0;

}
.page-hero__media{
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid hsl(220 18% 84% / .75);
  box-shadow: var(--shadow-md);
  background: hsl(0 0% 100% / .45);
  min-width: 0;
}
.page-hero__media img{
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.page-hero--legal .page-hero__inner{
  grid-template-columns: 1fr;
}
.page-hero--legal .page-hero__media{ display: none; }

/* VERTICAL PHOTOS*/
.page-hero--vertical .page-hero__media{
  width: clamp(140px, 42vw, 500px); /* <- Regler: min / fluid / max */
  max-width: none;                 /* clamp regelt jetzt */
  justify-self: end;
  aspect-ratio: 4 / 5;
}

.page-hero--vertical .page-hero__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;        /* bei echtem 4:5 Bild: komplett sichtbar, kein Crop */
  object-position: center;
}

.page-hero--vertical .page-hero__copy{
  max-width: 56ch; /* Regler: 52–60ch (kleiner = mehr Zeilen) */
  padding-bottom: 0;
}

/* wenn du nur den Lead-Text stärker umbrechen willst: */
.page-hero--vertical .lead{
  max-width: 48ch; /* Regler: 44–52ch */
}

.page-hero--vertical .page-hero__inner{
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(14px, 3.2vw, var(--space-3));
  align-items: start;
}

/*HORIZONTAL PHOTOS*/
.page-hero--horizontal .page-hero__media{
  height: clamp(140px, 42vw, 500px); /* <- Regler: min / fluid / max */
  max-height: none;                 /* clamp regelt jetzt */
  justify-self: end;
  aspect-ratio: 5 / 4;
}

.page-hero--horizontal .page-hero__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;        /* bei echtem 4:5 Bild: komplett sichtbar, kein Crop */
  object-position: center;
}

.page-hero--horizontal .page-hero__copy{
  max-width: 50ch; /* Regler: 52–60ch (kleiner = mehr Zeilen) */
  padding-bottom: 0;
}

/* wenn du nur den Lead-Text stärker umbrechen willst: */
.page-hero--horizontal .lead{
  max-width: 40ch; /* Regler: 44–52ch */
}

.page-hero--horizontal .page-hero__inner{
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(14px, 3.2vw, var(--space-3));
  align-items: start;
}


/*16:9 PRACTICE BACKGROUND PICTURE*/

/* =========================================================
   Praxis Hero: Full-bleed Bild hinter Text
   ========================================================= */
.page-hero--bg{
  position: relative;
  overflow: clip;
  padding-block: 0; /* überschreibt .page-hero padding */
  isolation: isolate; /* sauberes Layering */
}

/* Höhe des Heroes (16:9 Look ohne riesig zu werden) */
.page-hero--bg .page-hero__inner{
  grid-template-columns: 1fr; /* kein Bild-Grid mehr */
  min-height: clamp(320px, 42vw, 675px);
  padding-block: clamp(26px, 4vw, 46px);
  align-content: start;
}

/* Background-Foto: volle Breite/Höhe */
.page-hero--bg .page-hero__bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero--bg .page-hero__bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom 10%;
}

/* Lesbarkeit: weicher Overlay-Verlauf */
.page-hero--bg::before{
  content:"";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      hsl(26 40% 98% / .92) 0%,
      hsl(26 40% 98% / .70) 46%,
      hsl(26 40% 98% / .10) 78%,
      hsl(26 40% 98% / 0) 100%);
}

/* Text über dem Overlay */
.page-hero--bg .container{
  position: relative;
  z-index: 2;
}

/* Mobil: Verlauf eher von oben nach unten */
@media (max-width: 720px){
  .page-hero--bg::before{
    background:
      linear-gradient(180deg,
        hsl(26 40% 98% / .92) 0%,
        hsl(26 40% 98% / .68) 60%,
        hsl(26 40% 98% / .12) 100%);
  }
}



/* =========================================================
   Cards / Panels / Grids (reused)
   ========================================================= */
.cards{
  display: grid;
  gap: 14px;
  margin-top: var(--space-2);
}
.cards--3{
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 980px){
  .cards--3{ grid-template-columns: 1fr; }
}
.card{
  border-radius: var(--r-lg);
  padding: 18px;
  border: 1px solid hsl(220 18% 84% / .70);
  background: linear-gradient(180deg, var(--card), var(--card-2));
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .45s var(--ease-out);
}
.card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: hsl(220 18% 78% / .9);
}
.card__title{
  margin: 0 0 8px;
}
.card__text{
  color: hsl(220 12% 28%);
}

.panel{
  border-radius: var(--r-lg);
  padding: clamp(16px, 2.2vw, 22px);
  border: 1px solid hsl(220 18% 84% / .70);
  background: linear-gradient(180deg, var(--card), var(--card-2));
  box-shadow: var(--shadow-sm);
}
.panel__title{
  font-size: clamp(18px, 2.2vw, 22px);
  margin-bottom: 10px;
}
.panel__subtitle{
  margin: 0 0 10px;
  color: hsl(220 12% 26%);
  font-weight: 800;
}
.panel__text{ color: hsl(220 12% 28%); }

.grid-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 980px){
  .grid-2{ grid-template-columns: 1fr; }
}

.mini-link{
  margin-top: 16px;
}

/* Lists */
.scan-list{
  list-style: none;
  padding: 0;
  margin: var(--space-2) 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px 14px;
}
@media (max-width: 720px){
  .scan-list{ grid-template-columns: 1fr; }
}
.scan-list li{
  position: relative;
  padding-left: 28px;
  color: hsl(220 12% 28%);
  line-height: 1.55;
}
.scan-list li::before{
  content:"";
  position: absolute;
  left: 0;
  top: .45em;
  width: 16px;
  height: 16px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 30% 30%, hsl(164 55% 48% / .40), transparent 60%),
    linear-gradient(180deg, hsl(0 0% 100% / .85), hsl(0 0% 100% / .55));
  border: 1px solid hsl(164 55% 34% / .35);
  box-shadow: 0 10px 20px hsl(220 25% 12% / .06);
}

/* Scan-List Optik, aber immer untereinander (1 Spalte) */
.scan-list--stack{
  grid-template-columns: 1fr;
  gap: 10px; /* optional: entspricht dem Look der scan-list */
}

.check{
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
}
.check li{
  position: relative;
  padding-left: 30px;
  color: hsl(220 12% 28%);
  line-height: 1.6;
}
.check li::before{
  content:"✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: hsl(164 55% 18%);
  background: hsl(164 55% 60% / .14);
  border: 1px solid hsl(164 55% 34% / .28);
}

/* Note blocks */
.note{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: hsl(0 0% 100% / .45);
  border: 1px solid hsl(220 18% 86% / .70);
  color: hsl(220 12% 26%);
}
.note--soft{
  background: hsl(164 55% 52% / .10);
  border-color: hsl(164 55% 34% / .22);
}

/* =========================================================
   Steps (index / others)
   ========================================================= */
.steps{
  display: grid;
  gap: 12px;
  margin-top: var(--space-2);
}
.step{
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  padding: 16px 16px;
  border-radius: var(--r-lg);
  border: 1px solid hsl(220 18% 84% / .70);
  background: linear-gradient(180deg, var(--card), var(--card-2));
  box-shadow: var(--shadow-sm);
}
.step__num{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: hsl(164 55% 18%);
  background: linear-gradient(180deg, hsl(164 55% 58% / .18), hsl(0 0% 100% / .55));
  border: 1px solid hsl(164 55% 34% / .28);
}
.step__body{ display: grid; gap: 6px; }
.step__title{
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .01em;
}
.step__text{ color: hsl(220 12% 28%); }

/* =========================================================
   Timeline (ablauf)
   ========================================================= */
.timeline{
  display: grid;
  gap: 12px;
  position: relative;
  margin-top: var(--space-2);
  padding-left: 12px;
}
.timeline::before{
  content:"";
  position: absolute;
  left: 21px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, hsl(164 55% 34% / .40), hsl(192 55% 42% / .20));
}
.tl-item{
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 16px 16px;
  border-radius: var(--r-lg);
  border: 1px solid hsl(220 18% 84% / .70);
  background: linear-gradient(180deg, var(--card), var(--card-2));
  box-shadow: var(--shadow-sm);
}
.tl-item__dot{
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, hsl(164 55% 48% / .55), hsl(164 55% 34% / .18));
  border: 1px solid hsl(164 55% 34% / .35);
  box-shadow: 0 14px 26px hsl(220 25% 12% / .08);
  place-self: start center;
}
.tl-item__title{
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 900;
  font-size: 14px;
  margin: 0 0 6px;
}
.tl-item__text{ color: hsl(220 12% 28%); }

/* =========================================================
   FAQ (details/summary)
   ========================================================= */
.faq{
  display: grid;
  gap: 10px;
  margin-top: var(--space-2);
}
.faq__item{
  border-radius: var(--r-lg);
  border: 1px solid hsl(220 18% 84% / .70);
  background: linear-gradient(180deg, var(--card), var(--card-2));
  box-shadow: var(--shadow-sm);
  overflow: clip;
}
.faq__q{
  list-style: none;
  cursor: pointer;
  padding: 16px 16px;
  font-weight: 900;
  color: hsl(220 14% 18% / .92);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq__q::-webkit-details-marker{ display:none; }
.faq__q::after{
  content:"";
  width: 12px;
  height: 12px;
  border-right: 2px solid hsl(220 14% 26% / .70);
  border-bottom: 2px solid hsl(220 14% 26% / .70);
  transform: rotate(45deg);
  border-radius: 2px;
  transition: transform .35s var(--ease-out);
  flex: 0 0 auto;
  opacity: .9;
}
.faq__item[open] .faq__q::after{ transform: rotate(-135deg); }

.faq__a{
  padding: 0 16px 16px;
  color: hsl(220 12% 28%);
  line-height: 1.65;
}

/* =========================================================
   Practice (gallery + map-card)
   ========================================================= */
.gallery{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: var(--space-2);
}
@media (max-width: 980px){
  .gallery{ grid-template-columns: 1fr; }
}
.gallery__item{
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid hsl(220 18% 84% / .70);
  box-shadow: var(--shadow-sm);
  background: hsl(0 0% 100% / .42);
}
.gallery__item img{
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: left;
  width: 100%;
  height: 100%;
}

.map-card__head{
  display: grid;
  gap: 8px;
}
.map-card__actions{
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================================
   Contact (contact list + form)
   ========================================================= */
.contact-list{
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
}
.contact-list__label{
  font-weight: 900;
  color: hsl(220 14% 22%);
  margin-right: 8px;
}

.form{
  margin-top: 12px;
}
.form__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 720px){
  .form__grid{ grid-template-columns: 1fr; }
}
.field{ display: grid; gap: 6px; }
.field--full{ grid-column: 1 / -1; }

.label{
  font-weight: 900;
  font-size: 12px;
  color: hsl(220 14% 20% / .90);
  letter-spacing: .02em;
}

.input,
.textarea{
  width: 100%;
  border-radius: 16px;
  border: 1px solid hsl(220 18% 84% / .70);
  background: hsl(0 0% 100% / .62);
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / .55);
  transition: border-color .35s var(--ease-out), box-shadow .35s var(--ease-out), transform .35s var(--ease-out);
}
.textarea{ resize: vertical; min-height: 140px; }

.input:focus,
.textarea:focus{
  outline: none;
  border-color: hsl(164 55% 36% / .55);
  box-shadow: 0 0 0 5px hsl(164 55% 36% / .12);
}

.form__privacy{
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.6;
}
.form__actions{
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================================
   Legal pages
   ========================================================= */
.legal-list{
  margin: 12px 0 0;
  padding-left: 18px;
  color: hsl(220 12% 28%);
}
.legal-list li{ margin: 8px 0; }

/* =========================================================
   CTA (end of each page)
   ========================================================= */
.cta{
  padding-block: var(--space-4);
}
.cta__inner{
  border-radius: calc(var(--r-lg) + 6px);
  border: 1px solid hsl(220 18% 84% / .75);
  background:
    radial-gradient(900px 420px at 10% 10%, hsl(164 55% 70% / .18), transparent 60%),
    radial-gradient(800px 420px at 90% 0%, hsl(192 55% 70% / .14), transparent 62%),
    linear-gradient(180deg, hsl(0 0% 100% / .74), hsl(0 0% 100% / .54));
  box-shadow: var(--shadow-md);
  padding: clamp(18px, 2.5vw, 26px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: center;
}
@media (max-width: 980px){
  .cta__inner{ grid-template-columns: 1fr; }
}
.cta__copy{ display: grid; gap: 10px; }
.cta__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
@media (max-width: 980px){
  .cta__actions{ justify-content: flex-start; }
}

/* =========================================================
   Footer (existing markup)
   ========================================================= */
.site-footer{
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid hsl(220 18% 86% / .70);
  background: linear-gradient(180deg, hsl(0 0% 100% / .26), transparent 60%);
}
.footer__grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 18px;
  padding-bottom: 18px;
}
@media (max-width: 980px){
  .footer__grid{ grid-template-columns: 1fr; }
}
.footer__name{
  font-weight: 900;
  letter-spacing: .01em;
  margin-bottom: 8px;
}
.footer__meta{
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.footer__label{
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: hsl(220 12% 30%);
  margin-bottom: 10px;
}
.footer__list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: hsl(220 12% 28%);
}
.footer__list a{
  font-weight: 800;
  color: hsl(164 55% 22%);
}
.footer__list a:hover{ text-decoration: underline; }

.footer__bar{
  border-top: 1px solid hsl(220 18% 86% / .70);
  padding-block: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer__copy{
  color: var(--muted);
  font-size: 12px;
}
.footer__legal{
  display: inline-flex;
  gap: 14px;
}
.footer__legal a{
  font-weight: 900;
  font-size: 12px;
  color: hsl(220 12% 30%);
}
.footer__legal a:hover{ text-decoration: underline; }

/* =========================================================
   Scroll-to-top (existing .to-top)
   JS toggles .is-visible
   ========================================================= */
.to-top{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid hsl(220 18% 82% / .80);
  background: linear-gradient(180deg, hsl(0 0% 100% / .82), hsl(0 0% 100% / .60));
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  color: hsl(164 55% 18%);
  font-weight: 900;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .35s var(--ease-out), transform .45s var(--ease-out);
}
.to-top.is-visible{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.to-top:hover{ transform: translateY(-2px); }

/* =========================================================
   Scroll Reveal (existing .reveal + JS adds .is-revealed)
   ========================================================= */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  filter: blur(8px);
  transition:
    opacity .70s var(--ease-out),
    transform .90s var(--ease-out),
    filter .90s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}
.reveal.is-revealed{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce){
  .reveal{
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* =========================================================
   Small utility: hide (JS may add inline style or class)
   ========================================================= */
.is-hidden{ display: none !important; }
