/* Zahnpraxis Kolm · Designstudie von wedolegacy (fiktive Marke)
   Gestaltungsprinzip: ein Pinsel zeichnet die Seite. Tanne als Tinte, Koralle als Zahnfleisch und Lächeln. */

@font-face { font-family: "Newsreader"; src: url("../assets/fonts/newsreader-latin.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../assets/fonts/instrument-sans-latin.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: swap; }

:root {
  --papier: #F6F2EA;
  --blatt: #FFFDF8;
  --tinte: #16211D;
  --tanne: #1E3A31;
  --tanne-2: #284A3F;
  --tanne-3: #183027;
  --stift: #2F6E5A;        /* Behandlungsstrich im Atelier */
  --stift-hell: #DCEAE2;
  --koralle: #E0664C;
  --koralle-hell: #F6D6CA;
  --koralle-text: #B2462F;  /* Koralle für kleine Schrift auf Papier */
  --muted: #5B655F;
  --line: rgba(22, 33, 29, .13);
  --line-dark: rgba(246, 242, 234, .15);
  --open: #7FD1A6;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: min(1320px, 100% - 2 * var(--gut));
  --gut: clamp(1rem, 4vw, 3.5rem);
  --r: 14px;
  --hdr: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: var(--hdr); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--papier); color: var(--tinte);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55;
  overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--tinte); color: #fff; padding: .6rem 1rem; border-radius: 10px; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--koralle); outline-offset: 3px; border-radius: 6px; }
.wrap { width: var(--wrap); margin-inline: auto; }

.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
[data-theme="dark"] .eyebrow { color: var(--koralle); }
.h2 { font-family: var(--serif); font-size: clamp(2.3rem, 4.8vw, 4.8rem); font-weight: 400; line-height: 1.02; letter-spacing: -.02em; font-variation-settings: "opsz" 72; text-wrap: balance; }
.h2 small { display: block; font-family: var(--sans); font-size: max(1rem, .3em); font-weight: 500; letter-spacing: 0; margin-top: .8em; opacity: .8; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: .8em 1.4em;
  border-radius: 12px; border: 1.5px solid transparent; font-weight: 600; font-size: 1rem; line-height: 1.1; text-decoration: none;
  transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 42px; padding: .55em 1.05em; font-size: .94rem; border-radius: 10px; }
.btn--ink { background: var(--tanne); color: var(--papier); }
.btn--ink:hover { background: var(--stift); }
.btn--accent { background: var(--koralle); color: var(--tinte); }
.btn--accent:hover { background: var(--papier); }
.btn--line { border-color: var(--tanne); color: var(--tanne); }
.btn--line:hover { background: var(--tanne); color: var(--papier); }
.link { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: .2em; }

/* ——— Pinselstriche ——— */
.brush { position: absolute; overflow: visible; pointer-events: none; }
.brush path { fill: currentColor; }
.smile { position: relative; display: inline-block; white-space: nowrap; }
.brush--smile { left: 0; bottom: -.16em; width: 100%; height: .34em; color: var(--koralle); z-index: -1; }
.brush--under { left: 0; bottom: -.34em; width: 100%; height: .32em; color: var(--koralle); }
.brush--tick { position: relative; width: 2.1rem; height: 1.7rem; flex: none; color: var(--tinte); }
.brush--name { left: 0; bottom: -.32em; width: 100%; height: .3em; color: var(--koralle); }
.brush--n { left: -.25em; bottom: -.05em; width: 1.6em; height: .55em; color: var(--koralle); z-index: -1; }
.brush--ok { position: relative; width: 3.2rem; height: 2.4rem; color: var(--stift); }

/* Bildmarke: zwei Farben, überall dasselbe Symbol */
.mk-ink { fill: var(--mk-ink, var(--tanne)); }
.mk-accent { fill: var(--mk-accent, var(--koralle)); }

/* ——— Header ——— */
.hdr { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hdr); transition: transform .45s var(--ease), background-color .3s, color .3s, box-shadow .3s; }
.hdr__in { height: 100%; width: min(1440px, 100% - 2 * var(--gut)); margin-inline: auto; display: flex; align-items: center; gap: 2rem; }
.hdr.is-scrolled { background: var(--papier); box-shadow: 0 1px 0 var(--line); }
.hdr.is-dark { background: var(--tanne); color: var(--papier); box-shadow: 0 1px 0 var(--line-dark); --mk-ink: var(--papier); }
.hdr.is-accent { background: var(--koralle); box-shadow: none; --mk-accent: var(--papier); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; margin-right: auto; }
.hdr__mark { width: 30px; height: 36px; }
.hdr__name { font-family: var(--serif); font-weight: 500; font-size: 1.32rem; letter-spacing: -.01em; white-space: nowrap; font-variation-settings: "opsz" 24; }
.hdr__nav { display: flex; gap: 1.6rem; }
.hdr__nav a { text-decoration: none; font-weight: 500; font-size: .97rem; position: relative; padding: .4rem 0; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.hdr__nav a:hover::after, .hdr__nav a.is-current::after { transform: scaleX(1); }
.hdr__tools { display: flex; align-items: center; gap: .9rem; }
.hdr.is-dark .btn--ink, .is-menu .hdr .btn--ink { background: var(--koralle); color: var(--tinte); }
.hdr.is-accent .btn--ink { background: var(--tinte); }
.burger { display: none; width: 46px; height: 46px; border: 0; background: none; position: relative; }
.burger i { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease); }
.burger i:nth-of-type(1) { top: 18px; } .burger i:nth-of-type(2) { top: 27px; }
.is-menu .burger i:nth-of-type(1) { transform: translateY(4.5px) rotate(45deg); }
.is-menu .burger i:nth-of-type(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* ——— Mobiles Menü ——— */
.menu { position: fixed; inset: 0; z-index: 90; background: var(--tanne); color: var(--papier); padding: calc(var(--hdr) + 1.2rem) var(--gut) 1.5rem; display: flex; flex-direction: column; overflow-y: auto; scrollbar-width: none; }
.menu__nav a { display: flex; flex-direction: column; text-decoration: none; padding: .9rem 0; border-bottom: 1px solid var(--line-dark); }
.menu__nav b { font-family: var(--serif); font-size: clamp(2rem, 9vw, 3rem); font-weight: 400; line-height: 1; }
.menu__nav small { color: var(--koralle); font-size: .92rem; margin-top: .4rem; }
.menu__foot { margin-top: auto; padding-top: 1.5rem; display: grid; gap: 1rem; }
.menu__studie { font-size: .85rem; color: rgba(246, 242, 234, .7); }
.is-menu .hdr { background: var(--tanne); color: var(--papier); transform: none; box-shadow: none; --mk-ink: var(--papier); }

/* ——— Hero ——— */
.hero { padding: calc(var(--hdr) + clamp(1.5rem, 5vh, 4rem)) 0 clamp(3rem, 7vh, 5rem); min-height: 100svh; display: flex; align-items: center; }
.hero__in { width: min(1440px, 100% - 2 * var(--gut)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.hero__claim { font-family: var(--serif); font-size: clamp(3.1rem, 6.6vw, 7.4rem); font-weight: 400; line-height: .98; letter-spacing: -.03em; text-wrap: balance; font-variation-settings: "opsz" 72; position: relative; z-index: 0; }
.hero__sub { margin-top: clamp(1.4rem, 3vh, 2.2rem); font-size: clamp(1.12rem, 1.45vw, 1.38rem); max-width: 36ch; color: #2C3833; }
.hero__sub b { font-weight: 600; color: var(--tinte); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: clamp(1.4rem, 3vh, 2.2rem); }
.studie { margin-top: 1.4rem; font-size: .82rem; color: var(--muted); }
.studie a { color: inherit; }
.hero__media { position: relative; padding: 0 0 8% 0; }
.hero__photo { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 12 / 13; background: var(--koralle-hell); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__mark { position: absolute; z-index: 2; width: 27%; left: -13%; bottom: 0; height: auto; overflow: visible; pointer-events: none; filter: drop-shadow(0 0 0 transparent); }
.js .hero__mark use { display: none; }

.hero__eyebrow, .hero__claim, .hero__sub, .hero__cta, .studie { animation: rise 1s var(--ease) backwards; }
.hero__claim { animation-delay: .08s; } .hero__sub { animation-delay: .45s; } .hero__cta { animation-delay: .6s; } .studie { animation-delay: .75s; }
.hero__photo { animation: photoIn 1.2s var(--ease) .05s backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes photoIn { from { transform: translateY(36px) scale(.97); } }

.status {
  position: absolute; right: 1rem; top: 1rem; z-index: 2; display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(255, 253, 248, .96); color: var(--tinte); text-decoration: none; padding: .66rem 1rem .66rem .85rem; border-radius: 10px;
  font-weight: 600; font-size: .93rem; box-shadow: 0 10px 30px rgba(22, 33, 29, .14); animation: rise .9s var(--ease) 1.1s backwards;
}
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: #A3ABA6; flex: none; }
.status.is-open .status__dot { background: #2E9C66; box-shadow: 0 0 0 4px rgba(46, 156, 102, .2); }

/* ——— Öffnungszeiten ——— */
.hours { background: var(--tanne); color: var(--papier); padding: clamp(5rem, 12vh, 9rem) 0; }
.hours__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.hours__now { font-family: var(--serif); font-size: clamp(2.8rem, 5.6vw, 6rem); font-weight: 400; line-height: .98; letter-spacing: -.025em; color: var(--koralle); font-variation-settings: "opsz" 72; }
.hours__now.is-open { color: var(--papier); }
.hours__next { margin-top: 1.2rem; font-size: clamp(1.12rem, 1.5vw, 1.45rem); color: rgba(246, 242, 234, .86); min-height: 1.5em; }
.hours__note { margin-top: clamp(2rem, 5vh, 3.5rem); color: rgba(246, 242, 234, .74); }
.link-brush { position: relative; display: inline-block; margin-top: .6rem; font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 600; color: var(--papier); text-decoration: none; }
.week { position: relative; padding-top: 2.2rem; --dayw: 11rem; }
.week__axis { position: absolute; top: 0; left: var(--dayw); right: 0; height: 1.2rem; font-size: .78rem; color: rgba(246, 242, 234, .55); }
.week__axis span { position: absolute; transform: translateX(-50%); }
.week__axis span:nth-child(1) { left: 0%; } .week__axis span:nth-child(2) { left: 16.667%; } .week__axis span:nth-child(3) { left: 33.333%; }
.week__axis span:nth-child(4) { left: 50%; } .week__axis span:nth-child(5) { left: 66.667%; } .week__axis span:nth-child(6) { left: 83.333%; } .week__axis span:nth-child(7) { left: 100%; }
.week__days li { display: grid; grid-template-columns: var(--dayw) minmax(0, 1fr); align-items: center; padding: .55rem 0; border-top: 1px solid var(--line-dark); }
.week__days li:last-child { border-bottom: 1px solid var(--line-dark); }
.week__days b { font-weight: 600; font-size: 1.02rem; color: rgba(246, 242, 234, .86); }
.week__track { position: relative; display: block; height: 3.4rem; }
.week__track::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(246, 242, 234, .08) 0 1px, transparent 1px 16.667%); }
.week__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; color: rgba(246, 242, 234, .36); }
.week__day { display: flex; flex-direction: column; gap: .1rem; }
.week__txt { font-size: .78rem; color: rgba(246, 242, 234, .6); line-height: 1.25; padding-right: .6rem; }
.week__days li.is-today b { color: var(--koralle); font-weight: 700; }
.week__days li.is-today .week__svg { color: var(--koralle); }
.week__days li.is-today .week__txt { color: var(--papier); }
.week__days li.is-today { background: linear-gradient(90deg, rgba(224, 102, 76, .12), transparent 70%); }
.week__days li.is-closed-day .week__svg { color: rgba(246, 242, 234, .14); }
.week__nowline { position: absolute; top: -.35rem; bottom: -.35rem; width: 2px; background: var(--papier); border-radius: 2px; }
.week__nowline::after { content: attr(data-label); position: absolute; top: -1.35rem; left: 50%; transform: translateX(var(--lx, -50%)); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--papier); color: var(--tinte); padding: .1rem .4rem; border-radius: 4px; white-space: nowrap; }
.week__foot { margin-top: 1.4rem; font-size: .88rem; color: rgba(246, 242, 234, .6); max-width: 52ch; }

/* ——— So arbeiten wir ——— */
.ablauf { padding: clamp(5rem, 12vh, 9rem) 0 clamp(2rem, 5vh, 4rem); }
.ablauf__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: 1rem 3rem; margin-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.ablauf__head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.ablauf__lead, .svc__lead { font-size: clamp(1.08rem, 1.35vw, 1.28rem); color: var(--muted); max-width: 38ch; justify-self: end; }
.ablauf__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.4rem, 3vw, 3rem); counter-reset: s; }
.step__photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--stift-hell); }
.step__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.step:hover .step__photo img { transform: scale(1.03); }
.step:nth-child(2) { margin-top: clamp(0rem, 6vw, 5rem); }
.step__n { position: relative; display: inline-block; margin-top: 1.3rem; font-family: var(--serif); font-size: 2.6rem; line-height: 1; z-index: 0; }
.step__n span { position: relative; }
.step h3 { margin-top: .6rem; font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.2vw, 2.1rem); line-height: 1.1; }
.step p:last-child { margin-top: .6rem; color: #3D4843; max-width: 36ch; }

/* ——— Behandlungen / Atelier ——— */
.svc { padding: clamp(4rem, 10vh, 8rem) 0 clamp(5rem, 12vh, 9rem); }
.svc__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 1rem 3rem; margin-bottom: clamp(2.5rem, 5vh, 4rem); }
.svc__head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.atelier { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: stretch; }
.atelier__tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.atelier__tabs button {
  display: flex; align-items: baseline; gap: 1rem; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line);
  padding: 1rem .2rem; font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 2.1rem); font-weight: 400; color: rgba(22, 33, 29, .45);
  position: relative; transition: color .3s, padding .45s var(--ease);
}
.atelier__tabs button small { font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .08em; color: var(--muted); min-width: 1.6rem; }
.atelier__tabs button:hover { color: var(--tinte); }
.atelier__tabs button[aria-selected="true"] { color: var(--tinte); padding-left: 1.1rem; }
.atelier__tabs button::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 5px; border-radius: 4px; background: var(--koralle); transform: scaleY(0); transition: transform .45s var(--ease); }
.atelier__tabs button[aria-selected="true"]::before { transform: scaleY(1); }
.atelier__stage {
  background: var(--blatt); border-radius: calc(var(--r) * 1.3); padding: clamp(1rem, 2.5vw, 2.2rem); display: flex; flex-direction: column;
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(22, 33, 29, .3);
  background-image: linear-gradient(rgba(47, 110, 90, .06) 1px, transparent 1px); background-size: 100% 28px; background-position: 0 14px;
}
.teeth { width: 100%; height: auto; aspect-ratio: 900 / 560; overflow: visible; }
.teeth .t-ink { fill: var(--tinte); }
.teeth .t-pen { fill: var(--stift); }
.teeth .t-gum { fill: var(--koralle); }
.teeth .t-gumfill { fill: var(--koralle-hell); }
.teeth .t-soft { fill: var(--stift-hell); }
.teeth .t-plaque { fill: #C9B98A; }
.teeth .t-decay { fill: #4A3B2A; }
.teeth .t-ghost { fill: none; stroke: rgba(22, 33, 29, .28); stroke-width: 3; stroke-dasharray: 6 9; stroke-linecap: round; }
.atelier__cap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .3rem 1.4rem; align-items: baseline; padding-top: 1rem; border-top: 1px solid var(--line); background: var(--blatt); }
.atelier__title { font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.3rem); font-weight: 500; }
.atelier__text { color: #3D4843; font-size: 1.02rem; }
.atelier__meta { grid-column: 2; font-size: .88rem; font-weight: 600; color: var(--koralle-text); }

/* ——— Kassen (Farbblock) ——— */
.kassen { background: var(--koralle); color: var(--tinte); padding: clamp(5rem, 13vh, 9.5rem) 0; overflow: hidden; --mk-accent: var(--papier); }
.kassen__h { font-family: var(--serif); font-size: clamp(3rem, 8.4vw, 9.4rem); font-weight: 400; line-height: .95; letter-spacing: -.035em; text-wrap: balance; font-variation-settings: "opsz" 72; max-width: 14ch; }
.kassen__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem clamp(1.5rem, 3vw, 3rem); margin-top: clamp(2.5rem, 6vh, 4.5rem); border-top: 2px solid var(--tinte); padding-top: 1.6rem; }
.kassen__list li { display: flex; gap: 1rem; align-items: flex-start; }
.kassen__list small { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .78; margin-bottom: .25rem; }
.kassen__list b { font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.9rem); font-weight: 500; line-height: 1.12; }

/* ——— Team ——— */
.team { padding: clamp(5rem, 12vh, 9rem) 0; }
.team__head { margin-bottom: clamp(2.5rem, 5vh, 4rem); }
.team__row { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr)); gap: clamp(1.2rem, 2.4vw, 2.4rem); align-items: end; }
.person figure { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--stift-hell); }
.person img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.person:hover img { transform: scale(1.03); }
.person h3 { position: relative; display: inline-block; margin-top: 1.2rem; font-family: var(--serif); font-size: clamp(1.5rem, 2vw, 1.95rem); font-weight: 500; line-height: 1.05; }
.person--lead h3 { font-size: clamp(1.9rem, 2.8vw, 2.7rem); }
.person__role { margin-top: .7rem; font-weight: 600; font-size: .95rem; }
.person p:last-child { color: var(--muted); margin-top: .35rem; font-size: .98rem; max-width: 38ch; }

/* ——— Anfahrt ——— */
.route { background: var(--tanne); color: var(--papier); padding: clamp(5rem, 12vh, 9rem) 0; }
.route__in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.route__lead { margin-top: 1.6rem; color: rgba(246, 242, 234, .8); max-width: 44ch; }
.route__ways { margin-top: 1.6rem; display: grid; gap: .1rem; }
.route__ways div { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 1rem; padding: .75rem 0; border-top: 1px solid var(--line-dark); }
.route__ways div:last-child { border-bottom: 1px solid var(--line-dark); }
.route__ways dt { font-weight: 700; color: var(--koralle); }
.route__ways dd { color: rgba(246, 242, 234, .86); }
.route__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.map__frame { position: relative; aspect-ratio: 640 / 480; border-radius: calc(var(--r) * 1.3); overflow: hidden; background: var(--tanne-3); box-shadow: inset 0 0 0 1px var(--line-dark); }
.map__svg { width: 100%; height: 100%; }
.m-green path { fill: #20402F; }
.m-platz { fill: rgba(246, 242, 234, .09); }
.m-bach { fill: #2C5C58; }
.m-minor path { fill: rgba(246, 242, 234, .2); }
.m-major path { fill: rgba(246, 242, 234, .42); }
.m-bruecke path { stroke: rgba(246, 242, 234, .6); stroke-width: 3; stroke-linecap: round; fill: none; }
.m-bahn { fill: none; stroke: rgba(246, 242, 234, .35); stroke-width: 2; stroke-dasharray: 2 7; }
.m-label text { fill: rgba(246, 242, 234, .62); font: 600 11px var(--sans); letter-spacing: .05em; }
.m-label .m-label--bach { fill: #7FB5AD; font-style: normal; }
.m-label .m-label--platz { font: 500 15px var(--serif); text-anchor: middle; fill: rgba(246, 242, 234, .8); letter-spacing: 0; }
.m-label .m-label--bogen { fill: var(--koralle); font-size: 12px; }
.m-route { fill: var(--koralle); }
.m-bahnhof rect { fill: var(--papier); }
.m-bahnhof text { fill: var(--papier); font: 700 13px var(--sans); paint-order: stroke; stroke: var(--tanne-3); stroke-width: 4px; }
.m-bus rect { fill: #7FB5AD; }
.m-bus text { fill: var(--tanne-3); font: 800 10px var(--sans); text-anchor: middle; }
.m-praxis { --mk-ink: var(--tanne); --mk-accent: var(--koralle); }
.m-praxis circle { fill: var(--papier); stroke: var(--koralle); stroke-width: 3; }
.m-pin { opacity: 0; transition: opacity .5s; }
.m-pin rect, .m-pin path { fill: var(--koralle); }
.m-pin text { fill: var(--tinte); font: 700 13px var(--sans); text-anchor: middle; }
.map.is-done .m-pin { opacity: 1; }
.map figcaption { margin-top: .7rem; font-size: .8rem; color: rgba(246, 242, 234, .55); text-align: right; }

/* ——— Termin ——— */
.contact { padding: clamp(5rem, 12vh, 9rem) 0; }
.contact__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.contact .h2 { font-size: clamp(2.2rem, 4vw, 4rem); max-width: 13ch; }
.contact__lead { margin-top: 1.4rem; font-size: 1.1rem; color: #3D4843; max-width: 40ch; }
.contact__facts { margin-top: 2rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 2rem; }
.contact__facts dt { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: .3rem; }
.form { position: relative; background: var(--blatt); border-radius: calc(var(--r) * 1.3); padding: clamp(1.3rem, 3vw, 2.6rem); display: grid; gap: 1.4rem; box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(22, 33, 29, .3); }
.form legend { font-family: var(--serif); font-size: clamp(1.35rem, 1.9vw, 1.7rem); font-weight: 500; margin-bottom: .8rem; padding: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label:not(.opt) { display: grid; gap: .35rem; font-size: .88rem; font-weight: 600; color: var(--muted); }
.form input:not([type="radio"]) { font: inherit; font-size: 1rem; color: var(--tinte); background: var(--papier); border: 1.5px solid transparent; border-radius: 10px; padding: .85rem .95rem; width: 100%; transition: border-color .2s, background-color .2s; }
.form input:focus { outline: none; border-color: var(--stift); background: #fff; }
.form .is-bad { border-color: #C2412D !important; }
.opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .95rem; border-radius: 10px; border: 1.5px solid var(--line); font-weight: 600; font-size: .95rem; transition: background-color .2s, border-color .2s, color .2s; }
.opt:hover span { border-color: var(--tanne); }
.opt input:checked + span { background: var(--tanne); border-color: var(--tanne); color: var(--papier); }
.opt input:focus-visible + span { outline: 3px solid var(--koralle); outline-offset: 2px; }
.opt input:disabled + span { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.opts--half { margin-top: .7rem; }
.days { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .5rem; }
.day { display: grid; justify-items: center; gap: .1rem; padding: .6rem .2rem .55rem; border-radius: 10px; border: 1.5px solid var(--line); background: none; font-size: .78rem; font-weight: 600; color: var(--muted); transition: background-color .2s, border-color .2s, color .2s; }
.day b { font-family: var(--serif); font-size: 1.55rem; font-weight: 500; color: var(--tinte); line-height: 1.05; }
.day:hover { border-color: var(--tanne); }
.day[aria-pressed="true"] { background: var(--tanne); border-color: var(--tanne); color: rgba(246, 242, 234, .8); }
.day[aria-pressed="true"] b { color: var(--papier); }
.form__urgent { margin-top: .8rem; padding: .8rem 1rem; border-left: 4px solid var(--koralle); background: rgba(224, 102, 76, .1); border-radius: 0 10px 10px 0; font-weight: 600; }
.form__send { justify-self: start; }
.form__hint { font-size: .84rem; color: var(--muted); margin-top: -.6rem; }
.form__ok { position: absolute; inset: 0; background: var(--blatt); border-radius: inherit; display: grid; place-content: center; justify-items: start; gap: 1rem; padding: 2.5rem; }
.form__ok p { font-size: 1.2rem; max-width: 30ch; }
.form__ok b { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 500; margin-bottom: .3rem; }
.form__ok small { color: var(--muted); max-width: 40ch; }

/* ——— Footer ——— */
.ftr { background: var(--tanne); color: rgba(246, 242, 234, .8); padding: 3.5rem 0 calc(3rem + env(safe-area-inset-bottom)); font-size: .95rem; --mk-ink: var(--papier); }
.ftr__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; align-items: start; }
.ftr__brand { display: flex; align-items: center; gap: 1rem; }
.ftr__brand b { color: var(--papier); font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.ftr__mark { width: 44px; height: 53px; flex: none; }
.ftr__studie { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line-dark); font-size: .86rem; color: rgba(246, 242, 234, .65); max-width: 80ch; }
.ftr a { color: var(--papier); }

/* ——— Dock (Handy) ——— */
.dock { position: fixed; z-index: 80; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: none; gap: 8px; transform: translateY(140%); transition: transform .5s var(--ease); }
.dock .btn { flex: 1; min-height: 54px; box-shadow: 0 14px 30px rgba(22, 33, 29, .25); }
.dock.is-on { transform: none; }
.is-locked body { overflow: hidden; }

/* ——— Reveals ——— */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.rv-in { opacity: 1; transform: none; }

/* ——— Responsiv ——— */
@media (max-width: 1100px) {
  .hdr__nav { gap: 1.1rem; }
  .hdr__nav a { font-size: .92rem; }
}
@media (max-width: 980px) {
  :root { --hdr: 64px; }
  .hdr__nav { display: none; }
  .burger { display: block; }
  .hdr__tools { gap: .3rem; }
  .hero { min-height: 0; padding-top: calc(var(--hdr) + 1.4rem); display: block; }
  .hero__in { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero__claim { font-size: clamp(3rem, 13.4vw, 5.6rem); }
  .hero__media { margin-left: 14%; padding-bottom: 12%; }
  .hero__photo { aspect-ratio: 4 / 5; }
  .hero__mark { width: 34%; left: -20%; }
  .hours__in, .route__in, .contact__in { grid-template-columns: 1fr; }
  .week { --dayw: 7.6rem; }
  .ablauf__head, .svc__head { grid-template-columns: 1fr; }
  .ablauf__lead, .svc__lead { justify-self: start; }
  .ablauf__steps { grid-template-columns: 1fr; gap: 3rem; }
  .step:nth-child(2) { margin-top: 0; }
  .step { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 0 1.1rem; align-items: start; }
  .step__photo { grid-row: 1 / 5; }
  .step__n { margin-top: 0; }
  .atelier { grid-template-columns: 1fr; }
  .atelier__tabs { flex-direction: row; overflow-x: auto; border: 0; gap: .5rem; scrollbar-width: none; margin-inline: calc(-1 * var(--gut)); padding: 0 var(--gut) .2rem; scroll-padding-inline: var(--gut); }
  .atelier__tabs::-webkit-scrollbar { display: none; }
  .atelier__tabs button { flex: none; border: 1.5px solid var(--line); border-radius: 10px; padding: .55rem .95rem; font-size: 1.15rem; gap: .5rem; align-items: center; }
  .atelier__tabs button[aria-selected="true"] { padding-left: .95rem; background: var(--tanne); color: var(--papier); border-color: var(--tanne); }
  .atelier__tabs button[aria-selected="true"] small { color: var(--koralle); }
  .atelier__tabs button::before { display: none; }
  .atelier__cap { grid-template-columns: 1fr; }
  .atelier__meta { grid-column: 1; }
  .kassen__list { grid-template-columns: 1fr; }
  .team__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
  .person--lead { grid-column: 1 / -1; }
  .contact__facts { grid-template-columns: 1fr; }
  .ftr__in { grid-template-columns: 1fr; }
  .dock { display: flex; }
  .ftr { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  .hdr__cta { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1 1 auto; }
  .status { right: .7rem; top: .7rem; font-size: .84rem; padding: .55rem .85rem .55rem .75rem; }
  .week__txt { font-size: .72rem; }
  .step { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
  .step h3 { font-size: 1.45rem; }
  .step p:last-child { font-size: .95rem; }
  .step__n { font-size: 2.1rem; }
  .days { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team__row { grid-template-columns: 1fr 1fr; }
  .person h3 { font-size: 1.3rem; }
  .person p:last-child { font-size: .92rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  .m-pin { opacity: 1; }
}
@media (max-width: 699px) { .map__frame { aspect-ratio: 420 / 320; } }
