/* Selbst gehostete Schriften statt Google Fonts CDN (Datenschutz: keine
   IP-Übertragung an Google bei jedem Seitenaufruf). */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #f4f1ea;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #fffdf9;
  --surface-deep: #dfe8e1;
  --text: #17312e;
  --muted: #556a66;
  --line: rgba(23, 49, 46, 0.12);
  --brand: #1f6a61;
  --brand-strong: #0d4d47;
  --brand-soft: #c7ddd7;
  --accent: #b98055;
  --shadow: 0 24px 70px rgba(23, 49, 46, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(185, 128, 85, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(31, 106, 97, 0.16), transparent 24%),
    linear-gradient(180deg, #efe9df 0%, #f8f5ef 28%, #f2f0ea 100%);
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--brand-strong);
  color: white;
  text-decoration: none;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: top 150ms ease;
}

.skip-link:focus {
  top: 16px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 18px auto 32px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  background: rgba(255, 253, 249, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(23, 49, 46, 0.08);
}

.brand-block {
  min-width: 0;
}

.brand {
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.eyebrow,
.kicker,
.panel-label,
.feature-tag,
.notice-title {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand-strong);
}

.nav-dropdown-toggle {
  font: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible {
  color: var(--brand-strong);
}

.nav-dropdown .dropdown-menu {
  left: auto;
  right: 0;
}

.nav-cta {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
}

.nav-toggle {
  display: none;
}

.hero {
  padding: 52px 0 18px;
}

.hero-copy,
.info-card,
.service-card,
.feature-card,
.location-card,
.team-card,
.contact-cta,
.notice-band article,
.vasektomie-summary,
.accordion-list details,
.panel-card,
.hero-location {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-copy {
  position: relative;
  display: block;
  padding: 40px;
  padding-right: 500px;
  padding-bottom: 164px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: auto -12% -18% auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 106, 97, 0.16), transparent 65%);
}

.hero-copy h1,
.section-heading h2,
.feature-card h3,
.service-card h3,
.location-card h3,
.team-card h3,
.panel-card h2 {
  font-family: "Cormorant Garamond", serif;
}

.hero-copy h1 {
  margin: 12px 0 16px;
  max-width: 14ch;
  font-size: clamp(1.95rem, 3vw, 2.9rem);
  line-height: 1;
}

.hero-copy-main {
  max-width: 860px;
}

.hero-image-wrap {
  position: absolute;
  top: 28px;
  right: 28px;
  width: min(460px, 40vw);
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 40px rgba(23, 49, 46, 0.16);
  background: rgba(255, 255, 255, 0.6);
}

.hero-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-inline-notice {
  position: absolute;
  right: 28px;
  bottom: 64px;
  width: min(460px, 40vw);
  background: #c9d1c9;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 18px;
  padding: 14px 16px;
}

.hero-inline-notice .eyebrow {
  color: var(--brand-strong);
  margin-bottom: 6px;
}

.hero-inline-notice p {
  margin: 0;
  font-size: clamp(0.95rem, 1.05vw, 1.04rem);
  line-height: 1.4;
}

.hero-inline-notice a {
  color: var(--brand-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lead,
.two-column-copy p,
.info-card p,
.service-card p,
.feature-card p,
.location-card p,
.team-card p,
.contact-cta p,
.accordion-list p,
.accordion-list li,
.vasektomie-summary p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0 12px;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  padding: 8px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  flex-direction: column;
  gap: 2px;
  z-index: 20;
}

.dropdown-menu.is-open {
  display: flex;
}

.dropdown-menu a {
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: var(--surface-deep);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: white;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.anfrage-dialog {
  width: min(480px, calc(100% - 40px));
  max-height: min(90vh, 720px);
  overflow-y: auto;
  border: none;
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  color: var(--text);
}

/* Manuelles Modal statt showModal(): der native Top Layer würde sonst
   über dem Google-reCAPTCHA-Popup liegen (das an <body> angehängt wird)
   und es dadurch unerreichbar/verdeckt machen. */
.anfrage-dialog[open] {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  z-index: 50;
}

.anfrage-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(23, 49, 46, 0.45);
  backdrop-filter: blur(2px);
  z-index: 40;
}

.anfrage-backdrop.is-open {
  display: block;
}

.anfrage-dialog h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  margin: 0 0 20px;
}

.anfrage-dialog form {
  display: grid;
  gap: 16px;
}

.anfrage-dialog label {
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.anfrage-dialog input,
.anfrage-dialog select,
.anfrage-dialog textarea {
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-weight: 400;
}

.anfrage-dialog textarea {
  resize: vertical;
}

.anfrage-status {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.2em;
}

.anfrage-status.is-success {
  color: var(--brand-strong);
}

.anfrage-status.is-error {
  color: #b3402c;
}

.anfrage-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
}

.footer-legal {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.link-button {
  font: inherit;
  color: var(--muted);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-button:hover {
  color: var(--brand);
}

.legal-dialog {
  width: min(640px, calc(100% - 40px));
  max-height: min(80vh, 720px);
  overflow-y: auto;
  border: none;
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  color: var(--text);
}

.legal-dialog::backdrop {
  background: rgba(23, 49, 46, 0.45);
  backdrop-filter: blur(2px);
}

.legal-dialog h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  margin: 0 0 20px;
}

.legal-dialog p,
.legal-dialog ul {
  font-size: 0.95rem;
  line-height: 1.6;
}

.hero-footnote {
  color: var(--muted);
  line-height: 1.6;
}

.hero-footnote {
  margin: 0;
  font-size: 0.98rem;
}

.hero-locations {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  margin-bottom: 8px;
}

.hero-location {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius-md);
}

.hero-location h2 {
  margin: 8px 0 14px;
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
  line-height: 1;
}

.hero-location-primary {
  background: linear-gradient(180deg, rgba(31, 106, 97, 0.14), rgba(255, 255, 255, 0.84));
}

.panel-card {
  padding: 28px;
  border-radius: var(--radius-md);
}

.panel-card h2 {
  margin: 10px 0 18px;
  font-size: clamp(2rem, 2.8vw, 2.6rem);
  line-height: 1;
}

.panel-card-accent {
  background: linear-gradient(180deg, rgba(13, 77, 71, 0.96), rgba(31, 106, 97, 0.9));
  color: white;
}

.panel-card-accent .panel-label,
.panel-card-accent p,
.panel-card-accent h2 {
  color: white;
}

.time-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}

.time-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.time-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.compact li {
  font-size: 0.95rem;
}

.location-note {
  margin: auto 0 0;
  padding-top: 14px;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 600;
}

.notice-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.notice-band article,
.info-card,
.service-card,
.feature-card,
.location-card,
.team-card,
.vasektomie-summary,
.accordion-list details,
.contact-cta {
  border-radius: var(--radius-md);
  padding: 24px;
}

.notice-title {
  margin-bottom: 10px;
}

.content-section {
  padding: 72px 0 0;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.section-heading.narrow {
  max-width: 760px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
}

.two-column-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 26px;
}

.info-grid,
.services-grid,
.team-grid,
.location-grid {
  display: grid;
  gap: 18px;
}

.info-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card-stack {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-card-stack .service-card-compact {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card h3,
.feature-card h3,
.location-card h3,
.team-card h3 {
  margin: 0 0 10px;
  font-size: 1.9rem;
}

.feature-stack {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 18px;
}

.feature-card-wide {
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.92), rgba(223, 232, 225, 0.88));
}

.vasektomie-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
}

.metric-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.vasektomie-cta {
  margin-top: 20px;
}

.metric-panel div {
  padding: 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.78);
}

.metric-panel strong {
  display: block;
  font-size: 1.1rem;
}

.metric-panel span,
.role {
  color: var(--muted);
}

.accordion-list {
  display: grid;
  gap: 14px;
}

.accordion-list details summary,
.team-card details summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.accordion-list details summary::-webkit-details-marker,
.team-card details summary::-webkit-details-marker {
  display: none;
}

.accordion-list details summary::after,
.team-card details summary::after {
  content: "+";
  float: right;
  color: var(--brand);
}

.accordion-list details[open] summary::after,
.team-card details[open] summary::after {
  content: "−";
}

.accordion-list details > *:not(summary),
.team-card details > *:not(summary) {
  margin-top: 14px;
}

.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 18px;
  border-radius: 18px;
  object-fit: cover;
  object-position: center top;
}

.team-card details {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.location-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.location-card-primary {
  background: linear-gradient(180deg, rgba(31, 106, 97, 0.14), rgba(255, 255, 255, 0.84));
}

.contact-cta {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 36px 0 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 1100px) {
  .hero-copy {
    padding-right: 40px;
    padding-bottom: 34px;
  }

  .hero-image-wrap {
    display: none;
  }

  .hero-inline-notice {
    position: static;
    width: auto;
    margin-top: 14px;
  }
}

@media (max-width: 760px) {
  .hero,
  .hero-locations,
  .feature-stack,
  .vasektomie-layout,
  .location-grid,
  .services-grid,
  .team-grid,
  .info-grid,
  .notice-band,
  .two-column-copy {
    grid-template-columns: 1fr;
  }

  .contact-cta,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 780px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .site-header {
    border-radius: 28px;
    padding: 16px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    padding: 10px 16px;
    font: inherit;
    color: var(--text);
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 8px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-copy,
  .panel-card,
  .notice-band article,
  .info-card,
  .service-card,
  .feature-card,
  .location-card,
  .team-card,
  .contact-cta,
  .vasektomie-summary,
  .accordion-list details {
    padding: 20px;
  }

  .hero-copy {
    display: block;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
    margin: 20px 0 12px;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .metric-panel {
    grid-template-columns: 1fr;
  }

  .time-list li {
    flex-direction: column;
    gap: 4px;
  }
}