/* ==========================================================
   DenseraLab – Entwurf 2: „Mehr. Als. Zahntechnik."
   Großes Laborfoto im Hero, CI-Grau als tragende Fläche,
   Grün nur als Akzent.
   CI-Farben laut Briefing: #717E86 · #B8BEC2 · #90C685 · #C2E0BC
   ========================================================== */

@font-face { font-family: "DINPro"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/DINPro-Light.woff2") format("woff2"); }
@font-face { font-family: "DINPro"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/DINPro-Medium.woff2") format("woff2"); }
@font-face { font-family: "DINPro"; font-weight: 700 800; font-style: normal; font-display: swap; src: url("../fonts/DINPro-Bold.woff2") format("woff2"); }

:root {
  --slate: #717e86;          /* Grau (CI) */
  --slate-600: #5a656c;      /* dunkler, für Fließtext auf Weiß */
  --slate-800: #3a4248;
  --ink: #1d2226;
  --grey-400: #b8bec2;       /* Hellgrau (CI) */
  --grey-200: #dfe3e5;
  --grey-100: #eef0f1;
  --green: #90c685;          /* Grün (CI) */
  --green-600: #4f8a43;      /* dunkler, für kleine grüne Schrift auf Weiß */
  --green-200: #c2e0bc;      /* Hellgrün (CI) */
  --green-100: #eef6ec;
  --white: #fff;
  --text: #2b3237;
  --text-soft: var(--slate-600);
  --slate-grad: linear-gradient(155deg, #717e86 0%, #5c676e 100%);

  --font: "DINPro", "DIN Next", "Helvetica Neue", Arial, sans-serif;
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 6px;
  --radius-lg: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
/* Gesamte Website 10 % kleiner, wie Browser-Zoom auf 90 %. Bildschirmhohe Bereiche rechnen das mit --zoom wieder aus. */
:root { --zoom: .9; }
html { zoom: var(--zoom); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0; font-family: var(--font); font-weight: 300; color: var(--text);
  background: var(--white); line-height: 1.65; font-size: 17px;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--green-200); color: var(--ink); }
:focus-visible { outline: 2px solid var(--green-600); outline-offset: 3px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 { margin: 0; line-height: 1.08; color: var(--ink); font-weight: 700; text-wrap: balance; }
.display { font-size: clamp(2.5rem, 6.4vw, 5.4rem); text-transform: uppercase; letter-spacing: .01em; line-height: .98; }
.display .light, .h2 .light { font-weight: 300; color: var(--slate); }
.h2 { font-size: clamp(1.8rem, 4vw, 3.1rem); letter-spacing: -.005em; }
.h3 { font-size: 1.2rem; letter-spacing: .01em; }
.eyebrow {
  display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: .78rem; margin: 0 0 20px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--slate-600);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--green); flex: none; }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.25rem); color: var(--text-soft); max-width: 58ch; margin: 22px 0 0; }
p { margin: 0 0 1em; }
.text-link { font-weight: 500; text-decoration: none; border-bottom: 2px solid var(--green); padding-bottom: 2px; transition: border-color .25s; }
.text-link:hover { border-color: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 15px 24px; border-radius: var(--radius);
  background: var(--bg); color: var(--fg); text-decoration: none; font-weight: 500; text-align: center;
  letter-spacing: .06em; text-transform: uppercase; font-size: .82rem; border: 0; cursor: pointer;
  transition: background .25s, color .25s, box-shadow .25s;
}
.btn:hover { background: var(--slate-800); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--green { --bg: var(--green); --fg: var(--ink); }
.btn--green:hover { background: var(--green-200); }
.btn--slate { --bg: var(--slate); }
.btn--slate:hover { background: var(--slate-600); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--slate); }
.btn--ghost:hover { background: var(--slate); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ---------- Header: liegt transparent über dem Seitenkopf, wird beim Scrollen weiß ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); }
/* Hintergrund liegt auf ::before, damit das feste Handy-Menü nicht im Header eingesperrt wird */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--grey-200); opacity: 0; transition: opacity .35s; }
.site-header.is-solid::before { opacity: 1; }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 18px; width: auto; }
.brand .logo-dark { display: none; }
.is-solid .brand .logo-dark { display: block; }
.is-solid .brand .logo-light { display: none; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); }
.nav a { white-space: nowrap; text-decoration: none; font-weight: 500; font-size: .8rem; letter-spacing: .13em; text-transform: uppercase; color: rgba(255,255,255,.88); position: relative; padding: 6px 0; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover, .nav a.active { color: var(--white); }
.is-solid .nav a { color: var(--slate-600); }
.is-solid .nav a:hover, .is-solid .nav a.active { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.btn { padding: 11px 18px; font-size: .75rem; color: var(--ink); }
.nav .btn::after { display: none; }

.menu-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; position: relative; z-index: 60; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--white); transition: transform .3s var(--ease), opacity .2s, background .3s; }
.is-solid .menu-toggle span { background: var(--ink); }
.menu-toggle span:nth-child(1) { top: 16px; } .menu-toggle span:nth-child(2) { top: 21px; } .menu-toggle span:nth-child(3) { top: 26px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 1140px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 0; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 12px var(--gutter) 40px; background: var(--white); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; overflow-y: auto; }
  .nav a, .is-solid .nav a { font-size: 1.2rem; letter-spacing: .08em; padding: 20px 0; border-bottom: 1px solid var(--grey-200); color: var(--ink); }
  .nav a::after { display: none; }
  .nav a.active { color: var(--green-600); }
  .nav a.btn { margin-top: 28px; border: 0; font-size: .9rem; padding: 18px 24px; }
  .menu-open .nav { opacity: 1; visibility: visible; }
}

/* ---------- Sektionen ---------- */
.section { padding: clamp(64px, 10vw, 140px) 0; }
.section--grey { background: var(--grey-100); }
.section--green { background: var(--green-100); }
.section--tight { padding: clamp(44px, 6vw, 80px) 0; }
.section-head { max-width: 860px; margin-bottom: clamp(34px, 5vw, 64px); }

/* Graue CI-Fläche mit weißer Schrift */
.section--slate, .page-hero, .cta { background: var(--slate-grad); color: var(--white); }
.section--slate h2, .section--slate h3, .page-hero h1, .cta h2 { color: var(--white); }
.section--slate .h2 .light, .page-hero .display .light, .cta .h2 .light { color: rgba(255,255,255,.72); }
.section--slate .eyebrow, .page-hero .eyebrow { color: var(--green-200); }
.section--slate .lead, .page-hero .lead, .section--slate p { color: rgba(255,255,255,.9); font-weight: 400; }
.section--slate .btn--ghost, .page-hero .btn--ghost { --fg: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.section--slate .btn--ghost:hover, .page-hero .btn--ghost:hover { background: var(--white); color: var(--ink); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.media { border-radius: var(--radius-lg); overflow: hidden; background: var(--grey-200); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4/5; }
.media--wide { aspect-ratio: 16/10; }
.media--square { aspect-ratio: 1; }
@media (max-width: 900px) { .media--tall, .media--square { aspect-ratio: 4/3; } }

/* ---------- Startseite: Hero mit großem Hintergrundbild ---------- */
.hero {
  min-height: calc(100svh / var(--zoom, 1)); display: grid; align-items: center; position: relative; overflow: hidden;
  background: var(--slate-800); color: var(--white); padding: calc(var(--header-h) + 40px) 0 130px;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(47,54,59,.93) 0%, rgba(74,84,91,.8) 42%, rgba(113,126,134,.2) 100%), linear-gradient(0deg, rgba(47,54,59,.65), transparent 38%); }
.hero .container { position: relative; width: 100%; }
.hero .eyebrow { color: rgba(255,255,255,.85); }
.hero .display { color: var(--white); font-size: clamp(2.7rem, 7.4vw, 6.4rem); }
.hero .display > span { display: block; }
.hero .display .als { font-weight: 300; color: rgba(255,255,255,.78); }
.hero .lead { color: rgba(255,255,255,.9); font-weight: 400; max-width: 46ch; margin-top: 28px; }
.hero .btn--ghost { --fg: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.hero .btn--ghost:hover { background: var(--white); color: var(--ink); }
.hero__meta { position: absolute; left: 0; right: 0; bottom: 92px; }
.hero__meta .container { display: flex; justify-content: space-between; gap: 20px; font-size: .76rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.72); }
@media (max-width: 760px) {
  .hero { align-items: end; padding-bottom: 96px; }
  .hero__bg img { object-position: 64% 20%; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(47,54,59,.5) 0%, rgba(47,54,59,.45) 30%, rgba(47,54,59,.92) 68%); }
  .hero .display { font-size: clamp(2.5rem, 12.2vw, 4.6rem); }
  .hero .btn-row { flex-direction: column; margin-top: 26px; }
  .hero__meta { display: none; }
}

/* „MEHR." als Link zu den Schulungen: der grüne Balken füllt beim Hovern das Wort */
.mehr { position: relative; display: inline-block; color: inherit; text-decoration: none; isolation: isolate; transition: color .3s; }
.mehr::before {
  content: ""; position: absolute; z-index: -1; left: -.07em; right: -.05em; bottom: .04em; height: .1em;
  background: var(--green); transition: height .45s var(--ease);
}
.mehr:hover, .mehr:focus-visible { color: var(--ink); }
.mehr:hover::before, .mehr:focus-visible::before { height: .86em; }
.mehr:focus-visible { outline-color: var(--white); outline-offset: 8px; }
.mehr__hint {
  position: absolute; left: 100%; top: 50%; margin-left: clamp(12px, 1.6vw, 22px); white-space: nowrap;
  font-size: .76rem; font-weight: 500; letter-spacing: .18em; line-height: 1.5; color: rgba(255,255,255,.85);
  display: inline-flex; align-items: center; gap: 10px; transform: translateY(-50%);
  transition: color .3s, transform .45s var(--ease);
}
.mehr__hint::before { content: ""; width: 26px; height: 2px; background: var(--green); transition: width .45s var(--ease); }
.mehr:hover .mehr__hint, .mehr:focus-visible .mehr__hint { color: var(--white); transform: translate(8px, -50%); }
.mehr:hover .mehr__hint::before, .mehr:focus-visible .mehr__hint::before { width: 46px; }

/* ---------- Unterseiten-Kopf (CI-Grau) ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .display { font-size: clamp(2.1rem, 5.6vw, 4.4rem); text-transform: none; line-height: 1.04; letter-spacing: -.01em; max-width: 18ch; }
.page-hero--split .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.page-hero--split .media { box-shadow: 0 30px 60px -30px rgba(29,34,38,.6); }
@media (max-width: 900px) { .page-hero--split .container { grid-template-columns: 1fr; } }
.breadcrumb { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--green-200); margin: 0 0 20px; font-weight: 500; }

/* ---------- Für wen: drei Einstiege, ragen in den Hero ---------- */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: -64px; position: relative; z-index: 2; }
.path { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.6vw, 34px); text-decoration: none; background: var(--white); border-radius: var(--radius-lg); box-shadow: 0 24px 50px -30px rgba(29,34,38,.45); position: relative; overflow: hidden; transition: background .35s, color .35s; }
.path::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--green); }
.path small { font-size: .74rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--green-600); transition: color .35s; }
.path h3 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); transition: color .35s; }
.path p { margin: 0; color: var(--text-soft); transition: color .35s; }
.path .more { margin-top: auto; padding-top: 14px; font-weight: 500; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); transition: color .35s; }
@media (hover: hover) {
  .path:hover { background: var(--slate); }
  .path:hover h3, .path:hover .more { color: var(--white); }
  .path:hover p { color: rgba(255,255,255,.92); }
  .path:hover small { color: var(--green-200); }
}
@media (max-width: 900px) { .paths { grid-template-columns: 1fr; gap: 12px; margin-top: -56px; } }

/* ---------- Mehrwert: Auswahl links, graue Tafel rechts ---------- */
.benefits { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: clamp(28px, 5vw, 70px); counter-reset: b; }
.benefit { display: contents; }
.benefit__btn {
  grid-column: 1; display: flex; align-items: center; gap: 18px; width: 100%; padding: 22px 0; margin: 0; border: 0; border-bottom: 1px solid var(--grey-400);
  background: none; text-align: left; cursor: pointer; font-size: clamp(1.1rem, 1.9vw, 1.5rem); font-weight: 700; color: var(--slate); transition: color .3s, padding .35s var(--ease);
}
.benefit__btn::before { counter-increment: b; content: counter(b, decimal-leading-zero); font-size: .78rem; font-weight: 500; letter-spacing: .16em; color: var(--green-600); flex: none; }
.benefit__btn::after { content: "→"; margin-left: auto; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .35s var(--ease); }
.benefit.is-active .benefit__btn { color: var(--ink); padding-left: 10px; }
.benefit.is-active .benefit__btn::after { opacity: 1; transform: none; }
.benefit__panel {
  grid-column: 2; grid-row: 1 / span 5; background: var(--slate-grad); color: var(--white); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 54px); display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; position: relative; overflow: hidden;
}
.benefit__panel::before { content: attr(data-n); position: absolute; right: 22px; top: 0; font-weight: 700; font-size: clamp(6rem, 13vw, 11rem); line-height: 1; color: rgba(255,255,255,.1); }
.benefit.is-active .benefit__panel { opacity: 1; visibility: visible; }
.benefit__panel h3 { color: var(--white); font-size: clamp(1.4rem, 2.4vw, 2rem); }
.benefit__panel p { margin: 0; font-weight: 400; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: rgba(255,255,255,.94); max-width: 46ch; }
@media (max-width: 800px) {
  .benefits { display: block; }
  .benefit { display: block; }
  .benefit__btn::after { content: "+"; opacity: 1; transform: none; font-weight: 300; font-size: 1.5rem; line-height: 1; transition: transform .3s; }
  .benefit.is-active .benefit__btn { padding-left: 0; }
  .benefit.is-active .benefit__btn::after { transform: rotate(45deg); }
  .benefit__panel { display: none; margin: 14px 0 6px; padding: 24px; }
  .benefit__panel::before { display: none; }
  .benefit__panel h3 { display: none; }
  .benefit.is-active .benefit__panel { display: flex; }
}

/* ---------- Schritte: „an die Hand nehmen" ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: s; list-style: none; margin: 0; padding: 0; }
.step { border-top: 2px solid var(--green); padding-top: 22px; }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); display: block; font-weight: 300; font-size: 2.6rem; line-height: 1; color: var(--grey-400); margin-bottom: 18px; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { margin: 0; color: var(--text-soft); font-size: .98rem; }
.section--slate .step::before { color: rgba(255,255,255,.6); }
.section--slate .step p { color: rgba(255,255,255,.92); font-weight: 400; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 58px 1fr; column-gap: 8px; border-top: 0; border-left: 2px solid var(--green); padding: 0 0 30px 18px; }
  .step:last-child { padding-bottom: 0; }
  .step::before { grid-row: span 2; font-size: 2rem; margin: 0; }
}

/* ---------- Kacheln: zeigen beim Hovern alle Infos, am Handy klappen sie auf ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tiles--2 { grid-template-columns: repeat(2, 1fr); }
.tile { position: relative; background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-lg); overflow: hidden; overflow: clip; scroll-margin-top: calc(var(--header-h) + 20px); }
.section--grey .tile { border-color: transparent; }
.tile__head { display: grid; grid-template-columns: 48px 1fr 24px; align-items: center; gap: 4px 16px; width: 100%; padding: 20px; margin: 0; border: 0; background: none; text-align: left; cursor: pointer; text-decoration: none; }
.tile__num { display: none; font-size: .78rem; font-weight: 500; letter-spacing: .16em; color: var(--green-600); }
.tile__icon { width: 48px; height: 48px; border-radius: 50%; background: var(--grey-100); color: var(--slate-600); display: grid; place-items: center; grid-row: span 2; }
.section--grey .tile__icon { background: var(--green-100); }
.tile__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile__title { font-size: 1.12rem; font-weight: 700; color: var(--ink); line-height: 1.2; grid-column: 2; hyphens: auto; }
.tile__tag { font-size: .9rem; color: var(--text-soft); grid-column: 2; line-height: 1.4; }
.tile__cue { grid-column: 3; grid-row: 1 / span 2; width: 24px; height: 24px; position: relative; color: var(--slate); transition: transform .35s var(--ease); }
.tile__cue::before, .tile__cue::after { content: ""; position: absolute; left: 4px; right: 4px; top: 11px; height: 2px; background: currentColor; }
.tile__cue::after { transform: rotate(90deg); }
.tile.is-open .tile__cue { transform: rotate(45deg); }
.tile__back { display: grid; grid-template-rows: 0fr; background: var(--slate-grad); color: var(--white); transition: grid-template-rows .45s var(--ease); }
.tile.is-open .tile__back { grid-template-rows: 1fr; }
.tile__inner { overflow: hidden; visibility: hidden; transition: visibility .45s; }
.tile.is-open .tile__inner { visibility: visible; }
.tile__inner > div { padding: 22px 20px 24px; display: flex; flex-direction: column; gap: 14px; height: 100%; }
.tile__back strong { display: none; font-size: 1.15rem; line-height: 1.2; }
.tile__back p { margin: 0; font-weight: 400; color: rgba(255,255,255,.94); }
.tile__back ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-weight: 400; font-size: .95rem; }
.tile__back li { position: relative; padding-left: 26px; }
.tile__back li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--green-200); border-bottom: 2px solid var(--green-200); transform: rotate(-45deg); }
.tile__back a, .tile__go { margin-top: auto; align-self: flex-start; font-weight: 500; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--green); padding-bottom: 3px; }
.tile__meta { font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--green-200); }

/* kompakte Link-Kachel (Startseite → Leistungsseite) */
a.tile { text-decoration: none; display: block; }
a.tile .tile__head { cursor: pointer; }
a.tile .tile__cue::after { display: none; }
a.tile .tile__cue::before { content: "→"; background: none; position: static; font-size: 1.2rem; line-height: 24px; }
a.tile .tile__back { display: none; }
a.tile .tile__inner { display: block; }

@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .tiles, .tiles--2 { grid-template-columns: 1fr; gap: 10px; } }

/* Desktop mit Maus: Rückseite schiebt sich beim Hovern über die Kachel */
@media (hover: hover) and (min-width: 761px) {
  .tile { min-height: var(--tile-h, 380px); display: flex; transition: box-shadow .4s, border-color .4s; }
  .tile:hover, .tile:focus-within { box-shadow: 0 30px 60px -34px rgba(29,34,38,.55); border-color: transparent; }
  .tile__head, a.tile .tile__head { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 30px; cursor: default; }
  a.tile .tile__head { cursor: pointer; }
  .tile__num { display: block; }
  .tile__icon { width: 64px; height: 64px; margin: 26px 0 auto; }
  .tile__icon svg { width: 30px; height: 30px; }
  .tile__title { font-size: clamp(1.3rem, 1.9vw, 1.6rem); margin-top: 26px; }
  .tile__tag { margin-top: 8px; font-size: .98rem; }
  .tile__cue { position: absolute; right: 26px; top: 26px; }
  .tile__back, a.tile .tile__back { position: absolute; inset: 0; display: block; transform: translateY(101%); transition: transform .55s var(--ease); }
  .tile__inner { height: 100%; visibility: visible; }
  .tile__inner > div { padding: 30px; }
  .tile__back strong { display: block; }
  .tile:hover .tile__back, .tile:focus-within .tile__back, .tile.is-open .tile__back { transform: none; }
  .tiles--compact .tile { --tile-h: 260px; }
  .tiles--compact .tile__icon { width: 52px; height: 52px; margin-top: 18px; }
  .tiles--compact .tile__icon svg { width: 26px; height: 26px; }
  .tiles--compact .tile__title { font-size: 1.25rem; margin-top: 18px; }
}

/* ---------- Häkchen-Liste ---------- */
.checks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 14px; height: 8px; border-left: 2px solid var(--green-600); border-bottom: 2px solid var(--green-600); transform: rotate(-45deg); }
.section--slate .checks li::before { border-color: var(--green-200); }
.section--slate .checks { font-weight: 400; }
.checks--2 { grid-template-columns: 1fr 1fr; gap: 14px 40px; }
@media (max-width: 640px) { .checks--2 { grid-template-columns: 1fr; } }

/* ---------- Partner & Referenzen ---------- */
.partners { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.partners li { aspect-ratio: 5/2; display: grid; place-items: center; text-align: center; background: var(--white); border: 1.5px dashed var(--grey-400); border-radius: var(--radius); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-600); padding: 8px; }
@media (max-width: 900px) { .partners { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .partners { grid-template-columns: repeat(2, 1fr); } .partners li:last-child { grid-column: span 2; aspect-ratio: auto; padding: 22px 8px; } }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { margin: 0; background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 20px; border-top: 4px solid var(--green); box-shadow: 0 24px 50px -36px rgba(29,34,38,.4); }
.quote:nth-child(2) { background: var(--slate-grad); color: var(--white); }
.quote blockquote { margin: 0; font-size: clamp(1.08rem, 1.5vw, 1.22rem); line-height: 1.5; color: var(--ink); }
.quote blockquote::before { content: "„"; display: block; font-weight: 700; font-size: 3rem; line-height: .6; color: var(--green); margin-bottom: 14px; }
.quote figcaption { margin-top: auto; display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; font-size: .92rem; color: var(--text-soft); }
.quote figcaption b { display: block; font-weight: 700; color: var(--ink); }
.quote .avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--grey-200); color: var(--slate-600); font-size: .72rem; font-weight: 500; }
.quote .aspect { font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--green-600); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.quote:nth-child(2) blockquote, .quote:nth-child(2) figcaption b { color: var(--white); }
.quote:nth-child(2) blockquote { font-weight: 400; }
.quote:nth-child(2) figcaption, .quote:nth-child(2) .draft-tag { color: rgba(255,255,255,.88); }
.quote:nth-child(2) .aspect { color: var(--green-200); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

.draft-tag { display: inline-block; font-size: .66rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-600); border: 1px dashed currentColor; border-radius: 99px; padding: 2px 9px; }
.placeholder-note { font-size: .84rem; color: var(--text-soft); border-left: 3px solid var(--green); padding: 10px 14px; background: var(--grey-100); margin: 30px 0 0; max-width: 80ch; }
.section--grey .placeholder-note, .section--green .placeholder-note { background: var(--white); }

/* ---------- Werte-Zeilen (Über uns, auf Grau) ---------- */
.rows { border-top: 1px solid rgba(255,255,255,.3); counter-reset: r; }
.row { display: grid; grid-template-columns: 64px minmax(0, .8fr) minmax(0, 1.2fr); gap: 12px 30px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.3); align-items: baseline; }
.row::before { counter-increment: r; content: counter(r, decimal-leading-zero); font-weight: 500; font-size: .8rem; letter-spacing: .16em; color: var(--green-200); }
.row h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
.row p { margin: 0; }
@media (max-width: 760px) { .row { grid-template-columns: 40px 1fr; gap: 6px 10px; padding: 22px 0; } .row p { grid-column: 2; } }

/* ---------- Team mit Porträts ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px); }
.member { margin: 0; }
.member__img { aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: var(--grey-200); position: relative; }
.member__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.member__img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.member:hover .member__img img { transform: scale(1.04); }
.member:hover .member__img::after { transform: scaleX(1); }
.member figcaption { padding: 14px 2px 0; }
.member h3 { font-size: 1.05rem; }
.member h3 span { font-weight: 300; }
.member p { margin: 3px 0 0; color: var(--text-soft); font-size: .9rem; line-height: 1.4; }
.member .tag { font-weight: 500; color: var(--green-600); white-space: nowrap; }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; } .member h3 { font-size: .98rem; } .member p { font-size: .84rem; } }
.team-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.team-strip .member__img { border-radius: var(--radius); }

/* ---------- Termine ---------- */
.event-list { border-top: 1px solid var(--grey-400); }
.event { display: grid; grid-template-columns: 220px 1fr auto; gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--grey-400); }
.event time { font-weight: 500; color: var(--slate-600); letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; }
.event h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
.badge { font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; background: var(--green-200); color: var(--slate-800); white-space: nowrap; }
.event.is-past { opacity: .6; }
.event.is-past .badge { background: var(--grey-200); color: var(--slate-600); }
@media (max-width: 720px) { .event { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; } .event .badge { justify-self: start; margin-top: 4px; } }

/* ---------- Jobs ---------- */
.job { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--grey-200); text-decoration: none; }
.job:first-of-type { border-top: 1px solid var(--grey-200); }
.job h3 { font-size: 1.25rem; }
.job .meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font-size: .78rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-600); }
.job .go { font-size: 1.3rem; transition: transform .3s var(--ease); }
.job:hover .go { transform: translateX(6px); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.contact-info dl { margin: 0; display: grid; gap: 24px; }
.contact-info dt { font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--green-600); margin-bottom: 4px; }
.contact-info dd { margin: 0; font-size: 1.2rem; color: var(--ink); font-weight: 500; }
.contact-info dd a { text-decoration: none; border-bottom: 1px solid var(--grey-400); }
.contact-info dd a:hover { border-color: var(--green-600); }
.form { background: var(--grey-100); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 44px); display: grid; gap: 18px; }
.form .frow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-600); margin-bottom: 8px; }
.field label i { font-style: normal; text-transform: none; letter-spacing: 0; }
.field input, .field textarea { width: 100%; border: 1.5px solid var(--grey-400); background: var(--white); border-radius: var(--radius); padding: 13px 15px; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); transition: border-color .25s, box-shadow .25s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px var(--green-200); }
.field textarea { min-height: 140px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.chips input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.chips label { margin: 0; padding: 10px 16px; border-radius: 99px; background: var(--white); border: 1.5px solid var(--grey-400); cursor: pointer; text-transform: none; letter-spacing: .02em; font-size: .92rem; color: var(--text); transition: background .25s, color .25s, border-color .25s; }
.chips input:checked + label { background: var(--slate-600); border-color: var(--slate-600); color: var(--white); }
.chips input:focus-visible + label { box-shadow: 0 0 0 3px var(--green); }
.form-note { font-size: .8rem; color: var(--text-soft); margin: 0; }
@media (max-width: 860px) { .contact-grid, .form .frow { grid-template-columns: 1fr; } .form .btn { width: 100%; } }

/* ---------- Abschluss-Band ---------- */
.cta { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: clamp(30px, 6vw, 70px); border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.cta > * { position: relative; z-index: 1; }
.cta p { margin: 14px 0 0; color: rgba(255,255,255,.92); font-weight: 400; max-width: 52ch; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } .cta .btn { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate-800); color: rgba(255,255,255,.8); padding: clamp(50px, 7vw, 80px) 0 30px; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-top img { height: 56px; width: auto; margin-bottom: 20px; }
.footer-claim { font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--green-200); font-weight: 500; }
.site-footer h4 { color: var(--white); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; transition: color .25s; }
.site-footer a:hover { color: var(--green-200); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); font-size: .84rem; }
.footer-bottom nav { display: flex; gap: 22px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 34px 24px; } .footer-top > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer ul { gap: 12px; } }

/* ---------- Dezentes Einblenden ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .mehr::before, .mehr__hint, .mehr__hint::before, .tile__back, .member__img img { transition: none; }
}

.legal { max-width: 760px; }

/* ---------- Überarbeitung: klarer, weniger Kleintext ---------- */
.hero { padding-bottom: 110px; }
.hero .lead { font-size: clamp(1.1rem, 1.7vw, 1.4rem); max-width: 34ch; }

/* „MEHR. ALS. ZAHNTECHNIK." erscheint beim Laden Wort für Wort */
.hero-words .word { opacity: 0; transform: translateY(.38em); animation: wordIn .9s cubic-bezier(.2, .9, .25, 1.15) forwards; animation-delay: calc(.25s + var(--i) * .5s); }
@keyframes wordIn { to { opacity: 1; transform: none; } }
.hero-words .mehr::before { transform: scaleX(0); transform-origin: left; animation: barIn .7s var(--ease) 1.9s forwards; }
@keyframes barIn { to { transform: scaleX(1); } }

.hero .lead, .hero .btn-row { opacity: 0; animation: fadeUp .8s var(--ease) forwards; }
.hero .lead { animation-delay: 1.9s; }
.hero .btn-row { animation-delay: 2.1s; }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-words .word, .hero-words .mehr::before, .hero-words .mehr__hint, .hero .lead, .hero .btn-row { animation: none; opacity: 1; transform: none; }
}

/* Kundenportal-Button im Header */
.nav a.btn--portal { --bg: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.65); }
.nav a.btn--portal:hover { background: var(--white); color: var(--ink); }
.is-solid .nav a.btn--portal { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--slate); }
.is-solid .nav a.btn--portal:hover { background: var(--slate); color: var(--white); }
.nav a.btn--portal + a.btn { margin-left: -14px; }
@media (max-width: 1140px) {
  .nav a.btn--portal, .is-solid .nav a.btn--portal { margin-top: 28px; border: 0; font-size: .9rem; padding: 18px 24px; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--slate); }
  .nav a.btn--portal + a.btn { margin: 12px 0 0; }
}
.cta .btn--ghost { --fg: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.cta .btn--ghost:hover { background: var(--white); color: var(--ink); }
@media (max-width: 760px) { .cta .btn-row { flex-direction: column; } }

/* Einstiege: eine Überschrift, ein Satz, ein Pfeil */
.path { padding-right: 64px; gap: 8px; }
.path h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.path .more { position: absolute; right: 24px; top: 50%; margin: 0; padding: 0; font-size: 1.5rem; letter-spacing: 0; transform: translateY(-50%); color: var(--slate); transition: transform .35s var(--ease), color .35s; }
.path:hover .more { transform: translate(6px, -50%); }

/* Referenzen: Logos zuerst, grau, farbig beim Hovern */
.partners--logos { margin-bottom: clamp(30px, 4vw, 50px); }
.partners--logos li { border: 0; background: var(--grey-100); aspect-ratio: auto; height: clamp(88px, 9vw, 120px); min-width: 0; padding: 18px 22px; display: flex; align-items: center; justify-content: center; }
.partners--logos img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; min-width: 0; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .4s, opacity .4s; }
.partners--logos img[src$=".svg"] { height: 100%; }
@media (max-width: 520px) { .partners--logos li:last-child { padding: 18px 22px; } }
.partners--logos li:hover img { filter: none; opacity: 1; }
.quote { border-top-width: 3px; gap: 26px; }
.draft-line { margin: 22px 0 0; font-size: .82rem; color: var(--slate); }

/* Kacheln ohne Nummern: Icon rückt nach oben */
@media (hover: hover) and (min-width: 761px) {
  .tile__icon, .tiles--compact .tile__icon { margin-top: 0; }
}
.section-head { margin-bottom: clamp(30px, 4vw, 52px); }
.h2 { font-size: clamp(1.9rem, 4.4vw, 3.4rem); }
.partners--logos img { mix-blend-mode: multiply; }

/* ---------- „Zahntechnik." als zweiter Wort-Link (zu den Leistungen) ---------- */
.hero-words .mehr--quiet::before { height: .035em; opacity: .0; animation: none; transform: none; transition: height .45s var(--ease), opacity .3s; }
.hero-words .mehr--quiet:hover::before, .hero-words .mehr--quiet:focus-visible::before { height: .86em; opacity: 1; }

/* Handy: Schriftzug etwas höher */
@media (max-width: 760px) { .hero { padding-bottom: clamp(150px, calc(22svh / var(--zoom, 1)), 210px); } }

/* ---------- Laufband für Logos und Zitate ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }



.marquee .partners--logos { display: flex; margin-bottom: 0; }
.marquee .partners--logos li { flex: none; width: clamp(170px, 18vw, 240px); }
.marquee--quotes { margin-top: 16px; padding: 6px 0 40px; }

.marquee--quotes li { flex: none; width: min(400px, 82vw); display: flex; }
.marquee--quotes .quote { width: 100%; box-shadow: 0 20px 40px -32px rgba(29,34,38,.45); background: var(--grey-100); }
.section--grey .marquee--quotes .quote { background: var(--white); }
.marquee--quotes li:nth-child(3n+2) .quote { background: var(--slate-grad); color: var(--white); }
.marquee--quotes li:nth-child(3n+2) blockquote, .marquee--quotes li:nth-child(3n+2) figcaption b { color: var(--white); font-weight: 400; }
.marquee--quotes li:nth-child(3n+2) figcaption b { font-weight: 700; }
.marquee--quotes li:nth-child(3n+2) figcaption { color: rgba(255,255,255,.88); }
.marquee--quotes .quote:nth-child(2) { background: var(--grey-100); }


/* ---------- Schritte als Guide: Punkt für Punkt ---------- */
.steps--guide { gap: 0; }
.steps--guide .step { border: 0; padding: 0 28px 0 0; position: relative; --t: calc(var(--n) * .75s); }
.steps--guide .step::before {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 24px; position: relative; z-index: 1;
  font-size: 1rem; font-weight: 700; color: rgba(255,255,255,.75); border: 2px solid rgba(255,255,255,.4); background: #66727a;
  transition: background .45s, border-color .45s, color .45s, transform .6s cubic-bezier(.3, 1.6, .5, 1); transition-delay: var(--t);
}
.steps--guide .step::after {
  content: ""; position: absolute; top: 26px; left: 54px; right: 0; height: 2px;
  background: linear-gradient(var(--green), var(--green)) no-repeat left / 0% 100%, rgba(255,255,255,.25);
  transition: background-size .75s linear; transition-delay: calc(var(--t) + .25s);
}
.steps--guide .step:last-child::after { display: none; }
.steps--guide .step h3, .steps--guide .step p { opacity: .0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--t) + .1s); }
.steps--guide .step h3 { font-size: 1.3rem; }
.steps--guide.is-run .step::before { background: var(--green); border-color: var(--green); color: var(--ink); transform: scale(1.08); }
.steps--guide.is-run .step::after { background-size: 100% 100%, auto; }
.steps--guide.is-run .step h3, .steps--guide.is-run .step p { opacity: 1; transform: none; }
@media (max-width: 900px) { .steps--guide { row-gap: 40px; } .steps--guide .step:nth-child(2n)::after { display: none; } }
@media (max-width: 560px) {
  .steps--guide { row-gap: 0; }
  .steps--guide .step { display: block; border: 0; padding: 4px 0 34px 76px; min-height: 88px; }
  .steps--guide .step:last-child { padding-bottom: 0; }
  .steps--guide .step::before { position: absolute; left: 0; top: 0; margin: 0; font-size: 1rem; }
  .steps--guide .step::after, .steps--guide .step:nth-child(2n)::after { display: block; top: 54px; bottom: 0; left: 26px; right: auto; width: 2px; height: auto; background: linear-gradient(var(--green), var(--green)) no-repeat top / 100% 0%, rgba(255,255,255,.25); }
  .steps--guide .step:last-child::after { display: none; }
  .steps--guide.is-run .step::after { background-size: 100% 100%, auto; }
}
@media (prefers-reduced-motion: reduce) { .steps--guide .step, .steps--guide .step * { --t: 0s; } .steps--guide .step::before, .steps--guide .step::after, .steps--guide .step h3, .steps--guide .step p { transition: none; } }

/* ---------- Galerie fertiger Arbeiten ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 230px); gap: 12px; }
.g { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--slate-800); }
.g--big { grid-column: span 2; grid-row: span 2; }
.g--wide { grid-column: span 2; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.g figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; font-weight: 700; font-size: 1.05rem; color: var(--white); background: linear-gradient(0deg, rgba(29,34,38,.8), transparent); transform: translateY(8px); opacity: 0; transition: opacity .4s, transform .4s var(--ease); }
.g:hover img { transform: scale(1.05); }
.g:hover figcaption { opacity: 1; transform: none; }
@media (hover: none) { .g figcaption { opacity: 1; transform: none; } }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; gap: 8px; } .g--big { grid-row: span 1; } .g figcaption { font-size: .92rem; padding: 30px 12px 10px; } }
.section--slate .draft-line { color: rgba(255,255,255,.75); }

/* Mehrwert: am Desktop ohne Pfeile (am Handy bleibt das Plus zum Aufklappen) */
@media (min-width: 801px) { .benefit__btn::after { display: none; } }

/* Kontaktformular: Spam-Falle unsichtbar, Rückmeldung nach dem Senden */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; padding: 14px 16px; border-radius: var(--radius); font-weight: 500; }
.form-status.is-ok { background: var(--green-200); color: var(--ink); }
.form-status.is-error { background: #fbe9e7; color: #8c2a1c; }

/* Rechtstexte */
.legal h2 { font-size: 1.6rem; margin: 48px 0 14px; }
.legal h3 { font-size: 1.15rem; margin: 30px 0 10px; }
.legal > :first-child { margin-top: 0; }
.legal p, .legal li { color: var(--text); overflow-wrap: anywhere; }
.legal ul { padding-left: 22px; margin: 0 0 1em; }
.legal a { text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ==========================================================
   Überarbeitung 20.11.: Laufbänder, Hover-Hinweise, Leistungskarten,
   Bildkopf Leistungen, Digitalisierung, Instagram
   ========================================================== */

/* ---------- Laufbänder: laufen selbst, lassen sich ziehen, blättern und anhalten ---------- */
.marquee { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; user-select: none; -webkit-user-select: none; overscroll-behavior-x: contain; }
.marquee::-webkit-scrollbar { display: none; }
.marquee.is-dragging { cursor: grabbing; }
.marquee img { -webkit-user-drag: none; pointer-events: none; }
.marquee__track { display: flex; gap: 16px; width: max-content; margin: 0; padding: 0 16px; list-style: none; }
.marquee-wrap { position: relative; }
.marquee-wrap--quotes { margin-top: 16px; }
.marquee-wrap--quotes .marquee--quotes { margin-top: 0; }
.marquee-arrow { position: absolute; top: 50%; z-index: 2; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(29,34,38,.45); cursor: pointer; display: grid; place-items: center; opacity: 0; transform: scale(.85); transition: opacity .25s, transform .35s var(--ease), background .2s, color .2s; }
.marquee-wrap--quotes .marquee-arrow { margin-top: -43px; }
.marquee-arrow--links { left: 6px; }
.marquee-arrow--rechts { right: 6px; }
.marquee-arrow svg { width: 18px; height: 18px; fill: currentColor; }
.marquee-arrow:hover { background: var(--slate); color: var(--white); }
.marquee-wrap:hover .marquee-arrow, .marquee-wrap:focus-within .marquee-arrow { opacity: 1; transform: none; }
@media (hover: none) { .marquee-arrow { display: none; } }

/* ---------- Startseite: „Schulungen →" und „Leistungen →" ploppen erst beim Hovern auf ---------- */
.hero-words .mehr__hint { opacity: 0; transform: translate(-18px, -50%) scale(.85); transform-origin: left center; pointer-events: none; transition: opacity .25s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1), color .3s; }
.hero-words .mehr:hover .mehr__hint, .hero-words .mehr:focus-visible .mehr__hint { opacity: 1; transform: translate(10px, -50%) scale(1); }
.hero-words .mehr__hint::before { width: 0; transition: width .45s var(--ease) .08s; }
.hero-words .mehr:hover .mehr__hint::before, .hero-words .mehr:focus-visible .mehr__hint::before { width: 40px; }
@media (hover: none) { .hero-words .mehr__hint { display: none; } }

/* ---------- Leistungskarten (3 Stück) ---------- */
.lcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lcard { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 1px 0 var(--grey-200), 0 24px 48px -34px rgba(29,34,38,.55); transition: transform .4s var(--ease), box-shadow .4s var(--ease); scroll-margin-top: calc(var(--header-h) + 20px); }
.lcard:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--grey-200), 0 34px 60px -34px rgba(29,34,38,.6); }
.lcard__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--slate-800); }
.lcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.lcard:hover .lcard__media img { transform: scale(1.05); }
.lcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(29,34,38,.82) 0%, rgba(29,34,38,.25) 48%, transparent 70%); }
.lcard__title { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px 20px; color: var(--white); font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1.12; }
.lcard__num { display: block; font-size: .74rem; font-weight: 500; letter-spacing: .16em; color: var(--green-200); margin-bottom: 6px; }
.lcard__body { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px 20px; flex: 1; }
.lcard__body p { margin: 0; color: var(--text-soft); }
.chips-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips-list li { font-size: .82rem; font-weight: 500; padding: 5px 11px; border-radius: 99px; background: var(--grey-100); color: var(--slate-800); }
.lcard__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: .95rem; }
.lcard__points li { position: relative; padding-left: 26px; }
.lcard__points li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 12px; height: 7px; border-left: 2px solid var(--green-600); border-bottom: 2px solid var(--green-600); transform: rotate(-45deg); }
.lcard__links { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.lcard__links a { font-weight: 500; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--green); padding-bottom: 2px; }
.lcard__links a:hover { border-color: var(--ink); }
a.lcard { text-decoration: none; color: inherit; }
.lcards--kompakt .lcard__media { aspect-ratio: 4 / 3; }
@media (max-width: 960px) { .lcards { grid-template-columns: 1fr; } .lcard { flex-direction: row; } .lcard__media { flex: 0 0 42%; aspect-ratio: auto; min-height: 220px; } }
@media (max-width: 560px) { .lcard { flex-direction: column; } .lcard__media { flex: none; aspect-ratio: 16 / 10; min-height: 0; } }

/* ---------- Seitenkopf mit großem Hintergrundbild (Leistungen) ---------- */
.page-hero--bild { min-height: clamp(480px, calc(76svh / var(--zoom, 1)), 760px); display: grid; align-items: end; background: var(--slate-800); }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 35%; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(47,54,59,.92) 0%, rgba(74,84,91,.72) 45%, rgba(113,126,134,.15) 100%), linear-gradient(0deg, rgba(47,54,59,.55), transparent 45%); }
.page-hero--bild .display { max-width: 15ch; }
@media (max-width: 760px) { .page-hero--bild { min-height: calc(82svh / var(--zoom, 1)); } .page-hero__bg img { object-position: 72% 30%; } .page-hero__bg::after { background: linear-gradient(180deg, rgba(47,54,59,.35) 0%, rgba(47,54,59,.55) 40%, rgba(47,54,59,.93) 75%); } }

/* ---------- Digitalisierung: Bild links, Leistungsliste rechts ---------- */
.feature-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.feature-split__media { position: sticky; top: calc(var(--header-h) + 24px); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.feature-split__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.flist { list-style: none; margin: 0; padding: 0; counter-reset: f; }
.flist li { display: grid; grid-template-columns: 52px 1fr; gap: 4px 18px; padding: 20px 0; border-bottom: 1px solid var(--grey-400); }
.flist li:first-child { border-top: 1px solid var(--grey-400); }
.flist__icon { grid-row: span 2; width: 52px; height: 52px; border-radius: 50%; background: var(--white); color: var(--slate-800); display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--grey-200); }
.flist__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.flist h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); align-self: end; }
.flist p { margin: 0; color: var(--text-soft); }
.flist li.flist--cta { border-bottom: 0; margin-top: 18px; padding: 22px; border-radius: var(--radius-lg); background: var(--slate-grad); color: var(--white); }
.flist--cta + li, .flist li.flist--cta { border-top: 0; }
.flist--cta h3 { color: var(--white); }
.flist--cta p { color: rgba(255,255,255,.9); font-weight: 400; }
.flist--cta .flist__icon { background: var(--green); color: var(--ink); box-shadow: none; }
.flist--cta a { color: inherit; }
@media (max-width: 900px) { .feature-split { grid-template-columns: 1fr; } .feature-split__media { position: relative; top: 0; aspect-ratio: 16 / 10; } }

/* ---------- Über uns: Instagram ---------- */
.insta-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.insta-head .btn-row { margin-top: 0; }
.insta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: clamp(26px, 4vw, 40px); }
.insta a { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.12); color: var(--white); text-decoration: none; }
.insta img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.insta a:hover img { transform: scale(1.05); }
.insta__text { position: absolute; inset: 0; display: flex; align-items: end; padding: 16px; font-size: .9rem; line-height: 1.4; background: linear-gradient(0deg, rgba(29,34,38,.85), rgba(29,34,38,0) 60%); opacity: 0; transition: opacity .35s; }
.insta a:hover .insta__text, .insta a:focus-visible .insta__text { opacity: 1; }
.insta__video { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; background: rgba(29,34,38,.6); display: grid; place-items: center; }
.insta__video svg { width: 12px; height: 12px; fill: #fff; }
.insta--leer a { display: grid; place-items: center; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.insta--leer svg { width: 34px; height: 34px; fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1.5; }
.insta-note { margin: 16px 0 0; font-size: .84rem; color: rgba(255,255,255,.75) !important; }
@media (max-width: 640px) { .insta { grid-template-columns: repeat(2, 1fr); gap: 8px; } .insta__text { display: none; } }
@media (prefers-reduced-motion: reduce) { .lcard, .lcard__media img, .insta img { transition: none; } }

/* Materialien (auch auf der Seite Leistungen) */
.materials { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.material { border-radius: var(--radius-lg); padding: 22px; background: var(--white); border: 1px solid var(--grey-200); }
.material .swatch { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); margin-bottom: 16px; }
.material h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.material p { margin: 0; color: var(--text-soft); font-size: .92rem; }
@media (max-width: 1000px) { .materials { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .materials { grid-template-columns: 1fr; } }

/* Startseite Referenzen: Überschrift mit Bild der Geschäftsführung */
.ref-head { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(26px, 5vw, 70px); align-items: center; margin-bottom: clamp(30px, 4vw, 52px); }
.ref-head .media { box-shadow: 0 30px 60px -36px rgba(29,34,38,.5); }
@media (max-width: 900px) { .ref-head { grid-template-columns: 1fr; } }

/* Google-Bewertungen: Zusammenfassung unter den Zitaten */
.google-line { margin: 18px 0 0; }
.google-line a { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--green); padding-bottom: 3px; }
.google-line a:hover { border-color: var(--ink); }
.google-line__sterne { color: #e3a008; letter-spacing: 2px; }
.quote .avatar { font-size: .8rem; font-weight: 700; color: var(--slate-800); background: var(--green-200); }

/* ---------- Kundenportal-Fenster ---------- */
.portal { width: min(560px, calc(100vw - 32px)); max-height: calc(100svh / var(--zoom, 1) - 32px); margin: auto; padding: clamp(24px, 4vw, 38px); border: 0; border-radius: var(--radius-lg); background: var(--white); color: var(--text); box-shadow: 0 40px 80px -30px rgba(29,34,38,.55); overflow: auto; }
.portal::backdrop { background: rgba(29,34,38,.55); backdrop-filter: blur(3px); }
.portal[open] { animation: portalIn .35s cubic-bezier(.2, .9, .25, 1.1); }
@keyframes portalIn { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.portal h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-bottom: 10px; padding-right: 36px; }
.portal__klein { margin: 0 0 8px; font-size: .76rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--green-600); }
.portal__text { color: var(--text-soft); margin: 0 0 22px; }
.portal__zu { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--grey-100); cursor: pointer; display: grid; place-items: center; }
.portal__zu:hover { background: var(--grey-200); }
.portal__zu svg { width: 18px; height: 18px; stroke: var(--ink); stroke-width: 2; fill: none; stroke-linecap: round; }
.portal__wahl { display: grid; gap: 10px; }
.portal__option { position: relative; display: grid; gap: 2px; padding: 18px 54px 18px 20px; border-radius: var(--radius-lg); border: 1.5px solid var(--grey-200); background: var(--white); color: var(--ink); text-align: left; text-decoration: none; cursor: pointer; font: inherit; transition: border-color .2s, background .2s; }
.portal__option b { font-size: 1.1rem; }
.portal__option span { color: var(--text-soft); font-size: .95rem; }
.portal__option i { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 1.3rem; transition: transform .3s var(--ease); }
.portal__option:hover { border-color: var(--slate); }
.portal__option:hover i { transform: translate(4px, -50%); }
.portal__option--neu { background: var(--slate-grad); border-color: transparent; color: var(--white); }
.portal__option--neu span { color: rgba(255,255,255,.88); }
.portal__option--neu:hover { border-color: transparent; filter: brightness(1.06); }
.portal__zurueck { border: 0; background: none; padding: 0; margin: 0 0 14px; font: inherit; font-weight: 500; color: var(--slate-600); cursor: pointer; }
.portal__zurueck:hover { color: var(--ink); }
.portal__form { display: grid; gap: 14px; }
.portal__form .frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.portal__form .btn { justify-self: start; }
@media (max-width: 560px) { .portal__form .frow { grid-template-columns: 1fr; } .portal__form .btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .portal[open] { animation: none; } }

/* Kundenportal: Termin über Calendly (Testknöpfe) */
.portal__termin { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--grey-200); }
.portal__termin-text { margin: 0 0 14px; color: var(--text-soft); font-size: .95rem; }
.portal__hinweis { margin: 10px 0 0; font-size: .8rem; color: var(--text-soft); }
.portal:has([data-seite="termin"]:not([hidden])) { width: min(760px, calc(100vw - 32px)); }
.portal__kalender { min-height: 620px; height: min(680px, calc(100svh / var(--zoom, 1) - 260px)); border-radius: var(--radius); overflow: hidden; background: var(--grey-100); }
.portal__kalender .calendly-inline-widget, .portal__kalender iframe { width: 100%; height: 100%; min-height: 620px; }
.portal__laden, .kalender__laden { padding: 24px; margin: 0; color: var(--text-soft); }
@media (max-width: 560px) { .portal__termin .btn { width: 100%; } }

.portal [data-seite="wahl"] h2 { margin-bottom: 22px; }
.portal__termin .portal__klein { font-weight: 700; font-size: .82rem; color: var(--ink); }

/* Kontaktseite: fest eingebetteter Kalender */
.kalender { height: 720px; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: 0 24px 48px -36px rgba(29,34,38,.45); }
.kalender .calendly-inline-widget, .kalender iframe { width: 100%; height: 100%; min-height: 720px; }
.kalender__hinweis { margin: 12px 0 0; font-size: .8rem; color: var(--text-soft); }
@media (max-width: 760px) { .kalender, .kalender .calendly-inline-widget, .kalender iframe { height: 960px; min-height: 960px; } }

/* Handy, Startseite: Kompetenz-Karten mit weniger Text, Bewertungen kompakter */
@media (max-width: 760px) {
  .lcards--kompakt .lcard__body p { display: none; }
  .lcards--kompakt .lcard__body { gap: 10px; padding: 14px 16px 16px; }
  .lcards--kompakt .lcard__media { aspect-ratio: 16 / 9; }
  .lcards--kompakt .chips-list li:nth-child(n+3) { display: none; }
  .marquee--quotes li { width: min(300px, 74vw); }
  .marquee--quotes .quote { padding: 18px; gap: 14px; }
  .marquee--quotes .quote blockquote { font-size: .95rem; line-height: 1.45; }
  .marquee--quotes .quote blockquote::before { font-size: 2.2rem; margin-bottom: 8px; }
  .marquee--quotes .quote figcaption { grid-template-columns: 36px 1fr; gap: 10px; font-size: .8rem; }
  .marquee--quotes .quote .avatar { width: 36px; height: 36px; font-size: .7rem; }
  .marquee .partners--logos li { width: 140px; height: 76px; padding: 12px 16px; }
}
@media (max-width: 760px) { .google-line a { font-size: .88rem; gap: 6px; } }

/* ==========================================================
   Handy-Ergonomie (alle Seiten): kürzere Wege, griffige Buttons,
   wischbare Kartenreihen, weniger Fließtext
   ========================================================== */
@media (max-width: 760px) {
  /* Abstände und Schrift */
  .section { padding: 52px 0; }
  .section--tight { padding: 36px 0; }
  .section-head { margin-bottom: 24px; }
  .lead { font-size: 1rem; line-height: 1.55; margin-top: 14px; }
  .h2 { font-size: clamp(1.65rem, 7.4vw, 2.1rem); }
  .page-hero { padding: calc(var(--header-h) + 26px) 0 40px; }
  .page-hero .display { font-size: clamp(1.9rem, 8.6vw, 2.5rem); }
  .page-hero--split .media, .feature-split__media, .ref-head .media { aspect-ratio: 16 / 9; }
  .ref-head .lead { display: none; }
  .ref-head { gap: 18px; margin-bottom: 22px; }
  .cta { padding: 28px 22px; gap: 18px; }
  .cta p { display: none; }

  /* Wischbare Kartenreihen statt langer Stapel */
  .paths, .lcards--kompakt {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 14px; scroll-padding-left: var(--gutter); scrollbar-width: none;
  }
  .paths::-webkit-scrollbar, .lcards--kompakt::-webkit-scrollbar { display: none; }
  .paths .path { flex: 0 0 78%; scroll-snap-align: start; padding: 20px 52px 20px 20px; }
  .paths .path p { font-size: .92rem; }
  .lcards--kompakt .lcard { flex: 0 0 80%; scroll-snap-align: start; flex-direction: column; }
  .lcards--kompakt .lcard__media { flex: none; min-height: 0; aspect-ratio: 4 / 3; }
  .lcards--kompakt .lcard__title { font-size: 1.2rem; padding: 14px 16px; }

  /* Leistungsseite: Karten kompakter, Details stecken in den Stichworten */
  .lcards:not(.lcards--kompakt) .lcard__points { display: none; }
  .lcards:not(.lcards--kompakt) .lcard__body { padding: 16px 18px 18px; gap: 12px; }
  .lcards:not(.lcards--kompakt) .lcard__body p { font-size: .95rem; }

  /* Materialien als 2er-Raster */
  .materials { grid-template-columns: 1fr 1fr; gap: 10px; }
  .material { padding: 14px; }
  .material .swatch { aspect-ratio: 16 / 7; margin-bottom: 10px; }
  .material h3 { font-size: .85rem; }
  .material p { font-size: .82rem; line-height: 1.45; }

  /* Listen und Termine knapper */
  .flist li { grid-template-columns: 42px 1fr; gap: 2px 14px; padding: 16px 0; }
  .flist__icon { width: 42px; height: 42px; }
  .flist p { font-size: .92rem; }
  .event { padding: 16px 0; }
  .event h3 { font-size: 1.1rem; }

  /* Über uns: Instagram mit vier Bildern */
  .insta a:nth-child(n+5) { display: none; }

  /* Kontakt */
  .contact-info dl { gap: 16px; }
  .contact-info dd { font-size: 1.05rem; }
}

/* Buttons am Handy: volle Breite, gut mit dem Daumen zu treffen */
@media (max-width: 560px) {
  .btn-row { flex-direction: column; gap: 10px; margin-top: 24px; }
  .btn-row .btn, .cta .btn { width: 100%; min-height: 50px; }
  .materials { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .team-grid .member__img { aspect-ratio: 1 / 1; }
  .team-grid .member__img img { object-position: center top; }
  .team-grid { gap: 18px 12px; }
  .member figcaption { padding-top: 8px; }
}

/* ==========================================================
   Überarbeitung 24.11.: Zielgruppen-Reiter, Schulungskarten,
   Patienten, sanfter Seitenwechsel
   ========================================================== */

/* Schulungskarten: kompakt, ohne Aufklappen */
.scards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.scard { display: flex; flex-direction: column; gap: 12px; padding: 20px; background: var(--white); border-radius: var(--radius-lg); border-top: 4px solid var(--green); box-shadow: 0 20px 40px -34px rgba(29,34,38,.5); scroll-margin-top: calc(var(--header-h) + 20px); }
.scard__kopf { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; }
.scard__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--green-100); color: var(--slate-800); display: grid; place-items: center; }
.scard__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.scard h3 { font-size: 1.12rem; line-height: 1.2; }
.scard__fuer { margin: 3px 0 0; font-size: .78rem; font-weight: 500; letter-spacing: .06em; color: var(--green-600); }
.scard > p { margin: 0; color: var(--text-soft); font-size: .95rem; line-height: 1.5; }
.scard__punkte { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .9rem; }
.scard__punkte li { position: relative; padding-left: 22px; }
.scard__punkte li::before { content: ""; position: absolute; left: 1px; top: .45em; width: 11px; height: 6px; border-left: 2px solid var(--green-600); border-bottom: 2px solid var(--green-600); transform: rotate(-45deg); }
.scard .btn { margin-top: auto; align-self: flex-start; padding: 12px 18px; }
.individuell { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px 30px; flex-wrap: wrap; padding: 20px 24px; border-radius: var(--radius-lg); background: var(--white); box-shadow: inset 0 0 0 1.5px var(--grey-200); scroll-margin-top: calc(var(--header-h) + 20px); }
.individuell h3 { font-size: 1.12rem; }
.individuell p { margin: 4px 0 0; color: var(--text-soft); font-size: .95rem; }
@media (max-width: 900px) { .scards { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .scard .btn, .individuell .btn { width: 100%; } }

/* Patienten */
.wahl { display: grid; grid-template-columns: 72px 1fr; gap: 24px; align-items: start; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--green-100); }
.wahl__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: var(--ink); display: grid; place-items: center; }
.wahl__icon svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wahl .lead { margin-top: 10px; color: var(--slate-800); }
.pkurz { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pkurz li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; padding: 18px; border-radius: var(--radius-lg); background: var(--white); }
.pkurz .flist__icon { width: 48px; height: 48px; }
.pkurz h3 { font-size: 1.08rem; }
.pkurz p { margin: 4px 0 0; color: var(--text-soft); font-size: .95rem; }
@media (max-width: 900px) { .pkurz { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .wahl { grid-template-columns: 1fr; gap: 14px; } .wahl__icon { width: 56px; height: 56px; } }


/* „Wir nehmen Sie an die Hand": vier Zielgruppen nebeneinander */
.zg-raster { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.zg-karte { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.6vw, 30px); border-radius: var(--radius-lg); background: rgba(29,34,38,.22); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.zg-karte__fuer { margin: 0; font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--green-200) !important; }
.zg-karte h3 { color: var(--white); font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.25; }
.zg-karte__schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: z; }
.zg-karte__schritte li { counter-increment: z; position: relative; padding-left: 40px; color: rgba(255,255,255,.92); font-size: 1rem; line-height: 1.5; }
.zg-karte__schritte li::before { content: counter(z); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: var(--ink); font-size: .82rem; font-weight: 700; display: grid; place-items: center; }
.zg-karte__links { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 10px; }
.zg-karte .btn--ghost { --fg: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.zg-karte .btn--ghost:hover { background: var(--white); color: var(--ink); }
@media (max-width: 860px) { .zg-raster { grid-template-columns: 1fr; } }
/* Handy: kompakte Kacheln, kleine Buttons nebeneinander */
@media (max-width: 560px) {
  .zg-raster { gap: 10px; }
  .zg-karte { gap: 8px; padding: 16px 18px 18px; border-radius: var(--radius); }
  .zg-karte__fuer { font-size: .68rem; letter-spacing: .14em; }
  .zg-karte h3 { font-size: 1.02rem; line-height: 1.3; }
  .zg-karte h3 br { display: none; }
  .zg-karte__links { padding-top: 4px; gap: 8px; }
  .zg-karte__links .btn { width: auto; min-height: 0; padding: 12px 14px; font-size: .68rem; letter-spacing: .1em; }
}

/* Schulungskarten: größere, luftigere Schrift */
.scards { gap: 18px; }
.scard { padding: clamp(24px, 2.6vw, 30px); gap: 16px; }
.scard__kopf { grid-template-columns: 52px 1fr; gap: 14px; }
.scard__icon { width: 52px; height: 52px; }
.scard__icon svg { width: 26px; height: 26px; }
.scard h3 { font-size: clamp(1.2rem, 1.7vw, 1.4rem); }
.scard__fuer { font-size: .9rem; letter-spacing: .02em; margin-top: 4px; }
.scard > p { font-size: 1.02rem; line-height: 1.65; }
.scard__punkte { gap: 9px; font-size: 1rem; line-height: 1.5; }
.scard__punkte li { padding-left: 26px; }
.scard .btn { padding: 14px 22px; font-size: .8rem; }
.individuell { padding: 24px 28px; }
.individuell h3 { font-size: clamp(1.2rem, 1.7vw, 1.4rem); }
.individuell p { font-size: 1.02rem; }

/* ---------- Handy-Menü: grauer Verlauf, Einträge laufen beim Öffnen nacheinander ein ---------- */
@media (max-width: 1140px) {
  .brand { position: relative; z-index: 60; }
  .nav { inset: 0; padding-top: calc(var(--header-h) + 12px); background: var(--slate-grad); }
  .menu-open .site-header::before { opacity: 0; }
  .menu-open .brand .logo-dark { display: none; }
  .menu-open .brand .logo-light { display: block; }
  .menu-open .menu-toggle span { background: var(--white); }
  .nav a, .is-solid .nav a { color: var(--white); border-bottom-color: rgba(255,255,255,.18); }
  .nav a.active, .is-solid .nav a.active { color: var(--green-200); }
  .nav a.btn--portal, .is-solid .nav a.btn--portal { color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.65); }
  .nav a.btn--green, .is-solid .nav a.btn--green { color: var(--ink); }
  .menu-open .nav > a { animation: menuEin .55s var(--ease) both; }
  .menu-open .nav > a:nth-child(2) { animation-delay: .05s; }
  .menu-open .nav > a:nth-child(3) { animation-delay: .1s; }
  .menu-open .nav > a:nth-child(4) { animation-delay: .15s; }
  .menu-open .nav > a:nth-child(5) { animation-delay: .2s; }
  .menu-open .nav > a:nth-child(6) { animation-delay: .27s; }
  .menu-open .nav > a:nth-child(7) { animation-delay: .32s; }
}
@keyframes menuEin { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .menu-open .nav > a { animation: none; } }

/* Leistungen-Banner: Text sitzt wie in den anderen Bannern */
.page-hero--bild { min-height: clamp(420px, calc(62svh / var(--zoom, 1)), 640px); align-items: center; }

/* Leistungen-Banner: Container volle Breite, damit die Überschrift links bündig wie in den anderen Bannern sitzt */
.page-hero--bild .container { width: 100%; }

/* Digitalisierung mobil: zweites Bild direkt unter dem Bannerbild ausblenden */
@media (max-width: 900px) { [data-page="digitalisierung"] .feature-split__media { display: none; } }

/* Startseite: „Ihr Partner" – drei Icons (Praxis, Patient, Labor) */
.partner-icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.partner-icon { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(24px, 2.8vw, 34px); border-radius: var(--radius-lg); background: rgba(29,34,38,.22); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); color: var(--white); text-decoration: none; transition: background .3s var(--ease), transform .3s var(--ease); }
.partner-icon:hover { background: rgba(29,34,38,.34); transform: translateY(-3px); }
.partner-icon__bild { width: 76px; height: 76px; border-radius: 20px; background: var(--white); display: grid; place-items: center; margin-bottom: 6px; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.partner-icon__bild svg { width: 40px; height: 40px; fill: none; stroke: var(--slate-800); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.partner-icon h3 { color: var(--white); font-size: clamp(1.35rem, 2vw, 1.6rem); margin: 0; }
.partner-icon p { margin: 0; color: rgba(255,255,255,.85); line-height: 1.5; }
.partner-icon__link { margin-top: auto; padding-top: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green-200); }
@media (max-width: 860px) {
  .partner-icons { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .partner-icon { display: grid; grid-template-columns: 60px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; padding: 16px 18px; border-radius: var(--radius); }
  .partner-icon__bild { width: 60px; height: 60px; border-radius: 16px; margin: 0; grid-row: 1 / span 3; align-self: start; }
  .partner-icon__bild svg { width: 32px; height: 32px; }
  .partner-icon h3 { font-size: 1.15rem; }
  .partner-icon p { font-size: .92rem; }
  .partner-icon__link { padding-top: 2px; font-size: .68rem; }
}

/* Leistungen: „Nah am Patienten" – besser lesbarer Fließtext */
.patient-text { max-width: 52ch; margin-top: 22px; }
.patient-text p { font-size: clamp(1.08rem, 1.3vw, 1.18rem); line-height: 1.65; color: var(--text); margin: 0 0 14px; letter-spacing: .005em; }
.patient-text .patient-text__kern { font-size: clamp(1.15rem, 1.5vw, 1.3rem); line-height: 1.45; font-weight: 500; margin-bottom: 18px; padding-left: 16px; border-left: 3px solid var(--green); }
#patienten .checks { margin-top: 22px; }
#patienten .checks li { color: var(--text); font-weight: 500; }

/* Leistungen-Banner: Teamfoto etwas tiefer, Verlauf links schmaler (Köpfe frei) */
[data-page="leistungen"] .page-hero--bild { background: #dcdde0; }
[data-page="leistungen"] .page-hero__bg img { object-position: 55% 56px; }
[data-page="leistungen"] .page-hero__bg::after { background: linear-gradient(90deg, rgba(47,54,59,.92) 0%, rgba(60,68,74,.78) 24%, rgba(74,84,91,.35) 40%, rgba(113,126,134,0) 58%), linear-gradient(180deg, rgba(47,54,59,.6) 0, rgba(47,54,59,0) 150px), linear-gradient(0deg, rgba(47,54,59,.45), transparent 40%); }
@media (max-width: 760px) {
  /* Handy: Foto füllt den oberen Teil, Text liegt unten im Bild (wie bei den anderen Bild-Bannern) */
  [data-page="leistungen"] .page-hero--bild { min-height: 0; padding-top: calc(var(--header-h) + 52vw); padding-bottom: 32px; background: #3a4248; }
  [data-page="leistungen"] .page-hero__bg { inset: 0; height: auto; }
  [data-page="leistungen"] .page-hero__bg img { position: absolute; top: calc(var(--header-h) - 6px); left: 0; width: 100%; height: 124vw; object-fit: cover; object-position: 50% 0;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 80%, transparent 100%); }
  [data-page="leistungen"] .page-hero__bg::after { background: linear-gradient(180deg, rgba(58,66,72,.55) 0, rgba(58,66,72,0) calc(var(--header-h) + 30px), rgba(58,66,72,0) 34%, rgba(58,66,72,.5) 50%, rgba(58,66,72,.72) 68%, rgba(58,66,72,.85) 100%); }
}
}

/* Digitalisierung: zwei Konzept-Karten */
.scards--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .scards--2 { grid-template-columns: 1fr; } }

/* Navigation: Links mittig zwischen Logo und Buttons statt ganz rechts */
@media (min-width: 1141px) {
  .site-header .nav { flex: 1; }
  .site-header .nav > a:first-child { margin-left: auto; }
  .site-header .nav > .btn--portal { margin-left: auto; }
}

/* Leistungskarten: besser lesbar (dunklerer Text, kräftigere Punkte) */
.lcard__body p { color: var(--text); font-size: 1.02rem; line-height: 1.65; }
.lcard__points { font-size: .98rem; gap: 9px; }
.lcard__points li { color: var(--text); font-weight: 500; line-height: 1.45; }
.chips-list li { font-size: .84rem; background: var(--grey-200); color: var(--ink); }

/* Handy: alle Banner etwas niedriger */
@media (max-width: 760px) {
  .hero { min-height: calc(78svh / var(--zoom, 1)); padding-bottom: 64px; }
  .page-hero { padding: calc(var(--header-h) + 14px) 0 30px; }
  .page-hero--split .container { gap: 22px; }
  .page-hero--split .media { aspect-ratio: 2 / 1; }
  .page-hero .btn-row { margin-top: 20px; }
}

/* Handy: weniger Text, Kernaussagen bleiben */
@media (max-width: 760px) {
  .lcards:not(.lcards--kompakt) .lcard__body > p { display: none; }        /* Leistungen: Karten nur mit Schlagworten */
  .patient-text p:last-child { display: none; }                            /* Nah am Patienten: dritter Absatz */
  .flist li p { display: none; }                                           /* Digitalisierung: nur die Überschriften der Punkte */
  .scard > p, .individuell p { display: none; }                            /* Schulungskarten: nur Stichpunkte */
  #schulungen .section-head .lead { display: none; }
  .ref-head .lead:first-of-type { display: block; }                        /* Startseite: Erreichbarkeit zeigen, GF-Satz nicht */
  .ref-head .lead + .lead { display: none; }
}

/* Kontaktseite: Calendly erst nach Klick laden (Zwei-Klick-Lösung) */
.kalender.kalender--wartet { height: auto; min-height: 0; display: grid; place-items: center; background: var(--white); }
.kalender__zustimmung { max-width: 52ch; padding: clamp(32px, 5vw, 56px) clamp(22px, 4vw, 40px); text-align: center; display: grid; justify-items: center; gap: 14px; }
.kalender__zustimmung h3 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.45rem); }
.kalender__zustimmung p { margin: 0; color: var(--text-soft); font-size: .95rem; line-height: 1.6; }
.kalender__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--green-100); display: grid; place-items: center; }
.kalender__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--slate-800); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) { .kalender.kalender--wartet { height: auto; min-height: 0; } }

/* Leistungen-Banner (Desktop): Teamfoto weiter nach rechts, damit rechts kein leerer Hintergrund bleibt */
@media (min-width: 761px) {
  [data-page="leistungen"] .page-hero__bg img { position: absolute; top: 0; left: 14%; width: 100%; }
}

/* Leistungen-Banner (Desktop): weiche Bildränder statt harter Kanten */
@media (min-width: 761px) {
  [data-page="leistungen"] .page-hero__bg img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%), linear-gradient(180deg, transparent 40px, #000 22%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0, #000 22%), linear-gradient(180deg, transparent 40px, #000 22%);
    mask-composite: intersect;
  }
}

/* Kundenportal: Einwilligungs-Platzhalter vor dem Kalender */
.portal__kalender.kalender--wartet { min-height: 0; height: auto; display: grid; place-items: center; background: var(--grey-100); }
.portal__kalender .kalender__zustimmung { padding: 32px 24px; }

/* Startseite: Pop-up-Fenster der Partner-Kacheln */
.pop { width: min(600px, calc(100vw - 32px)); }
.pop--video { width: min(720px, calc(100vw - 32px)); padding-top: 0; overflow-x: hidden; }
.pop__video { margin: 0 calc(-1 * clamp(24px, 4vw, 38px)) 24px; aspect-ratio: 16 / 9; background: var(--slate-800); }
.pop__video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.pop--video .portal__zu { z-index: 2; background: rgba(255,255,255,.9); }
.pop__punkte { margin: 0 0 24px; }
.pop .btn-row { margin-top: 0; }
.pop .btn--ghost { --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--grey-400); }
.pop[open] { animation: popEin .35s var(--ease); }
@keyframes popEin { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .pop[open] { animation: none; } }

/* Handy, Leistungsseite: „Was wir fertigen" als wischbare Reihe statt großer Stapel */
@media (max-width: 760px) {
  .lcards:not(.lcards--kompakt) {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 14px; scroll-padding-left: var(--gutter); scrollbar-width: none;
  }
  .lcards:not(.lcards--kompakt)::-webkit-scrollbar { display: none; }
  .lcards:not(.lcards--kompakt) .lcard { flex: 0 0 64%; scroll-snap-align: start; flex-direction: column; }
  .lcards:not(.lcards--kompakt) .lcard__media { flex: none; min-height: 0; aspect-ratio: 4 / 3; }
  .lcards:not(.lcards--kompakt) .lcard__title { font-size: 1.1rem; padding: 12px 14px; }
  .lcards:not(.lcards--kompakt) .lcard__body { padding: 12px 14px 14px; }
  .lcards:not(.lcards--kompakt) .chips-list li { font-size: .74rem; padding: 4px 9px; }
}

/* Leistungen: Bildkachel im Banner etwas größer (Bannerhöhe bleibt) */
@media (min-width: 901px) {
  [data-page="leistungen"] .page-hero--split .container { grid-template-columns: .82fr 1.18fr; }
  [data-page="leistungen"] .page-hero--split .container { align-items: stretch; }
  [data-page="leistungen"] .page-hero--split .container > div:first-child { align-self: center; }
  [data-page="leistungen"] .page-hero--split .media { aspect-ratio: auto; min-height: 0; position: relative; }
  [data-page="leistungen"] .page-hero--split .media img { position: absolute; inset: 0; }
}

/* Handy/Tablet: keine über die ganze Breite gezogenen Buttons – Buttons so breit wie ihr Text, nebeneinander wenn Platz ist */
@media (max-width: 860px) {
  .btn-row, .hero .btn-row, .cta .btn-row { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .btn-row .btn, .cta .btn, .form .btn, .portal__form .btn, .portal__termin .btn, .scard .btn, .individuell .btn,
  .zg-karte__links .btn, .kalender__zustimmung .btn { width: auto; min-height: 0; }
  .cta { justify-items: start; }
}
/* Handy-Menü: Buttons nicht über die ganze Breite */
@media (max-width: 1140px) {
  .nav a.btn, .nav a.btn--portal, .is-solid .nav a.btn--portal { align-self: flex-start; padding: 14px 22px; font-size: .82rem; }
}

/* Startseite „Analoge Erfahrung": Kacheln am Handy etwas schmaler */
@media (max-width: 760px) {
  .lcards--kompakt .lcard { flex-basis: 66%; }
}

/* Startseite „Digitalisierung klappt am besten gemeinsam": am Handy kleines Bild neben dem Text */
@media (max-width: 760px) {
  .teaser-klein { grid-template-columns: 36% 1fr; gap: 16px; align-items: center; }
  .teaser-klein .media { aspect-ratio: 4 / 5; border-radius: var(--radius); }
  .teaser-klein .h2 { font-size: 1.35rem; }
  .teaser-klein .lead { font-size: .92rem; margin-top: 8px; }
  .teaser-klein .btn-row { margin-top: 14px; }
  .teaser-klein .btn { padding: 11px 14px; font-size: .7rem; }
}

/* Leistungen „Nah am Patienten": am Handy Ausschnitt weiter oben, damit die Köpfe ganz zu sehen sind */
@media (max-width: 900px) {
  #patienten .media img { object-position: center 20% !important; transform: none !important; }
}

/* Kontakt-Banner (Desktop): Buttons rechts neben der Überschrift statt darunter */
@media (min-width: 901px) {
  [data-page="kontakt"] .page-hero .container { display: grid; grid-template-columns: 1fr auto; column-gap: 40px; align-items: end; }
  [data-page="kontakt"] .page-hero .breadcrumb { grid-column: 1 / -1; }
  [data-page="kontakt"] .page-hero .btn-row { margin-top: 0; padding-bottom: 10px; justify-content: flex-end; }
}

/* Startseite „Analoge Erfahrung": gleiche Karten wie auf der Leistungsseite, aber ohne die Haken-Punkte (weniger Text) */
.lcards--start .lcard__points { display: none; }

/* Handy: Wischreihen (Leistungskarten, Wege) – Animation und Schatten nicht mehr abschneiden */
@media (max-width: 760px) {
  .lcards, .paths { padding-top: 18px !important; padding-bottom: 44px !important; margin-top: -14px; margin-bottom: -30px; }
  .lcards > .reveal, .paths > .reveal { transform: none; }               /* nur einblenden, nicht von unten hereinschieben */
  .lcard:hover { transform: none; }
}

/* Handy: Teamfotos etwas weiter herausgezoomt (fast das ganze Foto statt quadratischem Ausschnitt) */
@media (max-width: 760px) {
  .team-grid .member__img { aspect-ratio: 5 / 6; }
}

/* Startseite: Termine sind Links zur Schulungs-Sektion der Digitalisierungsseite */
a.event { color: inherit; text-decoration: none; transition: background .25s; }
a.event:hover h3 { color: var(--green-600); }

/* Handy: einzelne Elemente nur am Desktop zeigen */
@media (max-width: 760px) {
  .nur-desktop { display: none !important; }
  section#termine { padding-top: 52px !important; }
}

/* Startseite: Hinweis „Leistungen →" beim Wort „Zahntechnik." über dem Wort, rechtsbündig (rechts daneben wurde er am Rand abgeschnitten) */
/* Desktop: wie vorher rechts daneben. Nur auf schmaleren Bildschirmen über dem Wort, rechtsbündig. */
@media (max-width: 1100px) {
  .hero-words .mehr--quiet .mehr__hint { left: auto; right: .05em; top: auto; bottom: 100%; margin: 0 0 .05em; transform-origin: right center; transform: translate(12px, 0) scale(.85); }
  .hero-words .mehr--quiet:hover .mehr__hint, .hero-words .mehr--quiet:focus-visible .mehr__hint { transform: translate(0, 0) scale(1); }
}

/* Handy, „Nah am Patienten": nur der Kernsatz, dann direkt die Stichpunkte */
@media (max-width: 760px) {
  .patient-text p:not(.patient-text__kern) { display: none; }
  .patient-text .patient-text__kern { margin-bottom: 0; }
}

/* Handy: Startseiten-Banner füllt beim Öffnen wieder den ganzen Bildschirm */
@media (max-width: 760px) {
  .hero { min-height: calc(100svh / var(--zoom, 1)); align-items: end; padding-bottom: calc(20svh / var(--zoom, 1)); }
}

/* Leistungen „Nah am Patienten": zwei Raumfotos über der unteren rechten Ecke des Hauptbilds */
.patient-collage { position: relative; }
.patient-collage .media { margin: 0; }
.collage-klein { position: absolute; display: block; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); border: 5px solid var(--white); box-shadow: 0 22px 44px -22px rgba(29,34,38,.55); }
.collage-klein--1 { width: 54%; right: -7%; bottom: -8%; z-index: 2; }
.collage-klein--2 { width: 45%; right: 38%; bottom: -14%; z-index: 1; }
@media (max-width: 900px) {
  .patient-collage { margin-bottom: 40px; }
  .collage-klein--1 { width: 52%; right: -2%; bottom: -13%; }
  .collage-klein--2 { width: 44%; right: 42%; bottom: -18%; }
  .collage-klein { border-width: 3px; }
}

/* Digitalisierung: Raumfoto quer in der Mitte, die beiden Konzept-Karten liegen links und rechts als Overlay über dem Bildrand */
.scards--2 { display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; gap: 0; margin-bottom: 28px; }
.scard-bild { margin: 0; grid-column: 3 / 11; grid-row: 1; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; background: var(--grey-200); box-shadow: 0 18px 48px -12px rgba(29,34,38,.32), 0 4px 14px rgba(29,34,38,.08); }
.scard-bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
.scards--2 > #sessions { grid-column: 1 / 5; grid-row: 1; z-index: 2; box-shadow: 0 30px 60px -24px rgba(29,34,38,.45); }
.scards--2 > #scanclub { grid-column: 9 / 13; grid-row: 1; z-index: 2; box-shadow: 0 30px 60px -24px rgba(29,34,38,.45); }
@media (max-width: 960px) {
  .scards--2 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .scard-bild { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 16 / 8; }
  .scards--2 > #sessions { grid-column: 1; grid-row: 2; }
  .scards--2 > #scanclub { grid-column: 2; grid-row: 2; }
}
@media (max-width: 760px) {
  .scards--2 { grid-template-columns: 1fr; }
  .scard-bild { aspect-ratio: 3 / 2; }
  .scards--2 > #sessions, .scards--2 > #scanclub { grid-column: 1; grid-row: auto; }
}
/* Digitalisierung: Raumfoto 10 % näher */
.scard-bild img { transform: scale(1.1); }
