/* Zahnarztpraxis Dr. Caroline Kurz – Stylesheet
   Keine externen Ressourcen (DSGVO): System-Schriften, keine Fonts/CDNs. */

:root {
  --petrol: #1f5f66;
  --petrol-dark: #164448;
  --petrol-light: #e6f0f0;
  --sand: #f6f1ea;
  --accent: #c98b5b;
  --text: #1d2a2c;
  --muted: #5b6b6d;
  --line: #dde5e5;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(22, 68, 72, .08);
  --max: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--petrol); }
a:hover { color: var(--petrol-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; margin: 0 0 .6em; color: var(--petrol-dark); }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section--sand { background: var(--sand); }
.section--petrol { background: var(--petrol); color: var(--white); }
.section--petrol h2 { color: var(--white); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--accent); margin-bottom: .6em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }

/* Platzhalter – vor Livegang ersetzen und diese Regel entfernen */
.ph { background: #fff3b0; color: inherit; padding: 0 .2em; border-radius: 3px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--petrol); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--petrol-dark); }
.brand svg { width: 38px; height: 38px; }
.brand__name { font-family: var(--serif); font-size: 1.2rem; line-height: 1.1; }
.brand__sub { display: block; font-family: var(--font); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.nav a { text-decoration: none; color: var(--text); font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--petrol); }
.nav__cta { background: var(--petrol); color: #fff !important; padding: 9px 18px; border-radius: 999px; }
.nav__cta:hover { background: var(--petrol-dark); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--petrol-dark); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 20px 20px; }
  .nav li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav__cta { display: inline-block !important; margin-top: 14px; border: 0 !important; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: background .2s, transform .2s; }
.btn--primary { background: var(--petrol); color: #fff; }
.btn--primary:hover { background: var(--petrol-dark); color: #fff; transform: translateY(-1px); }
.btn--ghost { border: 1.5px solid var(--petrol); color: var(--petrol); }
.btn--ghost:hover { background: var(--petrol-light); }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--sand) 0%, var(--petrol-light) 100%); padding: 96px 0 104px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__visual { position: relative; aspect-ratio: 1; border-radius: 50% 50% 46% 54% / 52% 44% 56% 48%; background: var(--white); box-shadow: var(--shadow); display: grid; place-items: center; }
.hero__visual svg { width: 56%; }
.hero__badge { position: absolute; bottom: 8%; left: -6%; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 18px; font-size: .9rem; line-height: 1.35; }
.hero__badge strong { display: block; color: var(--petrol-dark); }
@media (max-width: 860px) {
  .hero { padding: 64px 0 72px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 320px; margin: 0 auto; }
  .hero__badge { left: 0; }
}

/* Info-Leiste */
.infobar { background: var(--petrol-dark); color: #fff; }
.infobar__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.infobar__item { display: flex; gap: 14px; align-items: center; padding: 22px 20px; }
.infobar__item + .infobar__item { border-left: 1px solid rgba(255,255,255,.15); }
.infobar__item svg { width: 26px; height: 26px; flex: none; opacity: .85; }
.infobar__item a { color: #fff; text-decoration: none; }
.infobar small { display: block; opacity: .7; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
@media (max-width: 760px) {
  .infobar__grid { grid-template-columns: 1fr; }
  .infobar__item + .infobar__item { border-left: 0; border-top: 1px solid rgba(255,255,255,.15); }
}

/* Leistungen */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--petrol-light); color: var(--petrol); display: grid; place-items: center; margin-bottom: 18px; }
.card__icon svg { width: 28px; height: 28px; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Über uns */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.portrait { aspect-ratio: 4/5; border-radius: var(--radius); background: linear-gradient(160deg, var(--petrol-light), #cfe0e0); display: grid; place-items: center; color: var(--petrol); text-align: center; font-size: .9rem; position: relative; overflow: hidden; }
.portrait svg { width: 40%; opacity: .55; margin: 0 auto 10px; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--petrol-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5f66' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat; }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; }
@media (max-width: 960px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team { grid-template-columns: 1fr; } }
.member { text-align: center; }
.member .portrait { aspect-ratio: 1; border-radius: 50%; max-width: 200px; margin: 0 auto 16px; }
.member h3 { font-size: 1.1rem; margin-bottom: .2em; }
.member p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Sprechzeiten */
.hours { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; color: var(--text); }
.hours table { width: 100%; border-collapse: collapse; }
.hours td { padding: 11px 0; border-bottom: 1px solid var(--line); }
.hours tr:last-child td { border-bottom: 0; }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours .today td { color: var(--petrol); font-weight: 600; }
.notice { margin-top: 22px; padding: 16px 18px; border-radius: 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-size: .95rem; }
.section--petrol .lead { color: rgba(255,255,255,.85); }
.section--petrol a { color: #fff; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; flex: none; margin-top: 4px; color: var(--petrol); }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.map { border-radius: var(--radius); background: var(--petrol-light); min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; gap: 14px; border: 1px solid var(--line); }
.map svg { width: 54px; height: 54px; color: var(--petrol); }
.map p { color: var(--muted); max-width: 34ch; margin: 0; font-size: .95rem; }

/* Footer */
.footer { background: var(--petrol-dark); color: rgba(255,255,255,.75); padding: 48px 0 32px; font-size: .92rem; }
.footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 20px; font-size: .82rem; }

/* Rechtstexte */
.legal { padding: 64px 0 88px; }
.legal .container { max-width: 800px; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.5em; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 22px; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; } .legal dd { margin-bottom: 8px; } }
.back { display: inline-block; margin-bottom: 28px; text-decoration: none; }

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