/* =========================================================
   Zahnarztpraxen Dres. Schnödt – Modernes Design
   Farbwelt: dezentes Rot (Logo-Akzent), viel Weißraum
   ========================================================= */

:root {
  --red: #2b8ceb;          /* freundliches Blau (Akzent) */
  --red-dark: #1667b8;     /* dunkleres Blau */
  --red-soft: #e9f3fd;     /* sehr helles Blau */
  --ink: #1c2b3a;          /* dunkles Blaugrau (Text) */
  --muted: #5b6b7b;
  --line: #e2e9f0;
  --bg: #ffffff;
  --bg-alt: #f4f8fc;       /* heller, leicht bläulicher Hintergrund */
  --shadow-sm: 0 2px 10px rgba(20, 28, 33, .06);
  --shadow-md: 0 12px 34px rgba(20, 28, 33, .10);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  /* Schrift wird NICHT von Google geladen (DSGVO). Solange keine lokalen Schriftdateien
     hinterlegt sind, nutzt der Browser die Systemschrift aus der Liste oben.
     Inter lokal einbinden: Dateien nach assets/fonts/ legen und den Block unten aktivieren.
  @font-face { font-family:"Inter"; font-style:normal; font-weight:400;
    src:url("fonts/Inter-Regular.woff2") format("woff2"); font-display:swap; }
  @font-face { font-family:"Inter"; font-style:normal; font-weight:600;
    src:url("fonts/Inter-SemiBold.woff2") format("woff2"); font-display:swap; }
  @font-face { font-family:"Inter"; font-style:normal; font-weight:700;
    src:url("fonts/Inter-Bold.woff2") format("woff2"); font-display:swap; }
  @font-face { font-family:"Inter"; font-style:normal; font-weight:800;
    src:url("fonts/Inter-ExtraBold.woff2") format("woff2"); font-display:swap; }
  */
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

/* height:auto verhindert Verzerrung, wenn width/height im HTML stehen */
img { max-width: 100%; height: auto; display: block; }

a { color: var(--red-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }

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

.eyebrow {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
  margin-bottom: 14px;
}

.section { padding: 82px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section__head p { color: var(--muted); font-size: 1.08rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: #dfe3e6;
  font-size: .85rem;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap;
}
.topbar a { color: #fff; font-weight: 600; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { max-width: 1300px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand__mark {
  height: 48px; width: auto; flex: none;
  display: block; border-radius: 0; background: none; box-shadow: none;
}
.footer .brand__mark { height: 42px; }
.brand__logo { height: 46px; width: auto; display: block; }
@media (max-width: 900px) { .brand__logo { height: 40px; } }
@media (max-width: 420px) { .brand__logo { height: 34px; } }
@media (max-width: 640px) { .brand__mark { height: 40px; } }
.brand small { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; letter-spacing: .02em; }

.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  color: var(--ink); font-weight: 600; font-size: .93rem; padding: 8px 11px;
  border-radius: 10px; transition: background .15s, color .15s;
}
.nav__links a:hover { background: var(--red-soft); color: var(--red-dark); text-decoration: none; }
.nav__links a.active { color: var(--red-dark); }

.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  background: var(--red); color: #fff; font-weight: 700; font-size: .95rem;
  padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .12s ease, box-shadow .15s, background .15s;
  box-shadow: 0 8px 20px rgba(43,140,235,.30);
}
.btn:hover { background: var(--red-dark); text-decoration: none; color: #fff; transform: translateY(-1px); }
.btn--ghost {
  background: #fff; color: var(--red-dark); border: 1.5px solid var(--line);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--red-soft); color: var(--red-dark); border-color: var(--red-soft); }
.btn--lg { padding: 15px 30px; font-size: 1.02rem; }

.nav__links a.nav__doc {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1.25; white-space: nowrap; text-align: center; padding: 6px 9px;
}
.nav__pre { font-size: .72rem; font-weight: 600; color: var(--muted); letter-spacing: .01em; }
.nav__links a.nav__doc:hover .nav__pre, .nav__links a.nav__doc.active .nav__pre { color: inherit; }
.nav__quick { display: none; align-items: center; gap: 8px; margin-left: auto; }
.nav__quick a {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 12px; background: var(--red-soft); color: var(--red-dark);
  border: 1px solid var(--line); transition: background .15s, color .15s;
}
.nav__quick a:hover { background: var(--red); color: #fff; text-decoration: none; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  /* helle Aufhellung statt Blaufilter - Foto bleibt freundlich, Text dunkel */
  background: linear-gradient(100deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.86) 38%, rgba(255,255,255,.55) 70%, rgba(255,255,255,.22) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 118px 0 108px; max-width: 640px; color: var(--ink); }
.hero__inner .eyebrow { color: var(--red-dark); }
.hero h1 { color: var(--ink); margin: 0 0 18px; }
.hero p { color: var(--muted); font-size: 1.15rem; margin: 0 0 30px; }
.hero .btn--ghost { background: rgba(255,255,255,.9); border-color: #c9d8e6; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero--slim .hero__inner { padding: 90px 0 78px; }

/* ---------- Info strip ---------- */
.infostrip { background: var(--red); color: #fff; }
.infostrip .container { display: flex; flex-wrap: wrap; gap: 10px 34px; align-items: center; justify-content: center; padding: 16px 22px; text-align: center; font-weight: 600; }
.infostrip a { color: #fff; text-decoration: underline; }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-alt); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body h3 { margin: 0; }
.card__body p { margin: 0; color: var(--muted); font-size: .97rem; }
.card__body .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Feature list (ZMZ values) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.feature__icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--red-soft); color: var(--red-dark);
  display: grid; place-items: center; margin-bottom: 14px; font-size: 1.4rem;
}
.feature h3 { margin: 0 0 6px; font-size: 1.1rem; }
.feature p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; height: auto; }
.split--reverse .split__media { order: 2; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
table.hours { border-collapse: collapse; width: 100%; max-width: 520px; background: #fff; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
table.hours th, table.hours td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: .97rem; }
table.hours th { background: var(--bg-alt); font-weight: 700; width: 68px; }
table.hours tr:last-child td, table.hours tr:last-child th { border-bottom: 0; }

/* ---------- Chips (Leistungen) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 22px 0 0; }
.chips li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: .92rem; font-weight: 500; color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.chips li::before { content: "•"; color: var(--red); margin-right: 8px; font-weight: 700; }

/* ---------- Vita timeline ---------- */
.vita { list-style: none; padding: 0; margin: 22px 0 0; border-left: 2px solid var(--line); }
.vita li { position: relative; padding: 0 0 22px 26px; }
.vita li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.vita .year { font-weight: 700; color: var(--red-dark); display: block; font-size: .9rem; letter-spacing: .02em; }

/* ---------- Prose ---------- */
.prose { max-width: 820px; }
.prose h2 { margin-top: 40px; }
.prose h3 { margin-top: 28px; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose .lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- Links list ---------- */
.linklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.linklist li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; box-shadow: var(--shadow-sm); }
.linklist strong { display: block; }
.linklist a { word-break: break-word; }

/* ---------- Contact cards ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.contact-card .feature__icon { margin-bottom: 12px; }
.contact-card h3 { margin: 0 0 4px; font-size: 1.05rem; }
.contact-card a { font-weight: 600; }

/* ---------- CTA band ---------- */
.cta {
  background: linear-gradient(120deg, var(--red-dark), var(--red));
  color: #fff; border-radius: var(--radius); padding: 52px; text-align: center;
  box-shadow: var(--shadow-md);
}
.cta h2 { color: #fff; margin: 0 0 12px; }
.cta p { color: #e2f0ff; margin: 0 0 26px; font-size: 1.1rem; }
.cta .btn { background: #fff; color: var(--red-dark); box-shadow: none; }
.cta .btn:hover { background: #eaf4ff; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #c3cace; padding: 60px 0 28px; margin-top: 10px; }
.footer a { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; margin: 0 0 14px; font-size: 1rem; }
.footer p { margin: 6px 0; font-size: .95rem; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand small { color: #9aa3a8; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .86rem; color: #9aa3a8; }
.footer__bottom a { color: #c3cace; }

/* ---------- Notice box ---------- */
.notice { background: var(--red-soft); border: 1px solid #c3e0fa; border-radius: var(--radius-sm); padding: 22px 24px; }
.notice h3 { margin: 0 0 6px; color: var(--red-dark); }

/* ---------- Responsive ---------- */
/* Navigation klappt frueher ins Menue, damit die Namen nebeneinander Platz haben */
@media (max-width: 1150px) {
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 13px 16px; border-radius: 8px; }
  .nav__links a.nav__doc { align-items: flex-start; text-align: left; padding: 10px 16px; }
  .nav__links .btn { margin: 8px; }
  .nav__toggle { display: block; margin-left: 4px; }
  .nav__quick { display: flex; }
  /* Telefon/E-Mail stehen als Symbole neben dem Menue - Text in der Kopfleiste entfaellt */
  .topbar .container span + span { display: none; }
  .topbar .container { justify-content: center; }
}

@media (max-width: 900px) {
  .grid--3, .features, .contact-grid { grid-template-columns: 1fr 1fr; }
  /* schmale Schirme: gleichmaessige Aufhellung, der Text laeuft ueber die volle Breite */
  .hero__media::after {
    background: linear-gradient(180deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.88) 70%, rgba(255,255,255,.82) 100%);
  }
  .split, .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .split--reverse .split__media { order: 0; }
}
@media (max-width: 560px) {
  .grid--3, .grid--2, .features, .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 58px 0; }
  .cta { padding: 34px 22px; }
  .topbar { display: none; }
  .nav__quick a { width: 38px; height: 38px; border-radius: 10px; }
  .nav__quick { gap: 6px; }
}

/* ---------- Formulare ---------- */
.form { display: grid; gap: 16px; margin-top: 18px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px;
  font: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft);
}
.field textarea { resize: vertical; min-height: 120px; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.form .consent input { width: auto; margin-top: 4px; flex: none; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.embed-slot {
  border: 2px dashed #b9d6f2; border-radius: var(--radius); background: var(--bg-alt);
  padding: 40px; text-align: center; color: var(--muted);
}
.embed-slot h3 { color: var(--red-dark); margin: 0 0 8px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px;
  background: var(--red); color: #fff; border-radius: 50%; display: grid; place-items: center; font-weight: 700;
}
.steps strong { display: block; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } }

/* ---------- Leistungen / Behandlungsspektrum ---------- */
.leistungen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.leistung-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.leistung-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfe6fb; }
.leistung-card h3 { font-size: 1.12rem; margin: 4px 0 14px; }
.leistung-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.leistung-card li { position: relative; padding-left: 26px; font-size: .95rem; color: var(--muted); line-height: 1.5; }
.leistung-card li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 15px; height: 8px;
  border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red);
  transform: rotate(-45deg);
}
.leistung-card li strong { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .leistungen { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .leistungen { grid-template-columns: 1fr; } }

/* ---------- FAQ (Accordion) ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 22px; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.5rem; font-weight: 700; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }


/* ---------- Karte: Zwei-Klick-Loesung ---------- */
.mapbox { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); background: var(--bg-alt); }
.mapbox__consent { padding: 46px 26px; text-align: center; }
.mapbox__consent h3 { margin: 0 0 10px; }
.mapbox__consent p { margin: 0 auto 20px; max-width: 520px; color: var(--muted); font-size: .95rem; }
.mapbox iframe { display: block; border: 0; width: 100%; height: 420px; }

/* ---------- Datenschutz-Hinweis als Popup ---------- */
.cc { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(20, 28, 33, .55); backdrop-filter: blur(3px); }
.cc[hidden] { display: none !important; }
.cc__inner { width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto;
  background: #fff; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(20,28,33,.30);
  padding: 28px; display: grid; gap: 16px; animation: cc-in .22s ease-out; }
@keyframes cc-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.cc h2 { font-size: 1.25rem; margin: 0; }
.cc p { margin: 0; font-size: .93rem; color: var(--muted); }
.cc__opts { display: grid; gap: 10px; }
.cc__opt { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.cc__opt input { margin-top: 4px; flex: none; }
.cc__opt span b { display: block; color: var(--ink); }
.cc__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cc__actions .btn { font-size: .92rem; flex: 1 1 auto; }
body.cc-offen { overflow: hidden; }
@media (max-width: 560px) {
  .cc__inner { padding: 22px 18px; }
  .cc__actions { flex-direction: column; }
}
