@font-face {
  font-family: "Suisse Intl";
  src: url("../assets/fonts/SuisseIntl-Book.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Suisse Intl";
  src: url("../assets/fonts/SuisseIntl-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Epidermis – Skin Care Clinic
   Static rebuild (HTML/CSS/JS)
   Breakpoints: desktop ≥ 992 | tablet ≤ 991 | mobile landscape ≤ 767 | mobile portrait ≤ 479
   ========================================================================== */

:root {
  /* Farbschema: neutral (Ink / Weiß) – zum Umfärben nur diese Werte ändern */
  --white: #ffffff;
  --accent: #111111;
  --accent-dark: #000000;
  --transparent: #11111100;
  --accent-4: #1111110a;
  --accent-5: #1111110d;
  --accent-7: #11111112;
  --accent-12: #1111111f;
  --accent-60: #11111199;
  --accent-80: #111111cc;
  --white-7: #ffffff12;
  --white-60: #ffffff99;
  --white-80: #ffffffcc;

  /* Frosted Glass – EIN Look für alle Glasflächen:
     abgedunkeltes, verschwommenes Weiß mit weisser Schrift */
  /* Glas über Video/Bild (Header) */
  --glass-bg: rgba(255, 255, 255, .18);
  --glass-bg-strong: rgba(255, 255, 255, .28);
  --glass-blur: blur(26px) saturate(1.4) brightness(1.05);
  --glass-border: transparent;
  /* Glas auf hellem Verlauf – gleiches Material, dunkle Schrift */
  --glass-light: rgba(255, 255, 255, .42);
  --glass-light-strong: rgba(255, 255, 255, .6);
  --glass-light-blur: blur(26px) saturate(1.4);

  /* Schriften: Serif für Headlines (Adobe Fonts), Sans für Fließtext & UI */
  --font-sans: "Archivo", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  /* Freight Big Pro (Adobe Fonts) ist gesetzt; Newsreader springt nur ein,
     wo Typekit nicht geladen werden darf – z. B. in der Artifact-Vorschau. */
  --font-display: "freight-big-pro", "Newsreader", Georgia, "Times New Roman", serif;
  --font-suisse: "Suisse Intl", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-logo: "Suisse Intl", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --radius-l: 24px;
  --radius-m: 16px;
  --radius-s: 12px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
  margin: 0;
  background-color: #eef3f8;
  background-image:
    radial-gradient(70% 40% at 6% 10%, rgba(148, 184, 216, .5), transparent 68%),
    radial-gradient(60% 34% at 98% 46%, rgba(198, 220, 238, .5), transparent 70%),
    linear-gradient(178deg, #c2d6e8 0%, #d2e1ee 22%, #dfe9f2 48%, #eaf1f7 72%, #f5f9fc 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.28;
  -webkit-font-smoothing: antialiased;
}


img, svg { display: inline-block; max-width: 100%; vertical-align: middle; }
img { pointer-events: none; user-select: none; }
svg { fill: currentColor; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
/* EINE Display-Größe für alle großen Headlines */
h2, h3, .regular-xl, .display {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 52px;
  line-height: 1.18;
  letter-spacing: -.4px;
}
h4 { font-size: 22px; line-height: 1.3; letter-spacing: -.2px; }

.regular-xs { font-size: 12px; line-height: 1.28; }
.regular-s  { font-size: 15px; line-height: 1.5; }
.regular-m  { font-size: 16px; line-height: 1.28; }
.regular-l  { font-size: 26px; line-height: 1.25; }

.muted { color: var(--accent-80); }

.container {
  display: flex;
  flex-flow: column;
  flex: 1;
  width: 100%;
  max-width: 1728px;
  margin: 0 auto;
  padding-left: 64px;
  padding-right: 64px;
}

/* Photos: replace the files in assets/img/ with licensed photography (same names). */

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 22px;
  border: 0;
  border-radius: 100px;
  background-color: var(--glass-light);
  -webkit-backdrop-filter: var(--glass-light-blur);
  backdrop-filter: var(--glass-light-blur);
  color: var(--accent);
  font-size: 15px;
  line-height: 1.28;
  text-align: center;
  white-space: nowrap;
  transition: color .3s, background-color .3s;
}
.button:hover, .button:focus-visible { background-color: var(--glass-light-strong); }
.button--glass-dark {
  background-color: rgba(20, 32, 44, .32);
  -webkit-backdrop-filter: blur(24px) saturate(1.3) brightness(.9);
  backdrop-filter: blur(24px) saturate(1.3) brightness(.9);
  color: var(--white);
}
.button--glass-dark:hover { background-color: rgba(20, 32, 44, .48); }

.button--small { padding: 8px 16px 9px; font-size: 14px; }

.button--white { border-color: var(--white); background-color: var(--white); color: var(--accent); }
.button--white:hover, .button--white:focus-visible { border-color: var(--white-80); background-color: var(--white-80); color: var(--accent-dark); }


.button--white-outline { border-color: var(--glass-border); background-color: var(--glass-bg); color: var(--white); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.button--white-outline:hover, .button--white-outline:focus-visible { border-color: var(--white); background-color: var(--white); color: var(--accent-dark); }

.buttons-wrapper { display: flex; justify-content: center; align-items: center; gap: 12px; }
.button-wrapper { display: flex; justify-content: center; }

/* --------------------------------------------------------------------------
   Chips (section label)
   -------------------------------------------------------------------------- */
.chips { display: flex; justify-content: center; align-items: center; gap: 8px; }
.chips-shape { width: 3px; height: 3px; border-radius: 50%; background-color: currentColor; }

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  user-select: none;
  -webkit-user-select: none;
  z-index: 100;
  inset: 0 0 auto;
  padding-top: 24px;
}

.nav-content {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 8px 8px 16px;
  border: 0;
  border-radius: 100px;
  background-color: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  color: var(--white);
}

/* gleitende helle Markierung hinter den Menuepunkten */
.nav-indicator {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 0;
  z-index: 1;
  border-radius: 100px;
  background-color: var(--white);
  opacity: 0;
  transition: left .45s var(--ease), width .45s var(--ease), opacity .25s;
}

.logo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
}
.logo--white { color: var(--white); }
.logo { gap: 10px; align-items: baseline; }
.logo-word { font-family: var(--font-logo); font-weight: 400; font-size: 21px; line-height: 1; letter-spacing: -.02em; }
.logo-sub { font-family: var(--font-suisse); font-size: 10px; line-height: 1; letter-spacing: 2px; text-transform: uppercase; opacity: .75; transform: translateY(-1px); transition: opacity .3s; }
.logo:hover .logo-sub { opacity: 1; }

.nav-menu { display: flex; flex: 1; justify-content: flex-end; align-items: center; }
.nav-menu-items { position: absolute; left: 0; right: 0; display: flex; justify-content: center; align-items: center; }
.nav-button { position: relative; z-index: 2; }

.menu-item {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 16px 13px;
  border-radius: 100px;
  color: var(--white);
  font-size: 14px;
  line-height: 1.28;
  text-align: center;
  transition: color .35s;
}
.menu-item.on-indicator { color: var(--accent); }

.hamburger-menu {
  position: relative;
  display: none;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  padding: 10px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--accent);
}
.hamburger-icon { position: absolute; z-index: 1; width: 16px; height: 16px; transition: opacity .3s, transform .3s; }
.hamburger-icon--close { opacity: 0; transform: rotate(-90deg); }
.nav.is-open .hamburger-icon--open { opacity: 0; transform: rotate(90deg); }
.nav.is-open .hamburger-icon--close { opacity: 1; transform: rotate(0); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  flex-flow: column;
  padding-top: 188px;
  padding-bottom: 280px;
  background-color: #3a3a3a;
  overflow: hidden;
}
.hero.home-hero { height: 100vh; min-height: 680px; padding-top: 75px; padding-bottom: 75px; }
.hero-bg, .banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(16,32,48,.28) 0%, rgba(16,32,48,0) 34%, rgba(16,32,48,0) 60%, rgba(16,32,48,.55) 100%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
/* Hero: grosses Wortzeichen + zwei kleine Spalten mit Slash, vertikal mittig */
.hero-content {
  display: flex;
  flex: 1;
  flex-flow: row;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  padding-bottom: 8px;
  color: var(--white);
  text-align: left;
}
.hero-note {
  max-width: none;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 44px;
  line-height: 1.14;
  letter-spacing: -.4px;
  white-space: nowrap;
}
.hero-note--right { align-self: flex-end; font-size: 17px; font-family: var(--font-sans); line-height: 1.4; }
.hero-note--right { text-align: right; }

/* Hero-Variante: Text mittig im Bild */
.hero-content--center {
  justify-content: center;
  align-items: center;
  flex-flow: column;
  gap: 20px;
  padding-bottom: 0;
  text-align: center;
}
.hero-content--center .hero-note { font-size: 76px; line-height: 1.06; letter-spacing: -1px; }
.hero-content--center .hero-note--sub {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255,255,255,.82);
}

/* --------------------------------------------------------------------------
   Action blocks (under hero)
   -------------------------------------------------------------------------- */

.action-blocks-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.action-block {
  position: relative;
  display: block;
  height: 700px;
  border-radius: var(--radius-l);
  overflow: hidden;
  background-color: #d8d4d0;
  color: var(--white);
}
.action-block-content {
  position: absolute;
  z-index: 2;
  inset: 8px 8px auto;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  gap: 40px;
  padding: 20px;
  border: 0;
  border-radius: var(--radius-m);
  background-color: rgba(20, 32, 44, .3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3) brightness(.9);
  backdrop-filter: blur(24px) saturate(1.3) brightness(.9);
}
.action-block-name { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.action-block-icon-wrapper { position: relative; display: flex; justify-content: center; align-items: center; width: 16px; height: 16px; overflow: hidden; }
.action-block-icon { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.action-block-icon--absolute { position: absolute; top: 100%; left: -100%; }
.action-block:hover .action-block-icon { transform: translate(100%, -100%); }
.action-block-image { position: absolute; inset: 0; }
.absolute-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.action-block:hover .absolute-image { transform: scale(1.04); }
.action-block h4 { transition: opacity .3s; }
.action-block:hover h4 { opacity: .85; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.sections-list { display: flex; flex-flow: column; gap: 0; padding-top: 0; padding-bottom: 0; }
.section { display: block; }
.section { padding-top: 150px; padding-bottom: 150px; }

.section-content { display: flex; flex-flow: column; gap: 56px; }
.section-content.center-section-content { justify-content: flex-start; align-items: center; }
.section-heading-wrapper { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-heading { display: flex; flex-flow: column; justify-content: flex-start; align-items: flex-start; gap: 12px; width: 100%; max-width: 520px; }
.section-heading.center-section-heading { align-items: center; text-align: center; }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about-content { display: flex; flex-flow: column; justify-content: flex-start; align-items: center; gap: 40px; }
.about-text { display: flex; flex-flow: column; justify-content: flex-start; align-items: center; gap: 36px; width: 100%; }
.about-text-content { display: flex; flex-flow: column; justify-content: flex-start; align-items: center; gap: 24px; width: 100%; max-width: 920px; text-align: center; }

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.content-and-banner-wrapper { display: flex; flex-flow: column; gap: 8px; }
.srv-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 64px;
  align-items: start;
}
.srv-intro { position: sticky; top: 120px; display: flex; flex-flow: column; align-items: flex-start; gap: 20px; }
.srv-intro .chips { justify-content: flex-start; }
.intro-text {
  max-width: 460px;
  font-family: var(--font-suisse);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.28;
  letter-spacing: -.02em;
  color: var(--accent);
}
.srv { display: flex; flex-flow: column; width: 100%; }
.acc-head.srv-head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 24px;
  align-items: baseline;
  gap: 32px;
  width: 100%;
  padding: 30px 0;
  text-align: left;
  color: var(--accent);
  transition: opacity .3s;
}
.acc-head.srv-head:hover { opacity: .55; }
.srv-item.is-open .srv-head:hover { opacity: 1; }
.srv-index { color: var(--accent-60); font-size: 13px; }
.srv-name { font-family: var(--font-display); font-weight: 300; font-size: 34px; line-height: 1.2; letter-spacing: -.4px; }
.srv-body {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 640px;
  margin-left: 80px;
  padding-bottom: 34px;
}
.srv-text { color: var(--accent-80); line-height: 1.6; }
.srv-list { margin: 0; padding-left: 18px; color: var(--accent-80); line-height: 1.9; }
.srv-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); border-bottom: 1px solid var(--accent-60); padding-bottom: 2px; transition: opacity .3s; }
.srv-link:hover { opacity: .55; }
.srv-link-icon { width: 12px; height: 12px; }

/* --------------------------------------------------------------------------
   Praxis & Team
   -------------------------------------------------------------------------- */
.split-heading { display: flex; flex-flow: column; align-items: flex-start; gap: 20px; }
.split-heading .chips { justify-content: flex-start; }

/* Praxis: breite Bilder zum Rueberscrollen */
.praxis-row {
  display: flex;
  gap: 8px;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.praxis-row::-webkit-scrollbar { display: none; }
.praxis-card { flex: 0 0 min(720px, 82vw); margin: 0; display: flex; flex-flow: column; gap: 10px; scroll-snap-align: start; }
.praxis-card img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; border-radius: 0; }

/* Team: 1/3 Text links, 2/3 Raster rechts */
.team-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; align-items: start; }
.team-intro { position: sticky; top: 120px; display: flex; flex-flow: column; align-items: flex-start; gap: 20px; }
.team-intro .chips { justify-content: flex-start; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.team-tile { margin: 0; display: flex; flex-flow: column; gap: 10px; }
.team-photo { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; display: block; }
.team-ph {
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 3 / 4;
  width: 100%;
  background: linear-gradient(165deg, #dde8f2 0%, #c7d8e8 55%, #b6cadd 100%);
  color: rgba(20, 32, 44, .22);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 56px;
  user-select: none;
}
.team-tile figcaption { display: flex; flex-flow: column; gap: 2px; color: var(--accent-60); }
.team-tile figcaption .regular-m { color: var(--accent); }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.quotes-row {
  display: flex;
  gap: 8px;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.quotes-row::-webkit-scrollbar { display: none; }
.quotes-row { gap: 48px; }
.quote-card {
  flex: 0 0 380px;
  margin: 0;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  gap: 18px;
  padding: 6px 0 6px 24px;
  scroll-snap-align: start;
  border-left: 1px solid rgba(17, 17, 17, .18);
}
.quote-card blockquote { margin: 0; color: var(--accent-80); line-height: 1.6; }

/* --------------------------------------------------------------------------
   News
   -------------------------------------------------------------------------- */
.news-list { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 24px; row-gap: 48px; }
.news-block { display: flex; flex-flow: column; gap: 8px; color: var(--accent); }
.news-block-image {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  width: 100%;
  margin-bottom: 8px;
  border-radius: 0;
  overflow: hidden;
}
.news-block:hover .absolute-image { transform: scale(1.04); }
.absolute-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.news-date { color: var(--accent-60); }
.news-title { font-size: 17px; line-height: 1.4; letter-spacing: -.1px; max-width: 300px; transition: opacity .3s; }
.news-block:hover .news-title { opacity: .55; }

/* --------------------------------------------------------------------------
   Certifications
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.acc.offset-block { max-width: 66.667%; }
.acc { display: flex; flex-flow: column; width: 100%; max-width: 1000px; }
.acc--faq { max-width: 880px; }
.acc-item { border-top: 1px solid rgba(17, 17, 17, .13); }
.acc-item:last-child { border-bottom: 1px solid rgba(17, 17, 17, .13); }
.acc-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
  gap: 32px;
  width: 100%;
  padding: 28px 0;
  text-align: left;
  color: var(--accent);
  transition: opacity .3s;
}

.acc-head:hover { opacity: .55; }
.acc-date { color: var(--accent-60); }
.acc-title { font-size: 22px; line-height: 1.4; letter-spacing: -.15px; }
.acc-icon { display: flex; justify-content: flex-end; }
.acc-icon svg { width: 14px; height: 14px; transition: transform .45s var(--ease); }
.acc-item.is-open .acc-icon svg { transform: rotate(45deg); }
.acc-body { height: 0; overflow: hidden; transition: height .45s var(--ease); }
.acc-content { display: flex; flex-flow: column; gap: 14px; max-width: 700px; padding-bottom: 30px; }
.acc-text { color: var(--accent-80); line-height: 1.6; }

/* --------------------------------------------------------------------------
   Bild-Baender: Bild steht fest, Sections schieben sich darueber
   -------------------------------------------------------------------------- */
.img-band {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 360px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.img-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 32, 44, .34) 0%, rgba(20, 32, 44, .16) 45%, rgba(20, 32, 44, .42) 100%);
  pointer-events: none;
}
.img-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: .22;
  mix-blend-mode: overlay;
  pointer-events: none;
}
/* iOS/Touch: fixed attachment wird nicht unterstuetzt */
@media (hover: none) {
  .img-band { background-attachment: scroll; }
}

/* --------------------------------------------------------------------------
   Unterseiten
   -------------------------------------------------------------------------- */
.page-hero { padding: 190px 0 90px; }
.page-hero .chips { justify-content: flex-start; margin-bottom: 20px; }
.page-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 64px;
  line-height: 1.08;
  letter-spacing: -.5px;
  max-width: 800px;
}
.page-intro { margin-top: 24px; font-size: 24px; max-width: 520px; color: var(--accent-80); }
.page-content { padding-bottom: 150px; }

.detail-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 64px;
  align-items: start;
  padding: 56px 0;
  border-top: 1px solid rgba(17, 17, 17, .13);
}
.detail-block:last-of-type { border-bottom: 1px solid rgba(17, 17, 17, .13); }
.detail-side { display: flex; flex-flow: column; gap: 14px; position: sticky; top: 120px; }
.detail-name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -.3px;
}
.detail-body { display: flex; flex-flow: column; align-items: flex-start; gap: 20px; max-width: 640px; }
.detail-text { color: var(--accent-80); line-height: 1.65; }

.text-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 72px; }
.text-cols .detail-name { margin-bottom: 16px; }
.team-grid--wide { grid-template-columns: repeat(3, 1fr); }
.anfahrt { margin-top: 110px; }
.anfahrt-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; margin-top: 28px; align-items: start; }
.map-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 260px;
  background: linear-gradient(165deg, #dde8f2, #c3d4e4);
}
.legal-text { display: flex; flex-flow: column; gap: 18px; max-width: 680px; line-height: 1.65; color: var(--accent-80); }

/* Header-Bild unter dem Seitentitel */
.page-img { width: 100%; height: 52vh; min-height: 340px; position: relative; overflow: hidden; }
.page-img img { width: 100%; height: 100%; object-fit: cover; }
.page-img::after { content: ""; position: absolute; inset: 0; background: rgba(16, 32, 44, .12); pointer-events: none; }

/* Abwechselnde Halbseiten-Reihen (Bild bis zum Rand, Text mit Padding) */
.split-row { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.split-row-img { position: relative; min-height: 560px; overflow: hidden; }
.split-row-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-row-text {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: 96px clamp(40px, 7vw, 120px);
}
.split-row--flip .split-row-img { order: 2; }
.split-rows { display: flex; flex-flow: column; }

/* Artikel */
.article-body { display: flex; flex-flow: column; gap: 20px; max-width: 680px; font-size: 17px; line-height: 1.7; color: var(--accent-80); }
.article-body h2 { font-family: var(--font-display); font-weight: 300; font-size: 28px; line-height: 1.2; letter-spacing: -.2px; color: var(--accent); margin-top: 16px; }
.article-back { display: inline-flex; gap: 8px; margin-top: 40px; }

/* Karte */
.map-frame { width: 100%; height: 380px; border: 0; filter: grayscale(.2) saturate(.85); }

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */
.contact-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 80px; align-items: start; }
.contact-split--page { margin-top: 0; }
.contact-split--page .contact-list { margin-top: 0; }
.contact-info { display: flex; flex-flow: column; align-items: flex-start; gap: 20px; }
.contact-info .chips { justify-content: flex-start; }
.contact-list { display: flex; flex-flow: column; gap: 18px; margin-top: 16px; }
.contact-list-item { display: flex; flex-flow: column; gap: 3px; }
.contact-list-item a { transition: opacity .3s; }
.contact-list-item a:hover { opacity: .55; }

.contact-form { display: flex; flex-flow: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-flow: column; gap: 8px; }
.form-field { gap: 6px; }
.form-field > .regular-s { color: var(--accent-60); font-size: 13px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(17, 17, 17, .28);
  border-radius: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-size: 16px;
  transition: border-color .3s;
  -webkit-appearance: none;
  appearance: none;
}
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%23111111'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 14px;
  padding-right: 24px;
}
.form-field textarea { resize: vertical; min-height: 96px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 0;
  border-bottom-color: var(--accent);
}
.form-consent { display: flex; gap: 10px; align-items: flex-start; color: var(--accent-80); }
.form-consent input { margin-top: 3px; accent-color: #14202c; }
.form-consent a { text-decoration: underline; }
.form-submit { align-self: flex-start; padding: 14px 28px; }
.form-success { color: var(--accent); }

/* --------------------------------------------------------------------------
   Banner (CTA)
   -------------------------------------------------------------------------- */
.banner {
  position: relative;
  display: flex;
  flex-flow: column;
  justify-content: center;
  height: 100vh;
  min-height: 680px;
  padding-top: 64px;
  padding-bottom: 64px;
  background-color: #14202c;
  overflow: hidden;
}
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(16, 32, 44, .34) 0%, rgba(16, 32, 44, .3) 50%, rgba(16, 32, 44, .5) 100%);
  pointer-events: none;
}
.banner > .container { position: relative; z-index: 1; display: flex; flex: 1; }
.banner-block-wrapper { display: flex; flex: 1; flex-flow: column; justify-content: center; align-items: center; }
.banner-content {
  margin: 0 auto;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: 640px;
  color: var(--white);
  text-align: center;
}
.banner-content .button--white { background-color: var(--white); color: var(--accent); -webkit-backdrop-filter: none; backdrop-filter: none; }
.banner-content .button--white:hover { background-color: var(--white-80); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  padding-top: 120px;
  padding-bottom: 0;
  background-color: #14202c;
  color: var(--white);
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.2fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-brand { display: flex; flex-flow: column; gap: 20px; }
.footer-brand .logo-word { font-size: 26px; }
.footer-claim { color: var(--white-60); font-size: 13px; line-height: 1.6; }
.footer-col { display: flex; flex-flow: column; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.6; }
.footer-col-name { margin-bottom: 6px; color: var(--white-60); font-size: 11px; letter-spacing: .8px; text-transform: uppercase; }
.footer-col a { color: var(--white); transition: opacity .3s; }
.footer-col a:hover { opacity: .6; }
.footer-col p { color: var(--white); }
.footer-cta { margin-top: 10px; }
.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: var(--white-60);
  font-size: 12px;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--white-60); transition: color .3s; }
.footer-legal a:hover { color: var(--white); }
.footer-mark span { display: inline-block; }
.footer-mark {
  width: 100%;
  margin-top: 56px;
  font-family: var(--font-logo);
  font-weight: 400;
  font-size: 41vw; /* fuellt die Breite; JS justiert exakt */
  line-height: .78;
  letter-spacing: -.03em;
  text-align: center;
  white-space: nowrap;
  color: var(--white);
  user-select: none;
  -webkit-user-select: none;
}
.footer-base { border-top: 0; padding-top: 28px; padding-bottom: 28px; }

/* --------------------------------------------------------------------------
   Scroll-Animationen
   -------------------------------------------------------------------------- */
:root { --reveal-ease: cubic-bezier(.16, 1, .3, 1); }

[data-reveal] {
  opacity: 0;
  transform: translateY(56px);
  transition: opacity 1.1s var(--reveal-ease), transform 1.1s var(--reveal-ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Bilder: zusätzlich leichter Zoom */
img[data-reveal], .action-blocks-wrapper[data-reveal] {
  transform: translateY(56px) scale(1.03);
}
img[data-reveal].is-visible, .action-blocks-wrapper[data-reveal].is-visible { transform: none; }

/* Gestaffelte Kinder (data-stagger) */
[data-stagger] > [data-reveal]:nth-child(1) { --d: 0ms; }
[data-stagger] > [data-reveal]:nth-child(2) { --d: 90ms; }
[data-stagger] > [data-reveal]:nth-child(3) { --d: 180ms; }
[data-stagger] > [data-reveal]:nth-child(4) { --d: 270ms; }
[data-stagger] > [data-reveal]:nth-child(5) { --d: 360ms; }
[data-stagger] > [data-reveal]:nth-child(6) { --d: 450ms; }
[data-stagger] > [data-reveal]:nth-child(7) { --d: 540ms; }
[data-stagger] > [data-reveal]:nth-child(8) { --d: 630ms; }
[data-stagger] > [data-reveal]:nth-child(9) { --d: 720ms; }

/* Hero-Headline: Wörter steigen nacheinander auf */
[data-split] .word { display: inline-block; overflow: hidden; vertical-align: top; padding: .12em .04em .14em; margin: -.12em -.04em -.14em; }
[data-split] .word > span { display: inline-block; transform: translateY(115%) rotate(1.5deg); transform-origin: 0 100%; opacity: 0; transition: transform 1.15s var(--reveal-ease), opacity .8s var(--reveal-ease); transition-delay: var(--d, 0ms); }
[data-split].is-visible .word > span { transform: none; opacity: 1; }

/* Parallax-Hintergründe */
.hero-bg, .banner-bg { height: 120%; top: -10%; will-change: transform; }
.section-bg { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], img[data-reveal], .action-blocks-wrapper[data-reveal] { opacity: 1; transform: none; transition: none; }
  [data-split] .word > span { transform: none; opacity: 1; transition: none; }
  .hero-bg, .banner-bg, .section-bg { height: 100%; top: 0; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Tablet ≤ 991
   ========================================================================== */
@media screen and (max-width: 991px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; row-gap: 48px; padding-bottom: 80px; }
  .footer-brand { grid-column: 1 / -1; }
  h1 { font-size: 78px; letter-spacing: -1.2px; }
  h2 { font-size: 50px; letter-spacing: -.6px; }
  h3 { font-size: 34px; letter-spacing: -.3px; }
  h4 { font-size: 26px; letter-spacing: -.2px; }
  .regular-xl { font-size: 42px; letter-spacing: -.3px; }
  .regular-l { font-size: 24px; }
  .hero-content { gap: 32px; }

  .container { padding-left: 40px; padding-right: 40px; }


  .action-blocks-wrapper { grid-template-columns: 1fr; }
  .action-block { height: 600px; }
  .section-heading { max-width: 448px; }

  .news-list { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .srv-split, .team-split, .contact-split { grid-template-columns: 1fr; gap: 40px; }
  .detail-block { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .split-row { grid-template-columns: 1fr; }
  .split-row--flip .split-row-img { order: 0; }
  .split-row-img { min-height: 380px; }
  .split-row-text { padding: 48px 20px; }
  .anfahrt-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-img { height: 40vh; min-height: 260px; }
  .detail-side { position: static; }
  .text-cols { grid-template-columns: 1fr; gap: 40px; margin-top: 56px; }
  .team-grid--wide { grid-template-columns: 1fr 1fr; }
  .page-title { font-size: 44px; }
  .page-intro { font-size: 20px; }
  .page-hero { padding: 150px 0 60px; }
  .srv-intro, .team-intro { position: static; }
  .team-grid { gap: 16px; }
  .intro-text { font-size: 26px; }
}

/* ==========================================================================
   Mobile landscape ≤ 767
   ========================================================================== */
@media screen and (max-width: 767px) {
  .footer { padding-top: 80px; }
  .footer-mark span { display: inline-block; }
.footer-mark { margin-top: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer-base { flex-flow: column; align-items: flex-start; gap: 12px; }
  h1 { font-size: 48px; letter-spacing: -.6px; }
  h2 { font-size: 34px; letter-spacing: -.3px; }
  h3 { font-size: 28px; letter-spacing: -.2px; }
  .regular-xl { font-size: 30px; letter-spacing: -.2px; }

  .container { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 204px; }
  .hero.home-hero { min-height: 600px; padding-top: 72px; padding-bottom: 72px; }
  .hero-content { flex-flow: column; justify-content: flex-end; align-items: flex-start; gap: 16px; }
  .hero-content--center { justify-content: center; align-items: center; text-align: center; gap: 16px; }
  .hero-content--center .hero-note { font-size: 40px; letter-spacing: -.5px; }
  .hero-content--center .hero-note--sub { font-size: 12px; letter-spacing: 1.2px; white-space: normal; }
  .hero-note { font-size: 30px; white-space: normal; }
  .hero-note--right { font-size: 14px; }
  .hero-note--right { text-align: left; }

  .nav { padding-top: 20px; }
  .nav-menu {
    position: absolute;
    inset: 58px 0 auto;
    display: none;
    flex-flow: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 12px;
    padding: 20px;
    border: 0;
    border-radius: var(--radius-l);
    background-color: rgba(255, 255, 255, .7);
    -webkit-backdrop-filter: blur(26px) saturate(1.5);
    backdrop-filter: blur(26px) saturate(1.5);
    color: var(--accent);
  }
  .nav-menu .menu-item { color: var(--accent); }
  .nav.is-open .nav-menu { display: flex; animation: menuIn .35s var(--ease); }
  @keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  .nav-menu-items { position: static; flex-flow: column; }
  .nav-button .button { width: 100%; }
  .hamburger-menu { display: flex; }
  .nav-indicator { display: none; }

  .action-block { height: 480px; }
  .action-block-content { gap: 32px; padding: 16px; }
  .sections-list { gap: 176px; padding-top: 176px; padding-bottom: 176px; }


  .section-content { gap: 48px; }
  .section-heading-wrapper { flex-flow: column; justify-content: flex-start; align-items: flex-start; }
  .section-heading { max-width: 296px; }

  .news-list { row-gap: 32px; }
  .quote-card { flex-basis: 300px; }
  .form-row { grid-template-columns: 1fr; }
  .praxis-card { flex-basis: 86vw; }
  .srv-body { margin-left: 0; }
  .acc-head.srv-head { grid-template-columns: 36px minmax(0, 1fr) 20px; gap: 16px; padding: 24px 0; }
  .srv-name { font-size: 22px; }
  .acc-title { font-size: 18px; }
  .img-band { height: 40vh; min-height: 280px; }

  .banner { min-height: 600px; padding-top: 48px; padding-bottom: 48px; }
}

/* ==========================================================================
   Mobile portrait ≤ 479
   ========================================================================== */
@media screen and (max-width: 479px) {
  .buttons-wrapper { flex-flow: column; align-items: stretch; width: 100%; }
  .buttons-wrapper .button { width: 100%; }
  .button-wrapper { width: 100%; }
  .button-wrapper .button { width: 100%; }
  .section-heading-wrapper { align-items: stretch; }
  .section-heading-wrapper > .button { width: 100%; }
  .news-list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Team: Startseite (zwei Ärzte + Verweis) und aufklappbare Profile
   ========================================================================== */
.team-grid--lead { grid-template-columns: 1fr 1fr auto; align-items: start; }

/* Aufklappbare Profile (Team-Unterseite) */
.team-open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  cursor: pointer;
  background: none;
  border: 0;
  overflow: hidden;
}
.team-open .team-photo { transition: transform .7s var(--ease), filter .4s; }
.team-open:hover .team-photo { transform: scale(1.03); }
.team-plus {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--accent);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s, transform .35s var(--ease);
}
.team-tile:hover .team-plus, .team-tile.is-open .team-plus { opacity: 1; transform: none; }
.team-plus svg { width: 13px; height: 13px; transition: transform .45s var(--ease); }
.team-tile.is-open .team-plus svg { transform: rotate(45deg); }

.team-detail { height: 0; overflow: hidden; transition: height .5s var(--ease); }
.team-detail-inner { display: flex; flex-flow: column; gap: 16px; padding: 18px 0 4px; }
.team-bio { color: var(--accent-80); max-width: 44ch; }
.team-facts { display: flex; flex-flow: column; gap: 6px; }
.team-fact { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 6px; border-bottom: 1px solid rgba(17, 17, 17, .10); }

/* Andere Kacheln treten zurück, solange eine offen ist */
.team-grid.has-open .team-tile { transition: opacity .4s; }
.team-grid.has-open .team-tile:not(.is-open) { opacity: .38; }


@media screen and (max-width: 991px) {
  .team-grid--lead { grid-template-columns: 1fr 1fr; }
    }
@media screen and (max-width: 767px) {
  .team-grid--lead { grid-template-columns: 1fr; }
    .team-plus { opacity: 1; transform: none; }
}

/* ==========================================================================
   Textblöcke im Spaltenraster (Swiss): beginnen erst in Spalte 5
   ========================================================================== */
.col-block { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding: 8px 0 40px; }
.col-text {
  grid-column: 5 / 12;
  columns: 2;
  column-gap: 48px;
  font-family: var(--font-suisse);
  font-size: 15px;
  line-height: 1.62;
  color: var(--accent-80);
}
.col-text p { margin: 0 0 1.1em; break-inside: avoid; }
.col-text p:last-child { margin-bottom: 0; }

/* Verweis auf die jeweilige Unterseite */
.sec-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-family: var(--font-suisse);
  font-size: 14px;
  letter-spacing: .01em;
  color: var(--accent);
  transition: opacity .3s;
}
.sec-link:hover { opacity: .55; }
.sec-link-icon { width: 13px; height: 13px; transition: transform .4s var(--ease); }
.sec-link:hover .sec-link-icon { transform: translate(3px, -3px); }

/* Team auf der Startseite: zwei gleich große Bilder, kein Zusatzblock */
.team-grid--lead { grid-template-columns: 1fr 1fr; }

/* Praxis-Reihe fährt beim Scrollen selbst – kein manuelles Scrollen nötig */
.praxis-row { overflow: hidden; }
.praxis-track { display: flex; gap: 16px; will-change: transform; }

@media screen and (max-width: 991px) {
  .col-text { grid-column: 3 / 13; columns: 1; }
}
@media screen and (max-width: 767px) {
  .col-block { padding-bottom: 28px; }
  .col-text { grid-column: 1 / -1; font-size: 14px; }
}

/* Team-Unterseite: geöffnetes Profil legt den Text neben das Bild */
@media screen and (min-width: 992px) {
  .team-grid--wide .team-tile.is-open {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    align-items: start;
    column-gap: 24px;
    row-gap: 10px;
  }
  .team-grid--wide .team-tile.is-open .team-open { grid-column: 1; grid-row: 1; }
  .team-grid--wide .team-tile.is-open figcaption { grid-column: 1; grid-row: 2; }
  .team-grid--wide .team-tile.is-open .team-detail { grid-column: 2; grid-row: 1 / span 2; height: auto !important; }
  .team-grid--wide .team-tile.is-open .team-detail-inner { padding-top: 0; }
}

/* ==========================================================================
   Ein Raster für alles: textlastige Blöcke sitzen im rechten Zweidrittel,
   mittige Serif-Momente (Über uns, FAQ) setzen dazwischen Zäsuren.
   ========================================================================== */
.offset-block {
  width: 100%;
  margin-left: 33.333%;
  max-width: 66.667%;
}
/* Praxis: Label über der Einleitung, Verweis rechtsbündig auf gleicher Grundlinie */
.split-heading.offset-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 40px;
  row-gap: 14px;
}
.split-heading.offset-block .chips { grid-column: 1; grid-row: 1; }
.split-heading.offset-block .intro-text { grid-column: 1; grid-row: 2; max-width: 440px; }
.split-heading.offset-block .sec-link { grid-column: 2; grid-row: 2; align-self: end; justify-self: end; margin-bottom: 4px; }

/* Aktuelles: Label und Verweis in derselben Spalte wie der Fließtext */
.section-heading-wrapper.offset-block { margin-bottom: -24px; }

/* Leistungen: die Behandlungsliste rückt auf dieselbe Kante ein */
.srv-split { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.srv-intro { padding-right: 24px; }

/* Qualifikationen: linksbündig statt mittig, Überschrift im Raster */
.section-heading.offset-block { max-width: 66.667%; }
.section-heading.offset-block h2 { max-width: 620px; }

/* Team: Textabschnitt vor den Personen */
.team-copy { padding-bottom: 24px; }
.team-split { row-gap: 0; }
.team-split > .team-intro { grid-column: 1; grid-row: 1 / span 2; }
.team-split > .team-copy,
.team-split > .team-grid { grid-column: 2; }
.team-split .col-block { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.team-split .col-text { grid-column: 1 / 9; }

@media screen and (max-width: 991px) {
  .offset-block { margin-left: 0; max-width: 100%; }
  .section-heading.offset-block { max-width: 100%; }
  .split-heading.offset-block { flex-flow: column; align-items: flex-start; gap: 20px; }
  .section-heading-wrapper.offset-block { margin-bottom: 0; }
  .team-split .col-block { grid-template-columns: 1fr; }
  .team-split .col-text { grid-column: 1 / -1; }
  .team-split { row-gap: 40px; }
  .team-split > .team-intro,
  .team-split > .team-copy,
  .team-split > .team-grid { grid-column: 1; grid-row: auto; }
}
