/* ==========================================================================
   Praxis Eliyana Aleksandrova — FÄ Gynäkologie / Geburtshilfe
   Redesign v3: ruhige, editorial-elegante Gestaltung, Farben aus dem Logo.
   Schriften lokal unter /fonts/ (DSGVO-konform, kein Google-CDN),
   eingebunden über /css/fonts-v1.css.
   ========================================================================== */

:root {
  --ink: #2e2c50;
  --indigo: #3a3763;
  --indigo-soft: #57547e;
  --teal: #2e7d80;
  --teal-deep: #23595c;
  --teal-wash: #e7f0ef;
  --cream: #faf8f3;
  --sand: #f2ecdf;
  --card: #ffffff;
  --line: #e3dccc;
  --line-soft: #ece7da;
  --gold: #b99a5f;

  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans: 'Mulish', 'Segoe UI', sans-serif;

  --wrap: 1120px;
  --radius: 18px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 1.0rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--teal); color: #fff; }

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

a { color: var(--teal-deep); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* --------------------------------------------------------------------------
   Info-Banner (Hinweis aus dem Adminbereich, serverseitig gerendert)
   -------------------------------------------------------------------------- */
.site-banner {
  background: var(--indigo);
  color: #f4f2ff;
  font-size: 0.95rem;
  text-align: center;
  padding: 12px 48px;
  position: relative;
  z-index: 60;
}
.site-banner strong { color: #fff; }
.site-banner .banner-close {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  background: none; border: 1px solid rgba(255,255,255,.35);
  color: #fff; width: 26px; height: 26px; border-radius: 50%;
  cursor: pointer; font-size: 0.85rem; line-height: 1;
}
.site-banner .banner-close:hover { background: rgba(255,255,255,.15); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 8px 24px -20px rgba(46, 44, 80, 0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img {
  height: 58px; width: auto;
  mix-blend-mode: multiply; /* weißer Logo-Hintergrund verschwindet auf Creme */
}

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--indigo);
  padding: 10px 14px;
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.main-nav a:hover { background: var(--teal-wash); color: var(--teal-deep); }

.lang-switch {
  display: flex; align-items: center; gap: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  margin-left: 10px;
}
.lang-switch a, .lang-switch span {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
  text-decoration: none; color: var(--indigo-soft);
  padding: 4px 10px; border-radius: 999px;
}
.lang-switch .active { background: var(--indigo); color: #fff; }
.lang-switch a:hover { background: var(--teal-wash); color: var(--teal-deep); }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 12px;
  font-size: 1.1rem; color: var(--indigo); cursor: pointer;
}

/* --------------------------------------------------------------------------
   Hero (Startseite)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 110px;
}
.hero::before {
  content: '';
  position: absolute;
  right: -220px; top: -180px;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(46,125,128,.16), rgba(46,125,128,0) 68%);
}
.hero::after {
  content: '';
  position: absolute;
  right: 8%; bottom: -140px;
  width: 380px; height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(58,55,99,.18);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }

.hero-kicker {
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 22px;
  display: flex; align-items: center; gap: 14px;
}
.hero-kicker::before { content: ''; width: 44px; height: 1px; background: var(--gold); }

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 5.4vw, 4.2rem);
  line-height: 1.08;
  color: var(--indigo);
  margin-bottom: 26px;
}
.hero h1 em {
  font-style: italic;
  color: var(--teal);
}
.hero p.lead {
  font-size: 1.08rem;
  color: var(--indigo-soft);
  max-width: 34em;
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 999px;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary {
  background: var(--indigo); color: #fff;
  box-shadow: 0 10px 26px -12px rgba(58,55,99,.55);
}
.btn-primary:hover { background: var(--teal-deep); transform: translateY(-2px); }
.btn-ghost {
  color: var(--indigo);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.6);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-deep); }

.hero-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -38px rgba(46,44,80,.4);
  padding: 34px 34px 28px;
  position: relative;
}
.hero-card::before {
  content: '';
  position: absolute; inset: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  pointer-events: none;
}
.hero-card h2 {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1.55rem; color: var(--teal-deep);
  margin-bottom: 18px;
}
.hero-card ul { list-style: none; }
.hero-card li {
  display: flex; gap: 12px; align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 0.97rem;
}
.hero-card li:last-child { border-bottom: none; }
.hero-card li .ico { color: var(--gold); font-size: 0.8rem; }
.hero-card li a { color: inherit; text-decoration: none; }
.hero-card li a:hover { color: var(--teal-deep); }

.lang-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.lang-badges span {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal-deep);
  background: var(--teal-wash);
  border-radius: 999px;
  padding: 5px 13px;
}

/* --------------------------------------------------------------------------
   Sektionen allgemein
   -------------------------------------------------------------------------- */
section { padding: 92px 0; }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head .kicker {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--teal);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.section-head .kicker::before { content: ''; width: 36px; height: 1px; background: var(--gold); }
.section-head h1, .section-head h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.15;
  color: var(--indigo);
  margin-bottom: 16px;
}
.section-head h1 em, .section-head h2 em { font-style: italic; color: var(--teal); }
.section-head p { color: var(--indigo-soft); }

/* --------------------------------------------------------------------------
   Über / Intro (Startseite)
   -------------------------------------------------------------------------- */
.about { padding-top: 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about-grid .section-head { margin-bottom: 0; }
.about-text p { color: var(--indigo-soft); margin-bottom: 18px; }
.about-text p:first-child {
  font-family: var(--serif); font-size: 1.35rem; font-weight: 500;
  line-height: 1.5; color: var(--indigo);
}

/* --------------------------------------------------------------------------
   Leistungen — editoriale Liste
   -------------------------------------------------------------------------- */
.services { background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%); border-top: 1px solid var(--line-soft); }
.services-grid {
  columns: 2;
  column-gap: 56px;
}
.service {
  break-inside: avoid;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.service .num {
  font-family: var(--serif); font-style: italic;
  font-size: 1.3rem; color: var(--gold);
  padding-top: 2px;
}
.service h3 {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.32rem; line-height: 1.25;
  color: var(--indigo);
  margin-bottom: 6px;
}
.service p { font-size: 0.94rem; color: var(--indigo-soft); }

/* --------------------------------------------------------------------------
   Sprechzeiten
   -------------------------------------------------------------------------- */
.hours { background: var(--indigo); color: #efeef8; position: relative; overflow: hidden; }
.hours::before {
  content: '';
  position: absolute; left: -160px; bottom: -220px;
  width: 480px; height: 480px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
}
.hours::after {
  content: '';
  position: absolute; right: -120px; top: -160px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,125,128,.35), rgba(46,125,128,0) 70%);
}
.hours .section-head { position: relative; z-index: 1; }
.hours .section-head h1, .hours .section-head h2,
.hours .section-head h1 em, .hours .section-head h2 em { color: #fff; }
.hours .section-head .kicker { color: #9fd4d1; }
.hours .section-head p { color: #c6c3de; }

.hours-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.hours-card {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  padding: 30px 28px;
  text-align: center;
}
.hours-card h3 {
  font-family: var(--serif); font-weight: 500; font-style: italic;
  font-size: 1.5rem; color: #fff;
  margin-bottom: 14px;
}
.hours-card .time {
  font-size: 1.05rem; letter-spacing: 0.04em;
  padding: 5px 0; color: #dcd9ee;
}

/* --------------------------------------------------------------------------
   Termin
   -------------------------------------------------------------------------- */
.appointment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.contact-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 38px 36px;
  position: relative;
  transition: transform .25s, box-shadow .25s;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 48px -32px rgba(46,44,80,.45);
}
.contact-card .glyph {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--teal-wash);
  color: var(--teal-deep);
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.contact-card h3 {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.5rem; color: var(--indigo);
  margin-bottom: 10px;
}
.contact-card p { color: var(--indigo-soft); font-size: 0.97rem; margin-bottom: 18px; }
.contact-card .big-link {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  color: var(--teal-deep); text-decoration: none;
  border-bottom: 1px solid var(--gold);
  word-break: break-word;
}
.contact-card .big-link:hover { color: var(--indigo); }

/* vCard / QR-Code */
.vcard-section { padding-top: 0; }
.vcard-grid { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.vcard-qr {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: 0 26px 52px -36px rgba(46,44,80,.4);
  padding: 26px;
}
.vcard-qr img { width: 100%; border-radius: 8px; }
.vcard-text h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--indigo);
  margin-bottom: 14px;
}
.vcard-text h2 em { font-style: italic; color: var(--teal); }
.vcard-text p { color: var(--indigo-soft); margin-bottom: 22px; }

/* --------------------------------------------------------------------------
   Kontakt / Anfahrt
   -------------------------------------------------------------------------- */
.visit { background: var(--sand); border-top: 1px solid var(--line-soft); }
.visit-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.address-block {
  font-style: normal;
  font-family: var(--serif);
  font-size: 1.6rem; font-weight: 500; line-height: 1.5;
  color: var(--indigo);
}
.address-block small {
  display: block;
  font-family: var(--sans); font-size: 0.92rem;
  color: var(--indigo-soft);
  margin-top: 16px; line-height: 1.7;
}
.visit-list { list-style: none; }
.visit-list li {
  display: flex; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--indigo-soft);
  font-size: 0.98rem;
}
.visit-list li:last-child { border-bottom: 0; }
.visit-list .ico { color: var(--teal); font-size: 1.05rem; padding-top: 2px; }
.visit-list a { color: var(--teal-deep); font-weight: 700; text-decoration: none; }
.visit-list a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--indigo);
  color: #c6c3de;
  padding: 64px 0 32px;
  font-size: 0.93rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.site-footer h4 {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1.25rem; color: #fff;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: #c6c3de; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 26px;
  font-size: 0.85rem; color: #948fbc;
}

/* --------------------------------------------------------------------------
   Rechtliche Seiten (Impressum, Datenschutz)
   -------------------------------------------------------------------------- */
.legal { padding: 72px 0 96px; }
.legal .wrap { max-width: 820px; }
.legal h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--indigo);
  margin-bottom: 8px;
}
.legal .sub { color: var(--indigo-soft); margin-bottom: 42px; }
.legal h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.5rem; color: var(--indigo);
  margin: 38px 0 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.legal p, .legal ul { color: var(--indigo-soft); margin-bottom: 14px; }
.legal ul { padding-left: 22px; }

/* --------------------------------------------------------------------------
   Adminbereich & Login
   -------------------------------------------------------------------------- */
.admin-body { background: var(--sand); }
.admin-wrap { max-width: 720px; margin: 0 auto; padding: 48px 24px 80px; }
.admin-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: 0 26px 52px -36px rgba(46,44,80,.4);
  padding: 40px 42px;
}
.admin-card h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: 2rem; color: var(--indigo); margin-bottom: 6px;
}
.admin-card .sub { color: var(--indigo-soft); font-size: .95rem; margin-bottom: 30px; }
.admin-logo { height: 52px; width: auto; mix-blend-mode: multiply; margin-bottom: 22px; }
.admin-card label { display: block; font-weight: 700; font-size: .88rem; color: var(--indigo); margin: 20px 0 6px; }
.admin-card input[type=text], .admin-card input[type=password], .admin-card textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--sans); font-size: .95rem; color: var(--ink);
  background: var(--cream);
}
.admin-card textarea { min-height: 74px; resize: vertical; }
.admin-card input:focus, .admin-card textarea:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
.admin-card .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-card .btn-save {
  margin-top: 30px; width: 100%;
  background: var(--indigo); color: #fff; border: none; cursor: pointer;
  font-family: var(--sans); font-weight: 700; font-size: 1rem;
  padding: 15px; border-radius: 999px;
  transition: background .2s;
}
.admin-card .btn-save:hover { background: var(--teal-deep); }
.admin-card .msg { border-radius: 12px; padding: 14px 18px; margin-bottom: 22px; font-size: .95rem; }
.admin-card .msg.err { background: #f7e7e4; color: #8a3325; border: 1px solid #e5c2ba; }
.admin-card .top-links { display: flex; justify-content: space-between; margin-bottom: 18px; font-size: .9rem; }
.admin-card .top-links a { color: var(--teal-deep); font-weight: 700; text-decoration: none; }
.admin-card .top-links a:hover { text-decoration: underline; }
.admin-card .hint { font-size: .84rem; color: var(--indigo-soft); margin-top: 6px; }
.admin-card .preview-label {
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--indigo-soft); margin: 34px 0 10px;
}
.admin-card .banner-preview {
  background: var(--indigo); color: #f4f2ff; text-align: center;
  border-radius: 10px; padding: 12px 18px; font-size: .95rem;
}

/* --------------------------------------------------------------------------
   Scroll-Reveal
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-inner, .about-grid, .visit-grid, .vcard-grid { grid-template-columns: 1fr; }
  .hours-grid { grid-template-columns: 1fr; }
  .appointment-grid { grid-template-columns: 1fr; }
  .services-grid { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding: 64px 0 80px; }
  section { padding: 68px 0; }
  .vcard-qr { max-width: 300px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    gap: 4px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; }
  .lang-switch { margin: 10px 0 0; justify-content: center; }
  .brand img { height: 46px; }
}
