/* Zahnärztliche Praxis Peter Bittendorf – Stylesheet
   Keine externen Schriften: ausschließlich Systemschriften (DSGVO). */

:root {
  --teal: #4a1f3a;
  --teal-dark: #2e1124;
  --teal-soft: #f4eaf0;
  --sand: #f3eef1;
  --ink: #1d2427;
  --muted: #56636a;
  --line: #e6dbe1;
  --white: #ffffff;
  --radius: 14px;
  --max: 1080px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid #e0a43a; outline-offset: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Kopfbereich */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text small { font-size: 13px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.brand-text strong { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.nav a { text-decoration: none; color: var(--ink); font-size: 16px; padding: 4px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); }
.nav .call { color: var(--teal); font-weight: 600; }

/* Startbereich */
.hero { background: linear-gradient(180deg, #f6f3f5 0%, #efe3ea 55%, #dcbdd0 100%); padding: 72px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.eyebrow { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin: 0 0 12px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(32px, 5vw, 48px); margin: 0 0 18px; }
h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 0 0 16px; }
h3 { font-size: 20px; margin: 0 0 8px; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 13px 22px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 16px; border: 2px solid var(--teal); }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }
.btn-ghost { color: var(--teal); background: transparent; }
.btn-ghost:hover { background: var(--teal-soft); }

.card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(74,31,58,.10); }
.card h2 { font-size: 22px; margin-bottom: 14px; }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: 10px 0; border-top: 1px solid var(--line); display: flex; gap: 12px; }
.facts li:first-child { border-top: 0; padding-top: 0; }
.facts span { color: var(--muted); min-width: 74px; }

/* Abschnitte */
section { padding: 72px 0; }
section.alt { background: var(--teal-soft); }
.intro { max-width: 46em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.tile p { margin: 0; color: var(--muted); font-size: 16px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.note { font-size: 15px; color: var(--muted); }
address { font-style: normal; }

/* Rechtstexte */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 800px; }
.legal h2 { font-size: 24px; margin-top: 40px; }
.legal h3 { font-size: 19px; margin-top: 28px; }
.legal p, .legal li { color: #2c3438; }
.todo { background: #fff4d6; border: 1px dashed #c99a1e; padding: 0 4px; border-radius: 4px; }

/* Fußbereich */
.site-footer { background: var(--teal-dark); color: #ead9e3; padding: 40px 0; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.site-footer a { color: var(--white); }
.site-footer nav { display: flex; gap: 18px; }

@media (max-width: 860px) {
  .hero .wrap, .two { grid-template-columns: 1fr; gap: 32px; }
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding: 48px 0; }
  section { padding: 52px 0; }
  .grid { grid-template-columns: 1fr; }
  .site-header { position: static; }
  .nav { gap: 2px 14px; }
}
@media print {
  .site-header, .site-footer, .actions { display: none; }
  section, .hero { padding: 16px 0; background: none; }
}

/* Kompakte Startseite */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; display: flex; flex-direction: column; }
main > .hero:first-child { flex: 1; display: flex; align-items: center; padding: 96px 0; }
main > .hero:first-child > .wrap { width: 100%; }
.legal { flex: 1; }

/* Leistungszeile */
.services { padding: 44px 0; background: var(--white); }
.services h2 { font-size: 24px; margin: 0 0 18px; }
.chips { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.chips li { background: var(--teal-soft); border-radius: 12px; padding: 16px 18px; font-weight: 600; color: var(--teal-dark); }
@media (max-width: 860px) { .chips { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .chips { grid-template-columns: 1fr; } }

.hero-logo { width: 96px; height: auto; display: block; margin: 0 0 22px; }
@media (max-width: 560px) { .hero-logo { width: 72px; } }
