/* ==========================================================================
   Zahnarztpraxis Dr. Hohmann – Stylesheet
   ========================================================================== */

/* Schriften (lokal gehostet, keine Verbindung zu Google) */
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1EFF; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --navy: #2c4a74;
  --navy-dark: #22395a;
  --ink: #1d3354;         /* Überschriften */
  --text: #46546b;        /* Fließtext */
  --muted: #6d7a90;
  --accent: #7b9bcb;
  --line: #dfe6f0;
  --soft: #f3f6fb;
  --soft-2: #e9eff8;
  --white: #fff;
  --alert: #c8322b;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(29, 51, 84, .05), 0 8px 28px rgba(29, 51, 84, .08);
  --shadow-hover: 0 2px 4px rgba(29, 51, 84, .06), 0 14px 36px rgba(29, 51, 84, .13);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;

  --sans: "Source Sans 3", "Segoe UI", system-ui, Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --script: "Caveat", "Segoe Print", cursive;

  font-family: var(--sans);
  font-size: 106.25%;       /* 17px */
  line-height: 1.6;
  color: var(--text);
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: var(--navy); text-underline-offset: .18em; }
a:hover { color: var(--navy-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
address { font-style: normal; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 6px; }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(2.8rem, 6vw, 4.5rem) 0; position: relative; }
.section-soft { background: linear-gradient(180deg, var(--soft) 0%, #f7f9fc 100%); }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* --------------------------------------------------------------------------
   Typografie-Bausteine
   -------------------------------------------------------------------------- */
.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink); margin: 0 0 .8rem;
}
.display {
  font-family: var(--serif); font-weight: 500; letter-spacing: -.01em;
  font-size: clamp(2.3rem, 5.2vw, 3.6rem); line-height: 1.07; color: var(--ink);
  margin-bottom: 1.2rem;
}
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 3.4vw, 2.4rem); line-height: 1.12; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.55; color: var(--text); max-width: 34em; }
.script {
  font-family: var(--script); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.05;
  color: var(--accent); transform: rotate(-12deg); margin: 0;
}
.script-heart { width: .8em; height: .8em; vertical-align: -.05em; margin-left: .2em; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .65rem 1.4rem; border-radius: var(--radius-sm);
  font: inherit; font-size: 1rem; font-weight: 500; line-height: 1.2; text-decoration: none;
  border: 1.5px solid var(--navy); cursor: pointer; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.btn .icon { width: 1.2em; height: 1.2em; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 4px 14px rgba(44, 74, 116, .25); }
.btn-primary:hover { background: var(--navy-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); }
.btn-outline:hover { background: var(--soft-2); color: var(--navy-dark); }
.btn-sm { min-height: 40px; padding: .45rem 1rem; font-size: .92rem; }
.btn:active { transform: translateY(1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero .btn { padding-inline: 1.15rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.link-arrow .icon { transition: transform .18s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Kopfzeile
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter);
  min-height: var(--header-h);
}
.logo { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--navy); flex: none; }
.logo-mark { width: 40px; height: 50px; color: var(--navy); }
.logo-mark { fill: url(#tooth-gradient); }
.logo-text { display: grid; line-height: 1.15; }
.logo-name { font-size: 1.28rem; font-weight: 400; color: var(--navy); letter-spacing: -.005em; }
.logo-sub { font-size: .72rem; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); margin-top: .25rem; }

.mainnav { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link {
  display: block; padding: .5rem 0; color: var(--ink); text-decoration: none; font-size: .95rem;
  border-bottom: 2px solid transparent;
}
.nav-link:hover { color: var(--navy); }
.nav-link[aria-current="page"] { border-bottom-color: var(--navy); font-weight: 600; }
.sub-toggle { display: inline-grid; place-items: center; width: 22px; height: 28px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
.sub-toggle .icon { width: 14px; height: 14px; transition: transform .2s ease; }
.sub {
  position: absolute; top: 100%; left: -1rem; min-width: 240px;
  list-style: none; margin: 0; padding: .5rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.sub a { display: block; padding: .5rem .75rem; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: .95rem; }
.sub a:hover { background: var(--soft); color: var(--navy); }
@media (hover: hover) and (min-width: 1081px) {
  .has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
  .has-sub:hover .sub-toggle .icon { transform: rotate(180deg); }
}
.has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; }
.nav-cta { min-height: 46px; padding-inline: 1.1rem; }

.menu-toggle { display: none; }

/* --------------------------------------------------------------------------
   Startseite: Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(90deg, #f6f8fc 0%, #f1f5fb 45%, #e9eff8 100%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: stretch; min-height: 520px;
}
.hero-copy { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(6rem, 9vw, 7.5rem); position: relative; z-index: 2; }
.hero-copy .lead { margin-bottom: 1.8rem; }
.hero-media { position: relative; margin-right: calc(-1 * var(--gutter)); }
.hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%);
          mask-image: linear-gradient(90deg, transparent 0, #000 22%);
}
.hero .script { position: absolute; right: clamp(1rem, 6vw, 7rem); top: 2.2rem; z-index: 3; color: #7b9bcb; text-shadow: 0 0 12px rgba(255,255,255,.9); }
.hero-tooth, .band-tooth {
  position: absolute; width: 260px; height: 325px; color: #d8e2f0; opacity: .6; pointer-events: none;
}
.hero-tooth { right: -40px; bottom: -40px; }

/* Zahn-Logo als Wasserzeichen: gefüllt in der jeweiligen Textfarbe */
.hero-tooth, .band-tooth, .footer-tooth, .card-tooth, .welcome-tooth { fill: currentColor; }

/* Startseite: Titelbild vollflächig + Welle */
.hero-start { min-height: clamp(560px, 46vw, 700px); display: flex; align-items: center; background: #eef3fa; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero-start::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(243, 247, 252, .97) 0%, rgba(243, 247, 252, .88) 32%, rgba(243, 247, 252, .45) 46%, rgba(243, 247, 252, 0) 60%);
}
.hero-content { position: relative; z-index: 2; padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(7rem, 11vw, 9.5rem); }
.hero-content .display { font-size: clamp(2.2rem, 4.2vw, 3.3rem); max-width: 14em; }
.hero-content .lead { max-width: 29em; margin-bottom: 1.8rem; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(110px, 17vw, 250px); z-index: 2; pointer-events: none; }
.cards-area { background: #f6f9fd; padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.container-wide { max-width: 1340px; }

/* Free-WLAN-Badge im Titelbild */
.wifi-badge {
  position: absolute; z-index: 3; top: 1rem; right: 1.5rem;
  width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-content: center; justify-items: center; gap: 0;
  background: rgba(255, 255, 255, .92); color: var(--navy);
  box-shadow: 0 6px 20px rgba(29, 51, 84, .18); border: 2px solid rgba(255, 255, 255, .9);
  transform: rotate(-8deg);
}
.wifi-icon { width: 40px; height: 40px; margin-bottom: 2px; }
.wifi-free { font-family: var(--script); font-size: 1.35rem; line-height: .9; color: var(--accent); }
.wifi-text { font-size: .72rem; font-weight: 700; letter-spacing: .22em; margin-right: -.22em; }

/* Info-Karten, überlappen den Hero */
.info-cards {
  position: relative; z-index: 5; margin-top: clamp(-6.5rem, -7vw, -3rem);
  display: grid; grid-template-columns: .9fr 1fr 1.25fr 1fr; gap: 1rem;
}
.info-card {
  display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 1.1rem; align-items: start;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.6rem 1.5rem;
}
.info-cards .info-card { grid-template-columns: 48px minmax(0, 1fr); align-content: start; gap: 1rem; padding: 1.4rem 1.3rem 1.5rem; }
.info-cards .info-card h2 { margin: .7rem 0 .55rem; }
.info-cards .info-card p, .info-cards .hours { font-size: .93rem; }
.info-cards .icon-circle { width: 48px; height: 48px; }
.info-cards .icon-circle .icon { width: 24px; height: 24px; }
.info-cards .contact-list, .info-cards address { font-size: .9rem; }
.info-cards .contact-list a { white-space: nowrap; }
.info-card h2 { font-family: var(--sans); font-size: 1.15rem; font-weight: 600; margin-bottom: .6rem; }
.info-card p { font-size: .95rem; margin-bottom: 1rem; }
.icon-circle {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--soft-2); color: var(--navy);
}
.icon-circle .icon { width: 28px; height: 28px; }
.hours { margin: 0; display: grid; gap: .15rem; font-size: 1rem; }
.hours div { display: grid; grid-template-columns: 5.4rem 1fr; white-space: nowrap; }
.hours dt, .hours dd { margin: 0; }
.contact-list { list-style: none; margin: .3rem 0 1rem; padding: 0; font-size: .95rem; display: grid; gap: .2rem; }
.contact-list a { display: inline-flex; align-items: center; gap: .5rem; color: var(--text); text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--navy); text-decoration: underline; }
.contact-list .icon { color: var(--navy); width: 1em; height: 1em; }

/* Notdienst-Kachel (Startseite) */
.info-card-notdienst { background: var(--navy); color: #e3eaf5; }
.info-card-notdienst h2 { color: #fff; }
.info-card-notdienst .icon-circle { background: rgba(255, 255, 255, .12); color: #fff; }
.info-card-notdienst a { color: #fff; }
.info-card-notdienst .nd-date { display: inline-block; background: var(--alert); color: #fff; font-weight: 600; font-size: .85rem; padding: .15rem .55rem; border-radius: 4px; margin-bottom: .6rem; }
.info-card-notdienst .nd-text { font-size: .95rem; margin-bottom: .6rem; }
.info-card-notdienst .nd-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; text-decoration: none; }
.info-card-notdienst .nd-phone:hover { text-decoration: underline; }

/* Notdienst */
.notdienst {
  display: flex; gap: .9rem; align-items: flex-start;
  background: #fff; border: 1px solid #f0d3d1; border-left: 4px solid var(--alert);
  border-radius: var(--radius-sm); padding: .9rem 1.2rem; font-size: .95rem;
}
.notdienst p { margin: 0; }
.notdienst-icon { width: 24px; height: 24px; color: var(--alert); flex: none; margin-top: .1rem; }
.notdienst-title { color: var(--ink); }
.notdienst-strip { margin-top: 1.2rem; }

/* Willkommen-Band */
.welcome-band { overflow: hidden; }
.welcome-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.band-tooth { left: -150px; top: 10px; width: 300px; height: 375px; opacity: .45; }
.welcome-band { background: linear-gradient(180deg, #f1f5fb 0%, #f6f9fd 100%); }
.welcome-tooth { position: absolute; left: -30px; top: 50%; transform: translateY(-50%); width: 230px; height: 288px; color: #dce5f1; pointer-events: none; }
@media (min-width: 1181px) { .welcome-band .container { padding-left: max(var(--gutter), 230px); max-width: 1340px; } }
@media (max-width: 1180px) { .welcome-tooth { display: none; } }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 2rem; list-style: none; margin: 0; padding: 0; }
.feature { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 1rem; align-items: start; }
.feature .icon-circle { width: 54px; height: 54px; background: #fff; box-shadow: 0 2px 10px rgba(29, 51, 84, .08); }
.feature h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; margin: .2rem 0 .25rem; }
.feature p { font-size: .92rem; margin: 0; color: var(--muted); }

/* Leistungen-Kacheln */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.section-head .h2 { margin: 0; max-width: 16em; }
.service-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.service-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  text-decoration: none; color: inherit; transition: box-shadow .2s ease, transform .2s ease;
}
.service-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); color: inherit; }
.service-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.service-body { padding: 1rem 1.1rem 1.2rem; }
.service-body .icon { width: 28px; height: 28px; color: var(--navy); margin-bottom: .5rem; }
.service-body h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; margin-bottom: .35rem; }
.service-body p { font-size: .9rem; color: var(--muted); margin: 0; }

/* Team-Band (Start + Karriere) */
.team-band { background: linear-gradient(90deg, #eef3f9 0%, #fff 60%); overflow: hidden; position: relative; }
.team-band-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; }
.team-band-media { align-self: stretch; min-height: 320px; position: relative; }
.team-band-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%;
  -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent 100%);
          mask-image: linear-gradient(90deg, #000 70%, transparent 100%);
}
.team-band-copy { padding: clamp(2.5rem, 5vw, 3.5rem) var(--gutter) clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem); max-width: 620px; position: relative; }
.team-band-copy .script { display: inline-block; margin: 1.4rem 0 0 1rem; transform: rotate(-6deg); }
.team-band .band-tooth { left: auto; right: -60px; top: 20px; }

/* Startseite: Unsere Praxis */
.praxis-band { background: linear-gradient(180deg, #f3f7fc 0%, #f7f9fd 100%); }
.praxis-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.8rem, 4vw, 3rem); align-items: center; max-width: 1340px; }
.praxis-copy .h2 { margin-bottom: 1rem; }
.praxis-copy p { font-size: 1.05rem; margin-bottom: 1.6rem; }
.praxis-photos { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(300px, 34vw, 460px); }
.praxis-photo { display: block; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.praxis-photo-main { grid-row: 1 / 3; }
.praxis-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.praxis-photo-main img { object-position: 50% 50%; }
.praxis-photo:hover img { transform: scale(1.04); }

/* Startseite: Karriere */
.career-band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: stretch; background: #f4f7fb; }
.career-media { position: relative; min-height: 300px; }
.career-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.career-copy { padding: clamp(2.4rem, 5vw, 3.6rem) var(--gutter) clamp(2.4rem, 5vw, 3.6rem) clamp(1.8rem, 4vw, 3.4rem); max-width: 640px; align-self: center; }
.career-copy .h2 { margin-bottom: .4rem; }
.career-tags { font-size: 1.25rem; color: var(--ink); margin-bottom: .9rem; letter-spacing: .01em; }
.career-copy p:not(.career-tags):not(.eyebrow) { margin-bottom: 1.4rem; }

/* Unterseiten mit Titelbild (gleiches Schema wie Startseite) */
.hero-sub { min-height: clamp(480px, 40vw, 620px); }
.hero-sub .hero-bg { object-position: 75% 40%; }
.hero-sub::before { background: linear-gradient(90deg, rgba(243, 247, 252, .9) 0%, rgba(243, 247, 252, .6) 30%, rgba(243, 247, 252, 0) 50%); }
.hero-sub::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 1; background: linear-gradient(180deg, rgba(246, 249, 253, 0), #f6f9fd); }
.hero-sub .hero-content { padding-bottom: clamp(6rem, 9vw, 8rem); }
.hero-sub .hero-content .display { max-width: 11em; }
.hero-sub .hero-content .lead { max-width: 23em; }

.hero-shop .hero-bg { object-position: 80% 50%; }
.hero-team .hero-bg { object-position: 85% 30%; }
.hero-team .hero-content .lead { max-width: 20em; }

/* Praxis: drei Bereichs-Kacheln mit Bild */
.area-cards { position: relative; z-index: 5; margin-top: clamp(-5.5rem, -6vw, -3rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.area-card { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.area-card-body { display: grid; grid-template-columns: 1fr; gap: .2rem; padding: 1.3rem 1.2rem 1.3rem 1.4rem; }
.area-card .icon-circle { width: 48px; height: 48px; }
.area-card .icon-circle .icon { width: 24px; height: 24px; }
.area-card h2 { font-family: var(--sans); font-size: 1.1rem; font-weight: 600; margin: .7rem 0 .45rem; }
.area-card p { font-size: .9rem; margin-bottom: .8rem; }
.area-card .link-arrow { font-size: .92rem; }
.area-card img { width: 100%; height: 100%; object-fit: cover; min-height: 180px; }

/* Praxis: Mosaik-Galerie */
.section-head-split { align-items: flex-end; }
.section-head-split > p { max-width: 34em; margin: 0; color: var(--text); font-size: .98rem; }
.mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 12.5vw, 185px); grid-auto-flow: dense; gap: 12px; }
.mosaic li { min-height: 0; }
.mosaic a { height: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.mosaic img { height: 100%; aspect-ratio: auto; }
.mosaic li:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic li:nth-child(3), .mosaic li:nth-child(8), .mosaic li:nth-child(10), .mosaic li:nth-child(13), .mosaic li:nth-child(16) { grid-column: span 2; }
.gallery-hint { margin: .9rem 0 0; font-size: .85rem; color: var(--muted); text-align: right; }

/* Praxis: Besuchen Sie uns */
.visit-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr) minmax(0, .95fr); gap: 1.6rem; align-items: center; }
.visit-img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.visit-card { grid-template-columns: 48px minmax(0, 1fr); gap: 1rem; }
.visit-card h2 { font-family: var(--sans); font-size: 1.15rem; font-weight: 600; margin: .6rem 0 .5rem; }
.visit-card address, .visit-card .contact-list { font-size: .92rem; }
.visit-card .contact-list a { white-space: nowrap; }

/* --------------------------------------------------------------------------
   Unterseiten
   -------------------------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(90deg, #f6f8fc 0%, #eaf0f8 100%); padding: clamp(2.6rem, 6vw, 4.2rem) 0; }
.page-hero .display { max-width: 15em; }
.page-hero .script { position: absolute; right: clamp(1rem, 8vw, 9rem); top: 30%; }

.split-hero .hero-grid { min-height: 460px; }
.split-hero .hero-copy { padding-bottom: clamp(2.5rem, 6vw, 4rem); }

.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; }
.card h2, .card h3 { font-family: var(--sans); font-weight: 600; }

/* Team */
.label { font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin: 0 0 .9rem; }
.team-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.4rem; align-items: stretch; }
.lead-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; position: relative; height: 100%; }
.dentists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.dentist { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.dentist-img { position: relative; }
.dentist-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 18%; background: #e2e2e2; }
.badge { position: absolute; left: 1rem; bottom: 1rem; background: var(--navy); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .06em; padding: .3rem .7rem; border-radius: 999px; }
.badge-new { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(29,51,84,.15); }
.dentist-body { padding: 1.2rem 1.4rem 1.4rem; }
.dentist-body h3 { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; line-height: 1.2; margin-bottom: .3rem; }
.dentist-body h3 small { display: block; font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .25rem; }
.dentist-body .role { color: var(--muted); font-size: .92rem; margin-bottom: .7rem; }
.dentist-body p:last-child { margin: 0; }
.dentist-body .slogan { font-size: 1.08rem; margin-top: .4rem; padding-left: .8rem; }
.lead-stack { display: grid; gap: 1rem; }
.lead-card-sm { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
.lead-card-sm img { min-height: 0; aspect-ratio: 4 / 5; }
.lead-card-sm .lead-card-body { padding: 1.2rem 1.3rem; }
.lead-card-sm .lead-card-body h3 { font-size: 1.3rem; }
.lead-card-sm .role { margin-bottom: .5rem; font-size: .9rem; }
.lead-card-sm .card-tooth { width: 34px; height: 42px; }
.lead-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; min-height: 280px; }
.lead-card-body { padding: 1.8rem 1.6rem; position: relative; }
.lead-card-body h3 { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; line-height: 1.2; margin-bottom: .3rem; }
.lead-card-body h3 small { display: block; font-size: .75em; }
.role { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.slogan { font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; color: var(--navy); margin: 1.2rem 0 0; padding-left: 1rem; border-left: 3px solid var(--accent); }
.lead-card .card-tooth { position: absolute; right: 1rem; top: 1rem; width: 48px; height: 60px; color: #dbe4f1; }

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.people-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.person { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; background: #eceff4; }
.person-info { padding: .85rem 1rem 1rem; }
.person h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; color: var(--ink); margin: 0 0 .15rem; }
.person p { margin: 0; font-size: .88rem; line-height: 1.4; color: var(--muted); }
.person .since { margin-top: .3rem; font-size: .82rem; }

.team-groups { display: grid; grid-template-columns: 1fr; gap: 2.4rem; margin-top: 2.6rem; }
.team-groups .group-card > img { aspect-ratio: 32 / 7; }
.group-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.group-card > img { width: 100%; aspect-ratio: 16 / 5; object-fit: cover; object-position: 50% 20%; }
.group-card-body { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; padding: 1.2rem 1.4rem 1.4rem; }
.group-card-body .icon { width: 36px; height: 44px; color: var(--navy); }
.group-card-body h3 { font-family: var(--sans); font-size: 1.1rem; font-weight: 600; margin: 0 0 .3rem; }
.group-card-body p { font-size: .93rem; margin: 0; }
.subgroups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.4rem; }

.feature-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.feature-strip .feature { padding: 0 1.4rem; border-left: 1px solid var(--line); }
.feature-strip .feature:first-child { border-left: 0; padding-left: 0; }

/* Leistungen */
.service-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding: 2.2rem 0; border-top: 1px solid var(--line); }
.service-detail:first-child { border-top: 0; }
.service-detail:nth-child(even) .service-detail-media { order: 2; }
.service-detail-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.service-detail h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.8vw, 2rem); display: flex; align-items: center; gap: .6rem; }
.service-detail h2 .icon { width: 32px; height: 32px; color: var(--navy); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.check-list li { position: relative; padding-left: 1.6rem; }
.check-list li::before { content: ""; position: absolute; left: .1rem; top: .55em; width: .7rem; height: .38rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.extra-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; margin-top: 1rem; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.gallery a { display: block; overflow: hidden; border-radius: var(--radius-sm); background: var(--soft-2); }
.gallery img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; transition: transform .4s ease; }
.gallery a:hover img { transform: scale(1.04); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1100px); width: 100%; }
.lightbox::backdrop { background: rgba(18, 28, 45, .9); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; }
.lightbox figcaption { color: #fff; text-align: center; padding: .6rem; font-size: .95rem; }
.lightbox-btn { position: fixed; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 1.6rem; line-height: 1; }
.lightbox-prev { left: 1rem; } .lightbox-next { right: 1rem; }
.lightbox-close { top: 1.4rem; right: 1rem; transform: none; }

/* Kontakt / Karte */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1.6rem; align-items: start; }
.map {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background: repeating-linear-gradient(45deg, #e8eef7 0 14px, #e1e8f3 14px 28px);
  display: grid; place-items: center; text-align: center;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent { background: rgba(255, 255, 255, .95); padding: 1.2rem 1.4rem; margin: 1rem; border-radius: var(--radius-sm); font-size: .9rem; max-width: 360px; box-shadow: var(--shadow); }
.map-consent p { margin-bottom: .8rem; }

/* Karriere */
.two-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }

/* Shop */
.pricelist { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 0 0 1.6rem; font-size: .95rem; }
.pricelist caption { text-align: left; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: var(--ink); padding: 0 0 .6rem; }
.pricelist th, .pricelist td { padding: .75rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.pricelist tr:last-child td { border-bottom: 0; }
.pricelist td:last-child, .pricelist th:last-child { text-align: right; white-space: nowrap; }
.pricelist thead th { background: var(--soft); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pricelist small { display: block; color: var(--muted); font-size: .85rem; }

/* Rechtstexte */
.legal { max-width: 46em; }
.legal h2 { font-family: var(--sans); font-size: 1.15rem; font-weight: 600; margin-top: 2rem; }

/* --------------------------------------------------------------------------
   Fußzeile
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #d7e1f0; position: relative; overflow: hidden; }
.footer-inner {
  max-width: var(--container); margin: 0 auto; padding: 2.4rem var(--gutter);
  display: grid; grid-template-columns: auto auto 1fr auto; gap: 1.5rem 3rem; align-items: center; position: relative;
}
.logo-light, .logo-light .logo-name, .logo-light .logo-mark { color: #fff; }
.logo-light .logo-mark { fill: currentColor; }
.logo-light .logo-sub { color: #b9c9e2; }
.footer-contact { font-size: .9rem; line-height: 1.7; }
.footer-contact a, .footer-nav a, .footer-legal a { color: #fff; text-decoration: none; }
.footer-contact a { display: inline-flex; align-items: center; gap: .5rem; }
.footer-contact a:hover, .footer-nav a:hover, .footer-legal a:hover { text-decoration: underline; }
.footer-nav { border-left: 1px solid rgba(255, 255, 255, .25); padding-left: 2rem; }
.footer-nav ul { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: .5rem 1.6rem; list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.footer-legal { display: flex; gap: 1.2rem; list-style: none; margin: 0; padding: 0; font-size: .8rem; align-self: end; position: relative; z-index: 1; }
.footer-legal a { color: #c9d6ea; }
.footer-tooth { position: absolute; right: -10px; bottom: -40px; width: 110px; height: 140px; color: rgba(255, 255, 255, .12); }

.mobile-actions { display: none; }

/* --------------------------------------------------------------------------
   Tablet
   -------------------------------------------------------------------------- */
@media (max-width: 1320px) {
  .nav-list { gap: 1rem; }
  .mainnav { gap: 1.1rem; }
  .logo-name { font-size: 1.12rem; }
}
@media (max-width: 1280px) {
  .info-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-cards { grid-template-columns: 1fr; }
  .dentists { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-card { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .visit-grid { grid-template-columns: 1fr 1fr; }
  .visit-img { grid-column: 1 / -1; grid-row: 2; aspect-ratio: 5 / 2; }
}
@media (max-width: 1200px) {
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav-list { gap: 1.1rem; }
  .logo-name { font-size: 1.12rem; }
}

@media (max-width: 1080px) {
  :root { --header-h: 68px; }
  .menu-toggle {
    display: grid; place-items: center; margin-left: auto;
    width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer;
  }
  .menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, background-color .2s ease; }
  .menu-toggle-bars { position: relative; }
  .menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle-bars::before { top: -6px; } .menu-toggle-bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .mainnav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 1rem;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(29, 51, 84, .1);
    padding: .5rem var(--gutter) 1.2rem; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .mainnav.is-open { display: flex; }
  .no-js .mainnav { display: flex; position: static; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-link { flex: 1; padding: .85rem 0; font-size: 1.05rem; border-bottom: 0; }
  .nav-link[aria-current="page"] { color: var(--navy); }
  .sub-toggle { width: 46px; height: 46px; }
  .sub { position: static; width: 100%; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .6rem .6rem; }
  .has-sub.is-open .sub { display: block; }
  .has-sub.is-open .sub-toggle .icon { transform: rotate(180deg); }
  .nav-cta { width: 100%; }

  .hero-start { display: block; min-height: 0; background: #f3f7fc; }
  .hero-sub::after { display: none; }
  .hero-shop .hero-bg { height: auto; aspect-ratio: 2 / 1; object-position: 92% 50%; }
  .hero-team .hero-bg { height: auto; aspect-ratio: 16 / 10; object-position: 88% 30%; }
  .wifi-badge { top: 1rem; right: auto; left: 1rem; width: 78px; height: 78px; }
  .wifi-icon { width: 30px; height: 30px; }
  .wifi-free { font-size: 1.05rem; }
  .wifi-text { font-size: .6rem; }
  .hero-sub .hero-content { padding-bottom: 4.5rem; }
  .section-head-split > p { max-width: none; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 34vw; gap: 8px; }
  .mosaic li:nth-child(n) { grid-column: auto; grid-row: auto; }
  .mosaic li:nth-child(1), .mosaic li:nth-child(6n) { grid-column: span 2; }
  .visit-grid { grid-template-columns: 1fr; }
  .visit-img { grid-row: auto; }
  .hero-start::before { display: none; }
  .hero-bg { position: relative; height: clamp(240px, 56vw, 460px); object-position: 72% 30%; }
  .hero-content { padding-top: 1.6rem; padding-bottom: 5.5rem; }
  .hero-content .display br { display: none; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; height: clamp(240px, 52vw, 420px); margin: 0 calc(-1 * var(--gutter)); }
  .hero-media img { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
  .hero-copy { padding-top: 1rem; padding-bottom: 6rem; }
  .hero .script { top: 1rem; right: 1rem; font-size: 1.4rem; }
  .split-hero .hero-copy { padding-bottom: 2.5rem; }

  .info-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -3rem; }
  .welcome-grid, .team-band-grid, .team-top, .team-groups, .contact-grid, .praxis-grid, .career-band { grid-template-columns: 1fr; }
  .career-media { min-height: 0; aspect-ratio: 3 / 2; }
  .career-copy { padding-left: var(--gutter); }
  .team-band-media { min-height: 240px; }
  .team-band-media img { -webkit-mask-image: none; mask-image: none; }
  .team-band-copy { padding-left: var(--gutter); }
  .team-band-copy .script { display: none; }
  .feature-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 0; }
  .feature-strip .feature:nth-child(3) { border-left: 0; padding-left: 0; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) .service-detail-media { order: 0; }
  .cards-3 { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-nav { border-left: 0; padding-left: 0; }
}

/* Handy */
@media (max-width: 640px) {
  :root { font-size: 100%; }
  .logo-mark { width: 26px; height: 34px; }
  .logo-name { font-size: 1rem; }
  .logo-sub { font-size: .62rem; letter-spacing: .26em; }
  .btn-row .btn { flex: 1 1 100%; }
  .info-card { grid-template-columns: 46px minmax(0, 1fr); padding: 1.3rem 1.1rem; gap: .9rem; }
  .icon-circle { width: 46px; height: 46px; }
  .icon-circle .icon { width: 22px; height: 22px; }
  .info-cards { grid-template-columns: 1fr; }
  .features, .feature-strip { grid-template-columns: 1fr; }
  .feature-strip .feature { border-left: 0; padding: 0; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .service-body { padding: .8rem .8rem 1rem; }
  .service-body p { display: none; }
  .lead-card { grid-template-columns: 1fr; }
  .lead-card img { aspect-ratio: 4 / 3; min-height: 0; }
  .people, .people-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .area-card { grid-template-columns: 1fr; }
  .dentists { grid-template-columns: 1fr; }
  .area-card img { order: -1; aspect-ratio: 2 / 1; min-height: 0; }
  .visit-card { grid-template-columns: 1fr; }
  .subgroups, .two-lists, .extra-services { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 6px; }
  .praxis-photos { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .praxis-photo-main { grid-row: auto; grid-column: 1 / 3; aspect-ratio: 16 / 9; }
  .praxis-photo:not(.praxis-photo-main) { aspect-ratio: 4 / 3; }
  .praxis-copy .h2 br { display: none; }
  .pricelist th, .pricelist td { padding: .6rem .6rem; }
  .footer-inner { grid-template-columns: 1fr; padding-bottom: 5.5rem; }
  .footer-nav ul { grid-template-columns: repeat(2, auto); }
  .page-hero .script { display: none; }
  .lightbox-btn { top: auto; bottom: 1rem; transform: none; }
  .lightbox-close { top: 1rem; bottom: auto; }

  .mobile-actions {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(29, 51, 84, .08);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-actions a { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .55rem 0 .5rem; font-size: .78rem; font-weight: 600; color: var(--navy); text-decoration: none; }
  .mobile-actions a:first-child { background: var(--navy); color: #fff; }
  .mobile-actions .icon { width: 20px; height: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .site-header, .mobile-actions, .map, .hero-tooth, .band-tooth, .footer-tooth { display: none !important; }
}
