/* ============================================================
   Orthopädische Praxis Dr. med. Axel Weusten
   Design: "Refined clinical calm" — warm paper, deep pine,
   sparing brass. Fraunces (display) + Hanken Grotesk (body).
   ============================================================ */

/* ---------- Fonts (self-hosted, no external requests) ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/fraunces-v38-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/fraunces-v38-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/hanken-grotesk-v12-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/hanken-grotesk-v12-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/hanken-grotesk-v12-latin-600.woff2") format("woff2");
}

/* ---------- Design tokens ---------- */
:root {
  --paper: #f5f1e8;
  --paper-card: #fbf9f3;
  --paper-deep: #ece5d6;
  --ink: #22302a;
  --ink-2: #4c574f;
  --pine: #1e463b;
  --pine-deep: #143128;
  --sage: #5e7d6f;
  --brass: #9c7b41;
  --brass-ink: #7c5f2c;
  --brass-on-dark: #cba86b;
  --line: rgba(34, 48, 42, 0.14);
  --line-strong: rgba(34, 48, 42, 0.24);
  --line-dark: rgba(245, 241, 232, 0.16);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1180px;
  --gutter: clamp(1.15rem, 4vw, 3rem);
  --section-y: clamp(3.75rem, 8vw, 6.5rem);
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(20, 49, 40, 0.05), 0 6px 18px rgba(20, 49, 40, 0.06);
  --shadow-md: 0 8px 30px rgba(20, 49, 40, 0.12);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1rem, 0.97rem + 0.2vw, 1.09rem);
  line-height: 1.68;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 0;
  color: var(--pine);
  text-wrap: balance;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--pine); color: var(--paper); }

:focus-visible {
  outline: 2.5px solid var(--brass);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 200;
  background: var(--pine);
  color: var(--paper);
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.75rem, 6vw, 4.5rem); }

/* Prevent grid/flex blowout from long words on narrow screens */
.hero-grid > *,
.split > *,
.hours-layout > *,
.kontakt-layout > * { min-width: 0; }

section[id] { scroll-margin-top: 92px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-ink);
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--brass);
  display: inline-block;
}

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head h2 {
  font-size: clamp(1.85rem, 1.2rem + 2.6vw, 2.9rem);
}
.section-head .lead {
  margin-top: 1.15rem;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
  color: var(--ink-2);
  max-width: 40rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    color 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--pine);
  color: var(--paper);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--pine-deep); box-shadow: var(--shadow-md); }

.btn--ghost {
  background: transparent;
  color: var(--pine);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--pine); background: rgba(30, 70, 59, 0.05); }

.btn--ondark {
  background: var(--paper);
  color: var(--pine-deep);
}
.btn--ondark:hover { background: #fff; }

.btn .icon { width: 1.05em; height: 1.05em; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  /* No backdrop-filter here: a filtered ancestor would clip the fixed mobile
     drawer to the header box. Near-opaque bar keeps text legible instead. */
  background: rgba(245, 241, 232, 0.92);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 22px rgba(20, 49, 40, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding-block: 0.55rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--pine-deep);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.32rem;
  flex: none;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.06rem;
  color: var(--pine);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand__sub {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}

/* Nav */
.primary-nav { display: flex; align-items: center; gap: 0.4rem; }
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
}
.nav-list a {
  display: inline-block;
  white-space: nowrap;
  padding: 0.55rem 0.8rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.97rem;
  border-radius: 8px;
  position: relative;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.nav-list a:hover { color: var(--pine); background: rgba(30, 70, 59, 0.06); }

.header-cta { display: inline-flex; align-items: center; gap: 0.75rem; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--pine);
  font-weight: 600;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  min-height: 44px;
  white-space: nowrap;
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.header-phone:hover { border-color: var(--pine); background: rgba(30, 70, 59, 0.05); }
.header-phone .icon { width: 1.05em; height: 1.05em; color: var(--brass-ink); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 130; /* stay above the slide-in drawer so the close button is tappable */
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
  color: var(--pine);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(30, 70, 59, 0.08), transparent 60%),
    radial-gradient(90% 80% at 0% 100%, rgba(156, 123, 65, 0.07), transparent 55%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.25rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy { max-width: 34rem; }
.hero h1 {
  font-size: clamp(2.05rem, 1.1rem + 4.2vw, 4.15rem);
  line-height: 1.03;
  margin-bottom: 1.1rem;
  overflow-wrap: break-word;
}

/* Hyphenate long German words only where space is tight (small screens) */
@media (max-width: 600px) {
  h1, h2 { hyphens: auto; }
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--brass-ink);
}
.hero__subline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem);
  color: var(--sage);
  margin-bottom: 1.4rem;
}
.hero__lead {
  font-size: 1.08rem;
  color: var(--ink-2);
  margin-bottom: 1.9rem;
  max-width: 33rem;
}

/* Phone call card */
.call-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.6rem);
  box-shadow: var(--shadow-sm);
  max-width: 27rem;
}
.call-card__label {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brass-ink);
  margin-bottom: 0.5rem;
}
.call-card__title {
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--pine);
  margin-bottom: 0.9rem;
}
.call-card__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.55rem, 1.2rem + 1.8vw, 2rem);
  color: var(--pine);
  letter-spacing: -0.01em;
  transition: color 0.18s var(--ease);
}
.call-card__phone:hover { color: var(--brass-ink); }
.call-card__phone .icon {
  width: 1.15rem; height: 1.15rem; color: var(--brass); flex: none;
}
.call-card__note {
  margin-top: 0.7rem;
  font-size: 0.9rem;
  color: var(--ink-2);
}

/* Hero figure */
.hero-figure {
  position: relative;
  margin: 0;
  justify-self: center;
  width: 100%;
  max-width: 460px;
}
.hero-figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
  aspect-ratio: 64 / 66;
  object-fit: cover;
}
.hero-figure figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  background: rgba(20, 49, 40, 0.82);
  color: var(--paper);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* Hero quick facts */
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.25rem;
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.hero-facts div { display: flex; flex-direction: column; gap: 0.15rem; }
.hero-facts dt {
  font-size: 0.73rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
}
.hero-facts dd { margin: 0; font-weight: 500; color: var(--ink); }

/* ---------- Split (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.split__media { margin: 0; position: relative; }
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}
.split__media figcaption {
  margin-top: 0.7rem;
  font-size: 0.86rem;
  color: var(--ink-2);
  font-style: italic;
}
.split__body h2 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.7rem); }
.split__body .lead-first { font-size: 1.1rem; }

.note-alert {
  color: #a3352c;
  font-weight: 600;
}

.card-note {
  margin-top: 1.6rem;
  display: inline-flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.9rem 1.1rem;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--sage);
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.card-note .icon { width: 1.1rem; height: 1.1rem; color: var(--sage); flex: none; margin-top: 0.1rem; }

/* ---------- Leistungen ---------- */
.leistungen {
  background: var(--paper-deep);
  padding-bottom: clamp(2.75rem, 6vw, 4.5rem);
}
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.1rem, 2.5vw, 1.6rem);
}
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card__media { aspect-ratio: 3 / 2; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; }
.service-card__body {
  padding: 1.3rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.service-card__num {
  font-family: var(--serif);
  font-size: 0.9rem;
  color: var(--brass-ink);
}
.service-card__body h3 {
  font-size: 1.4rem;
  color: var(--pine);
}
.service-card__link {
  margin-top: auto;
  padding-top: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--pine);
  font-weight: 600;
  font-size: 0.95rem;
}
.service-card__link .icon {
  width: 0.95em; height: 0.95em;
  transition: transform 0.18s var(--ease);
}
.service-card__link:hover { color: var(--brass-ink); }
.service-card__link:hover .icon { transform: translateX(3px); }

/* ---------- Eigenleistungen ---------- */
.igel { background: var(--paper-deep); }
.igel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.1rem, 2.5vw, 1.6rem);
}
.igel-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.igel-card__media { aspect-ratio: 12 / 5; overflow: hidden; }
.igel-card__media img { width: 100%; height: 100%; object-fit: cover; }
.igel-card__body { padding: 1.3rem 1.4rem 1.5rem; }
.igel-card__body h3 {
  font-size: 1.3rem;
  margin-bottom: 0.55rem;
}
.igel-card__body > p {
  color: var(--ink-2);
  margin-bottom: 0;
}
.igel-card__body p a {
  color: var(--pine);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--brass);
}
.igel-card__body p a:hover { color: var(--brass-ink); }
.igel-card__listlabel {
  margin: 0.95rem 0 0.45rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}
.igel-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.32rem;
}
.igel-card__list li {
  position: relative;
  padding-left: 1.05rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.igel-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 50%;
  background: var(--brass);
}

/* ---------- FAQ ---------- */
.faq { background: var(--paper-deep); }
.faq-list {
  max-width: 52rem;
  display: grid;
  gap: 0.85rem;
}
.faq-item {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__q {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--ink);
  text-wrap: pretty;
}
.faq-item__chevron {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  color: var(--brass-ink);
}
.faq-item[open] .faq-item__chevron { transform: rotate(180deg); }
.faq-item[open] summary { padding-bottom: 0.65rem; }
.faq-item__a {
  padding: 0 1.3rem 1.25rem;
  max-width: 65ch;
  color: var(--ink-2);
}
.faq-item__a p { margin-bottom: 0.6rem; }
.faq-item__a p:last-child { margin-bottom: 0; }
.faq-item__a a {
  color: var(--pine);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--brass);
}
.faq-item__a a:hover { color: var(--brass-ink); }
@media (prefers-reduced-motion: no-preference) {
  .faq-item__chevron { transition: transform 0.2s var(--ease); }
}

/* ---------- Detail rows ---------- */
.detail-row { border-top: 1px solid var(--line); }
.detail-row .split { align-items: center; }
.detail-row--reverse .split__media { order: -1; }
.detail-figure {
  margin: 0;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}
.detail-figure img {
  width: 100%;
  border-radius: 10px;
  box-shadow: none;
}
.detail-figure--tall { max-width: 340px; margin-inline: auto; }
.detail-figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.83rem;
  color: var(--ink-2);
  text-align: center;
  font-style: italic;
}
.detail-body h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem); }

/* ---------- Team ---------- */
.team-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
}
.member { text-align: left; }
.member__photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 0.9rem;
  aspect-ratio: 1 / 1;
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member--lead .member__photo { box-shadow: 0 0 0 2px var(--brass), var(--shadow-sm); }
.member__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--pine);
  line-height: 1.15;
}
.member__role {
  margin-top: 0.25rem;
  font-size: 0.92rem;
  color: var(--ink-2);
}
.member__tag {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brass-ink);
}

/* ---------- Über uns ---------- */
.ueber { background: var(--paper-deep); }

/* ---------- Öffnungszeiten (dark band) ---------- */
.hours {
  background: var(--pine-deep);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.hours::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(203, 168, 107, 0.14), transparent 60%),
    radial-gradient(60% 60% at 0% 100%, rgba(94, 125, 111, 0.2), transparent 60%);
  pointer-events: none;
}
.hours .container { position: relative; }
.hours h2 { color: var(--paper); font-size: clamp(1.85rem, 1.2rem + 2.6vw, 2.9rem); }
.hours .eyebrow { color: var(--brass-on-dark); }
.hours .eyebrow::before { background: var(--brass-on-dark); }
.hours-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.hours-intro .tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--paper);
}
.hours-intro .tag::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brass-on-dark);
}
.hours-intro p { color: rgba(245, 241, 232, 0.82); margin-top: 1.25rem; }

.hours-table { display: flex; flex-direction: column; }
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line-dark);
}
.hours-row:first-child { border-top: 1px solid var(--line-dark); }
.hours-row__day {
  font-weight: 600;
  color: var(--paper);
  min-width: 6.5rem;
}
.hours-row__time {
  text-align: right;
  color: rgba(245, 241, 232, 0.9);
  font-variant-numeric: tabular-nums;
}
/* Gesonderte Öffnungszeiten (befristet, nach 31.10.2026 samt HTML-Block entfernen) */
.hours-special {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.25rem, 3vw, 1.9rem);
  background: rgba(245, 241, 232, 0.06);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}
.hours-special__title {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.45rem);
  color: var(--paper);
  margin-bottom: 1.1rem;
}
.hours-special__range {
  display: inline-block;
  margin-left: 0.35rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--brass-on-dark);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.hours-special__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem 2rem;
}
.hours-special__month {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brass-on-dark);
  margin-bottom: 0.4rem;
}
.hours-special ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hours-special li {
  padding: 0.25rem 0;
  color: rgba(245, 241, 232, 0.88);
  font-size: 0.95rem;
  line-height: 1.5;
}
.hours-special__note {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-dark);
  color: rgba(245, 241, 232, 0.75);
  font-size: 0.92rem;
}
.hours-note {
  margin-top: 1.5rem;
  color: rgba(245, 241, 232, 0.75);
  font-size: 0.92rem;
}
.hours-note a {
  color: inherit;
  text-underline-offset: 3px;
}
@media (min-width: 560px) {
  .hours-special__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 940px) {
  .hours-special__grid { grid-template-columns: repeat(3, 1fr); }
}

.hours-emergency {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  background: rgba(245, 241, 232, 0.06);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}
.hours-emergency .icon { width: 1.3rem; height: 1.3rem; color: var(--brass-on-dark); flex: none; margin-top: 0.15rem; }
.hours-emergency strong { color: var(--paper); display: block; margin-bottom: 0.15rem; }
.hours-emergency span { color: rgba(245, 241, 232, 0.82); font-size: 0.95rem; }

/* ---------- Kontakt ---------- */
.kontakt-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.25rem);
  align-items: start;
}
.contact-list { display: grid; gap: 1rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.25rem;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-item__icon {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(30, 70, 59, 0.08);
  color: var(--pine);
}
.contact-item__icon .icon { width: 1.25rem; height: 1.25rem; }
.contact-item__label {
  font-size: 0.73rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.contact-item a { color: var(--pine); text-decoration: none; font-weight: 500; }
.contact-item a:hover { color: var(--brass-ink); text-decoration: underline; text-underline-offset: 3px; }
.contact-item address { font-style: normal; color: var(--ink); }

.contact-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.4rem; }

/* ---------- Google-Bewertung (QR + Direktlink) ---------- */
.review-card {
  margin-top: 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.05rem 1.2rem;
  max-width: 34rem;
}
.review-card__qr {
  flex: none;
  line-height: 0;
  padding: 0.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.review-card__qr img { width: 86px; height: 86px; }
.review-card__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--pine);
  margin: 0 0 0.3rem;
}
.review-card__text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 0.55rem;
}
.review-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--pine);
}
.review-card__link .icon { width: 0.95em; height: 0.95em; transition: transform 0.18s var(--ease); }
.review-card__link:hover { color: var(--brass-ink); }
.review-card__link:hover .icon { transform: translateX(3px); }
.review-card__stars { color: var(--brass); letter-spacing: 0.12em; }
@media (max-width: 480px) {
  .review-card__qr { display: none; }
}

.contact-figure { margin: 0; }
.contact-figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.contact-figure figcaption {
  margin-top: 0.7rem;
  font-size: 0.86rem;
  color: var(--ink-2);
  font-style: italic;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--pine-deep);
  color: rgba(245, 241, 232, 0.78);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand { max-width: 22rem; }
.footer-brand .brand__mark { background: rgba(245, 241, 232, 0.1); }
.footer-brand .brand__name { color: var(--paper); }
.footer-brand .brand__sub { color: rgba(245, 241, 232, 0.62); }
.footer-brand p { margin-top: 1rem; font-size: 0.95rem; }
.footer-col h3 {
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a {
  color: rgba(245, 241, 232, 0.82);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}
.footer-col a:hover { color: var(--brass-on-dark); }
.footer-col address { font-style: normal; line-height: 1.7; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.75rem;
  font-size: 0.88rem;
  color: rgba(245, 241, 232, 0.6);
}
.footer-bottom nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-bottom a { color: rgba(245, 241, 232, 0.75); text-decoration: none; }
.footer-bottom a:hover { color: var(--brass-on-dark); }

/* ---------- Fixed mobile call button ---------- */
.call-fab {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.3rem;
  min-height: 52px;
  border-radius: 999px;
  background: var(--pine);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(20, 49, 40, 0.35);
  opacity: 0;
  transform: translateY(0.5rem);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}
/* Erst nach dem Scrollen einblenden – im Hero steht bereits die Telefon-Karte */
body.fab-visible .call-fab {
  opacity: 1;
  transform: none;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s;
}
.call-fab .icon { width: 1.2rem; height: 1.2rem; }

/* ---------- Legal pages ---------- */
.legal-hero {
  padding-block: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}
.legal-hero h1 { font-size: clamp(2rem, 1.4rem + 2.8vw, 3rem); }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--pine);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.back-link .icon { width: 1em; height: 1em; transition: transform 0.18s var(--ease); }
.back-link:hover .icon { transform: translateX(-3px); }
.back-link:hover { color: var(--brass-ink); }

.prose { max-width: 44rem; padding-block: clamp(2.5rem, 5vw, 4rem); }
.prose h2 {
  font-size: 1.5rem;
  margin-top: 2.6rem;
  margin-bottom: 0.9rem;
  color: var(--pine);
}
.prose h2:first-of-type { margin-top: 0; }
.prose h3 {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 1.6rem;
  margin-bottom: 0.4rem;
  letter-spacing: 0;
}
.prose p { color: var(--ink-2); }
.prose ul { color: var(--ink-2); padding-left: 1.2rem; margin: 0 0 1rem; }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: var(--pine); text-underline-offset: 3px; }
.prose address { font-style: normal; color: var(--ink); line-height: 1.7; margin-bottom: 1rem; }
.prose .muted { color: var(--sage); font-size: 0.92rem; }
.prose strong { color: var(--ink); }

/* ---------- Reveal animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    animation: reveal 0.7s var(--ease) forwards;
  }
  .reveal-1 { animation-delay: 0.05s; }
  .reveal-2 { animation-delay: 0.16s; }
  .reveal-3 { animation-delay: 0.27s; }
  .reveal-4 { animation-delay: 0.38s; }
  @keyframes reveal {
    to { opacity: 1; transform: none; }
  }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 560px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .contact-list { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 700px) {
  .igel-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 760px) {
  .hours-layout { grid-template-columns: 0.9fr 1.1fr; }
  .kontakt-layout { grid-template-columns: 1.1fr 0.9fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-bottom { font-size: 0.9rem; }
}

@media (min-width: 940px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .split { grid-template-columns: 1fr 1fr; }
  .split--media-first .split__media { order: -1; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .contact-list { grid-template-columns: 1fr; }
  .detail-figure--tall { max-width: 320px; }
}

@media (min-width: 1040px) {
  .team-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ---------- Mobile nav behaviour ---------- */
@media (max-width: 1139px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(84vw, 340px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 5.5rem 1.5rem 2rem;
    background: var(--paper);
    box-shadow: -20px 0 50px rgba(20, 49, 40, 0.18);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s var(--ease), visibility 0s linear 0.3s;
    z-index: 120;
    overflow-y: auto;
  }
  .primary-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.3s var(--ease), visibility 0s;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0.15rem; width: 100%; }
  .nav-list a {
    padding: 0.9rem 0.75rem;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .header-cta .header-phone,
  .header-inner > .header-phone { display: none; }
  .primary-nav .header-phone {
    display: inline-flex;
    justify-content: center;
    margin-top: 1.5rem;
    width: 100%;
  }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(20, 49, 40, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
    z-index: 110;
    border: 0;
    padding: 0;
    cursor: pointer;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
  .call-fab { display: inline-flex; }
}

@media (min-width: 1140px) {
  .nav-backdrop { display: none; }
  .primary-nav .header-phone { display: none; }
}

/* No-JS fallback: reveal nav inline, hide toggle & fab */
.no-js .nav-toggle { display: none; }
.no-js .call-fab { display: none; }
@media (max-width: 1139px) {
  .no-js .primary-nav {
    position: static;
    width: auto;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0 0 1rem;
    background: none;
    box-shadow: none;
    transform: none;
    visibility: visible;
  }
  .no-js .nav-list { flex-direction: row; flex-wrap: wrap; }
  .no-js .nav-list a { border-bottom: 0; font-size: 0.97rem; padding: 0.5rem 0.7rem; }
  .no-js .header-inner { flex-wrap: wrap; }
}
