/* =========================================================
   Klinika Dentima — Design System
   Inspiriert vom Stil von Emil Kowalski:
   ruhig, präzise, viel Weißraum, feine Interaktionen.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;450;500;600;700&display=swap');

:root {
  --bg: #ffffff;
  --bg-subtle: #fafafa;
  --bg-muted: #f4f4f5;
  --fg: #0a0a0a;
  --fg-soft: #52525b;
  --fg-muted: #71717a;
  --border: #ececec;
  --border-strong: #e0e0e0;
  --accent: #0d9488;       /* ruhiges Teal, Vertrauen + Frische */
  --accent-soft: #ccfbf1;
  --accent-ink: #0f766e;
  --gold: #d9a441;         /* Sterne / Bewertungen */
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 4px 24px -8px rgba(0,0,0,.10);
  --shadow-lg: 0 24px 60px -20px rgba(0,0,0,.18);
  --maxw: 1140px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  font-feature-settings: 'cv02','cv03','cv04','cv11';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

section { padding: 96px 0; }

/* ---------- Typografie ---------- */
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.08; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.02em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 550;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
}

.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--fg-soft); }
.muted { color: var(--fg-muted); }
.center { text-align: center; }

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head p { margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 13px; --pad-x: 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: var(--pad-y) var(--pad-x);
  font-size: .95rem; font-weight: 550; letter-spacing: -0.01em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), background .2s var(--ease), box-shadow .25s var(--ease), border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary { background: var(--fg); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #1c1c1c; box-shadow: var(--shadow); transform: translateY(-1px); }

.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-ink); transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-ghost { background: #fff; color: var(--fg); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--bg-subtle); border-color: #cfcfcf; }

.btn-sm { --pad-y: 9px; --pad-x: 16px; font-size: .875rem; }
.btn-lg { --pad-y: 16px; --pad-x: 28px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 1.06rem; letter-spacing: -0.03em; }
.logo svg { color: var(--accent); }
.logo b { font-weight: 600; }
.logo span { color: var(--fg-muted); font-weight: 450; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px; border-radius: 8px;
  font-size: .925rem; font-weight: 450; color: var(--fg-soft);
  transition: color .18s, background .18s;
}
.nav a:hover { color: var(--fg); background: var(--bg-muted); }
.nav a.active { color: var(--fg); font-weight: 500; }

.header-cta { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 42px; height: 42px; border-radius: 10px; align-items: center; justify-content: center;
}
.menu-toggle:hover { background: var(--bg-muted); }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 72px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin: 22px 0 20px; }
.hero .lead { max-width: 30ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-trust { display: flex; align-items: center; gap: 18px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust .stars { color: var(--gold); letter-spacing: 2px; }
.hero-trust small { color: var(--fg-muted); font-size: .85rem; }

.hero-visual {
  position: relative; border-radius: var(--radius-lg);
  aspect-ratio: 4/4.4; overflow: hidden;
  background:
    radial-gradient(120% 120% at 20% 10%, #e8fffb 0%, transparent 55%),
    linear-gradient(160deg, #f0fdfa 0%, #ecfeff 40%, #f8fafc 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
}
.hero-visual .tooth-badge {
  width: 120px; height: 120px; border-radius: 30px;
  background: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow); color: var(--accent);
}
.floating-card {
  position: absolute; background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 12px 15px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 11px; font-size: .85rem;
}
.fc-1 { top: 26px; left: 22px; }
.fc-2 { bottom: 28px; right: 20px; }
.fc-3 { bottom: 96px; left: 18px; }
.floating-card .dot { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); flex-shrink: 0; }
.floating-card b { display: block; font-weight: 600; font-size: .9rem; letter-spacing: -0.01em; }
.floating-card small { color: var(--fg-muted); }

/* ---------- Logos / trust strip ---------- */
.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-subtle); }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 40px 64px; justify-content: center; padding-top: 34px; padding-bottom: 34px; }
.trust-item { text-align: center; }
.trust-item b { display: block; font-size: 1.9rem; letter-spacing: -0.04em; }
.trust-item small { color: var(--fg-muted); font-size: .85rem; }

/* ---------- Feature / benefit cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--fg-soft); font-size: .96rem; }

/* ---------- Split / alternating ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media {
  border-radius: var(--radius-lg); aspect-ratio: 5/4; border: 1px solid var(--border);
  background: linear-gradient(160deg, #f0fdfa, #f8fafc); box-shadow: var(--shadow);
  display: grid; place-items: center; color: var(--accent);
}
.check-list { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 11px; color: var(--fg-soft); }
.check-list svg { color: var(--accent); flex-shrink: 0; margin-top: 3px; }

/* ---------- Reviews ---------- */
.review-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 16px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.review-card .stars { color: var(--gold); letter-spacing: 2px; font-size: .95rem; }
.review-card p { color: var(--fg); font-size: 1rem; }
.reviewer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 600; color: #fff; font-size: .95rem;
}
.reviewer b { display: block; font-size: .92rem; }
.reviewer small { color: var(--fg-muted); font-size: .8rem; }

/* ---------- Price / service list ---------- */
.price-table { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 24px; border-bottom: 1px solid var(--border); }
.price-row:last-child { border-bottom: none; }
.price-row:hover { background: var(--bg-subtle); }
.price-row .pr-name b { font-weight: 550; }
.price-row .pr-name small { display: block; color: var(--fg-muted); font-size: .85rem; }
.price-row .pr-cost { font-weight: 600; white-space: nowrap; color: var(--accent-ink); }

/* ---------- Scarcity CTA ---------- */
.cta-band {
  background: var(--fg); color: #fff; border-radius: var(--radius-lg);
  padding: 56px 48px; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 140% at 50% -20%, rgba(13,148,136,.35), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.72); max-width: 52ch; margin: 16px auto 0; }
.scarcity-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(217,164,65,.15); color: #f5cd7a; border: 1px solid rgba(217,164,65,.35);
  padding: 8px 15px; border-radius: 999px; font-size: .85rem; font-weight: 500; margin-bottom: 22px;
}
.scarcity-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: #f5cd7a; box-shadow: 0 0 0 0 rgba(245,205,122,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(245,205,122,.55);} 70% { box-shadow: 0 0 0 10px rgba(245,205,122,0);} 100% { box-shadow: 0 0 0 0 rgba(245,205,122,0);} }
.cta-band .btn-accent { margin-top: 28px; }
.cta-note { margin-top: 16px; font-size: .82rem; color: rgba(255,255,255,.55) !important; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding: 72px 0 40px; text-align: center; background: var(--bg-subtle); border-bottom: 1px solid var(--border); }
.page-hero .lead { max-width: 60ch; margin: 18px auto 0; }
.breadcrumb { font-size: .82rem; color: var(--fg-muted); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--accent-ink); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-size: 1.06rem; font-weight: 500; letter-spacing: -0.01em; color: var(--fg); }
.faq-q .plus { transition: transform .25s var(--ease); color: var(--accent); flex-shrink: 0; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); color: var(--fg-soft); }
.faq-item.open .faq-a { max-height: 240px; }
.faq-a p { padding-bottom: 22px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.info-block { display: flex; gap: 14px; margin-bottom: 26px; }
.info-block .ico { width: 44px; height: 44px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; flex-shrink: 0; }
.info-block b { display: block; font-weight: 550; margin-bottom: 2px; }
.info-block p, .info-block a { color: var(--fg-soft); font-size: .95rem; }
.info-block a:hover { color: var(--accent-ink); }

.form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: 10px;
  font: inherit; font-size: .95rem; background: #fff; transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 110px; }

.hours-list { display: grid; gap: 2px; }
.hours-list .row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: .93rem; }
.hours-list .row:last-child { border-bottom: none; }
.hours-list .row span:last-child { color: var(--fg-soft); }
.hours-list .today { color: var(--accent-ink); font-weight: 600; }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-photo { aspect-ratio: 1; border-radius: var(--radius); background: linear-gradient(160deg,#f0fdfa,#eef2ff); display: grid; place-items: center; color: var(--accent); margin-bottom: 16px; border: 1px solid var(--border); }
.team-card b { display: block; font-size: 1.05rem; letter-spacing: -0.02em; }
.team-card small { color: var(--fg-muted); }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { margin: 40px 0 14px; font-size: 1.4rem; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--fg-soft); margin-bottom: 14px; }
.legal ul { color: var(--fg-soft); margin: 0 0 14px 20px; }
.legal address { font-style: normal; color: var(--fg-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-subtle); border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--border); }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { color: var(--fg-muted); font-size: .9rem; max-width: 34ch; }
.footer-col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--fg-muted); margin-bottom: 14px; font-weight: 600; }
.footer-col a { display: block; color: var(--fg-soft); font-size: .92rem; padding: 5px 0; transition: color .16s; }
.footer-col a:hover { color: var(--accent-ink); }

.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border-strong);
  display: grid; place-items: center; color: var(--fg-soft); background: #fff;
  transition: transform .18s var(--ease), color .18s, border-color .18s, background .18s;
}
.socials a:hover { color: #fff; background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 26px; }
.footer-bottom small { color: var(--fg-muted); font-size: .85rem; }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a { color: var(--fg-soft); font-size: .85rem; transition: color .16s; }
.footer-legal a:hover { color: var(--accent-ink); }

/* ---------- Photos ---------- */
.hero-visual.has-photo { padding: 0; }
.hero-visual.has-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.split-media.photo { padding: 0; overflow: hidden; }
.split-media.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-hero { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); aspect-ratio: 16/8; }
.team-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Big call CTA ---------- */
.call-hero {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: radial-gradient(120% 130% at 50% 0%, var(--accent-soft) 0%, #fff 55%);
  padding: 56px 32px; text-align: center; box-shadow: var(--shadow);
}
.call-hero .eyebrow { margin-bottom: 18px; }
.call-number {
  display: block; font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 700;
  letter-spacing: -0.03em; color: var(--fg); margin-bottom: 12px;
  transition: color .18s;
}
.call-number:hover { color: var(--accent-ink); }
.call-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  section { padding: 68px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 460px; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .split-media { order: 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }

  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: flex; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border); padding: 12px 24px 20px;
    box-shadow: var(--shadow);
  }
  .nav.open a { padding: 13px 12px; border-radius: 10px; }
  .cta-band { padding: 44px 24px; }
}

@media (max-width: 520px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .trust-strip .container { gap: 26px 40px; }
}

/* Sprachumschalter DE/EN/PL */
.lang-switch{display:inline-flex;align-items:center;gap:1px;border:1px solid rgba(0,0,0,.14);border-radius:999px;padding:2px;background:rgba(255,255,255,.65);vertical-align:middle}
.lang-switch a{font-size:.72rem;font-weight:700;letter-spacing:.02em;color:inherit;opacity:.6;padding:.22rem .46rem;border-radius:999px;line-height:1;text-decoration:none}
.lang-switch a:hover{opacity:1}
.lang-switch a.active{background:currentColor;opacity:1}
.lang-switch a.active{color:#fff !important;background:#333}
