/* ==========================================================================
   Praxis Eliyana Aleksandrova — FÄ Gynäkologie / Geburtshilfe
   Redesign v4: Eisblau-Palette (Farbwelt der Praxisräume), Praxisfotos mit
   Parallax-Tiefeneffekt, Team-Bereich, Raum-Galerie.
   Schriften lokal unter /fonts/ (DSGVO-konform, kein Google-CDN),
   eingebunden über /css/fonts-v1.css.
   ========================================================================== */

:root {
  --ink: #223649;          /* dunkles Schieferblau — Fließtext */
  --indigo: #2f4d66;       /* tiefes Stahlblau — Headlines, Footer, Banner */
  --indigo-soft: #5a788f;  /* gedämpftes Blau — Sekundärtext */
  --teal: #6b98b5;         /* Eisblau-Stahl — Akzente, Kicker */
  --teal-deep: #40698a;    /* kräftiges Stahlblau — Links */
  --teal-wash: #e3eef6;    /* Eisblau-Hauch — Chips, Flächen */
  --cream: #f6fafd;        /* kühles Fast-Weiß — Grundfläche */
  --sand: #dcebf5;         /* EISBLAU — Sektionen (Möbelfarbe der Praxis) */
  --card: #ffffff;
  --line: #c7dcea;
  --line-soft: #dbe9f3;
  --gold: #c2a068;         /* warmer Gegenakzent (Holz-Skulptur) */

  --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;
  overflow-x: hidden;
}

::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; }

/* --------------------------------------------------------------------------
   Hinweis-Layer (aktiver Hinweis aus dem Adminbereich)
   -------------------------------------------------------------------------- */
.notice-dialog {
  margin: auto;
  width: min(600px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: clamp(24px, 5vw, 40px);
  border: 1px solid var(--line);
  border-top: 6px solid var(--teal-deep);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 24px 80px rgb(34 54 73 / 30%);
}
.notice-dialog::backdrop { background: rgb(34 54 73 / 75%); }
body:has(.notice-dialog[open]) { overflow: hidden; }
.notice-dialog h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  line-height: 1.2;
  color: var(--indigo);
  margin-bottom: 20px;
}
.notice-dialog-text {
  font-size: 1.1rem;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.notice-dialog form { margin-top: 28px; text-align: right; }
.notice-dialog-close {
  min-height: 44px;
  padding: 10px 24px;
  border: 0;
  border-radius: 8px;
  background: var(--indigo);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.notice-dialog-close:hover { background: var(--teal-deep); }
.notice-dialog-close:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 4px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 250, 253, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 8px 24px -20px rgba(34, 54, 73, 0.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 24px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 54px; width: auto; }
.brand .brand-text { line-height: 1.25; }
.brand .brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem; font-weight: 600;
  color: var(--indigo);
  letter-spacing: 0.01em;
}
.brand .brand-sub {
  display: block;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--teal);
}

.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;
  background: rgba(255,255,255,.6);
}
.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 mit Praxisfoto (Parallax-Ebene hinten)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 90px 0;
}
.hero-bg {
  position: absolute;
  inset: -14% 0;               /* Überstand für Parallax-Bewegung */
  z-index: -2;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg,
      rgba(246, 250, 253, 0.96) 0%,
      rgba(240, 247, 252, 0.88) 34%,
      rgba(226, 239, 248, 0.45) 62%,
      rgba(220, 235, 245, 0.12) 100%);
}
.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-deep);
  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-deep);
}
.hero p.lead {
  font-size: 1.08rem;
  color: var(--ink);
  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(47, 77, 102, .65);
}
.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,.75);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-deep); }

.hero-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -38px rgba(34, 54, 73, .55);
  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 a.entrance-link,
.visit-list a.entrance-link {
  display: inline-block;
  font-weight: 700;
  color: var(--teal-deep);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.entrance-dialog {
  margin: auto;
  width: min(960px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 20px;
  border: 0;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--card);
  overflow: auto;
}
.entrance-dialog::backdrop { background: rgb(34 54 73 / 75%); }
body:has(.entrance-dialog[open]) { overflow: hidden; }
.entrance-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.entrance-dialog-header h2 { font-family: var(--serif); }
.entrance-dialog-close {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  color: var(--ink);
  background: var(--teal-wash);
  cursor: pointer;
}
.entrance-dialog img { width: 100%; height: auto; }
.entrance-link:focus-visible,
.entrance-dialog-close:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 4px; }
.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-deep);
  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-deep); }
.section-head p { color: var(--indigo-soft); }

/* --------------------------------------------------------------------------
   Über / Intro mit Foto-Collage
   -------------------------------------------------------------------------- */
.about { padding-top: 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.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);
}
.about-collage { position: relative; padding: 0 40px 46px 0; }
.about-collage .photo-main {
  border-radius: var(--radius);
  box-shadow: 0 34px 60px -38px rgba(34, 54, 73, .55);
}
.about-collage .photo-accent {
  position: absolute;
  right: -38px; bottom: -38px;
  width: 42%;
  border-radius: 14px;
  border: 6px solid var(--cream);
  box-shadow: 0 24px 48px -30px rgba(34, 54, 73, .6);
  will-change: transform;
}

/* --------------------------------------------------------------------------
   Parallax-Bildbänder (Tiefenebene zwischen den Sektionen)
   -------------------------------------------------------------------------- */
.parallax-band {
  position: relative;
  overflow: hidden;
  padding: 0;
  height: clamp(300px, 44vw, 460px);
}
.parallax-band .band-img {
  position: absolute;
  inset: -12% 0;               /* Überstand = Bewegungsspielraum */
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.parallax-band .band-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 0;
  background: linear-gradient(0deg, rgba(34, 54, 73, .55), rgba(34, 54, 73, 0));
}
.parallax-band .band-caption p {
  max-width: var(--wrap); margin: 0 auto; padding: 0 24px;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  color: #fff;
  text-shadow: 0 2px 14px rgba(34, 54, 73, .6);
}

/* --------------------------------------------------------------------------
   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); }

/* --------------------------------------------------------------------------
   Team
   -------------------------------------------------------------------------- */
.team { background: var(--cream); }
.team-photo {
  position: relative;
  margin-bottom: 56px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 34px 64px -40px rgba(34, 54, 73, .6);
}
.team-photo img { width: 100%; display: block; }
.team-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 34px 28px 18px;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: #fff;
  background: linear-gradient(0deg, rgba(34, 54, 73, .6), rgba(34, 54, 73, 0));
  text-shadow: 0 2px 12px rgba(34, 54, 73, .6);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.team-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 22px 44px -34px rgba(34, 54, 73, .5);
  transition: transform .25s, box-shadow .25s;
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 54px -32px rgba(34, 54, 73, .6);
}
.team-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.team-card .team-meta { padding: 18px 22px 20px; }
.team-card h3 {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.35rem; color: var(--indigo);
}
.team-card p {
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal);
  margin-top: 2px;
}
.team-card.is-lead { grid-row: span 1; }
.team-card.is-lead h3 { color: var(--teal-deep); }

/* --------------------------------------------------------------------------
   Raum-Galerie
   -------------------------------------------------------------------------- */
.gallery { background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 18px;
}
.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 40px -32px rgba(34, 54, 73, .55);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .g-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 18px 12px;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff;
  background: linear-gradient(0deg, rgba(34, 54, 73, .62), rgba(34, 54, 73, 0));
  overflow-wrap: break-word;
  hyphens: auto;
}
.gallery-item.g-tall { grid-row: span 2; }

/* --------------------------------------------------------------------------
   Sprechzeiten
   -------------------------------------------------------------------------- */
.hours { background: var(--indigo); color: #ecf3f9; 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,.14);
}
.hours::after {
  content: '';
  position: absolute; right: -120px; top: -160px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 152, 181, .4), rgba(107, 152, 181, 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: #a9cde2; }
.hours .section-head p { color: #c3d8e7; }

.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,.18);
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  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: #d8e6f1;
}

/* --------------------------------------------------------------------------
   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(34, 54, 73, .5);
}
.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(34, 54, 73, .5);
  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-deep); }
.vcard-text p { color: var(--indigo-soft); margin-bottom: 22px; }

/* --------------------------------------------------------------------------
   Kontakt / Anfahrt (mit Foto)
   -------------------------------------------------------------------------- */
.visit { background: var(--sand); border-top: 1px solid var(--line-soft); }
.visit-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.visit-photo {
  border-radius: var(--radius);
  box-shadow: 0 30px 56px -38px rgba(34, 54, 73, .6);
  will-change: transform;
}
.address-block {
  font-style: normal;
  font-family: var(--serif);
  font-size: 1.6rem; font-weight: 500; line-height: 1.5;
  color: var(--indigo);
  margin-bottom: 26px;
}
.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-deep); 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: #c3d8e7;
  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,.16);
}
.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: #c3d8e7; 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: #8fb0c6;
}

/* --------------------------------------------------------------------------
   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(34, 54, 73, .5);
  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: 64px; width: auto; 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: #eef5fb; 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; }
  [data-parallax] { transform: none !important; }
}

/* --------------------------------------------------------------------------
   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; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding: 64px 0; min-height: 0; }
  section { padding: 68px 0; }
  .vcard-qr { max-width: 300px; }
  .about-collage { margin-bottom: 26px; }
}

@media (max-width: 820px) {
  /* Bildbänder: mehr Bildanteil zeigen, Fokuspunkt greift (--band-focus) */
  .parallax-band { height: clamp(210px, 56vw, 320px); }

  /* QR-Code auf dem Handy ausblenden – dort genügt der vCard-Download */
  .vcard-qr, .qr-only { display: none; }
  .vcard-section { padding-top: 68px !important; }

  /* Galerie-Beschriftungen: kleiner und enger, damit lange Wörter passen */
  .gallery-item .g-label {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    padding: 20px 12px 10px;
  }

  .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: 44px; }
  .brand .brand-name { font-size: 1.1rem; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .team-card .team-meta { padding: 12px 14px 14px; }
  .team-card h3 { font-size: 1.15rem; }
}
