/* ==========================================================================
   IKTec – Stylesheet
   Alles lokal: keine externen Schriften, Bilder oder Skripte.
   Aufbau: 1 Schrift · 2 Tokens · 3 Basis · 4 Layout · 5 Komponenten
           6 Seitenabschnitte · 7 Bewegung · 8 Barrierefreiheit · 9 Druck
   ========================================================================== */

/* 1 · Schrift ------------------------------------------------------------ */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
}
/* Metrisch angeglichene Ersatzschrift gegen Layoutsprünge beim Laden */
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans");
  size-adjust: 104%;
  ascent-override: 84%;
  descent-override: 20%;
  line-gap-override: 0%;
}

/* 2 · Tokens ------------------------------------------------------------- */
:root {
  --navy-950: #0B1524;
  --navy-900: #0F1B2D;
  --navy-800: #17263C;
  --navy-750: #1B2D46;
  --navy-700: #22344E;
  --navy-600: #2A3B55;
  --navy-500: #3A4E6B;
  --steel: #5E7391;
  --mist: #B4C0CF;
  --fog: #A9B6C7;
  --text: #E8EDF3;
  --paper: #F2F5F8;
  --white: #FFFFFF;
  --ink: #0F1B2D;
  --ink-muted: #3B4A5E;
  --line-light: #D5DCE5;
  --red: #ED1E24;
  --red-strong: #D41920;
  --red-soft: #F08A8D;
  --mint: #A8DAD3;
  --mint-ink: #1D3340;

  --font: "Archivo", "Archivo Fallback", "Helvetica Neue", Arial, sans-serif;
  --container: 1220px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(72px, 9vw, 112px);
  --radius: 4px;

  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 700ms;

  --header-h: 86px;
  color-scheme: dark;
}

/* 3 · Basis -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--navy-900);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;              /* 17px */
  line-height: 1.6;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; }
a[href^="tel:"] { white-space: nowrap; }
strong { font-weight: 700; }
main:focus, [tabindex="-1"]:focus { outline: none; }
.scroll-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 24px; pointer-events: none; }
address { font-style: normal; }

::selection { background: var(--mint); color: var(--ink); }

/* Typografie */
.display, .h1 {
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: .98;
  font-weight: 800;
  font-stretch: 118%;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.h1 { font-size: clamp(2.5rem, 6vw, 5.25rem); max-width: 12em; }
.h2 {
  font-size: clamp(2rem, 4vw, 3.375rem);
  line-height: 1.05;
  font-weight: 800;
  font-stretch: 115%;
  text-wrap: balance;
}
.h2--m { font-size: clamp(1.75rem, 3.2vw, 2.625rem); font-weight: 700; font-stretch: 112%; line-height: 1.1; }
.h3 { font-size: 1.375rem; line-height: 1.3; font-weight: 700; font-stretch: 108%; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.25rem); color: var(--mist); max-width: 36em; text-wrap: pretty; }
.lead--ink { color: var(--mint-ink); }
.lead--bright { color: var(--text); }
.muted { color: var(--mist); }
.small { font-size: .9375rem; }
.eyebrow { font-size: 1rem; color: var(--mist); }
.eyebrow--red { color: var(--red-soft); }
.eyebrow--mint { color: var(--mint); }
.measure { max-width: 30em; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 1em; }
.prose h2 { margin-top: 2.2em; margin-bottom: .6em; }
.prose h3 { margin-top: 1.6em; margin-bottom: .4em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .35em; }

/* 4 · Layout ------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--light { background: var(--paper); color: var(--ink); }
.section--white { background: var(--white); color: var(--ink); }
.section--surface { background: var(--navy-800); }
.section--rule { border-top: 1px solid var(--navy-700); }
.section--red-top { border-top: 4px solid var(--red); }
.section--light .muted, .section--white .muted { color: var(--ink-muted); }

.stack-s > * + * { margin-top: 12px; }
.stack-m > * + * { margin-top: 22px; }
.stack-l > * + * { margin-top: 44px; }
.stack-xl > * + * { margin-top: 56px; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: clamp(32px, 5vw, 64px); }
.grid-2--center { align-items: center; }
.grid-2--end { align-items: end; }
.grid-2--start { align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 40px 48px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 40px; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }

/* 5 · Komponenten -------------------------------------------------------- */

/* Skip-Link */
.skip-link {
  position: absolute; left: 16px; top: 12px; z-index: 100;
  padding: 12px 18px; border-radius: var(--radius);
  background: var(--mint); color: var(--ink); font-weight: 700; text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--dur) var(--ease-out);
}
.skip-link:focus { transform: none; }

/* Fokus – überall klar sichtbar */
:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
  border-radius: 2px;
}
.section--light :focus-visible, .section--white :focus-visible, .band--mint :focus-visible { outline-color: var(--ink); }

/* Fließtext-Links: Unterstreichung wächst beim Hover */
.link {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: background-size var(--dur) var(--ease-out), color var(--dur-fast);
}
.link:hover { background-size: 100% 2px; color: var(--white); }
.section--light .link:hover, .section--white .link:hover { color: var(--ink); }

/* Buttons */
.btn {
  --btn-bg: var(--red-strong);
  --btn-fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: 2px solid var(--btn-bg); border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg);
  font: inherit; font-weight: 600; line-height: 1.2; text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.btn:hover { --btn-bg: #B9151B; box-shadow: 0 10px 24px -14px rgba(212, 25, 32, .9); }
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 44px; padding: 0 20px; }
.btn--mint { --btn-bg: var(--mint); --btn-fg: var(--ink); }
.btn--mint:hover { --btn-bg: #C2E6E1; box-shadow: 0 10px 24px -14px rgba(168, 218, 211, .8); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); border-color: var(--text); }
.btn--ghost:hover { --btn-bg: var(--text); --btn-fg: var(--navy-900); border-color: var(--text); box-shadow: none; }
.icon-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur) var(--ease-out); }
.btn:hover .icon-arrow, .card-link:hover .icon-arrow { transform: translateX(4px); }

/* Kopfzeile */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 27, 45, 0);
  border-bottom: 1px solid var(--navy-700);
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur), box-shadow var(--dur);
}
.site-header__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 20px;
  padding-block: 26px;
  transition: padding var(--dur) var(--ease-out);
}
.site-header__logo { display: flex; align-items: center; min-height: 44px; border-radius: 2px; }
.site-header__logo img { height: 34px; width: auto; transition: height var(--dur) var(--ease-out); }
.site-header.is-scrolled {
  background: rgba(15, 27, 45, .86);
  border-bottom-color: rgba(42, 59, 85, .9);
  box-shadow: 0 12px 30px -24px rgba(0, 0, 0, .9);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header.is-scrolled { -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); background: rgba(15, 27, 45, .72); }
}
.site-header.is-scrolled .site-header__inner { padding-block: 14px; }
.site-header.is-scrolled .site-header__logo img { height: 28px; }

/* Navigation */
.nav__wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.nav__list { display: flex; flex-wrap: wrap; gap: 4px 28px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-size: .9375rem; font-weight: 500; color: var(--text); text-decoration: none;
  transition: color var(--dur-fast);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px;
  background: var(--red);
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after, .nav__link.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-current { color: var(--white); }
.page-dental .nav__link.is-current::after { background: var(--mint); }

/* Menü-Schalter (nur mit JavaScript und schmalen Bildschirmen) */
.nav-toggle {
  display: none; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 14px; margin-right: -14px;
  border: 0; background: none; color: var(--text); font: inherit; font-weight: 600; cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 22px; height: 14px; }
.nav-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 1px;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 760px) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav {
    flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0;
    display: grid; grid-template-rows: 0fr;
    transition: grid-template-rows var(--dur) var(--ease-out), visibility 0s linear var(--dur);
    visibility: hidden;
  }
  .js .nav > * { min-height: 0; overflow: hidden; }
  .js .nav-open .nav { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows var(--dur) var(--ease-out), visibility 0s; }
  .js .nav__wrap { display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 0 8px; }
  .js .nav__list { flex-direction: column; gap: 0; }
  .js .nav__link { width: 100%; min-height: 52px; font-size: 1.125rem; border-bottom: 1px solid var(--navy-700); }
  .js .nav__link::after { bottom: -1px; }
  .js .nav__cta { margin-top: 16px; width: 100%; min-height: 52px; }
  .js .nav-open .site-header__inner { padding-block: 14px 20px; }
  .js .nav-open.site-header { background: rgba(15, 27, 45, .97); }
}

/* Brotkrümel */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 10px; list-style: none; margin: 0; padding: 0; font-size: .9375rem; color: var(--mist); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--steel); }
.breadcrumb a { color: var(--mist); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.breadcrumb [aria-current] { color: var(--text); }

/* Hero */
.hero .breadcrumb { margin-bottom: 8px; }
.hero__split { margin-top: 28px; }
span.todo--inline { display: inline; }
.todo--inline { text-decoration: underline dashed var(--steel); text-underline-offset: 4px; }
.hero { padding-block: clamp(72px, 10vw, 104px) clamp(56px, 7vw, 80px); }
.hero__inner > * + * { margin-top: 28px; }
.hero--sub { padding-bottom: clamp(72px, 9vw, 112px); }
.hero__split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(520px, 100%), 1fr)); gap: 32px 56px; align-items: end; }
.hero__split > div > * + * { margin-top: 24px; }
.hero__brand { height: 40px; width: auto; }
.signal { display: flex; gap: 6px; height: 4px; max-width: 280px; margin-top: 40px; }
.signal span { display: block; height: 100%; border-radius: 2px; transform-origin: left; }
.signal span:nth-child(1) { flex: 3; background: var(--red); }
.signal span:nth-child(2) { flex: 2; background: var(--mint); }
.signal span:nth-child(3) { flex: 1; background: var(--steel); }

/* Bereichskarten (Startseite) */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: 2px; }
.pillar {
  position: relative; display: flex; flex-direction: column; gap: 24px;
  padding: clamp(32px, 4vw, 56px);
  background: var(--navy-800);
  transition: background-color var(--dur) var(--ease-out);
}
.pillar::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--accent, var(--red));
  transform-origin: left; transition: transform var(--dur-slow) var(--ease-out), height var(--dur) var(--ease-out);
}
.pillar:hover { background: var(--navy-750); }
.pillar:hover::before { height: 6px; }
.pillar--mint { --accent: var(--mint); }
.pillar__logo { height: 28px; width: auto; align-self: flex-start; }
.pillar__logo--orditec { height: 26px; margin-block: 1px; }
.pillar .cluster { margin-top: auto; padding-top: 4px; }
.pillar__phone { color: var(--text); }

.pillars-wrap { padding-bottom: var(--section-y); }

/* Leistungsliste mit Trennlinien */
.rows { list-style: none; padding: 0; border-bottom: 1px solid var(--navy-600); }
.rows li {
  position: relative; padding: 14px 0; border-top: 1px solid var(--navy-600);
  transition: padding-left var(--dur) var(--ease-out), color var(--dur-fast);
}
.rows li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 2px; margin-top: -1px;
  background: var(--accent, var(--red));
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out);
}
.rows li:hover { padding-left: 20px; color: var(--white); }
.rows li:hover::before { transform: scaleX(1); }
.rows--l li { padding-block: 18px; }
.rows--mint { --accent: var(--mint); }

/* Merkmale mit Linie oben */
.feature { padding-top: 22px; border-top: 2px solid var(--accent, var(--red)); position: relative; }
.feature > * + * { margin-top: 10px; }
.feature--mint { --accent: var(--mint); border-top-width: 3px; }
.feature--ink { --accent: var(--ink); }
.feature p { color: var(--mist); font-size: 1rem; }
.section--light .feature p, .section--white .feature p { color: var(--ink-muted); }

/* Icon-Merkmale */
.icon-feature > * + * { margin-top: 14px; }
.icon-feature svg { width: 40px; height: 40px; fill: none; stroke: var(--red-strong); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-feature p { color: var(--ink-muted); }
.icon-draw path, .icon-draw rect { stroke-dasharray: 120; stroke-dashoffset: 0; }

/* Schritte */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 40px; list-style: none; padding: 0; counter-reset: step; }
.steps--tiles { gap: 2px; background: var(--line-light); }
.step > * + * { margin-top: 12px; }
.steps--tiles .step { background: var(--white); padding: 32px; }
.step__num {
  display: block; overflow: hidden;
  font-size: 2.5rem; line-height: 1; font-weight: 800; font-stretch: 120%;
  color: var(--accent, var(--red-strong));
}
.step__num span { display: inline-block; }
.step p { color: var(--mist); font-size: 1rem; }
.section--light .step p, .section--white .step p, .steps--tiles .step p { color: var(--ink-muted); }
.steps--mint { --accent: var(--mint); }

/* Hinweisleiste */
.callout { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding: 24px 32px; background: var(--navy-900); color: var(--text); }
.callout strong { font-size: 1.25rem; font-stretch: 108%; }
.callout span { color: var(--mist); }

/* Zwei Kacheln nebeneinander (dunkel) */
.tiles-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 2px; }
.tile { background: var(--navy-800); padding: clamp(32px, 4vw, 48px); transition: background-color var(--dur) var(--ease-out); }
.tile > * + * { margin-top: 18px; }
.tile p { color: var(--mist); }
.tile:hover { background: var(--navy-750); }

/* Verlinkte Karten (Über uns) */
.card-link {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: clamp(32px, 4vw, 48px);
  background: var(--navy-800); color: var(--text); text-decoration: none;
  transition: background-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.card-link::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--accent, var(--red)); transition: height var(--dur) var(--ease-out); }
.card-link:hover { background: var(--navy-750); }
.card-link:hover::before { height: 6px; }
.card-link--mint { --accent: var(--mint); }
.card-link__title { font-size: 1.5rem; font-weight: 700; font-stretch: 110%; line-height: 1.25; display: inline-flex; align-items: center; gap: 12px; }
.card-link__text { color: var(--mist); }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.tags li { padding: 8px 14px; border: 1px solid var(--navy-500); border-radius: var(--radius); transition: border-color var(--dur-fast), background-color var(--dur-fast); }
.tags li:hover { border-color: var(--mist); background: rgba(255, 255, 255, .03); }

/* Zitat-Frage (Dental) */
.qa__q { font-size: clamp(1.75rem, 3.2vw, 2.625rem); line-height: 1.15; font-weight: 700; font-stretch: 110%; color: var(--ink-muted); }
.qa__a { font-size: clamp(1.75rem, 3.2vw, 2.625rem); line-height: 1.15; font-weight: 800; font-stretch: 112%; }

/* Bildrahmen */
.media { position: relative; overflow: hidden; background: var(--navy-800); }
.media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.portrait { max-width: 520px; }
.portrait figcaption { display: flex; flex-direction: column; margin-top: 14px; }
.portrait figcaption span:last-child { color: var(--mist); font-size: .9375rem; }

/* Platzhalter für noch fehlende Inhalte */
.todo {
  display: flex; align-items: center; justify-content: center; text-align: center;
  border: 1.5px dashed var(--navy-500); color: var(--mist); font-size: .9375rem; padding: 24px;
}
.todo--inline { display: block; background: none; border: 0; padding: 0; text-align: left; color: inherit; font-size: inherit; }
.todo--media { aspect-ratio: 4 / 3; background: var(--navy-800); }
.section--light .todo { border-color: #9AA8BA; color: var(--ink-muted); }

/* Erfolgsgeschichte */
.story blockquote { padding-top: 22px; border-top: 1px solid var(--navy-600); font-size: 1.1875rem; }

/* Mint-Band (GERL) */
.band { padding-block: 72px; }
.band--mint { background: var(--mint); color: var(--ink); }
.band__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 40px; align-items: center; }
.band__logo { display: flex; justify-content: center; }
.band__logo img { width: min(340px, 100%); }

/* Fakten */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 32px; }
.facts div > * + * { margin-top: 4px; }
.facts dt { color: var(--mist); font-size: .9375rem; }
.facts dd { margin: 0; font-weight: 600; }

/* Person */
.person h2 { font-size: inherit; font-weight: inherit; }
.person__role { display: block; margin-top: 4px; font-size: 1.0625rem; font-weight: 400; }
.person__name { display: block; font-size: clamp(1.75rem, 3vw, 2.375rem); line-height: 1.1; font-weight: 800; font-stretch: 112%; }
.person__role { color: var(--ink-muted); }
.person blockquote { font-size: clamp(1.375rem, 2.4vw, 1.75rem); line-height: 1.35; font-weight: 600; }

/* Kontakt */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 2px; background: var(--navy-600); list-style: none; padding: 0; }
.contact-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 28px; background: var(--navy-800); transition: background-color var(--dur) var(--ease-out); }
.contact-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--accent); transition: height var(--dur) var(--ease-out); }
.contact-card:hover { background: var(--navy-750); }
.contact-card:hover::before { height: 6px; }
.contact-card--red { --accent: var(--red); }
.contact-card--mint { --accent: var(--mint); }
.contact-card--steel { --accent: var(--steel); }
.contact-card__label { color: var(--mist); font-size: .9375rem; }
.contact-card__value { font-size: clamp(1.375rem, 2.2vw, 1.625rem); font-weight: 700; font-stretch: 110%; text-decoration: none; overflow-wrap: anywhere; }
.contact-card__value::after { content: ""; position: absolute; inset: 0; }   /* ganze Karte klickbar */
.contact-card__value:focus-visible { outline: none; }
.contact-card:focus-within { outline: 3px solid var(--mint); outline-offset: -3px; }

.contact-big > * + * { margin-top: 10px; }
.contact-big__phone { display: inline-block; font-size: clamp(1.75rem, 3vw, 2.375rem); font-weight: 800; font-stretch: 112%; text-decoration: none; }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 32px 64px; align-items: start; }
.faq__list { border-bottom: 1px solid var(--line-light); }
.faq__item { border-top: 1px solid var(--line-light); }
.faq__q {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 16px 0;
  font-size: 1.1875rem; font-weight: 700; font-stretch: 106%; cursor: pointer; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover span { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.faq__icon { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--red-strong); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur) var(--ease-out); }
.page-dental .faq__icon { stroke: #2F7F74; }
.faq__item[open] .faq__icon { transform: rotate(180deg); }
.faq__a { padding: 0 0 22px; color: var(--ink-muted); max-width: 40em; }
.faq__item[open] .faq__a { animation: faq-in var(--dur) var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Rechtstexte */
.legal { padding-block: clamp(56px, 7vw, 88px) var(--section-y); }
.legal .prose { max-width: 46em; }
.legal .prose h2 { font-size: 1.5rem; font-weight: 700; font-stretch: 108%; line-height: 1.25; }
.legal .prose h3 { font-size: 1.1875rem; font-weight: 700; }
.legal .prose p, .legal .prose li { color: var(--mist); }
.legal .prose strong { color: var(--text); }
.legal dl.kv { display: grid; grid-template-columns: minmax(150px, max-content) 1fr; gap: 8px 24px; margin-top: 12px; }
.legal dl.kv dt { color: var(--mist); }
.legal dl.kv dd { margin: 0; }
@media (max-width: 520px) { .legal dl.kv { grid-template-columns: 1fr; gap: 2px; } .legal dl.kv dd { margin-bottom: 10px; } }

/* Fußzeile */
.site-footer { border-top: 1px solid var(--navy-700); padding-top: 56px; font-size: .9375rem; color: var(--fog); }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px 48px; }
.site-footer__brand img { height: 28px; width: auto; margin-bottom: 16px; }
.site-footer__brand p { max-width: 26em; }
.site-footer__address strong { color: var(--text); }
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; }
.site-footer__nav li { margin: 0; }
.site-footer__nav a { display: inline-block; padding-block: 6px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-block: 24px 40px; border-top: 1px solid var(--navy-700); }
.site-footer a { color: var(--fog); }
.site-footer a:hover { color: var(--white); }

/* 404 */
.error-code { font-size: clamp(5rem, 18vw, 12rem); line-height: .9; font-weight: 800; font-stretch: 125%; color: var(--steel); }

/* 7 · Bewegung ------------------------------------------------------------
   Alle Animationen sind dezent, kurz und nur aktiv, wenn das System keine
   reduzierte Bewegung wünscht. Ohne JavaScript bleibt jeder Inhalt sichtbar. */

/* Weiche Seitenwechsel in unterstützenden Browsern */
@view-transition { navigation: auto; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  ::view-transition-old(root) { animation: vt-out 220ms var(--ease-in-out) both; }
  ::view-transition-new(root) { animation: vt-in 380ms var(--ease-out) both; }
  @keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

  /* Hero: gestaffelter Einstieg (reines CSS, kein Skript nötig) */
  .hero [data-enter] { animation: enter 900ms var(--ease-out) both; }
  .hero [data-enter="2"] { animation-delay: 110ms; }
  .hero [data-enter="3"] { animation-delay: 220ms; }
  .hero [data-enter="4"] { animation-delay: 330ms; }
  @keyframes enter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

  /* Signallinie zeichnet sich ein */
  .signal span { animation: draw 900ms var(--ease-out) both; }
  .signal span:nth-child(1) { animation-delay: 380ms; }
  .signal span:nth-child(2) { animation-delay: 560ms; }
  .signal span:nth-child(3) { animation-delay: 700ms; }
  @keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

  /* Scroll-Einblendung: nur wenn Skripte laufen.
     Sicherheitsnetz: falls main.js nicht lädt, wird nach 2,5 s alles gezeigt. */
  @media (scripting: enabled) {
    [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(18px); animation: reveal-failsafe 1ms 2.5s forwards; }
    .reveal-ready [data-reveal]:not(.is-in) { animation: none; }
    @keyframes reveal-failsafe { to { opacity: 1; transform: none; } }
  }
  [data-reveal] { transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
  [data-reveal-group] > :nth-child(2) { transition-delay: 80ms; }
  [data-reveal-group] > :nth-child(3) { transition-delay: 160ms; }
  [data-reveal-group] > :nth-child(4) { transition-delay: 240ms; }
  [data-reveal-group] > :nth-child(5) { transition-delay: 320ms; }
  [data-reveal-group] > :nth-child(6) { transition-delay: 400ms; }

  /* Akzentlinien wachsen beim Einblenden von links */
  .reveal-ready .pillar:not(.is-in)::before,
  .reveal-ready .contact-card:not(.is-in)::before,
  .reveal-ready .card-link:not(.is-in)::before { transform: scaleX(0); }
  .pillar::before, .contact-card::before, .card-link::before { transform-origin: left; transition: transform 900ms var(--ease-out) 150ms, height var(--dur) var(--ease-out); }

  .reveal-ready .feature:not(.is-in) { border-top-color: transparent; }
  .feature { transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out), border-color 600ms var(--ease-out) 200ms; }

  /* Schrittnummern gleiten aus einer Maske */
  .reveal-ready .step:not(.is-in) .step__num span { transform: translateY(105%); }
  .step__num span { transition: transform 700ms var(--ease-out) 150ms; }

  /* Icons zeichnen sich */
  .reveal-ready .icon-feature:not(.is-in) .icon-draw path,
  .reveal-ready .icon-feature:not(.is-in) .icon-draw rect { stroke-dashoffset: 120; }
  .icon-draw path, .icon-draw rect { transition: stroke-dashoffset 1200ms var(--ease-out) 200ms; }

  /* Porträt: sanfter Zoom-out */
  .reveal-ready .media:not(.is-in) img { transform: scale(1.06); }
  .media img { transition: transform 1400ms var(--ease-out); }
}

/* 8 · Barrierefreiheit ------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
}
@media (forced-colors: active) {
  .pillar::before, .contact-card::before, .card-link::before, .signal span { background: CanvasText; }
  .btn { border: 2px solid ButtonText; }
}
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 9 · Druck -------------------------------------------------------------- */
@media print {
  :root { color-scheme: light; }
  body, .section, .section--surface, .pillar, .tile, .card-link, .contact-card, .band--mint { background: #fff !important; color: #000 !important; }
  .site-header { position: static; }
  .nav, .nav-toggle, .skip-link, .signal { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
  .muted, .lead, p { color: #222 !important; }
}
