/* Hausarztpraxis Dr. med. Nicole Hetterich – gemeinsames Design für alle Seiten */
:root {
  --sky: #79C0EA;
  --sky-light: #EAF6FD;
  --teal: #00ACB6;
  --teal-dark: #00838B;
  --navy: #1D3C4E;
  --text: #2B3A42;
  --muted: #5E717B;
  --bg: #F6FAFC;
  --card: #FFFFFF;
  --line: #DCE8EF;
  --alert: #B3261E;
  --pink: #D6007A;
  --pink-dark: #A8005F;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(29, 60, 78, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}
a { color: var(--teal-dark); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 999; background: #fff; padding: 8px 14px; border-radius: 8px; }

/* ---------- Kopfzeile ---------- */
.topbar { background: var(--navy); color: #fff; font-size: 14px; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 4px 28px; justify-content: flex-end; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

header.site {
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid #E3EEF4;
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 20px; position: relative; }
.brand img { height: 76px; width: auto; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; flex-wrap: wrap; }
nav a {
  display: block; padding: 9px 14px; border-radius: 999px;
  color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15px;
}
nav a:hover, nav a.active { background: var(--sky-light); color: var(--teal-dark); }
#menu-toggle { position: absolute; opacity: 0; pointer-events: none; }
.menu-btn { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 16px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost { background: #fff; color: var(--navy); border-color: #CFE3EE; }
.btn-ghost:hover { border-color: var(--teal); }

/* ---------- Startseite: Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(121, 192, 234, 0.35), transparent 55%),
    linear-gradient(135deg, #FFFFFF 0%, var(--sky-light) 100%);
  padding: 64px 0 72px;
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--teal-dark); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; font-size: 13px; margin: 0 0 10px; }
h1 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.12; color: var(--navy); margin: 0 0 14px; font-weight: 700; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.news {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px 24px; border-left: 6px solid var(--pink); max-width: 560px;
}
.news .label { display: inline-block; background: #FCE4F1; color: var(--pink-dark); font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.news h2 { margin: 0 0 6px; font-size: 19px; color: var(--navy); }
.news p { margin: 0; font-size: 16px; }

.portrait { position: relative; justify-self: center; max-width: 420px; width: 100%; margin: 0; }
.portrait::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border-radius: 28px; background: linear-gradient(135deg, var(--sky), var(--teal));
  opacity: .55; z-index: 0;
}
.portrait img { position: relative; z-index: 1; border-radius: 28px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.portrait figcaption {
  position: absolute; z-index: 2; left: 16px; bottom: 16px; right: 16px;
  background: rgba(255, 255, 255, 0.94); border-radius: 14px; padding: 10px 16px;
  font-size: 14px; color: var(--muted); box-shadow: var(--shadow);
}
.portrait figcaption strong { display: block; color: var(--navy); font-size: 16px; }

/* ---------- Unterseiten: Seitenkopf ---------- */
.page-head {
  background:
    radial-gradient(circle at 90% 0%, rgba(121, 192, 234, 0.35), transparent 50%),
    linear-gradient(135deg, #FFFFFF 0%, var(--sky-light) 100%);
  padding: 52px 0 46px;
  border-bottom: 1px solid #E3EEF4;
}
.page-head h1 { margin-bottom: 8px; }
.page-head p { margin: 0; color: var(--muted); font-size: 18px; max-width: 40em; }

/* ---------- Bereiche & Karten ---------- */
section { padding: 72px 0; }
section.tight { padding: 56px 0; }
.section-title { text-align: center; margin: 0 auto 40px; max-width: 640px; }
.section-title h2 { font-size: clamp(26px, 3vw, 34px); color: var(--navy); margin: 0 0 8px; line-height: 1.2; }
.section-title p { color: var(--muted); margin: 0; }
h2.h { font-size: clamp(24px, 2.6vw, 30px); color: var(--navy); margin: 0 0 10px; line-height: 1.25; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards.two { grid-template-columns: 1fr 1fr; }
.card { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 14px; color: var(--navy); font-size: 20px; line-height: 1.3; display: flex; align-items: center; gap: 12px; }
.card p { margin: 0 0 10px; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 42px; height: 42px; border-radius: 12px; background: var(--sky-light); color: var(--teal-dark); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.icon svg { width: 22px; height: 22px; }

.times { width: 100%; border-collapse: collapse; font-size: 16px; }
.times td:last-child, footer.site .ftimes td:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.times td { padding: 7px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.times tr:last-child td { border-bottom: 0; }
.times td:first-child { font-weight: 700; color: var(--navy); width: 38%; padding-right: 10px; }
.note { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list span { display: block; font-size: 13px; color: var(--muted); }
.contact-list a, .contact-list b { font-size: 17px; color: var(--navy); font-weight: 700; text-decoration: none; }

.services { background: #fff; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto; }
.chip { background: var(--sky-light); color: var(--navy); border-radius: 999px; padding: 10px 20px; font-weight: 600; font-size: 15px; }
.center { text-align: center; margin-top: 32px; }

.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 36px; align-items: center; }
.split.rev { grid-template-columns: 0.8fr 1.2fr; }
.photo { border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; width: 100%; object-fit: cover; }
.insta { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.insta img { width: 64px; height: 64px; border-radius: 16px; }

/* Leistungs-Karten */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-grid .card.wide { grid-column: 1 / -1; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.checklist li { position: relative; padding-left: 28px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 40px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; text-align: center; }

/* Team */
.team-photo { border-radius: 24px; box-shadow: var(--shadow); width: 100%; }
.team-names { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.team-names span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; font-weight: 600; color: var(--navy); font-size: 14px; white-space: nowrap; }
@media (min-width: 1100px) { .team-names { flex-wrap: nowrap; } }
.team-names small { color: var(--muted); font-weight: 500; }

/* Bewerbung */
.cta-box {
  background: linear-gradient(135deg, var(--navy), #24546B);
  color: #fff; border-radius: 24px; padding: 40px; box-shadow: var(--shadow); text-align: center;
}
.cta-box h2 { color: #fff; margin: 0 0 10px; font-size: clamp(24px, 3vw, 32px); }
.cta-box p { color: #D7E6EE; margin: 0 0 24px; font-size: 18px; }
.cta-box .btn-primary { font-size: 18px; max-width: 100%; overflow-wrap: anywhere; }

/* Fließtext (Impressum, Datenschutz) */
.prose { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px 44px; }
.prose h2 { color: var(--navy); font-size: 21px; margin: 32px 0 8px; line-height: 1.3; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 12px; overflow-wrap: anywhere; }
.prose .hint { background: #FDECEA; color: var(--alert); border-radius: 10px; padding: 10px 14px; font-size: 15px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* Willkommens-Band mit Empfangsfoto im Hintergrund (Startseite) */
.welcome {
  position: relative; padding: 110px 0;
  background: var(--navy) url("images/empfang_1600.jpg") center 55% / cover no-repeat;
}
.welcome::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(29, 60, 78, 0.92) 0%, rgba(29, 60, 78, 0.72) 45%, rgba(29, 60, 78, 0.1) 100%);
}
.welcome .wrap { position: relative; }
.welcome-box { max-width: 480px; color: #fff; }
.welcome .eyebrow { color: var(--sky); }
.welcome h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; margin: 0 0 12px; }
.welcome p { color: #E3EEF4; font-size: 18px; margin: 0 0 24px; }
@media (max-width: 900px) {
  .welcome { background-position: 62% center; padding: 72px 0; }
  .welcome::before { background: linear-gradient(180deg, rgba(29, 60, 78, 0.55) 0%, rgba(29, 60, 78, 0.85) 100%); }
}

/* ---------- Weihnachts-Teaser (Startseite) ---------- */
.xmas-teaser {
  display: block; text-decoration: none; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(110deg, var(--pink-dark) 0%, var(--pink) 55%, #E8459C 100%);
}
.xmas-teaser::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  animation: xmas-shine 4s ease-in-out infinite;
}
@keyframes xmas-shine { 0%, 55% { left: -40%; } 100% { left: 130%; } }
.xmas-inner { display: flex; align-items: center; gap: 20px; padding-top: 14px; padding-bottom: 14px; position: relative; z-index: 1; }
.xmas-thumb { position: relative; flex: none; width: 96px; height: 64px; border-radius: 12px; overflow: hidden; border: 2px solid rgba(255, 255, 255, 0.85); box-shadow: 0 6px 16px rgba(80, 0, 40, 0.35); }
.xmas-thumb img { width: 100%; height: 100%; object-fit: cover; filter: blur(3px) saturate(1.2); transform: scale(1.15); }
.xmas-q { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 800; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45); }
.xmas-text { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.xmas-text strong { font-size: 19px; }
.xmas-text span { font-size: 15px; color: #FFE3F1; }
.xmas-btn { flex: none; background: #fff; color: var(--pink-dark); font-weight: 800; padding: 11px 22px; border-radius: 999px; box-shadow: 0 6px 16px rgba(80, 0, 40, 0.3); animation: xmas-wiggle 3.5s ease-in-out infinite; }
.xmas-teaser:hover .xmas-btn { animation: none; transform: scale(1.05); }
@keyframes xmas-wiggle { 0%, 82%, 100% { transform: rotate(0); } 86% { transform: rotate(-4deg); } 90% { transform: rotate(4deg); } 94% { transform: rotate(-2deg); } }
.xmas-photo { border: 4px solid #fff; outline: 3px solid var(--pink); }
.xmas-section { background: linear-gradient(180deg, #FFF4FA 0%, var(--bg) 100%); scroll-margin-top: 90px; }
.xmas-section h2 { color: var(--pink-dark); }
.season-off { display: none !important; }
@media (prefers-reduced-motion: reduce) { .xmas-teaser::after, .xmas-btn { animation: none; } }
@media (max-width: 640px) {
  .xmas-inner { gap: 14px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
  .xmas-thumb { width: 72px; height: 54px; }
  .xmas-text { min-width: 0; flex: 1 1 calc(100% - 90px); }
  .xmas-text strong { font-size: 17px; }
  .xmas-btn { width: 100%; text-align: center; }
}

/* ---------- Fußzeile ---------- */
footer.site { background: var(--navy); color: #C9D8E0; font-size: 15px; }
footer.site .cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; padding-top: 52px; padding-bottom: 36px; }
footer.site h4 { color: #fff; margin: 0 0 12px; font-size: 16px; letter-spacing: .3px; }
footer.site p { margin: 0 0 6px; }
footer.site a { color: #fff; text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site .ftimes { border-collapse: collapse; }
footer.site .ftimes td { padding: 2px 14px 2px 0; vertical-align: top; }
footer.site .bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); }
footer.site .bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 22px; font-size: 14px; }
footer.site .bottom a { margin-left: 18px; }
footer.site .bottom a:first-child { margin-left: 0; }
body.has-cd footer.site .bottom .wrap { padding-bottom: 100px; }

/* Eigenen Launcher-Button von CLICKDOC ausblenden (wir nutzen eigene Buttons) */
#or-open-assistant { display: none !important; }

/* ---------- Schwebender CLICKDOC-Button (Startseite) ---------- */
#cd-button {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  z-index: 1000; background: var(--pink); color: #fff;
  border: 2px solid #fff; border-radius: 999px; padding: 14px 32px;
  font-family: inherit; font-size: 18px; font-weight: 700; letter-spacing: .3px;
  box-shadow: 0 8px 22px rgba(29, 60, 78, 0.35); cursor: pointer; white-space: nowrap;
  animation: cd-pulse 2s ease-in-out infinite;
}
@keyframes cd-pulse {
  0%, 100% { background: var(--teal); box-shadow: 0 8px 22px rgba(29, 60, 78, .35), 0 0 0 0 rgba(0, 172, 182, .7); }
  50% { background: var(--teal-dark); box-shadow: 0 8px 22px rgba(29, 60, 78, .35), 0 0 0 14px rgba(0, 172, 182, 0); }
}
#cd-button:hover, #cd-button:focus { animation: none; background: var(--pink-dark); outline: none; }
@media (prefers-reduced-motion: reduce) { #cd-button { animation: none; } html { scroll-behavior: auto; } .btn:hover { transform: none; } }

/* ---------- Tablet ---------- */
@media (max-width: 1020px) {
  .menu-btn {
    display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none;
    padding: 10px 18px; border-radius: 999px; background: var(--sky-light); color: var(--navy); font-weight: 700;
  }
  #menu-toggle:focus-visible + .menu-btn { outline: 2px solid var(--teal); }
  nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid #E3EEF4; box-shadow: 0 12px 24px rgba(29, 60, 78, .08); display: none; }
  nav ul { flex-direction: column; padding: 10px 16px 18px; }
  nav a { padding: 12px 16px; font-size: 17px; }
  #menu-toggle:checked ~ nav { display: block; }
}
@media (max-width: 960px) {
  .hero .wrap, .split, .split.rev { grid-template-columns: 1fr; }
  .portrait { max-width: 360px; }
  .cards { grid-template-columns: 1fr 1fr; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
}

/* ---------- Handy ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .wrap-narrow { padding: 0 18px; }
  .cards, .cards.two, .service-grid, .info-grid, .gallery, .checklist { grid-template-columns: 1fr; }
  .brand img { height: 52px; }
  header.site .wrap { min-height: 72px; }
  .topbar .wrap { justify-content: center; text-align: center; }
  section { padding: 48px 0; }
  section.tight { padding: 40px 0; }
  .hero { padding: 36px 0 52px; }
  .page-head { padding: 34px 0 30px; }
  .actions .btn { width: 100%; }
  .card { padding: 22px; }
  .prose { padding: 24px 20px; }
  .cta-box { padding: 28px 20px; }
  footer.site .cols { grid-template-columns: 1fr; gap: 24px; padding-top: 40px; }
  #cd-button { font-size: 15px; padding: 12px 20px; bottom: 16px; white-space: normal; text-align: center; width: max-content; max-width: calc(100vw - 32px); line-height: 1.3; }
}
