/* =============================================================
   KÖRPERWERK · Clean Brand
   Mobile-first · BEM · DSGVO-self-hosted fonts
   ============================================================= */

/* ---- Fonts ---- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("assets/fonts/fraunces.woff2") format("woff2-variations"),
       url("assets/fonts/fraunces.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/manrope.woff2") format("woff2-variations"),
       url("assets/fonts/manrope.woff2") format("woff2");
}

/* ---- Design Tokens ---- */
:root {
  /* clean brand palette (from original koerperwerk) */
  --paper:       #FFFFFF;
  --paper-soft:  #F1F6F9;
  --paper-card:  #F8FBFD;
  --ink:         #142B36;
  --ink-soft:    #4E6573;
  --rule:        #D9E4EB;
  --brand:       #2F8BAA;   /* primary brand blue */
  --brand-light: #5BB1CB;   /* accent / highlight */
  --brand-deep:  #143F52;   /* depth */
  --on-brand:    #FFFFFF;

  /* type */
  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-body:    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* spatial */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --max:    1280px;
  --radius: 14px;
  --radius-lg: 22px;

  /* cookie banner overrides */
  --cookie-bg: var(--ink);
  --cookie-border: rgba(255,255,255,0.10);
  --cookie-text: rgba(255,255,255,0.78);
  --cookie-accent: var(--brand-light);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--brand); color: var(--paper); }

.skip-link {
  position: absolute; top: -100px; left: 1rem;
  background: var(--ink); color: var(--paper);
  padding: 0.6rem 0.9rem; border-radius: 6px;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* subtle grain (very light, doesn't read on white as much, kept ultra-faint) */
.grain {
  pointer-events: none;
  position: fixed; inset: 0;
  z-index: 1;
  mix-blend-mode: multiply;
  opacity: 0.18;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.12 0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
}

/* ---- Typography (no italic in display) ---- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 60, "SOFT" 30;
}

.eyebrow {
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow__dot {
  width: 8px; height: 8px;
  background: var(--brand-light);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(91,177,203,0.22);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease, border-color .25s ease;
  white-space: nowrap;
  will-change: transform;
}
.btn--primary {
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 14px 30px -12px rgba(47,139,170,0.55);
}
.btn--primary:hover {
  background: var(--brand-deep);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -14px rgba(20,63,82,0.55);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn--on-dark {
  background: rgba(255,255,255,0.10);
  color: var(--paper);
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.btn--on-dark:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.btn--lg { padding: 1.15rem 1.8rem; font-size: 1rem; }
.btn--block { width: 100%; justify-content: center; }
.btn svg { transition: transform .25s ease; }
.btn:hover svg { transform: translateX(3px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.0);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, color .3s, backdrop-filter .3s;
}
.site-header.is-scrolled {
  border-color: var(--rule);
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}
/* header sits over hero — make text readable on dark hero */
.site-header:not(.is-scrolled) .brand__name-line1,
.site-header:not(.is-scrolled) .brand__name-line2,
.site-header:not(.is-scrolled) .nav__link {
  color: var(--paper);
}
.site-header:not(.is-scrolled) .nav__link--cta {
  background: var(--paper);
  color: var(--ink);
}
.site-header:not(.is-scrolled) .nav-toggle {
  border-color: rgba(255,255,255,0.4);
}
.site-header:not(.is-scrolled) .nav-toggle span {
  background: var(--paper);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.95rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.65rem;
}
.brand__mark { width: 38px; height: 38px; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15)); }
.brand__name {
  display: flex; flex-direction: column;
  line-height: 1;
}
.brand__name-line1 {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color .3s;
}
.brand__name-line2 {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 3px;
  transition: color .3s;
}
.nav { display: none; align-items: center; gap: 1.8rem; }
.nav__link {
  position: relative;
  font-size: 14px;
  color: var(--ink);
  padding: 0.4rem 0;
  transition: color .2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px; height: 1px;
  background: var(--brand);
  transition: right .35s ease;
}
.nav__link:hover::after { right: 0; }
.nav__link--cta {
  background: var(--brand);
  color: var(--on-brand);
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  transition: background .25s, color .25s;
}
.nav__link--cta:hover { background: var(--brand-deep); }
.nav__link--cta::after { display: none; }

/* Leistungen-Dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.nav__dropdown-toggle svg { transition: transform .25s; opacity: 0.8; }
.nav__dropdown.is-open .nav__dropdown-toggle svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 17rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: 0 24px 48px -24px rgba(20,63,82,0.45);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 110;
}
.nav__dropdown:hover .nav__menu,
.nav__dropdown.is-open .nav__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__menu-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 9px;
  transition: background .18s;
}
.nav__menu-item:hover,
.nav__menu-item:focus-visible { background: var(--paper-soft); }
.nav__menu-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.nav__menu-sub { font-size: 12px; color: var(--ink-soft); }
.nav__menu-item::after { display: none; }

/* ============================================================
   MOBILE BURGER + OFF-CANVAS MENÜ
   ============================================================ */
/* Burger: Basis versteckt, erst im Media-Query mobil sichtbar */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s, opacity .25s, background .25s;
}
/* Burger über dunklem Hero hell */
.site-header:not(.is-scrolled) .nav-toggle span { background: var(--paper); }
/* Burger -> X wenn offen */
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle.is-open span { background: var(--ink) !important; }

/* Off-Canvas-Menü */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: var(--paper);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6.5rem 1.5rem 2rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; }

/* inneres <nav> zurücksetzen, damit globale Regeln es nicht übermalen */
.mobile-nav__links {
  position: static;
  inset: auto;
  background: transparent;
  backdrop-filter: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  width: 100%;
  max-width: 26rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: var(--f-body);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0.7rem 0.2rem;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  text-align: left;
}
.mobile-nav__link::after { display: none; }

/* Leistungen: Accordion im Burger (robuste max-height-Technik, iOS-tauglich) */
.mobile-nav__group { border-bottom: 1px solid var(--rule); }
.mobile-nav__group .mobile-nav__acc { border-bottom: 0; }
.mobile-nav__acc svg { transition: transform .3s ease; opacity: 0.7; }
.mobile-nav__group.is-open .mobile-nav__acc svg { transform: rotate(180deg); }
.mobile-nav__sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.mobile-nav__group.is-open .mobile-nav__sub { max-height: 320px; }
.mobile-nav__sub-inner { padding-bottom: 0.4rem; }
.mobile-nav__sublink {
  display: flex;
  flex-direction: column;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0.55rem 0.2rem 0.55rem 1rem;
}
.mobile-nav__sublink span {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--ink-soft);
  margin-top: 0.1rem;
}
.mobile-nav__sublink::after { display: none; }
.mobile-nav__cta {
  justify-content: center;
  margin-top: 0.8rem;
  background: var(--brand);
  color: var(--on-brand);
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  font-size: 1.1rem;
}
.mobile-nav__cta:hover { background: var(--brand-deep); }

/* Scroll-Lock + Overlays ausblenden wenn Menü offen */
body.nav-locked { overflow: hidden; }
body.nav-locked .book-fab { display: none !important; }

/* Bei offenem Menü: Header (Logo + Schließen-X) bleibt sichtbar OBEN */
body.nav-locked .site-header {
  z-index: 107;
  background: var(--paper);
  border-color: var(--rule);
}
body.nav-locked .site-header .brand__name-line1,
body.nav-locked .site-header .brand__name-line2 { color: var(--ink); }
body.nav-locked .nav-toggle span { background: var(--ink) !important; }

@media (max-width: 767px) {
  /* Burger sichtbar (über Top-Layer), Desktop-Nav bleibt aus */
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 106;
  }
}

/* ============================================================
   HERO – Full-bleed media background, text overlay in front
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  color: var(--paper);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) brightness(0.92);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,43,54,0.65) 0%, rgba(20,43,54,0.45) 35%, rgba(20,43,54,0.78) 100%),
    linear-gradient(90deg, rgba(20,63,82,0.55) 0%, rgba(20,63,82,0.0) 60%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 9rem var(--gutter) 4rem;
  display: flex;
  align-items: flex-end;
  flex-grow: 1;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  max-width: 760px;
}
.hero__copy .eyebrow { color: var(--paper); }
.hero__copy .eyebrow__dot { background: var(--brand-light); box-shadow: 0 0 0 4px rgba(91,177,203,0.30); }
.hero__title {
  display: flex;
  flex-direction: column;
  line-height: 0.9;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin-top: 0.2rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.28);
  gap: 0.9rem;
}
.hero__title-brand {
  font-size: clamp(2.8rem, 10vw, 6.4rem);
  color: var(--brand-light);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 0.9;
  text-transform: uppercase;
}
.hero__title-line {
  font-size: clamp(1.5rem, 4.2vw, 2.4rem);
  color: var(--paper);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.hero__title-line:nth-of-type(2) {
  font-size: clamp(1rem, 2.6vw, 1.4rem);
  color: rgba(255,255,255,0.85);
  font-family: var(--f-body);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}
.hero__lede {
  max-width: 48ch;
  font-size: 1.08rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.6;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.4rem;
}
.hero__cta .btn--primary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 14px 36px -10px rgba(0,0,0,0.4);
}
.hero__cta .btn--primary:hover { background: var(--brand-light); color: var(--ink); }
.hero__cta .btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255,255,255,0.6);
}
.hero__cta .btn--ghost:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.hero__divider {
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.22);
  margin: 1.6rem 0 0;
  width: 100%;
  max-width: 360px;
}
.hero__info {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.4;
}
.hero__info li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.88);
}
.hero__info svg {
  flex-shrink: 0;
  color: var(--brand-light);
}
.hero__info a {
  color: inherit;
  border-bottom: 1px solid rgba(255,255,255,0.30);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
.hero__info a:hover {
  color: var(--paper);
  border-bottom-color: var(--brand-light);
}

/* Ticker */
.ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.18);
  background: rgba(20,43,54,0.40);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.9rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: flex;
  gap: 2.2rem;
  white-space: nowrap;
  font-family: var(--f-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--paper);
  animation: tickerMove 40s linear infinite;
  will-change: transform;
}
.ticker__track span:nth-child(even) {
  color: var(--brand-light);
  align-self: center;
}
@keyframes tickerMove {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-50%,0,0); }
}

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section {
  position: relative;
  padding: 5.5rem var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
/* subtle divider between consecutive sections */
.section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rule) 20%, var(--rule) 80%, transparent);
}
.section__header {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 3rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--rule);
}
.section__title {
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.section__sub {
  max-width: 56ch;
  margin-top: 0.4rem;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.about__portrait {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-soft);
  aspect-ratio: 4/5;
  max-width: 520px;
  align-self: start;
  box-shadow: 0 30px 60px -30px rgba(20,63,82,0.30);
}
.about__portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.95);
}
.about__portrait-tag {
  position: absolute;
  left: 1rem; bottom: 1rem;
  background: rgba(20,43,54,0.82);
  color: var(--paper);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  font-weight: 500;
  backdrop-filter: blur(6px);
}
.about__copy { display: flex; flex-direction: column; gap: 1.6rem; }
.about__lede {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink);
}
.dropcap {
  float: left;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 4rem;
  line-height: 0.85;
  padding: 0.45rem 0.7rem 0 0;
  color: var(--brand);
}
.about__quote {
  border-left: 2px solid var(--brand-light);
  padding: 0.4rem 0 0.4rem 1.4rem;
  margin: 0.6rem 0;
}
.about__quote p {
  font-family: var(--f-display);
  font-size: 1.4rem;
  line-height: 1.3;
  color: var(--brand-deep);
  font-weight: 500;
}
.about__quote cite {
  display: block;
  margin-top: 0.6rem;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}
.about__values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 0.5rem;
}
.about__value {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
}
.about__value dt {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--brand);
}
.about__value dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.service {
  position: relative;
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 2rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  overflow: hidden;
}
.service::before {
  content: "";
  position: absolute;
  inset: auto -40% -55% auto;
  width: 90%;
  aspect-ratio: 1/1;
  background: radial-gradient(circle, rgba(91,177,203,0.16), transparent 60%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(20,63,82,0.30);
  border-color: var(--brand-light);
}
.service:hover::before { opacity: 1; }
.service__title {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.service__text {
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.6;
}
.service__points {
  list-style: none;
  padding: 1rem 0 0;
  margin: auto 0 0;
  border-top: 1px dashed var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  font-size: 0.86rem;
  color: var(--ink);
}
.service__points li {
  position: relative;
  padding-left: 1rem;
}
.service__points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 50%;
}
.service--featured {
  background: var(--brand-deep);
  color: var(--paper);
  border-color: var(--brand-deep);
}
.service--featured .service__title { color: var(--paper); }
.service--featured .service__text { color: rgba(255,255,255,0.82); }
.service--featured .service__points {
  color: var(--paper);
  border-top-color: rgba(255,255,255,0.20);
}
.service--featured .service__points li::before { background: var(--brand-light); }
.service--featured:hover { border-color: var(--paper); }

/* ============================================================
   TEAM
   ============================================================ */
.team-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.team-card__photo {
  aspect-ratio: 4/5;
  background: var(--paper-soft);
  overflow: hidden;
}
.team-card__photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.95);
}
.team-card__body {
  padding: 2rem 1.7rem 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.team-card__role {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
}
.team-card__name {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  color: var(--ink);
}
.team-card__bio {
  color: var(--ink-soft);
  line-height: 1.65;
}
.team-card__creds {
  list-style: none;
  padding: 1.2rem 0 0;
  margin: 0.4rem 0 0;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.team-card__creds li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  font-size: 0.92rem;
  color: var(--ink);
}
.team-card__creds span {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

/* ============================================================
   PRAXIS
   ============================================================ */
.praxis__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.card {
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
}
.card__title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: var(--ink);
}
.hours { display: flex; flex-direction: column; }
.hours__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0;
  border-top: 1px solid var(--rule);
  font-size: 0.95rem;
}
.hours__row:first-child { border-top: none; }
.hours__row dt { font-weight: 600; color: var(--brand-deep); }
.hours__row dd { margin: 0; font-variant-numeric: tabular-nums; color: var(--ink); }
.hours__row--off dd { color: var(--ink-soft); }

.praxis__note {
  margin-top: 1.1rem;
  padding: 0.85rem 1rem;
  background: rgba(91,177,203,0.12);
  border-left: 2px solid var(--brand-light);
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.5;
  border-radius: 0 6px 6px 0;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  display: flex; flex-direction: column;
}
.contact-list li {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.contact-list li:first-child { border-top: none; }
.contact-list__label {
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}
.contact-list a {
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s;
}
.contact-list a:hover { border-color: var(--brand); color: var(--brand); }
.contact-list address { font-style: normal; line-height: 1.5; }

.card--map { padding: 0; overflow: hidden; min-height: 320px; position: relative; }
.card--map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; filter: saturate(0.7) contrast(1.02); display: block; }
/* Privé-Maps-Platzhalter füllt die Karten-Kachel */
.card--map > div[data-service] { width: 100%; height: 100%; min-height: 320px; }
.card--map > div[data-service] iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* Schlanker Buchungs-Banner (Sprung-CTA direkt nach Hero) */
.booking-banner {
  background: var(--brand);
  color: #fff;
}
.booking-banner__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.booking-banner__text {
  font-family: var(--f-body);
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0;
}
.booking-banner__btn {
  flex-shrink: 0;
  background: #fff;
  color: var(--brand-deep);
}
.booking-banner__btn:hover,
.booking-banner__btn:focus-visible {
  background: var(--paper-soft);
  color: var(--brand-deep);
}
@media (max-width: 600px) {
  .booking-banner__inner { flex-direction: column; align-items: flex-start; gap: 0.9rem; }
  .booking-banner__btn { width: 100%; justify-content: center; }
}

/* ============================================================
   KONTAKT
   ============================================================ */
.kontakt__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.form {
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form__field label {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
}
.form__field label span { color: var(--brand); }
.form__field input,
.form__field select,
.form__field textarea {
  font: inherit;
  font-size: 1rem;
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 0.85rem 1rem;
  border-radius: 10px;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
  font-family: var(--f-body);
}
.form__field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(47,139,170,0.18);
  outline: none;
}
.form__field--consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.7rem;
}
.form__field--consent input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
  accent-color: var(--brand);
}
.form__field--consent label {
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.5;
}
.form__field--consent a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

.form__helper {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.5;
  padding: 0.7rem 0.9rem;
  background: rgba(47,139,170,0.07);
  border-left: 2px solid var(--brand);
  border-radius: 0 6px 6px 0;
  margin-top: 0.2rem;
}
/* Honeypot-Feld: für Menschen unsichtbar, Bots füllen es aus */
.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__status {
  font-size: 0.9rem;
  color: var(--brand);
  font-weight: 500;
  min-height: 1.3em;
}
.form__status.is-error { color: #C24A3E; }

.kontakt__aside {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.kontakt__aside h3 {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--ink);
}
.kontakt__aside > p {
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}
.big-link {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
  transition: padding .25s ease;
}
.big-link:last-of-type { border-bottom: 1px solid var(--rule); }
.big-link__label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brand);
}
.big-link__value {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-align: right;
  color: var(--ink);
  transition: color .25s ease;
}
.big-link:hover .big-link__value { color: var(--brand); }
.big-link:hover { padding-left: 0.4rem; }
.kontakt__hint {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(47,139,170,0.10);
  border-left: 2px solid var(--brand);
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink);
  border-radius: 0 6px 6px 0;
}

/* ============================================================
   PROMO VIDEO SECTION
   ============================================================ */
.promo__player {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  box-shadow:
    0 1px 0 rgba(0,0,0,0.04),
    0 40px 80px -30px rgba(20,63,82,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.05);
  aspect-ratio: 16/9;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
.promo__player video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: var(--ink);
}
.promo__caption {
  position: absolute;
  bottom: 0.9rem;
  left: 1.1rem;
  background: rgba(20,43,54,0.78);
  color: var(--paper);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  font-weight: 500;
  backdrop-filter: blur(6px);
  pointer-events: none;
  opacity: 0.9;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: 880px;
}
.faq__item {
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.faq__item[open] {
  border-color: var(--brand-light);
  box-shadow: 0 20px 40px -25px rgba(20,63,82,0.30);
}
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.2rem 1.4rem;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  transition: color .2s;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::marker { content: ""; }
.faq__question:hover { color: var(--brand); }
.faq__icon {
  flex-shrink: 0;
  color: var(--brand);
  transition: transform .3s ease;
}
.faq__item[open] .faq__icon { transform: rotate(180deg); }
.faq__answer {
  padding: 0 1.4rem 1.4rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 1px solid var(--rule);
  padding-top: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.faq__placeholder {
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--brand);
  background: rgba(47,139,170,0.08);
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  align-self: flex-start;
  font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--brand-deep);
  color: var(--paper);
  padding: 4rem var(--gutter) 6rem;
  margin-top: 4rem;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute; top: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--paper);
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'><path d='M0,40 C320,0 720,60 1100,30 C1280,15 1380,30 1440,20 L1440,60 L0,60 Z'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'><path d='M0,40 C320,0 720,60 1100,30 C1280,15 1380,30 1440,20 L1440,60 L0,60 Z'/></svg>");
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  transform: scaleY(-1);
}
.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  position: relative;
}
.site-footer__brand {
  display: flex; gap: 0.9rem; align-items: center;
}
.site-footer__brand img { filter: brightness(1.05); }
.site-footer__name {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 500;
}
.site-footer__addr {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.15rem;
}
.site-footer__col-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.4rem;
}
.site-footer__nav,
.site-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.92rem;
}
.site-footer__nav a,
.site-footer__legal a {
  color: rgba(255,255,255,0.75);
  align-self: flex-start;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.site-footer__nav a:hover,
.site-footer__legal a:hover {
  color: var(--paper);
  border-bottom-color: var(--brand-light);
}
.site-footer__copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.4rem;
  margin-top: 1rem;
}

/* ============================================================
   BUCHUNGS-FAB (floating, an den Rand wegklickbar)
   ============================================================ */
/* FAB ist eine zusammenhängende Pille: Label-Link + abgesetzter Schließ-Greifer */
.book-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 96;
  display: flex;
  align-items: stretch;
  background: var(--brand);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(20,63,82,0.32);
  transition: transform .42s cubic-bezier(.2,.7,.2,1), background .2s, box-shadow .2s;
}
.book-fab:hover { box-shadow: 0 14px 34px rgba(20,63,82,0.4); }
.book-fab__main {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.2rem 0.95rem 1.4rem;
  color: #fff;
  font-family: var(--f-body);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 999px 0 0 999px;
  transition: background .2s;
}
.book-fab__main:hover,
.book-fab__main:focus-visible { background: rgba(255,255,255,0.1); }
.book-fab__icon { flex-shrink: 0; }
.book-fab__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 40px;
  padding: 0;
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 0;
  border-left: 1px solid rgba(255,255,255,0.28);
  border-radius: 0 999px 999px 0;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.book-fab__close:hover,
.book-fab__close:focus-visible { background: rgba(255,255,255,0.14); color: #fff; }

/* Eingeklappter Zustand: an den rechten Rand geschoben, nur Greifer sichtbar */
.book-fab.is-tucked {
  transform: translateX(calc(100% - 36px));
  background: transparent;
  box-shadow: none;
  border-radius: 16px 0 0 16px;
}
.book-fab.is-tucked .book-fab__main,
.book-fab.is-tucked .book-fab__close { display: none; }
.book-fab.is-tucked .book-fab__handle { display: inline-flex; }

.book-fab__handle {
  display: none;
  align-items: center;
  justify-content: flex-start;
  width: 54px;
  height: 54px;
  padding-left: 11px;
  background: var(--brand);
  color: #fff;
  border: 0;
  border-radius: 16px 0 0 16px;
  cursor: pointer;
  box-shadow: -6px 8px 22px rgba(20,63,82,0.3);
  transition: background .2s, padding-left .2s;
}
.book-fab__handle:hover,
.book-fab__handle:focus-visible { background: var(--brand-deep); padding-left: 7px; }

@media (max-width: 767px) {
  .book-fab { right: 0.9rem; bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px)); }
  .book-fab__main { font-size: 0.96rem; padding: 0.85rem 1rem 0.85rem 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .book-fab, .book-fab__main, .book-fab__handle { transition: none; }
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: var(--cookie-bg);
  border-top: 1px solid var(--cookie-border);
  backdrop-filter: blur(12px);
  padding: 1rem var(--gutter);
  transform: translateY(110%);
  opacity: 0;
  animation: cookieIn .55s cubic-bezier(.2,.7,.2,1) forwards;
  animation-delay: 1.4s;
}
@keyframes cookieIn {
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner--hidden {
  animation: cookieOut .35s ease forwards;
}
@keyframes cookieOut {
  to { transform: translateY(110%); opacity: 0; }
}
.cookie-banner__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.cookie-banner__text {
  font-size: 0.85rem;
  color: var(--cookie-text);
  flex: 1;
  min-width: 220px;
  line-height: 1.5;
}
.cookie-banner__link {
  color: var(--cookie-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__actions { display: flex; gap: 0.6rem; }
.cookie-banner__btn {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.65rem 1.1rem;
  border: none;
  border-radius: 999px;
  transition: opacity .2s, background .2s;
  font-family: var(--f-body);
  font-weight: 600;
}
.cookie-banner__btn--accept {
  background: var(--cookie-accent);
  color: var(--ink);
}
.cookie-banner__btn--accept:hover { opacity: 0.88; }
.cookie-banner__btn--decline {
  background: transparent;
  border: 1px solid var(--cookie-border);
  color: var(--cookie-text);
}
.cookie-banner__btn--decline:hover {
  border-color: rgba(255,255,255,0.35);
  color: var(--paper);
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-page {
  padding: 7rem var(--gutter) 5rem;
  max-width: 820px;
  margin: 0 auto;
}
.legal-page__inner { display: flex; flex-direction: column; gap: 2rem; }
.legal-page__header {
  display: flex; flex-direction: column; gap: 0.7rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 1rem;
}
.legal-page__header h1 {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.legal-page__sub {
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 60ch;
}
.legal-page section { display: flex; flex-direction: column; gap: 0.7rem; }
.legal-page h2 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--brand-deep);
  margin-top: 0.6rem;
}
.legal-page p, .legal-page ul {
  color: var(--ink);
  font-size: 0.97rem;
  line-height: 1.65;
}
.legal-page ul { padding-left: 1.2rem; }
.legal-page ul li { margin-bottom: 0.25rem; }
/* Eigener Zusatz-Abschnitt unter dem IT-Recht-Text (z.B. Online-Terminbuchung) */
.legal-addon { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--rule, rgba(0,0,0,0.12)); }

/* IT-Recht Kanzlei Rechtstext ans Site-Design anpassen (Inhalt unverändert) */
.legal-doc { color: var(--ink); font-size: 0.97rem; line-height: 1.65; }
.legal-doc h1, .legal-doc h2, .legal-doc h3, .legal-doc h4 {
  color: var(--brand-deep);
  font-weight: 600;
  line-height: 1.25;
  margin: 1.6rem 0 0.5rem;
}
.legal-doc h1 { font-size: 1.7rem; }
.legal-doc h2 { font-size: 1.35rem; }
.legal-doc h3 { font-size: 1.1rem; }
.legal-doc p, .legal-doc li { color: var(--ink); font-size: 0.97rem; line-height: 1.65; }
.legal-doc ul, .legal-doc ol { padding-left: 1.2rem; margin: 0.4rem 0; }
.legal-doc li { margin-bottom: 0.25rem; }
.legal-doc a {
  color: var(--brand);
  border-bottom: 1px solid var(--rule);
  word-break: break-word;
}
.legal-doc a:hover { color: var(--brand-deep); }
.legal-doc table { width: 100%; border-collapse: collapse; margin: 0.8rem 0; font-size: 0.9rem; }
.legal-doc th, .legal-doc td { border: 1px solid var(--rule); padding: 0.5rem 0.7rem; text-align: left; vertical-align: top; }
.legal-page a {
  color: var(--brand);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
.legal-page a:hover { color: var(--brand-deep); border-bottom-color: var(--brand); }
.legal-page__back {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.legal-page__back a {
  font-size: 0.95rem;
  border: none;
  font-weight: 500;
}

/* Header offset for legal & subpages (no hero) */
.legal .site-header,
.subpage .site-header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.legal .site-header .brand__name-line1,
.legal .site-header .brand__name-line2,
.legal .site-header .nav__link,
.legal .site-header .nav__link--has-dropdown,
.subpage .site-header .brand__name-line1,
.subpage .site-header .brand__name-line2,
.subpage .site-header .nav__link,
.subpage .site-header .nav__link--has-dropdown { color: var(--ink); }
.legal .site-header .nav-toggle span,
.subpage .site-header .nav-toggle span { background: var(--ink); }
.legal .site-header .nav-toggle,
.subpage .site-header .nav-toggle { border-color: var(--rule); }
.legal .site-header .nav__link--cta,
.subpage .site-header .nav__link--cta { background: var(--brand); color: var(--paper); }

/* ============================================================
   HOMEPAGE: Service card "More" link
   ============================================================ */
.service__link {
  margin-top: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--brand);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color .2s, border-color .2s, gap .2s;
}
/* stretched link: overlay covers entire card, makes everything clickable */
.service__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--radius-lg);
}
.service__link:hover {
  color: var(--brand-deep);
  border-color: var(--brand);
  gap: 0.6rem;
}
.service { cursor: pointer; }
.service:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(47,139,170,0.18);
}

/* ============================================================
   SUBPAGE LAYOUT (Leistungs-Detailseiten)
   ============================================================ */
.subpage-main {
  padding-top: 80px;  /* offset for fixed header */
}
.subpage-hero {
  background: linear-gradient(180deg, var(--paper-soft) 0%, var(--paper) 100%);
  padding: 4rem var(--gutter) 4.5rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.subpage-hero::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 60%;
  aspect-ratio: 1/1;
  background: radial-gradient(circle, rgba(91,177,203,0.22), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.subpage-hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.subpage-hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.0;
}
.subpage-hero__lede {
  max-width: 60ch;
  font-size: 1.08rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.subpage-hero__cta {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.content-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem var(--gutter);
}
.content-section--soft {
  background: var(--paper-soft);
  max-width: none;
  padding: 4.5rem var(--gutter);
}
.content-section--soft > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.content-section__header {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--rule);
}
.content-section__header h2 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.content-section__sub {
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: 1rem;
  margin-top: 0.3rem;
}

/* Info note */
.info-note {
  background: rgba(47,139,170,0.08);
  border-left: 3px solid var(--brand);
  padding: 1.1rem 1.3rem;
  border-radius: 0 10px 10px 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 64ch;
}

/* Treatments grid (Rezept page) */
.treatments {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.treatment {
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.treatment:hover {
  border-color: var(--brand-light);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -25px rgba(20,63,82,0.30);
}
.treatment__title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.treatment p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}
.treatment p em {
  font-style: normal;
  font-weight: 600;
  color: var(--brand);
}

/* Add-ons (Rezept page) */
.addons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.addon {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
}
.addon h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.addon p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Premium list (Mehrwert page) */
.premium-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
  counter-reset: none;
}
.premium {
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.premium:hover {
  border-color: var(--brand-light);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -25px rgba(20,63,82,0.30);
}
.premium__title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.premium p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}
.premium p strong { color: var(--ink); font-weight: 600; }
.premium__note {
  margin-top: 0.8rem;
  padding: 0.7rem 0.9rem;
  background: rgba(91,177,203,0.10);
  border-radius: 8px;
  font-size: 0.85rem;
}
.premium--featured {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.premium--featured::before {
  content: "Empfehlung";
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--brand-light);
  color: var(--brand-deep);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.premium--featured .premium__title { color: var(--paper); }
.premium--featured p { color: rgba(255,255,255,0.85); }
.premium--featured p strong { color: var(--paper); }
.premium--featured .premium__note {
  background: rgba(255,255,255,0.10);
  color: var(--paper);
}

/* For-whom block (Mehrwert page) */
.for-whom header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}
.for-whom h2 {
  font-size: clamp(1.6rem, 4.5vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 1fr;
}
.checklist li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.7rem 0;
  font-size: 0.97rem;
  color: var(--ink);
  line-height: 1.5;
  border-top: 1px solid var(--rule);
}
.checklist li:first-child { border-top: none; }
.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brand);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'><path d='M5 12l5 5L20 7'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 11px;
  margin-top: 0.15rem;
}

/* Lead block (Rückentherapie page) */
.lead-block {
  max-width: 64ch;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.lead-block h2 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.lead-block__highlight {
  color: var(--brand);
}
.lead-block p {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.lead-block p em {
  font-style: normal;
  font-weight: 600;
  color: var(--brand-deep);
  border-bottom: 1px dotted var(--brand-light);
  padding-bottom: 1px;
}

/* Unified method/itensic grid (3 cards with label, title, text, effects) */
.itensic-grid,
.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
.itensic,
.method {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  position: relative;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
/* Karte clippt Inhalt, damit das randlose Video nicht über die runden Ecken ragt */
.itensic { overflow: hidden; }
.itensic:hover,
.method:hover {
  border-color: var(--brand-light);
  transform: translateY(-3px);
  box-shadow: 0 30px 50px -30px rgba(20,63,82,0.35);
}
.itensic__media {
  margin: -1.7rem -1.5rem 0.4rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  background: var(--paper-soft);
  aspect-ratio: 16 / 9;
}
.itensic__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.itensic__label,
.method__label {
  display: inline-block;
  align-self: flex-start;
  background: var(--brand-deep);
  color: var(--paper);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}
.itensic h3,
.method h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.itensic p,
.method p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}
.itensic p em,
.method p em {
  font-style: normal;
  font-weight: 600;
  color: var(--brand);
}
.itensic__effects,
.method__effects {
  list-style: none;
  padding: 0.9rem 0 0;
  margin: auto 0 0;
  border-top: 1px dashed var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.86rem;
  color: var(--ink);
}
.itensic__effects li,
.method__effects li {
  position: relative;
  padding-left: 1.1rem;
}
.itensic__effects li::before,
.method__effects li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 50%;
}

/* Results list (Rückentherapie page) */
.results {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.result {
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.4rem;
  transition: border-color .25s, transform .25s;
}
.result:hover {
  border-color: var(--brand-light);
  transform: translateX(4px);
}
.result h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.result p {
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.55;
}

/* CTA band (bottom of subpages) */
.cta-band {
  background: var(--brand-deep);
  color: var(--paper);
  padding: 5rem var(--gutter);
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
}
.cta-band::before {
  content: "";
  position: absolute;
  bottom: -30%; left: -10%;
  width: 70%;
  aspect-ratio: 1/1;
  background: radial-gradient(circle, rgba(91,177,203,0.30), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-band__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
.cta-band h2 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.cta-band p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 56ch;
}
.cta-band__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.6rem;
}
.cta-band .btn--primary {
  background: var(--paper);
  color: var(--ink);
}
.cta-band .btn--primary:hover {
  background: var(--brand-light);
  color: var(--ink);
}

/* Subpage end - distinct closing band */
.subpage-end {
  background: var(--paper-soft);
  border-top: 1px solid var(--rule);
  padding: 4rem var(--gutter) 5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  align-items: center;
  position: relative;
}
.subpage-end::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--brand);
  border-radius: 0 0 4px 4px;
}
.subpage-end p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 50ch;
  margin: 0 auto;
}

/* ============================================================
   ABSCHLUSS / ÜBERZEUGUNG (Closing)
   ============================================================ */
.closing {
  background: var(--brand-deep);
  color: var(--paper);
  text-align: center;
}
.closing__inner {
  max-width: 60rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.3rem;
}
.closing__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.closing__lede {
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  max-width: 52ch;
  margin: 0;
}
.closing__points {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0.4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  width: 100%;
  text-align: left;
}
.closing__points li { position: relative; padding-left: 1.1rem; }
.closing__points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.15rem; bottom: 0.15rem;
  width: 2px;
  background: var(--brand-light);
  border-radius: 2px;
}
.closing__points h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 0.3rem;
}
.closing__points p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  margin: 0;
}
.closing .btn--primary {
  background: var(--paper);
  color: var(--brand-deep);
  margin-top: 0.6rem;
}
.closing .btn--primary:hover { background: var(--paper-soft); color: var(--brand-deep); }
@media (min-width: 768px) {
  .closing__points { grid-template-columns: repeat(3, 1fr); gap: 2.2rem; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .ticker__track { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 768px) {
  body { font-size: 17px; }

  .nav { display: flex; }
  .nav-toggle { display: none; }

  .hero__inner {
    padding: 10rem var(--gutter) 5rem;
  }

  .about__grid {
    grid-template-columns: 0.85fr 1fr;
    gap: 4rem;
    align-items: start;
  }
  .about__portrait { position: sticky; top: 92px; }

  .services__list {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-card {
    grid-template-columns: 1fr 1.4fr;
  }
  .team-card__photo { aspect-ratio: auto; height: 100%; }
  .team-card__body { padding: 3rem 2.4rem; justify-content: center; }

  .praxis__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
  }
  .praxis__map { grid-column: 1 / -1; }

  .kontakt__grid {
    grid-template-columns: 1fr;
    max-width: 44rem;
    margin: 0 auto;
    gap: 3rem;
  }
  .form { padding: 2.4rem; }
  .form__row { grid-template-columns: 1fr 1fr; }

  .site-footer__inner {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
  }
  .site-footer__copy { grid-column: 1 / -1; }
}

@media (min-width: 768px) {
  /* Subpage layouts */
  .subpage-hero { padding: 5rem var(--gutter) 5.5rem; }
  .content-section { padding: 5.5rem var(--gutter); }
  .content-section--soft { padding: 5.5rem var(--gutter); }

  .treatments { grid-template-columns: repeat(2, 1fr); }
  .treatments .treatment:last-child:nth-child(odd) { grid-column: 1 / -1; }

  .addons { grid-template-columns: repeat(2, 1fr); }
  .premium-list { grid-template-columns: repeat(2, 1fr); }
  .premium--featured { grid-column: 1 / -1; }
  .checklist { grid-template-columns: repeat(2, 1fr) ; gap: 0.5rem 2rem; }
  .checklist li { border-top: 1px solid var(--rule); }
  .checklist li:nth-child(2) { border-top: 1px solid var(--rule); }
  .itensic-grid,
  .method-grid { grid-template-columns: repeat(3, 1fr); }
  .results { grid-template-columns: repeat(2, 1fr); }

  .cta-band__inner { gap: 1.2rem; }
}

@media (min-width: 1024px) {
  .section { padding: 7rem var(--gutter); }
  .hero__title { font-size: clamp(3.8rem, 7.2vw, 6.4rem); }
  .treatments { grid-template-columns: repeat(3, 1fr); }
  .treatments .treatment:last-child:nth-child(odd) { grid-column: auto; }
  .addons { grid-template-columns: repeat(4, 1fr); }
  .subpage-hero { padding: 6rem var(--gutter) 6.5rem; }
}

@media (min-width: 1440px) {
  body { font-size: 17.5px; }
}

/* ============================================================
   MOBILE OPTIMIZATIONS
   ============================================================ */

/* Anchor-scroll offset (compensate fixed header) */
[id="ueber"],
[id="einblick"],
[id="leistungen"],
[id="team"],
[id="oeffnungszeiten"],
[id="faq"],
[id="kontakt"] { scroll-margin-top: 80px; }

/* Disable hover-transform on touch devices to avoid sticky hover state */
@media (hover: none) {
  .service:hover,
  .method:hover,
  .itensic:hover,
  .treatment:hover,
  .premium:hover,
  .result:hover,
  .addon:hover,
  .team-card:hover {
    transform: none;
    box-shadow: none;
  }
  .btn:hover { transform: none; }
  .btn:hover svg { transform: none; }
  .big-link:hover { padding-left: 0; }
  .service__link:hover { gap: 0.4rem; }
  /* keep border-color & background hover for visual feedback */
}

/* Safe-area inset for notched devices (iPhone) */
@supports (padding: env(safe-area-inset-bottom)) {
  .cookie-banner { padding-bottom: max(1rem, env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: calc(4rem + env(safe-area-inset-bottom)); }
  .nav.is-open { padding-bottom: max(2.5rem, env(safe-area-inset-bottom)); }
}

/* Very small screens: tighter spacings, smaller display sizes */
@media (max-width: 560px) {
  /* hero compaction */
  .hero__inner { padding: 7.5rem var(--gutter) 2.5rem; }
  .hero__title { gap: 0.5rem; }
  .hero__title-brand {
    font-size: clamp(2.4rem, 11vw, 4.6rem);
    letter-spacing: -0.025em;
  }
  .hero__title-line { font-size: 1.25rem; }
  .hero__title-line:nth-of-type(2) {
    font-size: 0.86rem;
    letter-spacing: 0.18em;
    margin-top: 0.3rem;
  }
  .hero__lede { font-size: 0.98rem; }
  .hero__cta { gap: 0.6rem; }
  .hero__cta .btn { padding: 0.85rem 1.15rem; font-size: 0.9rem; }
  .hero__info { gap: 0.5rem; margin-top: 1rem; }
  .hero__info li { font-size: 0.86rem; }
  .hero__divider { margin-top: 1.4rem; }

  /* ticker */
  .ticker__track { font-size: 0.85rem; gap: 1.6rem; }

  /* sections: reduce paddings */
  .section { padding: 3.5rem var(--gutter); }
  .section__header { margin-bottom: 2rem; padding-bottom: 1.3rem; }
  .section__title { font-size: clamp(1.7rem, 7vw, 2.6rem); }

  /* subpage hero */
  .subpage-main { padding-top: 72px; }
  .subpage-hero { padding: 2.8rem var(--gutter) 3.2rem; }
  .subpage-hero h1 { font-size: clamp(1.9rem, 8vw, 3.2rem); }
  .subpage-hero__lede { font-size: 0.98rem; }

  /* content sections */
  .content-section { padding: 3rem var(--gutter); }
  .content-section--soft { padding: 3.5rem var(--gutter); }
  .content-section__header { margin-bottom: 1.8rem; padding-bottom: 1.2rem; }
  .content-section__header h2 { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .lead-block h2 { font-size: clamp(1.7rem, 6.5vw, 2.4rem); }

  /* cards / grids - tighter padding */
  .card { padding: 1.4rem 1.2rem; }
  .card__title { font-size: 1.2rem; margin-bottom: 0.9rem; }
  .service { padding: 1.5rem 1.3rem; gap: 0.85rem; }
  .service__title { font-size: 1.3rem; }
  .method,
  .itensic,
  .treatment,
  .premium,
  .result { padding: 1.4rem 1.2rem; }
  .method h3, .itensic h3 { font-size: 1.2rem; }

  /* contact info list - allow tighter layout */
  .contact-list li { grid-template-columns: 1fr; gap: 0.15rem; }
  .contact-list__label { font-size: 0.7rem; }
  .hours__row { font-size: 0.92rem; }

  /* form: tighter padding and full-width controls */
  .form { padding: 1.4rem; gap: 0.95rem; }
  .form__field input,
  .form__field select,
  .form__field textarea { font-size: 16px; padding: 0.8rem 0.9rem; }
  .file-input__button { width: 100%; justify-content: center; }
  .kontakt__aside h3 { font-size: 1.4rem; }
  .big-link__value { font-size: 1rem; }

  /* about portrait less massive */
  .about__portrait { max-width: 100%; }
  .about__quote p { font-size: 1.2rem; }
  .about__value { grid-template-columns: 1fr; gap: 0.3rem; }

  /* team card */
  .team-card__body { padding: 1.6rem 1.4rem 2rem; }
  .team-card__creds li { grid-template-columns: 1fr; gap: 0.15rem; }

  /* FAQ tightening */
  .faq__question { padding: 1rem 1.1rem; font-size: 0.98rem; }
  .faq__answer { padding: 0 1.1rem 1.1rem; padding-top: 0.9rem; font-size: 0.92rem; }

  /* promo player on tiny screens */
  .promo__player { border-radius: 12px; }

  /* footer compaction */
  .site-footer { padding: 3rem var(--gutter) 4rem; }
  .site-footer__nav,
  .site-footer__legal { gap: 0.6rem; font-size: 0.9rem; }

  /* cookie banner compaction */
  .cookie-banner { padding: 0.85rem var(--gutter); }
  .cookie-banner__text { font-size: 0.8rem; }
  .cookie-banner__btn { font-size: 0.72rem; padding: 0.55rem 0.9rem; }

  /* subpage-end tighter */
  .subpage-end { padding: 3rem var(--gutter) 3.5rem; gap: 1rem; }

  /* CTA buttons full width on tiny screens for easier tapping */
  .subpage-hero__cta .btn,
  .hero__cta .btn { flex: 1 1 100%; justify-content: center; }
  .subpage-hero__cta { flex-direction: column; align-items: stretch; }

  /* dropdown menu inside drawer: ensure scrollable if many items */
  .nav.is-open { overflow-y: auto; }
  .nav.is-open .nav__menu a { padding: 0.6rem 0.8rem; }
  .nav.is-open .nav__menu-title { font-size: 1rem; }
  .nav.is-open .nav__menu-sub { font-size: 0.78rem; }

  /* reduce grain noise on small screens (perf) */
  .grain { opacity: 0.12; }
}

/* Tap targets: ensure interactive elements have min 44px height */
@media (max-width: 768px) {
  .btn { min-height: 44px; }
  .nav-toggle { min-width: 44px; min-height: 44px; }
  .nav__link { min-height: 36px; display: inline-flex; align-items: center; }
  .form__field input,
  .form__field select,
  .form__field textarea { min-height: 44px; }
  .cookie-banner__btn { min-height: 40px; }
  .faq__question { min-height: 52px; }
  .file-input__button { min-height: 44px; }
}

/* Landscape mobile: shrink hero so CTAs are visible without scrolling */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .hero { min-height: auto; }
  .hero__inner { padding: 6rem var(--gutter) 2rem; }
  .hero__title-brand { font-size: clamp(2.2rem, 7vw, 3.6rem); }
  .hero__title-line { font-size: 1.05rem; }
  .ticker { display: none; }
}

/* ============================================================
   PRIVÉ CONSENT-TOOL: Cookie-Popup unten mittig
   (Privé nutzt das cookieconsent-Framework, Modal = #cm)
   ============================================================ */
#cm {
  top: auto !important;
  bottom: 1.5rem !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: min(92vw, 33rem) !important;
  max-width: min(92vw, 33rem) !important;
}
/* Mobile: volle Breite mit Rand, nicht schmal-gequetscht/langgestreckt */
@media (max-width: 600px) {
  #cm {
    left: 0.75rem !important;
    right: 0.75rem !important;
    bottom: 0.75rem !important;
    transform: none !important;
    width: auto !important;
    max-width: none !important;
  }
}
