/* ------------------------------------------------------------------
   Ordination Dr. Längle · „Editorial Clinic"
   Schriften: Fraunces (Titel), Instrument Sans (Text), selbst gehostet
   ------------------------------------------------------------------ */

@font-face { font-family: 'Fraunces'; src: url('../fonts/Fraunces.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('../fonts/Fraunces-Italic.woff2') format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('../fonts/InstrumentSans.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('../fonts/InstrumentSans-Italic.woff2') format('woff2'); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --paper: #f5f2eb;
  --paper-2: #ebe6da;
  --paper-3: #e1dbcc;
  --ink: #14231f;
  --pine: #12302c;
  --pine-2: #1c4a43;
  --pine-3: #26605a;
  --brass: #b08a4e;
  --brass-2: #d3b47c;
  --muted: #5e6763;
  --line: rgba(20, 35, 31, .14);
  --line-strong: rgba(20, 35, 31, .32);
  --serif: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(5rem, 11vw, 9.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 300; line-height: 1.08; margin: 0; letter-spacing: -.015em; font-variation-settings: 'opsz' 144; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); max-width: 22ch; }
h3.sub { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; letter-spacing: .01em; margin: 0 0 1.6rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line-strong); }
p { margin: 0 0 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.small { font-size: .875rem; color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.r { text-align: right; }
section { position: relative; scroll-margin-top: var(--nav-h); }
main > section { padding: var(--section) 0; }

.grain { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: .55; mix-blend-mode: multiply; }
main, header, footer { position: relative; z-index: 1; }

/* Eyebrow / Zwischentitel */
.eyebrow {
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--pine-2);
  display: flex; align-items: center; gap: .9rem; margin: 0 0 1.4rem;
}
.eyebrow .num { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 1.2rem; letter-spacing: 0; text-transform: none; color: var(--brass); }
.eyebrow::before { content: ''; width: 2rem; height: 1px; background: var(--brass); }
.eyebrow .num + * { }
.shead { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.shead__intro { max-width: 58ch; font-size: 1.15rem; color: var(--muted); margin-top: 1.4rem; }

/* Buttons & Links */
.btn {
  display: inline-flex; align-items: center; gap: .6rem; padding: .95rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; text-decoration: none; letter-spacing: .01em;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn--solid { background: var(--pine); color: var(--paper); border: 1px solid var(--pine); }
.btn--solid:hover { background: var(--pine-2); transform: translateY(-2px); }
.btn--line { background: transparent; color: var(--pine); border: 1px solid var(--line-strong); }
.btn--line:hover { border-color: var(--pine); transform: translateY(-2px); }
.link { color: var(--pine); text-decoration: none; background-image: linear-gradient(var(--brass), var(--brass)); background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%; padding-bottom: 2px; transition: background-size .3s var(--ease); }
.link:hover { background-size: 0 1px; }

/* Navigation */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center; transition: background .4s, box-shadow .4s, backdrop-filter .4s; }
.nav.is-scrolled { background: rgba(245, 242, 235, .86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand__mark { width: 40px; height: 40px; border-radius: 50%; background: var(--pine); color: var(--paper); display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.05rem; letter-spacing: -.04em; box-shadow: inset 0 0 0 3px var(--pine), inset 0 0 0 4px var(--brass-2); }
.brand__name { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; line-height: 1; white-space: nowrap; }
.brand__name em { display: block; font-style: italic; font-weight: 300; font-size: .85rem; color: var(--muted); margin-top: .2rem; }
.nav__links { display: flex; align-items: center; gap: 1.8rem; }
.nav__links > a { text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--ink); opacity: .85; transition: opacity .2s; white-space: nowrap; }
.nav__links > a:hover { opacity: 1; }
.nav__phone { font-variant-numeric: tabular-nums; }
.nav__lang { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; letter-spacing: .1em; white-space: nowrap; }
.nav__lang i { width: 1px; height: .9em; background: var(--line-strong); }
.nav__lang .is-current { color: var(--ink); }
.nav__lang a { color: var(--muted); text-decoration: none; transition: color .2s; }
.nav__lang a:hover { color: var(--ink); }
.legal__nav { display: flex; align-items: center; gap: 1.6rem; }
.nav__links > a.nav__cta { padding: .7rem 1.2rem; font-size: .88rem; color: var(--paper); opacity: 1; }
.nav__cta-m { display: none; } /* kurzer Termin-Knopf, nur wenn die Links im Menü stecken */
.nav__toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; flex-direction: column; justify-content: center; gap: 6px; }
.nav__toggle span { display: block; height: 1.5px; background: var(--ink); transition: transform .3s, opacity .3s; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Hero */
.hero { padding: calc(var(--nav-h) + clamp(3rem, 8vw, 7rem)) 0 clamp(3rem, 6vw, 5rem) !important; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 5rem); align-items: end; }
.hero__h1 { font-size: clamp(2.7rem, 6.4vw, 5.6rem); font-weight: 300; line-height: .98; letter-spacing: -.03em; max-width: 12ch; margin-bottom: 2rem; }
.hero__h1 em { font-style: italic; font-weight: 400; color: var(--brass); }
.hero__id { display: flex; flex-direction: column; gap: .15rem; margin-bottom: 1.4rem; padding-left: 1.1rem; border-left: 1px solid var(--brass); }
.hero__name { font-family: var(--serif); font-size: 1.3rem; font-weight: 300; }
.hero__name strong { font-weight: 500; }
.hero__spec { font-size: .95rem; color: var(--muted); }
.hero__lead { max-width: 54ch; font-size: 1.15rem; color: var(--muted); margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__note { margin: 1.4rem 0 0; font-size: .88rem; color: var(--muted); max-width: 46ch; padding-left: 1.1rem; position: relative; }
.hero__note::before { content: ''; position: absolute; left: 0; top: .6em; width: .5rem; height: 1px; background: var(--brass); }

/* Kennzeichnung Kassenerstattung */
.tag { display: inline-block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; padding: .22rem .55rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); white-space: nowrap; line-height: 1.2; }
.tag--fall { border-color: var(--pine-3); color: var(--pine-2); background: rgba(38, 96, 90, .08); }
.tag--restricted { border-color: var(--brass); color: #7d6132; background: rgba(176, 138, 78, .12); }
.tag--none { border-color: var(--line-strong); color: var(--muted); background: transparent; }
.legend { margin: 1.4rem 0 0; display: grid; gap: .5rem; font-size: .88rem; color: var(--muted); }
.legend div { display: grid; grid-template-columns: 8.5rem 1fr; gap: .8rem; align-items: start; }
.legend dt { margin: 0; }
.legend dd { margin: 0; }
.hero__rule { max-width: var(--wrap); margin: clamp(3rem, 6vw, 5rem) auto 0; padding: 0 var(--gutter); }
.hero__rule::after { content: ''; display: block; height: 1px; background: linear-gradient(90deg, var(--brass) 0, var(--brass) 48px, var(--line) 48px); }

.portrait { margin: 0; position: relative; justify-self: end; width: min(100%, 420px); }
.portrait__frame { position: relative; aspect-ratio: 4 / 5; background: var(--paper-2); overflow: hidden; border-radius: 2px; }
.portrait__frame::after { content: ''; position: absolute; inset: 14px; border: 1px solid var(--brass); opacity: .75; pointer-events: none; mix-blend-mode: multiply; }
.portrait__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(1.02); }
.portrait__mono { display: none; position: absolute; inset: 0; place-items: center; background: radial-gradient(120% 90% at 30% 20%, #f0ebe0 0, var(--paper-2) 55%, var(--paper-3) 100%); }
.portrait__mono span { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(7rem, 16vw, 11rem); color: var(--pine); letter-spacing: -.08em; opacity: .9; }
.portrait__frame.is-empty .portrait__mono { display: grid; }
.portrait figcaption { position: absolute; left: -1.2rem; bottom: 2.4rem; transform: rotate(-90deg); transform-origin: left bottom; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* Vertrauensleiste */
.trust { padding: 0 0 var(--section) !important; }
.trust__grid { display: grid; grid-template-columns: 1fr 1.05fr .8fr 1.25fr; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust__item { padding: 1.6rem 1.4rem 1.6rem 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: .35rem; }
.trust__item + .trust__item { padding-left: 1.4rem; }
.trust__item:last-child { border-right: 0; }
.trust__item strong { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; letter-spacing: -.01em; white-space: nowrap; }
.trust__item span { font-size: .9rem; color: var(--muted); }

/* Leistungen */
.services { background: var(--paper); }
/* Kopf der Leistungen: Text links, Linienzeichnung rechts; die Zeichnung zeichnet sich beim Hineinscrollen */
.services__head { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.services__head .shead { margin-bottom: 0; }
/* Sprungmarken zu den zwei Teilen des Abschnitts, damit man nicht an der Beratung vorbeiscrollen muss */
.services__jump { display: flex; flex-wrap: wrap; gap: .7rem 1.8rem; margin: 1.6rem 0 0; font-weight: 500; }
.services__jump .link::after { content: ' ↓'; color: var(--brass); }
h3.sub[id] { scroll-margin-top: calc(var(--nav-h) + 1.5rem); }
.services__fig { margin: 0; padding: 0 clamp(0rem, 2vw, 1.5rem); }
.anat { width: 100%; height: auto; overflow: visible; display: block; }
.anat path { fill: none; stroke: var(--brass); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.anat .d { stroke-width: 1.6; }
.anat .f { stroke-width: 1.1; opacity: .5; }
.anat path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s cubic-bezier(.5, .05, .2, 1) calc(var(--d, 0) * 160ms); }
.services__fig.in .anat path { stroke-dashoffset: 0; }
.services__consult { margin-bottom: clamp(3.5rem, 7vw, 6rem); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2.5rem; }
.card { position: relative; padding: 1.6rem 0 1.9rem; border-top: 1px solid var(--line); }
.card::after { content: ''; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--brass); transition: width .6s var(--ease); }
.card:hover::after { width: 100%; }
.card__i { font-family: var(--serif); font-style: italic; color: var(--brass); font-size: 1.1rem; display: block; margin-bottom: .9rem; }
.card h4 { font-size: 1.35rem; font-weight: 400; margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: .98rem; margin: 0; }

.surgery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.surgery__block { padding: clamp(1.8rem, 3.5vw, 2.4rem); border-radius: 4px; background: var(--paper-2); }
.surgery__block p { color: var(--muted); }
.surgery__block:first-child { background: var(--pine); color: var(--paper); }
.surgery__block:first-child .surgery__where { color: var(--brass-2); }
.surgery__block:first-child p { color: rgba(245, 242, 235, .78); }
.surgery__block:nth-child(3) { background: transparent; border: 1px solid var(--line-strong); }
.surgery__where { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; color: var(--pine-3); }
.surgery__block h4 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .9rem; }
.surgery__block h4 + p { min-height: calc(3 * 1.6em); margin-bottom: 1.2rem; } /* drei Zeilen Platz, damit die Listen der drei Kacheln bündig beginnen */
.ticks { list-style: none; padding: 0; margin: 1.3rem 0 0; display: grid; gap: .5rem; }
.ticks li { position: relative; padding-left: 1.4rem; font-size: .98rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .72em; width: .7rem; height: 1px; background: currentColor; opacity: .6; }
.note { margin: 2rem 0 0; padding: 1.2rem 1.4rem; border-left: 2px solid var(--brass); color: var(--muted); font-size: .98rem; max-width: 70ch; }

/* Über mich */
.about { background: var(--paper-2); }
.about__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.about__text p { max-width: 62ch; }
.about__text > p { font-size: 1.08rem; }
.about__links { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; margin-top: 0; font-size: .95rem; }
.about__links-title { margin-top: 2.2rem; }
.fees__extra { margin-top: 1.2rem; max-width: 60ch; padding-left: 1rem; border-left: 2px solid var(--brass); color: var(--ink); }
/* Werdegang als Zeitstrahl: senkrechte Linie mit Punkten, der aktuelle Eintrag gefüllt */
.timeline { list-style: none; margin: 0 0 2.8rem .35rem; padding: 0 0 0 1.6rem; position: relative; }
.timeline::before { content: ''; position: absolute; left: 0; top: .6rem; bottom: .6rem; width: 1px; background: var(--line-strong); }
.timeline li { display: grid; gap: .15rem; padding: 0 0 1.5rem; font-size: .95rem; position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::after { content: ''; position: absolute; left: calc(-1.6rem - 4px); top: .5rem; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--brass); box-sizing: border-box; }
.timeline li:first-child::after { background: var(--brass); }
.timeline__y { font-family: var(--serif); font-style: italic; color: var(--pine-2); font-variant-numeric: tabular-nums; font-size: 1.05rem; }
.plain { list-style: none; margin: 0 0 2.4rem; padding: 0; display: grid; gap: .55rem; font-size: .95rem; color: var(--ink); }
.plain:last-child { margin-bottom: 0; }
.plain li { padding-left: 1.2rem; position: relative; }
.plain li::before { content: ''; position: absolute; left: 0; top: .75em; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }

/* Honorar */
.fees__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
th { text-align: left; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 0 .5rem .8rem 0; border-bottom: 1px solid var(--line-strong); }
td { padding: .8rem .5rem .8rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
td:nth-child(2) { color: var(--muted); white-space: nowrap; font-size: .9rem; }
td.num { font-family: var(--serif); font-size: 1.15rem; white-space: nowrap; }
.fees__table .small { margin-top: 1.2rem; max-width: 60ch; }

.calc { background: var(--pine); color: var(--paper); padding: clamp(1.8rem, 3.5vw, 2.6rem); border-radius: 4px; position: sticky; top: calc(var(--nav-h) + 1rem); }
.calc h3 { font-size: 1.9rem; margin-bottom: .4rem; }
.calc__sub { font-size: .85rem; color: rgba(245, 242, 235, .65); margin-bottom: 1.6rem; }
.field { display: block; margin-bottom: 1rem; }
.field span { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-2); margin-bottom: .4rem; font-weight: 600; }
.field select {
  width: 100%; appearance: none; -webkit-appearance: none; background: rgba(245, 242, 235, .06); color: var(--paper); border: 1px solid rgba(245, 242, 235, .28);
  border-radius: 3px; padding: .75rem 2.4rem .75rem .9rem; font: inherit; font-size: .95rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23d3b47c' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center;
}
.field select:focus { outline: 2px solid var(--brass-2); outline-offset: 2px; }
.field select option { color: var(--ink); background: var(--paper); }
.check { display: flex; align-items: center; gap: .7rem; font-size: .92rem; margin: .4rem 0 1.4rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brass-2); }
.calc__out { margin: 0; padding-top: 1rem; border-top: 1px solid rgba(245, 242, 235, .2); }
.calc__out div { display: flex; justify-content: space-between; align-items: baseline; padding: .45rem 0; }
.calc__out dt { color: var(--paper); font-size: .95rem; display: flex; flex-direction: column; gap: .1rem; }
.calc__out dt small { color: rgba(245, 242, 235, .6); font-size: .78rem; }
.calc__out dd { margin: 0; font-family: var(--serif); font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.calc__own { border-top: 1px solid rgba(245, 242, 235, .2); margin-top: .4rem; padding-top: .8rem !important; }
.calc__own dt { color: var(--paper); font-weight: 600; }
.calc__own dd { font-size: 2rem; color: var(--brass-2); }
.calc__note { font-size: .85rem; color: var(--brass-2); margin: 1rem 0 0; min-height: 1em; }
.calc__general { font-size: .78rem; color: rgba(245, 242, 235, .55); margin: 1rem 0 0; }

.steps { margin-top: clamp(3.5rem, 7vw, 6rem); }
/* Die drei Schritte sind Kacheln wie die Beratungskacheln (Klassen cards/card, Effekt G greift mit) */
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.steps__list .steps__n { font-family: var(--serif); font-style: italic; color: var(--brass); font-size: 1.6rem; display: block; margin-bottom: .5rem; line-height: 1; }
.steps__list h4 { font-size: 1.2rem; font-weight: 500; margin-bottom: .4rem; }
.steps__list p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Standorte */
.locations { background: var(--paper-2); }
.loc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.loc { background: var(--paper); padding: clamp(1.8rem, 3.5vw, 2.8rem); border-radius: 4px; position: relative; overflow: hidden; }
.loc__n { position: absolute; right: 1.6rem; top: .6rem; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(5rem, 9vw, 7.5rem); color: var(--brass); opacity: .35; line-height: 1; pointer-events: none; }
.loc h3 { font-size: clamp(1.7rem, 2.8vw, 2.2rem); margin-bottom: .3rem; }
.loc__sub { color: var(--muted); font-size: .95rem; margin-bottom: 1.4rem; min-height: 2.6em; /* beide Karten: Adressen auf gleicher Höhe */ }
.loc address { font-style: normal; font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; margin-bottom: .6rem; }
.loc__transit { font-size: .88rem; color: var(--muted); margin-bottom: 1.4rem; }
.loc__meta { margin: 0 0 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line); display: grid; gap: .5rem; }
.loc__meta div { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; }
.loc__meta dt { color: var(--muted); }
.loc__meta dd { margin: 0; }
.loc__meta a { text-decoration: none; }
.loc__links { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: .92rem; margin: 0; }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; font-family: var(--serif); font-size: 1.3rem; font-weight: 400; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary i { position: relative; width: 1.1rem; height: 1.1rem; flex: none; }
.faq__list summary i::before, .faq__list summary i::after { content: ''; position: absolute; inset: 50% auto auto 0; width: 100%; height: 1px; background: var(--brass); transition: transform .35s var(--ease); }
.faq__list summary i::after { transform: rotate(90deg); }
.faq__list details[open] summary i::after { transform: rotate(0); }
.faq__list details p { margin: 0 0 1.4rem; color: var(--muted); max-width: 62ch; }

/* Kontakt */
.contact { background: var(--paper-2); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.contact h2 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); }
/* Abstand am Absatz statt an der Überschrift: der Einblend-Effekt (fx-i) setzt den unteren Rand von h2 zurück */
.contact__grid > div:first-child > p:last-child { max-width: 48ch; color: var(--muted); font-size: 1.08rem; margin-top: 1.4rem; }
.contact__box { border-top: 1px solid var(--line-strong); }
.contact__line { display: flex; flex-direction: column; gap: .2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding-left .35s var(--ease); }
.contact__line:hover { padding-left: .6rem; }
.contact__line > span { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact__line strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -.01em; word-break: break-all; }
.contact__box .small { margin-top: 1rem; }
.mail__copied { font-style: normal; font-size: .82rem; font-weight: 600; color: var(--pine-3); min-height: 1.2em; }
.mail__copied:empty { display: none; }
.contact__item { border-bottom: 1px solid var(--line); }
.contact__item .contact__line { border-bottom: 0; padding-bottom: .5rem; }
.contact__box .contact__note { margin: 0 0 1.3rem; max-width: 44ch; }

/* Footer */
.footer { background: var(--pine); color: rgba(245, 242, 235, .7); font-size: .88rem; padding: 2.4rem 0; }
.footer__in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer p { margin: 0; }
.footer__links { display: flex; gap: 1.4rem; }
.footer a { color: var(--paper); text-decoration: none; opacity: .85; }
.footer a:hover { opacity: 1; }

/* Rechtliches */
.legal-page .nav { position: static; height: auto; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.legal { padding: 3rem var(--gutter) 5rem; max-width: 800px; }
.legal h1 { font-size: 2.6rem; margin-bottom: 1.2rem; }
.legal h2 { font-size: 1.35rem; font-weight: 500; margin: 2rem 0 .5rem; }
.legal__intro { color: var(--muted); }
.legal__dl { margin: 2rem 0 0; }
.legal__dl div { display: grid; grid-template-columns: 14rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.legal__dl dt { color: var(--muted); font-size: .92rem; }
.legal__dl dd { margin: 0; }

/* Reveal-Animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .anat path { stroke-dashoffset: 0; transition: none; }
  .btn, .link, .card::after, .contact__line { transition: none; }
}

/* Responsive */
@media (max-width: 1240px) {
  .nav__phone { display: none; }
  .nav__links { gap: 1.4rem; }
}
@media (max-width: 1140px) {
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__item { border-right: 0; padding-left: 0 !important; border-bottom: 1px solid var(--line); }
  .trust__item:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 1020px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .surgery { grid-template-columns: 1fr 1fr; }
  .surgery__block:first-child { grid-column: 1 / -1; }
  .nav__phone { display: none; }
}
/* Navigation klappt schon ab 960px ins Menü, damit Marke, Links, Sprachumschalter und Button Platz haben */
@media (max-width: 960px) {
  :root { --nav-h: 66px; }
  .nav__links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: stretch; padding: 1rem var(--gutter) 1.6rem; gap: 0; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(20, 35, 31, .08); }
  .nav__links.is-open { display: flex; }
  .nav__links > a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__phone { display: block; }
  .nav__cta { margin-top: 1rem; justify-content: center; border: 0; }
  .nav__lang { order: 10; justify-content: center; padding-top: 1.2rem; font-size: .9rem; }
  .nav__toggle { display: flex; }
  .nav__cta-m { display: inline-flex; margin-left: auto; margin-right: .35rem; padding: .55rem 1rem; font-size: .85rem; }
  .nav.is-open { background: var(--paper); }
}
@media (max-width: 860px) {
  .hero__grid, .about__grid, .fees__grid, .surgery, .loc__grid, .faq__grid, .contact__grid, .services__head { grid-template-columns: 1fr; }
  .services__fig { width: min(100%, 360px); padding: 0; }
  /* Portrait am Handy direkt unter dem Namensblock, vor dem Fließtext */
  .hero__grid { align-items: start; gap: 0; }
  .hero__text { display: contents; }
  .portrait { order: 1; justify-self: start; width: min(62%, 240px); margin: .3rem 0 1.8rem; }
  .hero__lead, .hero__cta, .hero__note { order: 2; }
  .calc { position: static; }
  .steps__list { grid-template-columns: 1fr; gap: 1.4rem; }
  .cards { grid-template-columns: 1fr; gap: 0; }
  td:nth-child(2) { white-space: normal; }
  .legend div { grid-template-columns: 1fr; gap: .25rem; }
}
@media (max-width: 520px) {
  .legal-page .nav__in { flex-wrap: wrap; row-gap: .9rem; }
  .legal__nav { width: 100%; justify-content: space-between; }
  .loc__n { font-size: 3.6rem; top: .9rem; }
  .loc h3 { padding-right: 3rem; }
  body { font-size: 1rem; }
  .trust__item strong { white-space: normal; }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item, .trust__item:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .trust__item:last-child { border-bottom: 0; }
  .legal__dl div { grid-template-columns: 1fr; gap: .2rem; }
  .portrait figcaption { display: none; }
}

/* Kürzel mit eigener Sprechblase (funktioniert auch ohne Browser-Tooltip und am Handy per Tippen) */
abbr.tip { position: relative; white-space: nowrap; text-decoration: underline dotted; text-underline-offset: 3px; cursor: help; }
/* Die Sprechblase sitzt mittig über dem Kürzel, ist so breit wie ihr Text und nur bei Hover/Fokus
   im Layout. main.js setzt ihre linke Kante so, dass sie mittig sitzt und im Fenster bleibt. */
.tip__box, abbr.tip:not(.tip--js)::after {
  position: absolute; left: 0; bottom: calc(100% + .35rem); z-index: 5;
  width: max-content; max-width: min(300px, 80vw);
  background: var(--pine); color: var(--paper); font-family: var(--sans); font-style: normal; font-weight: 400;
  font-size: .78rem; line-height: 1.35; letter-spacing: 0; text-align: center; padding: .4rem .6rem;
  border-radius: 3px; white-space: normal; box-shadow: 0 6px 20px rgba(18, 48, 44, .18);
  pointer-events: none; display: none;
}
abbr.tip:not(.tip--js)::after { content: attr(data-tip); }
abbr.tip:hover .tip__box, abbr.tip:focus .tip__box,
abbr.tip:not(.tip--js):hover::after, abbr.tip:not(.tip--js):focus::after { display: block; }
