/* Multi-page layout — Arztpraxis Blankenese */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(255 255 255 / 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--arzt-border);
  box-shadow: 0 1px 0 rgb(13 92 86 / 0.04);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  min-height: 4.75rem;
  padding: 0.5rem 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--arzt-ink);
  text-decoration: none;
  margin-right: auto;
}

.site-logo img {
  border-radius: 0.5rem;
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.site-logo__text strong {
  font-size: 0.95rem;
}

.site-logo__text small {
  font-size: 0.78rem;
  color: var(--arzt-muted);
  font-weight: 500;
}

.site-nav {
  display: none;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  width: 100%;
  order: 10;
  padding: 0.75rem 0 0.25rem;
  border-top: 1px solid var(--arzt-border);
}

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

.site-nav__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--arzt-muted);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--arzt-primary);
  border-bottom-color: var(--arzt-primary);
}

.site-nav__toggle {
  display: inline-flex;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--arzt-border);
  border-radius: 0.5rem;
  background: var(--arzt-surface);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.site-header__actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.site-header__phone {
  display: none;
}

.site-footer {
  margin-top: auto;
  padding: 2.5rem 0;
  background: var(--arzt-primary);
  color: rgb(255 255 255 / 0.92);
}

.site-footer a {
  color: white;
}

.site-footer__grid {
  display: grid;
  gap: 1.5rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.9rem;
}

body.arzt-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: 3.5rem 0 3rem;
  background: linear-gradient(135deg, #0a4843 0%, #0d5c56 45%, #14796f 100%);
  color: white;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 20%, rgb(255 255 255 / 0.08), transparent 45%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.page-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
}

.page-hero__lead {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgb(255 255 255 / 0.88);
}

.page-hero__img {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 24px 48px rgb(0 0 0 / 0.25);
  border: 3px solid rgb(255 255 255 / 0.15);
}

.page-hero__img img {
  display: block;
  width: 100%;
  height: auto;
}

.page-breadcrumb {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgb(255 255 255 / 0.65);
}

.page-breadcrumb a {
  color: rgb(255 255 255 / 0.85);
}

/* Home landing */
.home-hero {
  padding: 0;
  min-height: min(88vh, 720px);
  display: grid;
  align-items: stretch;
}

.home-hero__grid {
  display: grid;
  min-height: inherit;
}

.home-hero__visual {
  position: relative;
  min-height: 280px;
  background: var(--arzt-primary);
}

.home-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.home-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(13 92 86 / 0.5), transparent 50%);
}

.home-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 1.5rem 3rem;
  background: var(--arzt-surface);
}

.home-hero__content .arzt-container {
  width: 100%;
  max-width: 32rem;
}

.home-tiles {
  padding: 3.5rem 0 4rem;
  background: var(--arzt-bg);
}

.home-tiles__grid {
  display: grid;
  gap: 1.25rem;
}

.tile-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 1rem;
  background: var(--arzt-surface);
  border: 1px solid var(--arzt-border);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 24px rgb(13 92 86 / 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.tile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgb(13 92 86 / 0.12);
  color: inherit;
}

.tile-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--arzt-primary-soft);
}

.tile-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-card__body {
  padding: 1.35rem 1.5rem 1.5rem;
  flex: 1;
}

.tile-card__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--arzt-primary);
}

.tile-card__text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--arzt-muted);
  line-height: 1.55;
}

.tile-card__arrow {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--arzt-success);
}

.page-main {
  flex: 1;
  padding: 3rem 0 4rem;
}

.page-main--white {
  background: var(--arzt-surface);
}

.page-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.page-sidebar {
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--arzt-primary-soft);
  border: 1px solid rgb(13 92 86 / 0.12);
}

.page-sidebar h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--arzt-primary);
}

.page-sidebar p {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .site-nav__toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    width: auto;
    order: 0;
    padding: 0;
    border: none;
  }

  .site-header__phone {
    display: inline-flex;
  }

  .home-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .home-hero__content {
    padding: 4rem 2rem;
  }

  .home-tiles__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-hero__inner {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .page-layout {
    grid-template-columns: 1fr 18rem;
  }
}

@media (min-width: 1024px) {
  .home-tiles__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.termin-flow {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  font-size: 0.92rem;
  color: var(--arzt-muted);
}

.termin-flow li {
  margin: 0.35rem 0;
}

.termin-file-total {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--arzt-subtle);
}

.legal-prose {
  max-width: 42rem;
}

.legal-prose h2 {
  font-size: 1.05rem;
  margin: 1.75rem 0 0.65rem;
  font-family: var(--font-display);
}

.legal-meta {
  font-size: 0.88rem;
  color: var(--arzt-muted);
  padding: 0.75rem 1rem;
  background: var(--arzt-primary-soft);
  border-radius: 0.5rem;
}

.status-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.status-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid var(--arzt-border);
  background: var(--arzt-surface);
  font-size: 0.92rem;
}

.status-item span {
  color: var(--arzt-muted);
  text-align: right;
}

.status-item--ok {
  border-color: #a7f3d0;
  background: #ecfdf5;
}

.status-item--fail {
  border-color: #fecaca;
  background: #fef2f2;
}

.status-item--pending {
  color: var(--arzt-muted);
}
