/* Urologie Eppendorf – statische HTML-Version
   Gemeinsames Stylesheet für alle Seiten */

:root {
  /* Markenfarben nach Original-Logo (#8ABCD7 Hellblau) */
  --teal: #3d84a6;          /* Primär: Buttons, Links, Akzente */
  --teal-dark: #2f6885;     /* Hover / dunkler Akzent */
  --teal-light: #e9f3f8;    /* helle Fläche / Tint */
  --brand-sky: #8ABCD7;     /* Original-Hellblau (Logo) */
  --brand-deep: #163a4a;    /* dunkles Blau: Footer */
  --ink: #1f2933;
  --muted: #52616b;
  --line: #e3ebef;
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(61, 132, 166, 0.10);
  --maxw: 1120px;
  --font: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

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

h1, h2, h3 { line-height: 1.25; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 0 0 .5rem; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 1rem; }
h3 { font-size: 1.15rem; margin: 0 0 .4rem; }

p { margin: 0 0 1rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--teal);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -1px;
}
.brand .logo-img { height: 46px; width: auto; display: block; border-radius: 6px; }
.brand small { display: block; font-size: .72rem; font-weight: 500; color: var(--muted); letter-spacing: .02em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .35rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: .5rem .8rem;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 600;
  font-size: .95rem;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.nav-links a.active { color: var(--teal); background: var(--teal-light); }
.nav-links a.cta {
  background: var(--teal); color: #fff; padding: .55rem 1.1rem;
}
.nav-links a.cta:hover { background: var(--teal-dark); }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 8px;
  color: var(--ink);
}
.nav-toggle:hover { background: var(--bg-soft); }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: .8rem 20px 1.2rem;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .75rem .8rem; }
  .nav-links a.cta { text-align: center; margin-top: .3rem; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--teal-light) 0%, #ffffff 70%);
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem);
}
.hero .eyebrow {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--teal);
  font-weight: 600;
  font-size: .85rem;
  padding: .35rem .8rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* Moderner Bild-Aufmacher (Praxis-Eingang) */
.hero-image {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center 30%;
  color: #fff;
  overflow: hidden;
}
.hero-image::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(16,42,54,.86) 0%, rgba(16,42,54,.60) 42%, rgba(16,42,54,.15) 75%, rgba(16,42,54,.05) 100%);
}
@media (max-width: 720px) {
  .hero-image::before {
    background: linear-gradient(180deg, rgba(16,42,54,.55) 0%, rgba(16,42,54,.80) 100%);
  }
  .hero-image { min-height: 480px; }
}
.hero-image .container { position: relative; z-index: 1; padding-top: 3rem; padding-bottom: 3rem; }
.hero-image .eyebrow {
  display: inline-block;
  background: rgba(138,188,215,.22);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  font-weight: 600; font-size: .85rem;
  padding: .35rem .85rem; border-radius: 999px; margin-bottom: 1.1rem;
  backdrop-filter: blur(2px);
}
.hero-image h1 { color: #fff; max-width: 15ch; }
.hero-image p.lead { font-size: 1.18rem; color: rgba(255,255,255,.92); max-width: 560px; }
.hero-image .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); }
.hero-image .btn-ghost:hover { background: rgba(255,255,255,.22); }

/* Bild-Band mit Text (Praxis-Vorstellung) */
.split { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 2.4rem; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 1.4rem; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .8rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s ease, transform .05s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost { background: #fff; color: var(--teal); border-color: var(--teal); }
.btn-ghost:hover { background: var(--teal-light); }

/* ---------- Sections ---------- */
section { padding: clamp(2.2rem, 5vw, 3.8rem) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin-bottom: 2rem; }
.section-head p { color: var(--muted); margin: 0; }

.page-head {
  background: var(--bg-soft);
  padding: clamp(2rem, 5vw, 3.4rem) 0 clamp(1.6rem, 4vw, 2.6rem);
  border-bottom: 1px solid var(--line);
}
.page-head p { color: var(--muted); max-width: 640px; margin: .4rem 0 0; font-size: 1.08rem; }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}
.card h3 { color: var(--teal-dark); }
.card .role { color: var(--muted); font-weight: 600; font-size: .95rem; margin-bottom: .6rem; }
.card ul { margin: .4rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.card ul li { margin-bottom: .3rem; }

/* Arzt-Foto / Avatar */
.doc-card { display: flex; flex-direction: column; }
.doc-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.1rem;
  background: var(--teal-light);
  display: grid; place-items: center;
}
.doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.doc-photo .monogram {
  font-size: 2.4rem; font-weight: 800; color: var(--teal);
  letter-spacing: -1px;
}
.doc-meta { display:flex; flex-wrap:wrap; gap:.4rem; margin:.2rem 0 .8rem; }
.tag {
  display:inline-block; font-size:.78rem; font-weight:600;
  background: var(--teal-light); color: var(--teal-dark);
  padding:.2rem .6rem; border-radius:999px;
}

.icon-badge {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--teal-light); color: var(--teal);
  display: grid; place-items: center; margin-bottom: 1rem;
  font-size: 1.4rem;
}

/* ---------- Hours table ---------- */
.hours {
  width: 100%;
  border-collapse: collapse;
}
.hours th, .hours td {
  text-align: left;
  padding: .6rem .4rem;
  border-bottom: 1px solid var(--line);
}
.hours th { color: var(--muted); font-weight: 600; }
.hours td { font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }

.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: .7rem; padding: .5rem 0; align-items: flex-start; }
.info-list .k { min-width: 90px; color: var(--muted); font-weight: 600; }

.notice {
  background: var(--teal-light);
  border: 1px solid #cfe8e4;
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  color: var(--teal-dark);
}
.notice strong { color: var(--teal-dark); }

.editor-note {
  background: #fff8e6;
  border: 1px solid #f2d98a;
  border-radius: 10px;
  padding: .9rem 1.1rem;
  color: #7a5a10;
  font-size: .92rem;
  margin-bottom: 1.4rem;
}

/* ---------- Forms ---------- */
.form-wrap { max-width: 720px; }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .95rem; }
.field .req { color: #c0392b; }
.field input[type=text],
.field input[type=email],
.field input[type=tel],
.field select,
.field textarea {
  width: 100%;
  padding: .7rem .85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-light);
}
.field textarea { min-height: 120px; resize: vertical; }
.radio-row { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.radio-row label { font-weight: 500; display: flex; align-items: center; gap: .45rem; margin: 0; }
.check-row { display: flex; gap: .6rem; align-items: flex-start; }
.check-row label { font-weight: 500; margin: 0; font-size: .92rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-deep);
  color: #cfe0dd;
  padding: 3rem 0 1.6rem;
  margin-top: 2rem;
}
.site-footer a { color: #a7d8d1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: .45rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 2rem; padding-top: 1.2rem;
  font-size: .85rem; color: #8bb3ad;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem;
}

.legal-body h2 { margin-top: 2rem; }
.legal-body { max-width: 800px; }
.legal-body p, .legal-body li { color: var(--muted); }

/* =====================================================================
   Modernisierung / Design-Refresh
   ===================================================================== */

body { font-size: 17px; letter-spacing: .001em; color: #223; }
h1, h2, h3 { letter-spacing: -.02em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.05rem); }

/* Buttons: weiche Pillenform, dezente Tiefe */
.btn { border-radius: 999px; padding: .85rem 1.6rem; transition: transform .08s ease, box-shadow .2s ease, background .15s ease; }
.btn-primary { box-shadow: 0 8px 20px rgba(61,132,166,.28); }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(61,132,166,.36); transform: translateY(-1px); }

/* Karten: mehr Luft, sanftes Anheben beim Hovern */
.card { border-radius: 18px; padding: 1.8rem; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card.feature:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(61,132,166,.14); border-color: #d3e6ef; }

/* Neue Feature-Icons (Linien-Stil statt Emoji) */
.feature-icon {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--teal-light);
  color: var(--teal);
  margin-bottom: 1.1rem;
}
.feature-icon svg { width: 28px; height: 28px; }

/* Sektionen etwas großzügiger */
section { padding: clamp(2.6rem, 5.5vw, 4.4rem) 0; }

/* Hero: größer, luftiger */
.hero-image { min-height: 620px; }
.hero-image h1 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); line-height: 1.12; }

/* Kopfzeile: etwas mehr Präsenz */
.site-header { box-shadow: 0 1px 0 rgba(0,0,0,.03); }

/* Formular-Fehlerhinweis */
.form-error {
  background: #fdecec; border: 1px solid #f3b9b9; color: #9a2b2b;
  border-radius: 12px; padding: .95rem 1.15rem; margin-bottom: 1.4rem;
}
.form-error a { color: #9a2b2b; text-decoration: underline; }

/* Honeypot (Spam-Schutz) unsichtbar */
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* Formularfelder: etwas moderner */
.field input[type=text], .field input[type=email], .field input[type=tel],
.field select, .field textarea { border-radius: 12px; padding: .8rem .95rem; }
.form-wrap { background: #fff; }

/* Danke-Seite: Erfolgs-Icon */
.success-icon {
  width: 84px; height: 84px; margin: 0 auto 1.4rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--teal-light); color: var(--teal);
}
.success-icon svg { width: 42px; height: 42px; }

/* Split-Bild etwas moderner gerahmt */
.split img { border-radius: 20px; }

/* Vasektomie – ruhiger, redaktioneller Block */
.vasektomie-band { border-top: 1px solid var(--line); }
.vasektomie {
  display: grid; grid-template-columns: 150px 1fr; align-items: start; gap: 2.2rem;
}
.vasektomie .seal { width: 150px; height: auto; }
.vasektomie h2 { margin-bottom: .7rem; }
.vasektomie p { max-width: 62ch; }
.inline-links { display: flex; flex-wrap: wrap; gap: .4rem 1.8rem; margin-top: .2rem; }
.inline-links a { font-weight: 600; position: relative; }
.inline-links a::after { content: " →"; }
@media (max-width: 720px) {
  .vasektomie { grid-template-columns: 1fr; gap: 1.2rem; }
  .vasektomie .seal { width: 110px; }
}

/* Ausbildung – schlichter Abschnitt statt Hinweisbox */
.ausbildung { max-width: 760px; }
.ausbildung h2 { margin-bottom: .5rem; }
