/* Self-hosted fonts (DSGVO-konform: keine Anfragen an Google-Server, keine IP-Übermittlung an Drittanbieter) */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/fraunces-300.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/fraunces-400.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/fraunces-500.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/fraunces-600.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/fraunces-700.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/fraunces-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/fraunces-500-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/fraunces-600-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-500.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-600.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-700.woff2") format("woff2");
}

:root {
  /* Requested palette */
  --main-color: #000000;
  --sub-color: #CACACA;
  --main-background: #F4DFDC;
  --primary-background: #0097B2;
  --alt-background: #FFFFFF;

  /* Derived tones (only mixes of the palette above) */
  --primary-background-hover: color-mix(in srgb, var(--primary-background) 80%, var(--main-color));
  --text-secondary: color-mix(in srgb, var(--main-color) 70%, transparent);

  --cream: var(--main-background);
  --cream-dark: var(--alt-background);

  --beige-light: var(--alt-background);

  --text: var(--main-color);

  --accent: var(--primary-background);
  --accent-dark: var(--primary-background-hover);

  --button-primary: rgb(100, 52, 52);
  --button-primary-hover: color-mix(in srgb, rgb(100, 52, 52) 80%, var(--main-color));
  --button-primary-active: color-mix(in srgb, rgb(100, 52, 52) 65%, var(--main-color));

  --border: var(--sub-color);

  /* Elegant card-border gradient, built only from existing page tones (warm bronze/brown family) */
  --card-border-gradient: linear-gradient(135deg, rgb(173, 150, 92) 0%, rgb(135, 121, 37) 100%);
  --card-border-soft: color-mix(in srgb, var(--button-primary) 45%, var(--sub-color) 55%);
  --card-icon-color: rgb(173, 150, 92);
  --card-icon-color-deep: rgb(135, 121, 37);

  /* Legacy tokens kept for the rest of the stylesheet, remapped onto the palette above. */
  --bg-primary: var(--main-color);
  --text-main: var(--alt-background);
  --accent-cta: var(--accent);
  --accent-cta-strong: var(--accent-dark);
  --accent-cta-deep: var(--accent-dark);

  --bone: var(--cream);
  --paper: var(--beige-light);
  --ink: var(--text);
  --ink-soft: var(--text-secondary);
  --pine: var(--text);
  --pine-strong: var(--alt-background);
  --clay: var(--button-primary);
  --clay-strong: var(--button-primary-hover);
  --mist: var(--cream-dark);
  --line: var(--border);

  /* Hero/footer/why sections keep a black scrim with white text */
  --hero-bg: var(--bg-primary);
  --hero-ink: var(--text-main);
  --hero-line: rgba(255, 255, 255, 0.22);

  --shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 46px rgba(0, 0, 0, 0.18);
  --radius: 2px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-size: 125%; scroll-padding-top: var(--nav-height, 5rem); scroll-behavior: smooth; }

@media (max-width: 1080px) {
  html { font-size: 118%; }
}

@media (max-width: 760px) {
  html { font-size: 110%; }
}

@media (max-width: 400px) {
  html { font-size: 112%; }
  .brand-logo { height: 2rem; }
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  p:not(.lede):not(.role-tag):not(.team-role):not(.card *) {
    text-align: justify;
    text-justify: inter-word;
    hyphens: none;
  }
}

h1, h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  color: var(--ink);
  text-wrap: balance;
  margin: 0;
}

h3 {
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  color: var(--ink);
  text-wrap: balance;
  margin: 0;
}

a { color: inherit; }

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

.wrap {
  max-width: 1680px;
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.eyebrow {
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-cta-deep);
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #a06565f0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.nav-inner {
  max-width: 1680px;
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--hero-ink);
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.brand {
  display: flex;
  align-items: center;
  flex: none;
  padding: 0.5rem 0.75rem;
  margin-left: -1.5rem;
  border-radius: 12px;
  transition: background-color 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand:hover,
.brand:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.brand-logo {
  height: 2.75rem;
  width: auto;
  display: block;
  border-radius: var(--radius);
}

.nav-links {
  display: flex;
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
}

.nav-links a {
  display: block;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--hero-ink);
  white-space: nowrap;
  transition: background-color 0.2s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.nav-links a.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--beige-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 1.0625rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s cubic-bezier(0.22, 1, 0.36, 1), transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:focus-visible { outline: 2px solid var(--accent-cta-deep); outline-offset: 3px; }

.btn-primary {
  background: var(--button-primary);
  color: var(--text-main);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.3),
    0 2px 6px rgba(0, 0, 0, 0.18),
    0 10px 24px rgba(173, 150, 92, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-primary:active {
  background: var(--button-primary-active);
}

.btn-ghost {
  border: 2px solid var(--beige-light);
  color: var(--text-main);
  background: transparent;
}

.nav-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
}

.nav-actions .btn {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
}

/* ---------- Breadcrumbs ---------- */

.breadcrumbs {
  position: relative;
  background: linear-gradient(120deg, var(--beige-light) 0%, var(--cream) 100%);
  overflow: hidden;
}

.breadcrumbs::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, hsl(153, 17%, 52%) 50%, transparent 100%);
  opacity: 0.7;
}

.breadcrumbs .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  padding-block: 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.breadcrumbs a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs .current {
  color: hsl(153, 17%, 52%);
  font-weight: 700;
  background: color-mix(in srgb, hsl(153, 17%, 52%) 18%, transparent);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

.breadcrumbs .sep {
  color: color-mix(in srgb, var(--ink) 35%, transparent);
  font-size: 0.7rem;
}

/* ---------- Hero ---------- */

.hero {
  background: var(--hero-bg) url("images/hero-header.jpg") center top / cover no-repeat fixed;
  color: var(--hero-ink);
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: left;
  position: relative;
  overflow: hidden;
}

@media (max-width: 900px) {
  .hero {
    background-position: left 20%;
    background-attachment: scroll;
    justify-content: center;
  }

  .hero .hero-inner {
    margin: 0 auto;
  }
}

.hero .hero-inner {
  margin: 0 clamp(2rem, 6vw, 6rem) 0 0;
  align-items: flex-start;
}

.hero .hero-chips,
.hero .hero-actions,
.hero .hero-meta {
  justify-content: flex-start;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(30, 16, 15, 0.18), rgba(30, 16, 15, 0.18)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.28));
  pointer-events: none;
}

.hero-inner {
  max-width: 46rem;
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  position: relative;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: color-mix(in srgb, var(--hero-ink) 75%, transparent);
}

.hero .eyebrow::before,
.hero .eyebrow::after {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--hero-line);
}

.hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(3rem, 2rem + 4vw, 4.75rem);
  font-style: normal;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--hero-ink);
}

.hero h1 em {
  font-style: italic;
  color: var(--beige-light);
}

.hero p.lede {
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.55;
  color: color-mix(in srgb, var(--hero-ink) 88%, transparent);
  max-width: 34rem;
}

.hero-services {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-chips li {
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--hero-line);
  background: color-mix(in srgb, var(--hero-ink) 8%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
  color: var(--hero-ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 0.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem 1.1rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hero-line);
  width: 100%;
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  color: color-mix(in srgb, var(--hero-ink) 70%, transparent);
}

.hero-meta span { white-space: nowrap; }
.hero-meta .dot { color: var(--beige-light); }

.hours-day {
  font-weight: 700;
  font-size: 1.08em;
  color: var(--clay-strong);
}

.hero-meta .hours-day { color: var(--hero-ink); }

@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * {
    animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .hero-inner > *:nth-child(1) { animation-delay: 0.05s; }
  .hero-inner > *:nth-child(2) { animation-delay: 0.15s; }
  .hero-inner > *:nth-child(3) { animation-delay: 0.25s; }
  .hero-inner > *:nth-child(4) { animation-delay: 0.35s; }
  .hero-inner > *:nth-child(5) { animation-delay: 0.45s; }
  .hero-inner > *:nth-child(6) { animation-delay: 0.55s; }
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Sections generic ---------- */

section { padding: clamp(4rem, 8vw, 1.5rem) 0; }

.section-head { max-width: 40rem; margin: 0 0 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }

.section-head h2 {
  font-size: clamp(1.9rem, 2.6vw + 1rem, 2.75rem);
  margin-top: 0.6rem;
}

.section-head p { color: var(--ink-soft); margin-top: 0.9rem; }

.section-head .eyebrow {
  display: block;
  margin-bottom: 0.75rem;
  color: hsl(153, 17%, 52%);
  font-size: 0.95rem;
}

.section-head h2 + .tagline-role { margin-top: 0; }

.tagline-role {
  color: var(--clay-strong);
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  letter-spacing: 0.01em;
}

/* ---------- Home info ---------- */

.home-info {
  background:
    linear-gradient(color-mix(in srgb, #f3e7e5 82%, transparent), color-mix(in srgb, #f3e7e5 82%, transparent)),
    url("images/home-info-bg.webp") center / cover no-repeat;
  color: var(--text);
}

@media (min-width: 1200px) {
  .home-info {
    background-size: auto, auto 100%;
    background-position: center, right center;
    background-repeat: no-repeat, no-repeat;
  }
}

.home-info .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}

.home-info .wrap > * { min-width: 0; }

.announce {
  position: relative;
  max-width: 46rem;
  margin-inline: auto;
  background: linear-gradient(135deg, color-mix(in srgb, var(--clay) 10%, var(--paper)) 0%, var(--paper) 60%);
  border: 1px solid color-mix(in srgb, var(--clay) 30%, var(--line));
  border-left: 5px solid var(--clay);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 1.1rem + 1.2vw, 2rem) clamp(1.35rem, 1rem + 1.6vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.announce::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--clay) 14%, transparent), transparent 55%);
  pointer-events: none;
}

/* ---------- Jameda booking widget ---------- */

.jameda-booking {
  max-width: 40rem;
  margin-inline: auto;
  background: var(--paper);
  border: 1px solid var(--card-border-soft);
  border-left: 4px solid var(--button-primary);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow);
}

.jameda-booking h3 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  color: var(--ink);
}

.jameda-calendar {
  display: block;
  width: 100%;
  height: 1250px;
  border: 0;
  border-radius: 8px;
  background: var(--alt-background);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.jameda-alt-link {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  color: var(--ink-soft);
  text-align: center;
}

.jameda-alt-link a { color: hsl(153, 17%, 52%); }

@media (max-width: 640px) {
  .jameda-booking { padding: 1.25rem 1.1rem; }
}

.announce .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(153, 17%, 52%);
  font-size: 0.95rem;
  z-index: 1;
}

.announce .eyebrow::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: hsl(153, 17%, 52%);
}

.announce h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  z-index: 1;
}

.announce p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.welcome-text {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.welcome-text h2 {
  font-size: clamp(1.6rem, 1.8vw + 1rem, 2.1rem);
  margin-top: 0;
}

.welcome-lede-text h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.3rem, 1.1vw + 0.9rem, 1.6rem);
  font-weight: 500;
  color: var(--clay-strong);
  margin-top: 0.6rem;
}

.welcome-text p {
  margin: 0;
  color: var(--ink-soft);
  text-align: justify;
  hyphens: auto; /* чтобы не было огромных дырок */
  text-justify: inter-word;
}

@media (min-width: 900px) {
  .welcome-text p {
    max-width: 66%;
  }
}

.welcome-lede {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.welcome-lede-text {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.philosophy-intro {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.2rem, 1rem + 0.6vw, 1.45rem);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  text-align: left !important;
}

h3.philosophy-intro {
  max-width: none;
  width: 100%;
  text-wrap: wrap;
}

.intro-highlight {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(3.2rem, 2.6rem + 2.8vw, 4.2rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  margin: 1.5rem 0;
}

.cta-intro {
  position: relative;
  margin: 2rem 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.4rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.philosophy-values {
  list-style: none;
  margin: 0.2rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.philosophy-values li {
  padding-left: 1.25rem;
  border-left: 2px solid var(--clay);
  color: var(--ink-soft);
  line-height: 1.6;
}

.philosophy-values strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--clay-strong);
  margin-bottom: 0.2rem;
}

.welcome-lede-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (min-width: 900px) {
  .welcome-lede {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }

  .welcome-lede-img {
    position: sticky;
    top: 6rem;
    max-height: calc(100vh - 8rem);
    object-fit: cover;
  }

  .welcome-lede-text p { max-width: 100%; }
}

@media (max-width: 640px) {
  .welcome-text h2 { font-size: 1.75rem; }
  .welcome-lede-text h3 { font-size: 1.4rem; }
  .tagline-role { font-size: 1.15rem; }
  .philosophy-intro { font-size: 1.3rem; }
  .welcome-text p { font-size: 1.08rem; line-height: 1.7; }
  .philosophy-values strong { font-size: 1.15rem; }
  .philosophy-values li { font-size: 1.05rem; }
}

/* ---------- Treatments ---------- */

.treatments { background: var(--bone); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1080px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .card { padding: 1.75rem 1.5rem; }
  .card-icon-lg { width: 3.5rem; height: 3.5rem; }
  .treatments .card h3 { font-size: 1.35rem; }
  .treatments .card p { font-size: 1.0625rem; }
  .card ul { font-size: 1.0625rem; }
}

#leistungen .card-grid > .card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: calc((100% - 3 * 1.5rem) / 4);
}

@media (max-width: 1080px) {
  #leistungen .card-grid > .card:last-child:nth-child(odd) {
    max-width: calc((100% - 1.5rem) / 2);
  }
}

@media (max-width: 560px) {
  #leistungen .card-grid > .card:last-child:nth-child(odd) {
    grid-column: auto;
    justify-self: stretch;
    max-width: none;
  }
}

.card {
  position: relative;
  isolation: isolate;
  background: color-mix(in srgb, var(--paper) 55%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid transparent;
  border-radius: 20px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--card-border-gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.75;
  transition: opacity 0.35s ease, padding 0.35s ease;
}

.card .mark {
  width: 3rem;
  height: 3rem;
  flex: none;
  border-radius: 50%;
  background: color-mix(in srgb, var(--card-icon-color) 22%, var(--paper));
  border: 1px solid color-mix(in srgb, var(--card-icon-color) 45%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--card-icon-color-deep);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.mark svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}

.card h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.4rem, 1vw + 1.15rem, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}

.treatments .card h3,
.treatments .card p {
  overflow-wrap: normal;
  word-break: normal;
}

.treatments .card h3 {
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: normal;
}

#leistungen .card {
  padding: 1.9rem 1.75rem;
  gap: 0.85rem;
}

.card p { color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.65; margin: 0; }
.card ul { color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.5; margin: 0; padding-left: 1.1rem; }
.card ul li + li { margin-top: 0.2rem; }
.card h4 { margin-top: 0; }

.card-text-scroll {
  height: 6.25rem;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.card-subsection {
  height: 6.25rem;
  overflow-y: auto;
  padding-right: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.card-subsection h4 { margin-top: 0.5rem; }
.card-subsection h4:first-child { margin-top: 0; }

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

.card-meta strong {
  color: var(--card-icon-color-deep);
  font-weight: 600;
}

.treatments-note {
  margin: 2rem 0 0;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  text-align: center;
}

.treatments-note a { color: hsl(153, 17%, 52%); }

/* ---------- Large illustrative card icon (elegant thin-line style) ---------- */

.card-icon-lg {
  width: 4.5rem;
  height: 4.5rem;
  flex: none;
  color: var(--card-icon-color);
  transition: color 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-icon-lg svg { width: 100%; height: 100%; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--hero-bg) url("images/fondo2.webp") center / cover no-repeat fixed;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  position: relative;
  overflow: hidden;
}

@media (max-width: 900px) {
  .cta-band { background-attachment: scroll; }
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(0, 151, 178, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.cta-band-inner {
  position: relative;
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-band .eyebrow { color: var(--beige-light); }

.cta-band h2 {
  color: var(--text-main);
  font-size: clamp(1.9rem, 2.6vw + 1rem, 2.6rem);
}

.cta-band p {
  color: var(--text-main);
  margin: 0;
}

.cta-band .btn {
  margin-top: 0.75rem;
  background: var(--button-primary);
  color: var(--text-main);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.3),
    0 2px 6px rgba(0, 0, 0, 0.2),
    0 10px 24px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.cta-band .btn-ghost {
  margin-top: 0.75rem;
  border-color: var(--text-main);
  color: var(--text-main);
}

/* ---------- About doctor ---------- */

.about { background: #f4dfdc; }

.about .wrap {
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .about .wrap { align-items: start; }
  .about-photo { position: sticky; top: 6rem; }
}

.about-photo {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  background: color-mix(in srgb, var(--paper) 55%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid transparent;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.about-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--card-border-gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.75;
}

.about-photo-note {
  min-height: 2.75rem;
  margin: 1rem 0 0;
}

.portrait {
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.portrait svg { width: 78%; height: auto; }

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

.portrait .monogram {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.about-copy .eyebrow { margin-bottom: 0.75rem; display: block; color: hsl(153, 17%, 52%); font-size: 0.95rem; }

.about-copy h2 {
  font-size: clamp(1.9rem, 2.4vw + 1rem, 2.5rem);
  margin-bottom: 1.25rem;
}

.about-copy p { color: var(--ink-soft); margin: 0 0 1rem; max-width: 60rem; }

.about-copy .role-tag {
  color: var(--clay-strong);
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem);
  letter-spacing: 0.01em;
}

.about-copy h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--clay-strong);
  margin: 2rem 0 0.75rem;
  padding-left: 1rem;
  border-left: 3px solid var(--clay);
}

.credentials {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.team { background: #f4dfdc; padding-top: clamp(1.5rem, 3vw, 2.25rem); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

@media (max-width: 1080px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .team-card { max-width: 480px; }
}

.team-card {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  background: color-mix(in srgb, var(--paper) 55%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid transparent;
  border-radius: 24px;
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  box-shadow: var(--shadow);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--card-border-gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.75;
  transition: opacity 0.35s ease, padding 0.35s ease;
}

.team-photo {
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  margin-bottom: 1rem;
}

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

.team-photo-placeholder {
  background: color-mix(in srgb, var(--paper) 70%, var(--line));
}

.team-card h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 500;
}

.team-role {
  color: var(--clay-strong);
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.35rem;
  margin: 0;
}

.team-focus {
  color: var(--card-icon-color-deep);
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0.15rem 0 0;
}

.team-focus-label {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.team-card p { color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.65; margin: 0.35rem 0 0; }

.team-languages {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--ink-soft);
  opacity: 0.85;
}

.credentials li {
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--pine);
  font-weight: 600;
}

/* ---------- Why choose ---------- */

.why {
  --hero-ink: var(--text);
  --hero-line: var(--border);
  background: linear-gradient(135deg, var(--cream) 0%, var(--beige-light) 100%);
  color: var(--hero-ink);
}

.why .section-head h2 { color: var(--hero-ink); }
.why .section-head p { color: color-mix(in srgb, var(--hero-ink) 78%, transparent); }

.why .section-head { max-width: 56rem; }

.anfahrt-reach {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.3rem);
  line-height: 1.65;
  color: var(--ink);
}

.anfahrt-top {
  display: grid;
  grid-template-columns: minmax(0, 420px) 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.anfahrt-address {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.anfahrt-address h3 {
  color: hsl(153, 17%, 52%);
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.anfahrt-address address {
  font-style: normal;
  line-height: 1.75;
  color: color-mix(in srgb, var(--hero-ink) 85%, transparent);
}

.anfahrt-address p { margin: 0; color: color-mix(in srgb, var(--hero-ink) 85%, transparent); }
.anfahrt-address p a { color: hsl(153, 17%, 52%); text-decoration: none; }
.anfahrt-address .btn-primary { align-self: flex-start; margin-top: 0.4rem; }

.anfahrt-map {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--hero-line);
  box-shadow: var(--shadow-lg);
  min-height: 280px;
}

.anfahrt-map iframe,
.anfahrt-map img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  display: block;
  object-fit: cover;
}

.anfahrt-map-btn {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  box-shadow: var(--shadow);
  white-space: nowrap;
}

.anfahrt-map .anfahrt-map-btn:hover { transform: translateX(-50%); }

.anfahrt-map-attrib {
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  padding: 0.15rem 0.5rem;
  background: rgba(255, 255, 255, 0.85);
  color: #3c3c3c;
  font-size: 0.6875rem;
  line-height: 1.4;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
}

.anfahrt-map-attrib:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .anfahrt-map-btn { font-size: 0.85rem; padding: 0.65rem 1.1rem; }
}

.consent-gate {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 280px;
  height: 100%;
  padding: 1.5rem;
  background: color-mix(in srgb, var(--hero-ink) 6%, transparent);
}

.consent-gate-inner {
  max-width: 26rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.consent-gate-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.consent-gate-text a { color: hsl(153, 17%, 52%); }

.consent-reset-btn { margin-top: 0.5rem; }

.transit-links {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--hero-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
}

.transit-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: color-mix(in srgb, var(--hero-ink) 65%, transparent);
}

.transit-links-row { display: flex; flex-wrap: wrap; gap: 1.5rem; }

.transit-links-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--hero-line);
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}


.transit-links-row img {
  max-height: 2.25rem;
  width: auto;
}


.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2.5rem;
}

.feature { border-top: 1px solid var(--hero-line); padding-top: 1.25rem; }

.feature .num {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 0.95rem;
  color: hsl(153, 17%, 52%);
}

.feature h3 {
  color: var(--hero-ink);
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0.6rem 0 0.5rem;
}

.feature p {
  color: color-mix(in srgb, var(--hero-ink) 78%, transparent);
  font-size: 0.9375rem;
  margin: 0;
}

/* ---------- CTA / contact ---------- */

.cta .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.cta .wrap > * { min-width: 0; }

.cta h2 { font-size: clamp(1.9rem, 2.6vw + 1rem, 2.6rem); }
.cta > .wrap > div:first-child p { color: var(--ink-soft); margin-top: 1rem; max-width: 32rem; }

.cta .btn-primary { margin-top: 1.75rem; }

.impressum-subhead {
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pine);
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  max-width: 32rem;
}

.contact-card {
  position: relative;
  isolation: isolate;
  background: var(--paper);
  border: 1px solid transparent;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--card-border-gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.75;
}

.contact-card dl { margin: 0; display: grid; gap: 1.25rem; }
.contact-card dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(153, 17%, 52%);
  font-weight: 600;
}
.contact-card dd { margin: 0.3rem 0 0; color: var(--ink); }

.contact-card h2 {
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;
}
.contact-card dd a { color: hsl(153, 17%, 52%); }

.apply-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.apply-actions .btn { width: 100%; }

.apply-actions .btn-ghost {
  border-color: var(--accent-cta-deep);
  color: var(--accent-cta-deep);
}

/* ---------- Legal page (Datenschutz) ---------- */

.page-head {
  background: #ffffff;
  color: #000000;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.page-head h1 {
  color: #000000;
  font-size: clamp(2.25rem, 2vw + 1.5rem, 3.25rem);
}

.page-head.narrow {
  padding: clamp(2.5rem, 5vw, 3.25rem) 0 clamp(1.5rem, 3vw, 2rem);
  text-align: left;
}

.page-head.narrow .eyebrow { display: block; margin-bottom: 0.6rem; }
.page-head.narrow h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); }

.page-head.narrow.has-image {
  background: var(--hero-bg) center / cover no-repeat fixed;
  color: var(--hero-ink);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

@media (max-width: 900px) {
  .page-head.narrow.has-image { background-attachment: scroll; }
}

.page-head.narrow.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.85));
  pointer-events: none;
}

.page-head.narrow.has-image.page-head-konservative::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.15));
}

.page-head.narrow.has-image.page-head-konservative {
  background-image: url("images/konservative-header.webp");
}

.page-head.narrow.has-image.page-head-operative::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.15));
}

.page-head.narrow.has-image.page-head-operative h1 {
  color: #ffffff;
  font-style: normal;
  font-weight: 400;
  letter-spacing: normal;
}

.page-head.narrow.has-image.page-head-aesthetische::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.15));
}

.page-head.narrow.has-image.page-head-aesthetische {
  background-image: url("images/aesthetische-header-3.jpg");
}

.page-head.narrow.has-image.page-head-kosmetische::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.15));
}

.page-head.narrow.has-image.page-head-kosmetische {
  background-image: url("images/haarsprechstunde-header.jpg");
}

.page-head.narrow.has-image.page-head-kosmetische h1 {
  color: #ffffff;
}

.page-head.narrow.has-image.page-head-operative {
  background-image: url("images/operative-header-2.jpeg");
  background-position: center bottom;
}

.page-head.narrow.has-image.page-head-allergologie::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.15));
}

.page-head.narrow.has-image.page-head-allergologie {
  background-image: url("images/allergologie-header.jpg");
}

.page-head.narrow.has-image.page-head-operative-derma::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.15));
}

.page-head.narrow.has-image.page-head-operative-derma {
  background-image: url("images/operative-dermatologie-header.jpg");
}

.page-head.narrow.has-image.page-head-lasermedizin::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.15));
}

.page-head.narrow.has-image.page-head-lasermedizin {
  background-image: url("images/lasermedizin-header.jpg");
}

.page-head.narrow.has-image.page-head-phlebologie::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.15));
}

.page-head.narrow.has-image.page-head-phlebologie {
  background-image: url("images/phlebologie-header.jpg");
}

.page-head.narrow.has-image.page-head-proktologie::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.15));
}

.page-head.narrow.has-image.page-head-proktologie {
  background-image: url("images/proktologie-header.jpg");
}

.page-head.narrow.has-image .wrap {
  position: relative;
  z-index: 1;
  margin-inline: auto;
}

.page-head.narrow.has-image h1 {
  color: var(--hero-ink);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.015em;
}

.page-head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.page-head-image {
  flex: none;
  width: 9rem;
  height: 9rem;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.page-head-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 560px) {
  .page-head-inner { flex-direction: column-reverse; text-align: center; gap: 1.25rem; }
  .page-head-image { width: 100%; height: 11rem; }
}

.service-content { background: var(--bone); }

.service-content .legal-content { max-width: 1680px; }
.service-content .legal-content > .btn { align-self: center; }

.service-content .legal-content p { color: var(--ink-soft); }

.service-content .legal-content h4 { color: var(--pine); }

.page-head .mark {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-cta) 26%, var(--paper));
  border: 1px solid color-mix(in srgb, var(--accent-cta) 45%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--accent-cta-deep);
}

.page-head .eyebrow { display: block; margin-bottom: 0.75rem; }
.page-head .lede { max-width: 36rem; margin: 1rem auto 0; color: var(--ink-soft); }
.page-head .hero-actions { margin-top: 1.75rem; }

/* ---------- Service hero (soft, informative pages) ---------- */

.service-hero {
  background: linear-gradient(160deg, var(--mist) 0%, var(--bone) 100%);
  padding: clamp(4rem, 9vw, 6.5rem) 0 clamp(3.5rem, 7vw, 5rem);
  text-align: center;
}

.service-hero .wrap { max-width: 46rem; }

.service-hero .mark {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid color-mix(in srgb, var(--accent-cta) 40%, transparent);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--accent-cta-deep);
}

.service-hero .eyebrow { display: block; margin-bottom: 0.75rem; }

.service-hero h1 {
  margin-top: 0.5rem;
  font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.25rem);
}

.service-hero .lede {
  max-width: 36rem;
  margin: 1rem auto 0;
  color: var(--ink-soft);
}

.service-hero .hero-actions { margin-top: 1.75rem; }

/* ---------- Service CTA (soft) ---------- */

.service-cta {
  background: color-mix(in srgb, var(--clay) 7%, var(--bone));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.service-cta .wrap {
  max-width: 40rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.service-cta .eyebrow { color: var(--main-color); }
.service-cta h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.4rem); }
.service-cta p { color: var(--ink-soft); margin: 0; }
.service-cta .hero-actions { margin-top: 0.6rem; }

.legal { background: var(--bone); }

.legal-content {
  max-width: 46rem;
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  display: flex;
  flex-direction: column;
  gap: 3.15rem;
}

.leistung-detail .legal-content {
  gap: 5.15rem;
}

.leistung-detail .legal-content h2 + .tagline-role { margin-top: -5.15rem; }

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 1.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.legal-content h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }

.legal-content h1 { font-size: clamp(2rem, 2vw + 1.25rem, 2.75rem); }

.service-content .legal-content h1 {
  font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.015em;
}

.legal-content > .btn { align-self: flex-start; }

.legal-cards {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 1rem;
}

@media (max-width: 560px) {
  .legal-cards { grid-template-columns: 1fr; }
}

.legal-cards-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1080px) {
  .legal-cards-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .legal-cards-3 { grid-template-columns: 1fr; }
}

.legal-content h4 {
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--pine);
  margin-top: 1.25rem;
}

.service-subhead {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

.service-quote {
  position: relative;
  margin: 0;
  padding: clamp(1.1rem, 0.9rem + 1vw, 1.5rem) clamp(1.15rem, 0.9rem + 1.2vw, 1.75rem);
  border-left: 3px solid var(--clay);
  background: color-mix(in srgb, var(--clay) 6%, var(--paper));
  border-radius: var(--radius);
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink);
}

.service-quote::before {
  content: "“";
  font-family: "Fraunces", Georgia, serif;
  font-style: normal;
  color: var(--clay-strong);
  margin-right: 0.15rem;
}

.service-quote::after {
  content: "”";
  font-family: "Fraunces", Georgia, serif;
  font-style: normal;
  color: var(--clay-strong);
  margin-left: 0.15rem;
}

.service-quote.no-quote-marks::before,
.service-quote.no-quote-marks::after {
  content: none;
}

/* ---------- Konservative Dermatologie (page-specific type scale) ---------- */

.leistung-detail .legal-content h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.75rem, 1.4rem + 1vw, 2.1rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.leistung-detail .service-subhead {
  font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.6rem);
}

.leistung-detail .legal-content p {
  font-size: 1.0625rem;
  line-height: 1.75;
}

.konservative-content p + p { margin-top: -4.15rem; }

.leistung-detail .service-quote {
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.4rem);
}

.leistung-detail .card h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.375rem;
  font-weight: 500;
}

.leistung-detail .card-text-scroll {
  font-size: 1rem;
  line-height: 1.7;
}

/* ---------- Lasermedizin: richer per-laser cards ---------- */

.lasermedizin-cards .card-subsection {
  height: 19rem;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.65;
}

.lasermedizin-cards .card-subsection ul {
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (max-width: 1080px) {
  .lasermedizin-cards .card-subsection { height: 17rem; }
}

@media (max-width: 560px) {
  .lasermedizin-cards .card-subsection { height: auto; max-height: 22rem; }
}

/* ---------- Ästhetische Medizin: treatment sub-pages (type scale) ---------- */

.aesthetic-detail .service-content .legal-content h1 {
  font-size: clamp(2.5rem, 1.7rem + 2.8vw, 3.5rem);
}

.aesthetic-detail .legal-content h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.6rem, 1.3rem + 1vw, 1.95rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.aesthetic-detail .legal-content p {
  font-size: 1.0625rem;
  line-height: 1.75;
}

.aesthetic-detail .legal-content ul {
  font-size: 1.0625rem;
  line-height: 1.75;
}

.aesthetic-detail .service-quote {
  font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.5rem);
}

.aesthetic-card-grid {
  grid-template-columns: repeat(6, 1fr);
  margin-top: -1.25rem;
  margin-bottom: 0.5rem;
}

.aesthetic-card-grid .card { grid-column: span 2; }
.aesthetic-card-grid .card:nth-child(4) { grid-column: 2 / span 2; }
.aesthetic-card-grid .card:nth-child(5) { grid-column: 4 / span 2; }

@media (max-width: 1080px) {
  .aesthetic-card-grid { grid-template-columns: repeat(2, 1fr); }
  .aesthetic-card-grid .card,
  .aesthetic-card-grid .card:nth-child(4),
  .aesthetic-card-grid .card:nth-child(5) { grid-column: auto; }
}

@media (max-width: 560px) {
  .aesthetic-card-grid { grid-template-columns: 1fr; }
}

.aesthetic-card-grid .card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  column-gap: 1rem;
  row-gap: 0.35rem;
  padding: 1.5rem 1.75rem;
}

.aesthetic-card-grid .card h3 {
  grid-column: 1;
  grid-row: 1;
  font-size: 1.375rem;
}

.aesthetic-card-grid .card p {
  grid-column: 1;
  grid-row: 2;
  font-size: 1rem;
  line-height: 1.7;
}

.aesthetic-card-grid .card ul {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.aesthetic-card-grid .card ul li + li { margin-top: 0.2rem; }

.aesthetic-card-grid .card .card-meta {
  grid-column: 1 / -1;
  grid-row: 3;
  margin-top: 0.5rem;
  color: hsl(153, 17%, 52%);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.aesthetic-card-grid .card .card-icon-lg {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  width: 2.5rem;
  height: 2.5rem;
}

.aesthetic-banner-image {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 16rem;
}

.aesthetic-banner-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at center, black 30%, transparent 95%);
  mask-image: radial-gradient(ellipse 75% 75% at center, black 30%, transparent 95%);
}

@media (min-width: 900px) {
  .aesthetic-banner-image { min-height: 20rem; }
}

.table-scroll { overflow-x: auto; margin-top: 0.75rem; }

.data-table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.data-table th, .data-table td {
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.data-table th {
  background: var(--paper);
  color: var(--pine);
  font-weight: 600;
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.data-table td:first-child { white-space: normal; min-width: 12rem; }
.data-table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--paper) 60%, var(--bone)); }

.legal-content p { color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.65; margin: 0; }
.legal-content ul { color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.5; margin: 0; padding-left: 1.25rem; }
.legal-content ul li + li { margin-top: 0.35rem; }

.legal-content a:not(.btn) {
  color: hsl(153, 17%, 52%);
  text-decoration: underline;
}

.legal-content a.card {
  text-decoration: none;
}

.service-eyebrow {
  color: hsl(153, 17%, 52%);
  font-size: 0.85rem;
}

.service-intro-photo {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(244, 223, 220, 0.62), rgba(244, 223, 220, 0.72)), url("images/hautkrebsvorsorge-intro-bg.jpg") center / cover no-repeat;
}

@media (min-width: 561px) {
  .service-intro-photo {
    padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 2.75rem);
  }
}

.service-intro-photo h2 { color: var(--ink); margin: 0; padding: 0; border-top: none; }
.service-intro-photo p { color: var(--ink-soft); }
.service-intro-photo h2 + .tagline-role { margin-top: -1.5rem; }
.service-intro-photo .philosophy-intro { color: var(--ink); }

#haar-services-grid {
  margin-top: 2.5rem;
}

.service-tagline {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 58rem;
  margin-inline: auto;
  margin-top: -2.25rem;
}

.service-tagline p {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.75rem, 1.6rem + 5.4vw, 4.5rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--clay-strong);
}

.service-tagline-dots { color: var(--clay); }

.service-tagline p.service-tagline-sub {
  margin: 0.5rem auto 0;
  width: min(30rem, 85%);
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.1rem);
  font-weight: 500;
  color: var(--ink);
}

.service-tagline p.service-tagline-caption {
  margin-top: 1.5rem;
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-style: normal;
  font-size: 1.0625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--button-primary);
}

.aesthetic-tagline-split {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 900px) {
  .aesthetic-tagline-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
  }
}

.aesthetic-tagline-text {
  text-align: center;
  margin-inline: auto;
  margin-top: 0;
  max-width: none;
}

.aesthetic-tagline-text p {
  font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.1rem);
}

.aesthetic-tagline-text p.service-tagline-sub {
  margin: 0.5rem auto 0;
  width: auto;
  max-width: 26rem;
}

.service-note {
  font-size: 0.875rem;
  font-style: italic;
  color: color-mix(in srgb, var(--ink-soft) 85%, transparent);
  border-top: 1px dashed var(--line);
  padding-top: 0.85rem;
}

.note-highlight {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  max-width: 46rem;
  margin: 1.5rem 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--clay) 10%, var(--paper)) 0%, var(--paper) 60%);
  border: 1px solid color-mix(in srgb, var(--clay) 30%, var(--line));
  border-left: 4px solid var(--clay);
  border-radius: var(--radius);
  padding: 1.1rem 1.35rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.note-highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--clay) 14%, transparent), transparent 55%);
  pointer-events: none;
}

.note-highlight-icon {
  position: relative;
  z-index: 1;
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.1rem;
  color: var(--clay);
}

.note-highlight-icon svg { width: 100%; height: 100%; display: block; }

.note-highlight p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.note-highlight p strong {
  color: var(--clay);
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
}


/* ---------- Booking hero ---------- */

.booking-hero {
  --hero-ink: var(--text);
  --hero-line: var(--border);
  background: linear-gradient(160deg, var(--cream) 0%, var(--beige-light) 100%);
  color: var(--hero-ink);
  padding: clamp(4.5rem, 10vw, 7rem) 0 clamp(7.5rem, 15vw, 11rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.booking-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 0%, rgba(0, 151, 178,0.28), transparent 55%),
    radial-gradient(circle at 85% 100%, rgba(255, 255, 255, 0.45), transparent 50%);
  pointer-events: none;
}

.booking-hero .wrap { position: relative; max-width: 46rem; }

.booking-hero .eyebrow { color: var(--accent-cta-deep); }

.booking-hero h1 {
  margin-top: 0.85rem;
  font-size: clamp(2.5rem, 1.6rem + 3vw, 3.75rem);
  color: var(--hero-ink);
  line-height: 1.1;
}

.booking-hero .lede {
  max-width: 34rem;
  margin: 1.1rem auto 0;
  color: color-mix(in srgb, var(--hero-ink) 82%, transparent);
  font-size: 1.0625rem;
}

.booking-hero .hero-chips { margin-top: 1.75rem; }

/* ---------- Booking card ---------- */

.booking-section {
  margin-top: clamp(-6.5rem, -9vw, -5rem);
  position: relative;
  z-index: 2;
  padding-top: 0;
}

.booking-card {
  background: var(--paper);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
}

.booking-card-form {
  padding: clamp(2rem, 4vw, 3.25rem);
}

.booking-card-form h2 { font-size: 1.5rem; }
.booking-card-form > p { color: var(--ink-soft); margin: 0.75rem 0 1.5rem; }

.booking-card-info {
  --hero-ink: var(--text);
  --hero-line: var(--border);
  background: linear-gradient(160deg, var(--cream) 0%, var(--beige-light) 100%);
  color: var(--hero-ink);
  padding: clamp(2rem, 4vw, 3.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.booking-card-info h3 {
  color: var(--hero-ink);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.booking-phone a {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 1.85rem;
  color: hsl(153, 17%, 52%);
  text-decoration: none;
}


.booking-info-list {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hero-line);
  display: grid;
  gap: 1.1rem;
}

.booking-info-list dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: color-mix(in srgb, var(--hero-ink) 65%, transparent);
}

.booking-info-list dd {
  margin: 0.35rem 0 0;
  color: color-mix(in srgb, var(--hero-ink) 92%, transparent);
  line-height: 1.6;
}

.booking-card-info .btn-ghost {
  margin-top: auto;
  align-self: flex-start;
  border-color: var(--accent-cta-deep);
  color: var(--accent-cta-deep);
}


@media (max-width: 860px) {
  .booking-card { grid-template-columns: 1fr; }
}

/* ---------- Stepper ---------- */

.stepper {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
}

.stepper-item {
  flex: 1;
  position: relative;
  padding-top: 4rem;
  text-align: center;
}

.stepper-item::before {
  content: "";
  position: absolute;
  top: 1.4rem;
  left: -50%;
  width: 100%;
  height: 1px;
  background: var(--line);
}

.stepper-item:first-child::before { display: none; }

.step-num {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--accent-cta);
  color: var(--accent-cta-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.15rem;
  z-index: 1;
}

.stepper-item h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.stepper-item p { color: var(--ink-soft); font-size: 0.9rem; margin: 0; max-width: 18rem; margin-inline: auto; }

@media (max-width: 720px) {
  .stepper { flex-direction: column; gap: 2.25rem; }
  .stepper-item { padding-top: 0; padding-left: 3.75rem; text-align: left; }
  .stepper-item p { margin-inline: 0; }
  .stepper-item::before { display: none; }
  .step-num { left: 0; top: 0; transform: none; }
}

/* ---------- Footer ---------- */

footer {
  background: linear-gradient(to right, #3E2A2C, #80544E);
  color: var(--text-main);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.footer-col h3 {
  color: var(--text-main);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 1.1rem;
  font-weight: 600;
}

.footer-col address {
  font-style: normal;
  line-height: 1.85;
  font-size: 1.0625rem;
  color: var(--text-main);
}

.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }

.footer-col a { color: var(--text-main); font-size: 1.0625rem; text-decoration: none; }
.footer-col address a { color: hsl(153, 17%, 52%); }
.footer-col .hours-day { color: hsl(153, 17%, 52%); }

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--text-main) 25%, transparent);
  text-align: center;
  font-size: 0.9375rem;
  color: color-mix(in srgb, var(--text-main) 75%, transparent);
}

/* ---------- Quick contact buttons ---------- */

.quick-contact {
  position: fixed;
  right: calc(clamp(1rem, 3vw, 2rem) + env(safe-area-inset-right, 0px));
  bottom: calc(clamp(1rem, 3vw, 2rem) + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.quick-contact-btn {
  position: relative;
  width: 3.25rem;
  height: 3.25rem;
  flex: none;
  border-radius: 50%;
  border: none;
  background: hsl(153, 17%, 52%);
  color: var(--pine-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease, color 0.2s ease;
}

.quick-contact-btn:focus-visible {
  background: color-mix(in srgb, hsl(153, 17%, 52%) 80%, black);
  color: var(--pine-strong);
  transform: scale(1.06);
  outline: 2px solid hsl(153, 17%, 52%);
  outline-offset: 3px;
}

.quick-contact-btn svg { width: 1.4rem; height: 1.4rem; }

.quick-contact-tooltip {
  position: absolute;
  right: calc(100% + 0.75rem);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--paper);
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.quick-contact-hours[aria-expanded="true"] .quick-contact-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}

@media (max-width: 480px) {
  .quick-contact-btn { width: 2.75rem; height: 2.75rem; }
  .quick-contact-btn svg { width: 1.25rem; height: 1.25rem; }
 
}

@media (max-height: 480px) {
  .quick-contact { gap: 0.5rem; }
  .quick-contact-btn { width: 2.75rem; height: 2.75rem; }
  .quick-contact-btn svg { width: 1.25rem; height: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .quick-contact-btn, .quick-contact-tooltip { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* Hover-only effects: gated so touch devices never get a "stuck" hover state. */
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { background: rgba(255, 255, 255, 0.1); }

  .btn-primary:hover {
    background: var(--button-primary-hover);
    box-shadow:
      0 2px 4px rgba(0, 0, 0, 0.32),
      0 4px 10px rgba(0, 0, 0, 0.2),
      0 16px 34px rgba(173, 150, 92, 0.32),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
  }

  .btn-ghost:hover {
    background: var(--button-primary);
    border-color: var(--button-primary);
    color: var(--text-main);
    box-shadow:
      0 2px 4px rgba(0, 0, 0, 0.3),
      0 4px 10px rgba(0, 0, 0, 0.18),
      0 16px 34px rgba(173, 150, 92, 0.28);
    transform: translateY(-2px);
  }

  .breadcrumbs a:hover { color: hsl(153, 17%, 52%); }

  .card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), 0 0 0 1px color-mix(in srgb, var(--button-primary) 35%, transparent);
  }
  .card:hover::before { opacity: 1; padding: 2px; }

  .team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), 0 0 0 1px color-mix(in srgb, var(--button-primary) 35%, transparent);
  }
  .team-card:hover::before { opacity: 1; padding: 2px; }
  .card:hover .mark {
    background: var(--card-icon-color-deep);
    border-color: var(--card-icon-color-deep);
    color: var(--pine-strong);
    transform: scale(1.08);
  }
  .card:hover .card-icon-lg {
    color: var(--card-icon-color-deep);
    transform: scale(1.05);
  }

  .cta-band .btn:hover {
    background: var(--button-primary-hover);
    box-shadow:
      0 2px 4px rgba(0, 0, 0, 0.32),
      0 4px 10px rgba(0, 0, 0, 0.22),
      0 16px 34px rgba(0, 0, 0, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
  }
  .cta-band .btn-ghost:hover {
    background: var(--text-main);
    color: var(--text);
    box-shadow:
      0 2px 4px rgba(0, 0, 0, 0.3),
      0 4px 10px rgba(0, 0, 0, 0.2),
      0 16px 34px rgba(0, 0, 0, 0.32);
  }

  .anfahrt-address p a:hover { text-decoration: underline; }

  .transit-links-row a:hover {
    transform: translateY(-3px);
    border-color: var(--accent-cta-deep);
    box-shadow: var(--shadow);
  }
  .transit-links-row a:hover { color: var(--accent-cta-strong); border-color: var(--accent-cta-strong); }

  .legal-content a:hover { color: color-mix(in srgb, hsl(153, 17%, 52%) 80%, black); }

  .booking-phone a:hover { color: var(--accent-cta-strong); }

  .booking-card-info .btn-ghost:hover { background: var(--accent-cta-deep); color: var(--pine-strong); }

  .footer-col a:hover { color: var(--sub-color); text-decoration: underline; }

  .quick-contact-btn:hover {
    background: color-mix(in srgb, hsl(153, 17%, 52%) 80%, black);
    color: var(--pine-strong);
    transform: scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .card .mark { transition: none; }
  .team-card { transition: none; }
  .transit-links-row a { transition: none; }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  .btn-primary:hover,
  .btn-ghost:hover,
  .card:hover,
  .card:hover .mark,
  .team-card:hover,
  .transit-links-row a:hover,
  .cta-band .btn:hover,
  .quick-contact-btn:hover { transform: none; }
}

@media (max-width: 1373px) {
  .brand-logo { height: 2.25rem; }

  .nav-toggle { display: flex; order: 1; margin-left: auto; }

  .nav-links {
    display: none;
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 0 1rem;
    margin-top: 0.75rem;
    border-top: 1px solid var(--hero-line);
  }

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

  .nav-links a { padding: 0.85rem 0.25rem; }

  .nav-inner { flex-wrap: wrap; justify-content: space-between; }

  .nav-actions {
    display: none;
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }

  .nav-links.is-open + .nav-actions { display: flex; }

  .nav-actions .btn {
    width: 100%;
    white-space: normal;
  }
}

@media (max-width: 820px) {
  .about .wrap, .cta .wrap { grid-template-columns: minmax(0, 1fr); }
  .about-photo { max-width: 320px; margin: 0 auto; }
  .anfahrt-top { grid-template-columns: 1fr; }
  .anfahrt-address { order: 2; }
  .anfahrt-map { order: 1; }
}
