/* ============================================================
   Praxis Abdel Qader – Website V2
   Kein externes Font-Loading (DSGVO-sicher), keine Tracker.
   Für den Livegang kann die Hausschrift "Outfit" als woff2
   selbst gehostet und hier per @font-face eingebunden werden.
   ============================================================ */

:root {
  --brand: #306493;           /* Logo-Blau */
  --brand-dark: #234e77;
  --navy: #16324f;            /* tiefes Blau für Header/Footer/Hero */
  --navy-2: #1d4166;
  --sky: #5b93c4;
  --tint: #eaf1f8;            /* helle Brand-Fläche */
  --tint-2: #f4f8fb;
  --ink: #1b2733;
  --ink-soft: #52657a;
  --line: #dfe8f0;
  --bg: #fafbfd;
  --white: #fff;
  --amber-bg: #fdf6e9; --amber-line: #eedcb4; --amber-ink: #7a4c08;
  --red-bg: #fdf0ef; --red-line: #f0c9c6; --red-ink: #a8271e;
  --green-bg: #eef7f0; --green-ink: #1e6b3a;
  --r: 18px; --r-sm: 12px;
  --shadow: 0 2px 20px rgba(22, 50, 79, .07);
  --shadow-lg: 0 14px 44px rgba(22, 50, 79, .14);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font);
  color: var(--ink); background: var(--bg);
  line-height: 1.65; font-size: 1.03rem;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: var(--brand); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Skip-Link (Barrierefreiheit) */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 0 0 12px 0;
  text-decoration: none; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ===== Announcement (schließbar) ===== */
.announce {
  background: var(--amber-bg); border-bottom: 1px solid var(--amber-line);
  color: var(--amber-ink); font-size: .92rem; padding: 9px 0;
}
.announce .container { display: flex; gap: 14px; align-items: center; justify-content: center; text-align: center; }
.announce.hidden { display: none; }
.announce button {
  background: none; border: 0; cursor: pointer; color: inherit; font-size: 1.2rem;
  line-height: 1; padding: 4px; flex-shrink: 0;
}

/* ===== Topbar ===== */
.topbar { background: var(--navy); color: #bcd2e6; font-size: .85rem; padding: 7px 0; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }

/* ===== Header ===== */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
header.site.scrolled { box-shadow: var(--shadow); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 86px; gap: 16px; }
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand-logo { height: 58px; width: auto; }
@media (max-width: 480px) { .brand-logo { height: 46px; } }

nav.main { display: flex; gap: 2px; align-items: center; }
nav.main a {
  text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: .95rem;
  padding: 9px 13px; border-radius: 100px; transition: background .15s, color .15s;
}
nav.main a:hover { background: var(--tint); color: var(--brand-dark); }
nav.main a[aria-current="page"] { background: var(--tint); color: var(--brand-dark); }
nav.main a.cta { background: var(--brand); color: #fff; margin-left: 10px; padding: 11px 20px; }
nav.main a.cta:hover { background: var(--brand-dark); }
nav.main a.cta-soft { background: var(--tint); color: var(--brand-dark); }
nav.main a.cta-soft:hover { background: #d9e8f5; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  nav.main {
    display: none; position: absolute; top: 86px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 10px 20px 22px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  }
  nav.main.open { display: flex; }
  nav.main a { padding: 14px; border-radius: var(--r-sm); }
  nav.main a.cta { margin: 8px 0 0; text-align: center; border-radius: 100px; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  padding: 14px 26px; border-radius: 100px; font-weight: 700; font-size: .98rem;
  transition: transform .15s, box-shadow .15s, background .15s; border: 0; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); box-shadow: var(--shadow-lg); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { box-shadow: var(--shadow-lg); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-soft { background: var(--tint); color: var(--brand-dark); }
.btn-soft:hover { background: #dcE9f5; }

/* ===== Hero ===== */
.hero { background: linear-gradient(155deg, var(--navy) 0%, var(--navy-2) 55%, var(--brand) 100%); color: #fff; position: relative; overflow: hidden; }
.hero-watermark {
  position: absolute; right: -70px; top: 50%; transform: translateY(-50%) rotate(-8deg);
  height: 130%; width: auto; opacity: .07; pointer-events: none;
}
.hero-watermark path { fill: #fff; }
.hero .container { position: relative; z-index: 1; padding: 96px 24px 88px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.25);
  padding: 7px 16px; border-radius: 100px; font-size: .84rem; font-weight: 600; letter-spacing: .3px;
  margin-bottom: 26px;
}
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.14; font-weight: 800; letter-spacing: -.5px; max-width: 740px; }
.hero h1 em { font-style: normal; color: #9ec7ea; }
.hero .lead { margin-top: 20px; max-width: 640px; font-size: 1.13rem; color: #d9e6f2; }
.hero .actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Vertrauensband / Stats ===== */
.trustband { background: var(--navy); color: #fff; border-top: 1px solid rgba(255,255,255,.12); }
.trustband .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 30px 24px; }
.trustband .t { display: flex; gap: 14px; align-items: center; }
.trustband .t svg { flex-shrink: 0; color: #9ec7ea; }
.trustband .t strong { display: block; font-size: 1.06rem; }
.trustband .t span { color: #b7cde1; font-size: .88rem; }
@media (max-width: 760px) { .trustband .container { grid-template-columns: 1fr; gap: 16px; } }

/* ===== Sektionen ===== */
main { display: block; }
section.block { padding: 84px 0; }
section.block.alt { background: var(--white); border-top: 1px solid #edf2f7; border-bottom: 1px solid #edf2f7; }
.section-head { max-width: 700px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px; font-size: .78rem; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; letter-spacing: -.4px; margin-top: 8px; line-height: 1.22; }
.section-head p { color: var(--ink-soft); margin-top: 14px; font-size: 1.05rem; }

/* ===== Grid & Cards ===== */
.grid { display: grid; gap: 24px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s;
}
.card.hoverable:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 1.14rem; font-weight: 750; margin-bottom: 8px; letter-spacing: -.2px; }
.card p { color: var(--ink-soft); font-size: .96rem; }
.card .more { display: inline-block; margin-top: 14px; font-weight: 700; text-decoration: none; font-size: .93rem; }
.card .more:hover { text-decoration: underline; }
.icon {
  width: 50px; height: 50px; border-radius: 14px; background: var(--tint);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--brand);
}

/* ===== Steps (Patient Journey) ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px; box-shadow: var(--shadow); position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 1.05rem;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.06rem; font-weight: 750; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .93rem; }

/* ===== Notices ===== */
.notice { border-radius: var(--r-sm); padding: 18px 22px; margin-bottom: 14px; font-size: .95rem; }
.notice strong { display: block; margin-bottom: 4px; }
.notice.info { background: var(--tint); border: 1px solid #c9dced; color: var(--brand-dark); }
.notice.warn { background: var(--amber-bg); border: 1px solid var(--amber-line); color: var(--amber-ink); }
.notice.alert { background: var(--red-bg); border: 1px solid var(--red-line); color: var(--red-ink); }

/* ===== Tabellen ===== */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 11px 6px; border-bottom: 1px solid #edf2f7; vertical-align: top; }
.hours-table td:first-child { font-weight: 700; width: 42%; }
.hours-table td:last-child { color: var(--ink-soft); }
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table tr.today td { background: var(--tint-2); }

/* ===== Akkordeon / FAQ ===== */
details.acc {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm);
  margin-bottom: 12px; box-shadow: var(--shadow); overflow: hidden;
}
details.acc summary {
  cursor: pointer; padding: 20px 26px; font-weight: 700; font-size: 1.03rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after {
  content: ""; width: 12px; height: 12px; flex-shrink: 0;
  border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand);
  transform: rotate(45deg); transition: transform .2s; margin-top: -4px;
}
details.acc[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
details.acc .acc-body { padding: 0 26px 24px; color: var(--ink-soft); font-size: .96rem; }
details.acc .acc-body h4 { color: var(--ink); margin: 18px 0 6px; font-size: 1rem; }
details.acc .acc-body h4:first-child { margin-top: 0; }
details.acc .acc-body ul { margin: 8px 0 8px 20px; }
details.acc .acc-body li { margin-bottom: 5px; }
details.acc .acc-body p { margin-bottom: 10px; }
details.acc .acc-body p:last-child { margin-bottom: 0; }

/* ===== Timeline (Praxisgeschichte) ===== */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--brand), var(--sky));
}
.tl-item { position: relative; padding-bottom: 36px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -31px; top: 6px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--brand);
}
.tl-item .tl-year { font-weight: 800; color: var(--brand); font-size: .92rem; letter-spacing: .5px; }
.tl-item h3 { font-size: 1.12rem; font-weight: 750; margin: 4px 0 6px; }
.tl-item p { color: var(--ink-soft); font-size: .97rem; }

/* ===== Team ===== */
.team-card { text-align: center; padding: 32px 22px; }
.team-avatar {
  width: 86px; height: 86px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--tint), #dcebf7);
  color: var(--brand-dark); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.5rem;
}
.team-card.lead-doc .team-avatar { background: linear-gradient(135deg, var(--brand), var(--sky)); color: #fff; }
.team-avatar.photo { width: 150px; height: 150px; background: var(--tint); }
.team-card.lead-doc .team-avatar.photo { width: 200px; height: 200px; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.team-group { width: 100%; display: block; border-radius: 20px; box-shadow: var(--shadow-lg); }
.card.team-card:hover { transform: scale(1.06); box-shadow: var(--shadow-lg); position: relative; z-index: 2; }
.team-card h3 { font-size: 1.06rem; }
.team-card .role { color: var(--ink-soft); font-size: .88rem; margin-top: 4px; }
.badge {
  display: inline-block; background: var(--tint); color: var(--brand-dark);
  font-size: .74rem; font-weight: 700; padding: 3px 11px; border-radius: 100px; margin-top: 10px;
}
.memberships { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.memberships span {
  border: 1px solid var(--line); border-radius: 8px; padding: 4px 11px;
  font-size: .76rem; font-weight: 700; color: var(--ink-soft); background: var(--tint-2);
}
.memberships img { height: 34px; width: auto; display: block; }
.memberships-note { font-size: .78rem; color: var(--ink-soft); margin-top: 10px; }

/* ===== Kontakt ===== */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; }
.contact-list li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid #edf2f7; align-items: baseline; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .lbl { font-weight: 700; min-width: 92px; }

/* ===== CTA-Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--brand));
  border-radius: 24px; color: #fff; padding: 48px 44px;
  display: flex; justify-content: space-between; align-items: center; gap: 26px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-banner::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px;
  border-radius: 50%; background: rgba(255,255,255,.07);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { font-size: 1.55rem; font-weight: 800; letter-spacing: -.3px; }
.cta-banner p { color: #cfe0ef; margin-top: 8px; max-width: 560px; }

/* ===== Zitat ===== */
.quote { text-align: center; max-width: 780px; margin: 0 auto; padding: 64px 24px; }
.quote blockquote { font-size: 1.18rem; font-style: italic; color: var(--ink-soft); line-height: 1.7; }
.quote cite { display: block; margin-top: 16px; font-style: normal; font-size: .9rem; color: var(--brand); font-weight: 600; }

/* ===== Footer ===== */
footer.site { background: var(--navy); color: #b7cde1; padding: 60px 0 30px; font-size: .94rem; }
footer.site h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
footer.site a { color: #dcebf7; text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-logo { height: 50px; width: auto; margin-bottom: 16px; }
footer.site .footer-logo .cls-4, footer.site .footer-logo .cls-5 { fill: #fff !important; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .84rem; color: #8fadc8;
}

/* ===== Unterseiten-Hero ===== */
.page-hero { background: linear-gradient(155deg, var(--navy), var(--navy-2)); color: #fff; padding: 62px 0; position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -.4px; }
.page-hero p { color: #cfe0ef; margin-top: 12px; max-width: 660px; font-size: 1.06rem; }
.page-hero .crumb { font-size: .84rem; color: #9ec7ea; margin-bottom: 14px; }
.page-hero .crumb a { color: #9ec7ea; }

/* ===== Mobile Anruf-Leiste ===== */
.mobile-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-cta a { flex: 1; justify-content: center; padding: 13px; font-size: .95rem; }
@media (max-width: 760px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 74px; }
}

/* ===== Scroll-Reveal ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ===== Utilities ===== */
.mt-2 { margin-top: 16px; } .mt-3 { margin-top: 28px; } .mt-4 { margin-top: 44px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.small { font-size: .88rem; }
