/*
 * Zahnarztpraxis Aida – Startseite (Layoutentwurf)
 * Designvorlage: Metis (ivang-design.com/metis) – nachgebildet mit eigenem Code
 * Rein HTML5 / CSS3 / Vanilla JS
 */


/* Fonts
================================================== */

@font-face {
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/league-spartan-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/league-spartan-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

@font-face {
  font-family: 'Courgette';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/courgette-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/open-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/open-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/open-sans-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/open-sans-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* Design-Tokens
================================================== */

:root {
  --font-display: 'League Spartan', 'Arial Black', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --font-script: 'Courgette', cursive;

  --color-text: #777777;
  --color-heading: #000231;
  --color-dark: #000231;
  --color-dark-hover: #111111;
  --color-grey-1: #f1f1f1;
  --color-grey-2: #e0e2e3;
  --color-grey-text: #666666;
  --color-content: #606060;
  --color-accent: #a98c5f;
  --color-accent-dark: #8f7449;
  --header-bg: rgba(247, 247, 247, .8);
  --header-bg-shrink: rgba(247, 247, 247, .95);

  --container-max: 1240px;
  --section-padding: 120px;
  --header-height: 96px;
  --header-height-shrink: 62px;
  /* Dynamischer Anker-Offset: wird von main.js auf die reale
     Headerhöhe im Zielzustand (geschrumpft) + 20px gesetzt */
  --nav-h: calc(var(--header-height-shrink) + 20px);

  --transition: all 300ms linear;
}


/* Reset & Basics
================================================== */

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

html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
a,
img,
ul,
li,
figure,
figcaption,
footer,
header,
nav,
section,
button {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

article,
aside,
footer,
header,
nav,
section,
main {
  display: block;
}

html {
  overflow-x: hidden;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  background: #fff;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 26px;
  color: var(--color-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

ul,
ol {
  list-style: none;
}

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

button {
  background: none;
  cursor: pointer;
}

::selection {
  background: rgba(169, 140, 95, .25);
}

::-moz-selection {
  background: rgba(169, 140, 95, .25);
}


/* Typography
================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-heading);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 1px;
}

h1 {
  font-size: 34px;
  line-height: 40px;
  letter-spacing: 0;
}

h2 {
  font-size: 34px;
  line-height: 40px;
}

h3 {
  font-size: 30px;
  line-height: 36px;
}

h4 {
  font-size: 26px;
  line-height: 32px;
}

h5 {
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 3px;
}

h6 {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 3px;
}

h1 .dot,
h2 .dot,
h3 .dot,
h4 .dot,
h5 .dot,
h6 .dot {
  color: var(--color-accent);
}

a,
a:visited {
  text-decoration: none;
  color: inherit;
}

a:hover,
a:focus {
  color: var(--color-accent);
}

a:focus {
  outline: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

p {
  margin-bottom: 1em;
}

/* Layout helpers
================================================== */

.container {
  position: relative;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 30px;
  padding-right: 30px;
}

.main-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.section-in {
  position: relative;
  width: 100%;
}

.white-back {
  background-color: #fff;
}

.grey-back {
  background: var(--color-grey-1);
}

.dark-back {
  background: var(--color-grey-2);
}

.padding-top-bottom {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.padding-bottom {
  padding-bottom: var(--section-padding);
}

.padding-bottom-3 {
  padding-bottom: 3rem;
}

.shadow-sec {
  box-shadow: 0 0 40px rgba(0, 0, 0, .12);
}

section {
  scroll-margin-top: var(--nav-h);
}

/* Weicher Zeilenumbruch: nur auf Tablet/Desktop sichtbar */
.br-lg {
  display: none;
}

@media (min-width: 768px) {
  .br-lg {
    display: inline;
  }
}

footer {
  scroll-margin-top: 0;
}


/* Header / Classic Navigation (Metis: shortcodes.html)
================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 500;
  background: var(--header-bg);
  transition: var(--transition);
}

.site-header.shrink {
  background: var(--header-bg-shrink);
  box-shadow: 0 1px 20px rgba(0, 0, 0, .06);
}

.header-inner {
  position: relative;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  transition: var(--transition);
}

.site-header.shrink .header-inner {
  min-height: var(--header-height-shrink);
}


/* Logo (Bilddatei, Seitenverhältnis bleibt erhalten) */

.logo {
  display: block;
  line-height: 0;
  z-index: 10000;
}

.logo img {
  display: block;
  width: auto;
  height: 56px;
  transition: var(--transition);
}

.site-header.shrink .logo img {
  height: 40px;
}


/* Hauptnavigation */

.slimmenu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transition: var(--transition);
}

.slimmenu li {
  position: relative;
  display: flex;
  align-items: center;
}

/* Dezenter Punkt als Trenner (Metis: line.png) */
.slimmenu li:not(.nav-cta)+li:not(.nav-cta)::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-dark);
  margin: 0 6px;
  opacity: .8;
}

.slimmenu li a {
  display: block;
  color: #111111;
  padding: 10px 0;
  margin: 0 12px;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  border-bottom: 1px solid rgba(0, 0, 0, 0);
  transition: var(--transition);
}

.slimmenu li a:hover,
.slimmenu li a.active-menu {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/* Sprachumschalter in der Navigation */

.slimmenu .nav-lang a {
  border: 1px solid rgba(0, 0, 0, .35);
  padding: 5px 10px;
}

.slimmenu .nav-lang a:hover {
  border-color: var(--color-accent);
}


/* Termin-Button in der Navigation */

.nav-cta {
  margin-left: 18px;
}

.btn-appointment {
  display: inline-block;
  background: var(--color-dark);
  color: #fff !important;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 24px !important;
  margin: 0 !important;
  border: 1px solid var(--color-dark);
  line-height: 16px;
  transition: var(--transition);
}

.btn-appointment:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

/* Großer Buchungs-Button (termine.html) */
.booking-cta {
  display: inline-block;
  margin-top: 34px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff !important;
  background: var(--color-accent);
  padding: 20px 48px;
  transition: var(--transition);
}

.booking-cta:hover {
  background: var(--color-dark);
}


/* Mobile Navigation Toggle */

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  z-index: 10001;
  transition: var(--transition);
}

.nav-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-dark);
  margin: 5px auto;
  transition: var(--transition);
}

.nav-toggle.open .icon-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open .icon-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open .icon-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* Hero (Metis: index2.html – cd-section > cd-block + Video-Hintergrund)
   Der cd-block ist auf dem Desktop fixiert; der Seiteninhalt scrollt
   darüber, während der Hero skaliert und ausgeblendet wird (zoom.js).
================================================== */

.cd-main-content {
  position: relative;
  z-index: 1;
}

.cd-block {
  transform: translateZ(0);
  backface-visibility: hidden;
  transform-origin: center center;
  will-change: transform, opacity;
}

.main-wrapper {
  position: relative;
  z-index: 2;
}

@media only screen and (min-width: 1170px) and (prefers-reduced-motion: no-preference) {
  .cd-section {
    height: 100vh;
  }

  .cd-block {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    height: 100vh;
    box-shadow: 0 0 60px rgba(0, 0, 0, .3);
  }
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--color-dark);
}

.hero-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-top {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  margin: 0 auto;
  z-index: 100;
}

.hero-text {
  position: relative;
  width: 100%;
}

.hero-text.back-white {
  max-width: 380px;
  padding: 36px 34px;
  display: block;
  background: rgba(255, 255, 255, .92);
}

.hero-text h1 {
  text-align: left;
  font-size: 30px;
  line-height: 36px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-heading);
}

.hero-subtext-2 {
  position: relative;
  width: 100%;
  padding-top: 14px;
  color: var(--color-text);
  text-align: left;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  line-height: 22px;
}

.hero-cta {
  display: inline-block;
  margin-top: 22px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-dark);
  border-bottom: 1px solid var(--color-dark);
  padding-bottom: 4px;
  transition: var(--transition);
}

.hero-cta:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.cta-arrow {
  display: inline-block;
  width: 16px;
  height: 8px;
  margin-left: 8px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 8'%3E%3Cpath d='M0 4h14M11 1l3 3-3 3' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 8'%3E%3Cpath d='M0 4h14M11 1l3 3-3 3' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat center / contain;
  vertical-align: middle;
}

/* Runder Scroll-down-Button (Metis: a.scroll-down) */

.scroll-down {
  display: block;
  height: 40px;
  width: 40px;
  margin-top: 30px;
  border-radius: 50%;
  background: var(--color-dark);
  line-height: 40px;
  text-align: center;
  transition: var(--transition);
  animation: scroll-hint 2.4s ease-in-out infinite;
}

.scroll-down svg {
  vertical-align: middle;
  margin-top: -2px;
}

.scroll-down:hover {
  background: var(--color-accent);
}

@keyframes scroll-hint {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}


/* Section Header (Metis: section-header-text)
================================================== */

.section-header-text {
  position: relative;
  width: 100%;
  margin-bottom: 50px;
}

.section-header-text h5 {
  padding-bottom: 10px;
  text-align: center;
  color: var(--color-heading);
}

.section-header-text p {
  font-weight: 300;
  font-size: 16px;
  line-height: 22px;
  color: #767676;
  letter-spacing: 1px;
  text-align: center;
  padding-bottom: 10px;
}

.section-header-text .line-header {
  position: relative;
  width: 30px;
  height: 2px;
  display: block;
  margin: 0 auto;
  margin-top: 10px;
  background: var(--color-accent);
}


/* Großer Abschnittskopf (Metis: section-big-header-text) */

.section-big-header-text {
  position: relative;
  width: 100%;
}

.section-big-header-text .kicker {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  text-align: left;
  padding-bottom: 14px;
}

.section-big-header-text h3 {
  padding-bottom: 24px;
  text-align: left;
  color: var(--color-heading);
}

.section-big-header-text .line-big-header {
  position: relative;
  width: 30px;
  height: 2px;
  display: block;
  background: var(--color-accent);
}

.section-big-header-text>p:last-child,
.section-big-header-text .lead {
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: #767676;
  letter-spacing: 1px;
  text-align: left;
  padding-top: 40px;
}

.text-bottom-margin {
  padding-bottom: 15px;
}


/* Links „Mehr erfahren“
================================================== */

.link-more {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-dark);
  border-bottom: 1px solid rgba(33, 33, 33, .35);
  padding-bottom: 3px;
  transition: var(--transition);
}

.link-more:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.link-more-large {
  font-size: 11px;
  margin-top: 30px;
}


/* Leistungen (Metis: services-list)
================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 50px;
}

.services-list {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.services-list .icons {
  width: 100%;
  text-align: center;
  color: var(--color-dark);
  padding-bottom: 30px;
  transition: var(--transition);
}

.services-list .icons img {
  display: inline-block;
  transition: var(--transition);
}

.services-list:hover .icons {
  color: var(--color-accent);
  transform: translateY(-4px);
}

.services-list h6 {
  text-align: start;
  padding-bottom: 20px;
  text-align: center;
}

.services-list p {
  text-align: center;
}

.services-list .link-more {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}


/* Über die Praxis
================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-text .about-copy {
  padding-top: 30px;
}

.about-copy p {
  font-size: 15px;
  line-height: 22px;
  color: var(--color-text);
}

/* Bild füllt die Spaltenhöhe und läuft bündig bis an die
   untere Sektionskante (bleed ins untere Padding) */
.about-image {
  align-self: stretch;
  margin-bottom: calc(-1 * var(--section-padding));
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* Bildband (ehemals Patientenbewertungen mit Zitat-Slider)
================================================== */

.testimonials {
  background: #fff;
  overflow: hidden;
}

.parallax-about {
  height: 500px;
  background: url('../images/practice/hamburg.jpg') center center / cover no-repeat fixed;
  opacity: .18;
}


/* Team-Galerie (Metis: index5.html – portfolio-box-1)
================================================== */

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

.portfolio-box-1 {
  position: relative;
  display: block;
  overflow: hidden;
  /*aspect-ratio: 3 / 4;*/
  background: var(--color-grey-1);
}

.portfolio-box-1 .mask-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  z-index: 2;
  transition: var(--transition);
}

.portfolio-box-1:hover .mask-1,
.portfolio-box-1:focus-within .mask-1 {
  background: rgba(0, 2, 49, .85);
}

.portfolio-box-1 h6 {
  position: absolute;
  top: 40px;
  left: 100px;
  right: 24px;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: left;
  z-index: 4;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-box-1:hover h6,
.portfolio-box-1:focus-within h6 {
  left: 36px;
  opacity: 1;
}

.portfolio-box-1 p {
  position: absolute;
  top: 72px;
  left: 100px;
  right: 24px;
  color: #c9c7d6;
  z-index: 4;
  opacity: 0;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  line-height: 17px;
  text-align: left;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: var(--transition);
}

.portfolio-box-1:hover p,
.portfolio-box-1:focus-within p {
  left: 36px;
  opacity: 1;
  transition-delay: .35s;
}

.portfolio-box-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.portfolio-box-1:hover img,
.portfolio-box-1:focus-within img {
  transform: scale(1.05);
}

/* Touchgeräte ohne Hover: Informationen dauerhaft sichtbar */
@media (hover: none) {
  .portfolio-box-1 .mask-1 {
    background: linear-gradient(to bottom, rgba(0, 2, 49, 0) 40%, rgba(0, 2, 49, .82) 100%);
    border: none;
  }

  .portfolio-box-1 h6 {
    top: auto;
    bottom: 74px;
    left: 24px;
    opacity: 1;
  }

  .portfolio-box-1 p {
    top: auto;
    bottom: 45px;
    left: 24px;
    opacity: 1;
  }
}

/* Weißer Link-Button unten rechts auf den Team-Karten */
.portfolio-box-1 .card-more {
  position: absolute;
  right: 24px;
  bottom: 20px;
  z-index: 5;
  margin-top: 0;
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, .45);
  opacity: 0;
  transition: var(--transition);
}

.portfolio-box-1:hover .card-more,
.portfolio-box-1:focus-within .card-more {
  opacity: 1;
}

.portfolio-box-1 .card-more:hover,
.portfolio-box-1 .card-more:focus-visible {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

@media (hover: none) {
  .portfolio-box-1 .card-more {
    opacity: 1;
  }
}

.section-more {
  text-align: center;
  margin-top: 50px;
}


/* FAQ – Accordion (Metis: smk_accordion)
================================================== */

.accordion {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.accordion_in {
  position: relative;
  margin-bottom: 2px;
  overflow: hidden;
}

.acc_head {
  position: relative;
  display: block;
  width: 100%;
  padding: 15px 55px 15px 20px;
  text-align: left;
  background: var(--color-grey-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  line-height: 20px;
  text-transform: uppercase;
  color: var(--color-grey-text);
  letter-spacing: 2px;
  cursor: pointer;
  transition: var(--transition);
}

.acc_head:hover {
  background: var(--color-dark);
  color: #fff;
}

.accordion_in.acc_active>.acc_head {
  background: var(--color-dark);
  color: #fff;
}

/* Plus-Icon aus zwei dünnen Linien */
.acc_icon_expand {
  display: block;
  width: 14px;
  height: 14px;
  position: absolute;
  right: 22px;
  top: 50%;
  margin-top: -7px;
  transition: var(--transition);
}

.acc_icon_expand::before,
.acc_icon_expand::after {
  content: '';
  position: absolute;
  background: var(--color-grey-text);
  transition: var(--transition);
}

.acc_icon_expand::before {
  left: 0;
  top: 6px;
  width: 14px;
  height: 2px;
}

.acc_icon_expand::after {
  left: 6px;
  top: 0;
  width: 2px;
  height: 14px;
}

.acc_head:hover .acc_icon_expand::before,
.acc_head:hover .acc_icon_expand::after,
.accordion_in.acc_active>.acc_head .acc_icon_expand::before,
.accordion_in.acc_active>.acc_head .acc_icon_expand::after {
  background: #fff;
}

.accordion_in.acc_active>.acc_head .acc_icon_expand::after {
  transform: rotate(90deg);
  opacity: 0;
}

.acc_content {
  background: var(--color-grey-2);
}

.acc_inner {
  padding: 30px;
  color: var(--color-content);
}

.acc_inner p {
  font-size: 14px;
  line-height: 21px;
}

/* Eingeklappte Zustände nur mit JS – ohne JS bleiben alle Antworten sichtbar */
.js .acc_content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 380ms ease, opacity 280ms ease;
}

.js .accordion_in.acc_active>.acc_content {
  opacity: 1;
}


/* Footer (Metis: footer / footer-line / footer-copy-text)
================================================== */

.footer {
  padding-top: 100px;
  padding-bottom: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 70px;
}

.footer-heading {
  text-align: left;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--color-dark);
  padding-bottom: 18px;
}

.footer-col p {
  font-size: 12px;
  line-height: 24px;
  letter-spacing: 1px;
  color: var(--color-content);
}

.footer-col .link-more {
  margin-top: 14px;
}

.footer-line-wrap {
  display: block;
}

.footer-line {
  position: relative;
  margin: 0 auto;
  display: block;
  width: 100%;
  max-width: 300px;
  height: 1px;
  background: rgba(0, 0, 0, .15);
}

.footer-bottom {
  padding-top: 60px;
  text-align: center;
}

.footer-img {
  margin-bottom: 26px;
}

.footer-img img {
  display: block;
  width: auto;
  height: 84px;
  margin: 0 auto;
}

.footer-legal {
  margin-bottom: 26px;
}

.footer-legal li {
  display: inline-block;
  margin: 0 14px;
}

.footer-legal a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-dark);
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--color-accent);
}

.footer-copy-text {
  position: relative;
  width: 100%;
}

.footer-copy-text p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  line-height: 24px;
  text-align: center;
  color: var(--color-content);
}


/* Scroll-Reveal Animationen (dezent, Metis on-scroll effects)
   Ausgeblendet nur bei aktivem JS (.js auf <html>) – ohne JS
   bleiben alle Inhalte sichtbar.
================================================== */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 850ms cubic-bezier(.22, 1, .36, 1),
    transform 850ms cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}

.js [data-reveal="left"] {
  transform: translateX(-56px);
}

.js [data-reveal="right"] {
  transform: translateX(56px);
}

.js [data-reveal="fade"] {
  transform: none;
}

.js [data-reveal].in-view {
  opacity: 1;
  transform: translate(0, 0);
}

/* Auf kleinen Screens kürzere Wege – wirkt sonst hektisch */
@media (max-width: 767px) {
  .js [data-reveal] {
    transform: translateY(28px);
  }

  .js [data-reveal="left"] {
    transform: translateX(-28px);
  }

  .js [data-reveal="right"] {
    transform: translateX(28px);
  }

  .js [data-reveal="fade"] {
    transform: none;
  }

  .js [data-reveal].in-view {
    transform: translate(0, 0);
  }
}

/* Hero-Einblendung beim Laden */
.hero-text.back-white {
  opacity: 0;
  transform: translateY(20px);
  animation: hero-in 900ms ease 250ms forwards;
}

@keyframes hero-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Responsive
================================================== */

@media only screen and (max-width: 1024px) {

  :root {
    --section-padding: 90px;
  }

  .services-grid {
    gap: 50px 30px;
  }

  .about-grid {
    gap: 50px;
  }

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

/* Parallax auf Tablet/Mobile deaktivieren (fixed attachment bug) */
@media only screen and (max-width: 1400px) {
  .parallax-about {
    background-attachment: scroll;
    background-position: top center;
  }
}

@media only screen and (max-width: 900px) {

  :root {
    --header-height: 72px;
  }

  .header-inner {
    min-height: var(--header-height);
  }

  .site-header.shrink .header-inner {
    min-height: var(--header-height-shrink);
  }

  .logo img {
    height: 44px;
  }

  .site-header.shrink .logo img {
    height: 36px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--header-bg-shrink);
    box-shadow: 0 20px 30px rgba(0, 0, 0, .08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 400ms ease;
  }

  .primary-nav.open {
    max-height: 480px;
  }

  .slimmenu {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 30px 30px;
  }

  .slimmenu li {
    display: block;
  }

  .slimmenu li:not(.nav-cta)+li:not(.nav-cta)::before {
    display: none;
  }

  .slimmenu li a {
    padding: 13px 0;
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    font-size: 12px;
  }

  .slimmenu li a:hover,
  .slimmenu li a.active-menu {
    border-bottom-color: rgba(0, 0, 0, .06);
  }

  .slimmenu .nav-lang a {
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    padding: 13px 0;
  }

  .nav-cta {
    margin: 18px 0 0;
  }

  .btn-appointment {
    display: block;
    text-align: center;
    padding: 15px 24px !important;
  }
}

@media only screen and (max-width: 767px) {

  :root {
    --section-padding: 70px;
  }

  body {
    font-size: 13px;
  }

  .hero {
    min-height: 520px;
    height: 88vh;
  }

  .hero-top {
    bottom: 30px;
  }

  .hero-text.back-white {
    max-width: 100%;
    padding: 28px 24px;
  }

  .hero-text h1 {
    font-size: 24px;
    line-height: 30px;
    letter-spacing: 0;
  }

  .scroll-down {
    margin-top: 22px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    order: -1;
    align-self: auto;
    margin-bottom: 0;
  }

  .about-image img {
    height: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 50px;
  }

  .acc_head {
    font-size: 12px;
    padding: 14px 50px 14px 16px;
  }

  .acc_content {
    padding: 22px;
  }
}

@media only screen and (max-width: 480px) {

  .team-grid {
    grid-template-columns: 1fr;
  }

  h5 {
    font-size: 16px;
    letter-spacing: 2px;
  }

  .section-big-header-text h3 {
    font-size: 26px;
    line-height: 32px;
  }
}


/* Reduced Motion
================================================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .portfolio-box-1 .mask-1,
  .portfolio-box-1 h6,
  .portfolio-box-1 p,
  .portfolio-box-1 img {
    transition: none;
  }

  .hero-text.back-white {
    opacity: 1;
    transform: none;
    animation: none;
  }
}


/* ======================================================
   Unterseiten – gemeinsame Komponenten
   (Subhero, Bild-Text, Leistungsraster, Galerie,
    Profile, Kontaktformular, Rechtstexte)
====================================================== */


/* Unterseiten-Hero (kompakt)
-------------------------------------------------- */

.subhero {
  position: relative;
  width: 100%;
  /*background: #fff;*/
  padding-top: calc(var(--header-height) + 90px);
  padding-bottom: 70px;
}

.subhero.bg {
  position: relative;
  width: 100%;
  /*background: #fff;*/
  padding-top: calc(var(--header-height) + 150px);
  padding-bottom: 100px;
}

.subhero.bg>.container,
.subhero.bg>.container h1,
.subhero.bg>.container .kicker {
  text-align: left
}

/* Unterseiten-Hero mit Hintergrundbild (Bild per Inline-Style) */
.subhero--media {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.subhero--media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .5);
}

.subhero--media .container {
  position: relative;
  z-index: 1;
}

.subhero .breadcrumb {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text);
  text-align: center;
  padding-bottom: 26px;
}

.subhero .breadcrumb a {
  color: var(--color-accent);
}

.subhero .breadcrumb a:hover {
  color: var(--color-dark);
}

.subhero .breadcrumb .sep {
  margin: 0 8px;
  color: rgba(0, 0, 0, .25);
}

.subhero .kicker {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  text-align: center;
  padding-bottom: 14px;
}

.subhero h1 {
  font-size: 38px;
  line-height: 46px;
  text-align: center;
  text-transform: none;
  padding-bottom: 20px;
}

.subhero .subline {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  font-weight: 300;
  line-height: 28px;
  letter-spacing: 1px;
  text-align: center;
  color: #444;
}

.subhero .line-big-header {
  position: relative;
  width: 30px;
  height: 2px;
  display: block;
  margin: 34px auto 0;
  background: var(--color-accent);
}


/* Fließtext-Bereiche (Original-Texte, Rechtstexte)
-------------------------------------------------- */

.prose-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  align-items: end;
}

.prose {
  max-width: 820px;
  /*margin: 0 auto;*/
}

.prose-img {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-left: 30px;
  margin-bottom: 30px;
}

.prose-img img {
  max-width: 320px;
  height: auto;
}

img.rounded {
  border-radius: 999px;
}

.prose-img img.rounded {
  max-width: 240px;
}

.prose p {
  margin-bottom: 18px;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose h4 {
  text-align: left;
  padding: 34px 0 16px;
}

.prose h4:first-child {
  padding-top: 0;
}

.prose strong {
  color: var(--color-heading);
}

.prose ul {
  margin: 0 0 18px 20px;
}

.prose ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.prose a {
  color: var(--color-accent);
  border-bottom: 1px solid rgba(169, 140, 95, .4);
}

.prose a:hover {
  color: var(--color-dark);
  border-bottom-color: var(--color-dark);
}

.editor-note {
  max-width: 820px;
  margin: 0 auto 40px;
  padding: 16px 22px;
  border-left: 2px solid var(--color-accent);
  background: var(--color-grey-1);
  font-size: 12px;
  line-height: 22px;
  letter-spacing: .5px;
  color: #777;
}


/* Bild-Text-Bereiche (alternierend)
-------------------------------------------------- */

.media-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.media-text--rev .media-text-img {
  order: 2;
}

.media-text-img img {
  width: 100%;
  height: auto;
  display: block;
}

.media-text-img--tall img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.media-text-copy .section-big-header-text h3 {
  padding-bottom: 24px;
}

.media-text-copy .copy {
  padding-top: 30px;
}

.media-text-copy .copy p {
  margin-bottom: 15px;
}

.media-text-copy .copy p:last-child {
  margin-bottom: 0;
}


/* Drei Handlungs-Maximen (Praxis)
-------------------------------------------------- */

.maxime-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-top: 60px;
}

.maxime {
  position: relative;
  padding-top: 30px;
  border-top: 2px solid var(--color-accent);
}

.maxime .maxime-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--color-accent);
  padding-bottom: 12px;
}

.maxime h6 {
  text-align: left;
  padding-bottom: 12px;
  letter-spacing: 2px;
}

.maxime p {
  font-size: 13px;
}


/* Mitgliedschaften
-------------------------------------------------- */

.membership-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 40px;
  padding-top: 10px;
}

.membership-list span {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-heading);
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 2, 49, .15);
}


/* Leistungsübersicht – 12 Kacheln
-------------------------------------------------- */

.service-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 36px;
}

.service-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 26px 26px;
  background: #fff;
  border-top: 2px solid transparent;
  box-shadow: 0 1px 0 rgba(0, 2, 49, .08);
  transition: var(--transition);
}

.service-tile:hover {
  border-top-color: var(--color-accent);
  box-shadow: 0 12px 30px rgba(0, 2, 49, .08);
  transform: translateY(-3px);
}

.service-tile--focus {
  border-top-color: var(--color-accent);
}

.service-tile .icons {
  color: var(--color-dark);
  padding-bottom: 18px;
  transition: var(--transition);
}

.service-tile .icons img {
  width: 40px;
  height: 40px;
  display: block;
}

.service-tile:hover .icons {
  color: var(--color-accent);
}

.service-tile h6 {
  text-align: left;
  letter-spacing: 1.5px;
  padding-bottom: 12px;
  min-height: 40px;
}

.service-tile p {
  font-size: 14px;
  line-height: 22px;
  flex: 1;
}

.service-tile .link-more {
  margin-top: 14px;
  font-size: 9px;
}

/* CTA-Kachel (dunkel, mit Button) */
.service-tile--cta {
  background: var(--color-dark);
  color: #fff;
}

.service-tile--cta .icons {
  color: var(--color-accent);
}

.service-tile--cta h6 {
  color: #fff;
}

.service-tile--cta p {
  color: rgba(255, 255, 255, .7);
}


/* Ausführliche Leistungsabschnitte
-------------------------------------------------- */

.leistung {
  border-top: 1px solid rgba(0, 2, 49, .07);
}

.leistung:first-of-type {
  border-top: none;
}

.leistung .section-big-header-text h3 {
  padding-bottom: 24px;
}

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.mini-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
}

.gallery-grid img {
  width: 100%;
  /*aspect-ratio: 3 / 4;*/
  object-fit: cover;
  display: block;
  transition: transform 700ms cubic-bezier(.22, 1, .36, 1);
}

.gallery-grid figure:hover img {
  transform: scale(1.04);
}


/* Schmerzbehandlung – Kasten im media-text-Layout
-------------------------------------------------- */

.pain-box {
  scroll-margin-top: var(--nav-h);
  background: var(--color-dark);
  padding: 44px 40px;
}

.pain-box .kicker {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  padding-bottom: 14px;
  margin: 0;
}

.pain-box h4 {
  color: #fff;
  text-align: left;
  padding-bottom: 16px;
}

.pain-box p {
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  line-height: 24px;
  margin: 0 0 26px;
}

.pain-box .phone-btn,
.service-tile--cta .tile-btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-dark);
  background: var(--color-accent);
  padding: 16px 34px;
  transition: var(--transition);
  white-space: nowrap;
}

.pain-box .phone-btn:hover,
.service-tile--cta .tile-btn:hover {
  background: #fff;
}


/* Profile (Menschen)
-------------------------------------------------- */

.profile {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 70px;
  align-items: start;
}

.profile--rev {
  grid-template-columns: 7fr 5fr;
}

.profile--rev .profile-img {
  order: 2;
}

.profile-img img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.profile-copy .kicker {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  text-align: left;
  padding-bottom: 14px;
}

.profile-copy h3 {
  text-align: left;
  padding-bottom: 8px;
}

.profile-copy .profile-role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-heading);
  padding-bottom: 26px;
}

.profile-copy .line-big-header {
  width: 30px;
  height: 2px;
  display: block;
  background: var(--color-accent);
  margin-bottom: 30px;
}

.profile-copy p {
  margin-bottom: 15px;
}

.profile-copy p:last-child {
  margin-bottom: 0;
}


/* Kontaktformular (termine.html)
-------------------------------------------------- */

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-field {
  margin-bottom: 22px;
}

.form-field label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-heading);
  padding-bottom: 9px;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--color-heading);
  background: #fff;
  border: 1px solid rgba(0, 2, 49, .18);
  border-radius: 0;
  transition: var(--transition);
  appearance: none;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-field .field-error {
  display: none;
  font-size: 11px;
  letter-spacing: .5px;
  color: #a33c3c;
  padding-top: 6px;
}

.form-field.has-error input,
.form-field.has-error textarea {
  border-color: #a33c3c;
}

.form-field.has-error .field-error {
  display: block;
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-check label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 22px;
  text-transform: none;
  color: var(--color-text);
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--color-accent);
  flex-shrink: 0;
}

.form-check a {
  color: var(--color-accent);
  text-decoration: underline;
}

.form-note {
  font-size: 13px;
  line-height: 20px;
  color: #999;
  letter-spacing: 0;
  margin-bottom: 22px;
}

.form-status {
  font-size: 13px;
  line-height: 24px;
  letter-spacing: .5px;
  padding: 0;
  margin-bottom: 18px;
  display: none;
}

.form-status.is-error {
  display: block;
  color: #a33c3c;
}

.form-status.is-success {
  display: block;
  color: #3c6e47;
}

.form-submit {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-dark);
  padding: 16px 40px;
  border: none;
  transition: var(--transition);
}

.form-submit:hover {
  background: var(--color-accent);
}

.form-submit[disabled] {
  opacity: .6;
  cursor: default;
}


/* Kontaktkarten (Termine)
-------------------------------------------------- */

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 36px;
}

.contact-card {
  background: #fff;
  padding: 34px 30px;
  border-top: 2px solid var(--color-accent);
  box-shadow: 0 1px 0 rgba(0, 2, 49, .08);
}

.contact-card h6 {
  text-align: left;
  letter-spacing: 2px;
  padding-bottom: 16px;
}

.contact-card p {
  margin: 0 0 10px;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-card a {
  color: var(--color-accent);
}

.contact-card a:hover {
  color: var(--color-dark);
}


/* Anfahrt / Wegbeschreibung
-------------------------------------------------- */

.directions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.directions h6 {
  text-align: left;
  letter-spacing: 2px;
  padding-bottom: 22px;
}

.direction-group {
  margin-bottom: 26px;
}

.direction-group ul {
  text-align: start;
}

.direction-group strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0;
  color: var(--color-heading);
  padding-bottom: 8px;
}

.direction-group ul li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 24px;
  margin-bottom: 4px;
}

.direction-group ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  background: var(--color-accent);
}


/* Responsive – Unterseiten
-------------------------------------------------- */

@media (max-width: 1024px) {
  .service-tiles {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
  }

  .media-text,
  .profile,
  .profile--rev {
    gap: 50px;
  }

  .profile,
  .profile--rev {
    grid-template-columns: 5fr 7fr;
  }

  .profile--rev .profile-img {
    order: 0;
  }
}

@media (max-width: 900px) {
  .subhero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 55px;
  }

  .subhero h1 {
    font-size: 30px;
    line-height: 38px;
  }
}

@media (max-width: 767px) {
  .subhero h1 {
    font-size: 26px;
    line-height: 34px;
  }

  .subhero .subline {
    font-size: 13px;
    line-height: 24px;
  }

  .media-text,
  .media-text--rev,
  .profile,
  .profile--rev,
  .directions,
  .prose-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .prose-img {
    margin-left: 0;
  }

  .media-text--rev .media-text-img,
  .profile--rev .profile-img {
    order: 0;
  }

  .service-tiles {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 20px;
  }

  .service-tile h6 {
    min-height: 0;
  }

  .maxime-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .mini-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .contact-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 420px) {
  .service-tiles {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Trennung Kontaktbereich -> Footer */
.contact-section {
  background: var(--color-grey-2);
  border-top: 1px solid rgba(0, 2, 49, .07);
}

/* Mitgliedschaften / Fachgesellschaften (Logo-Zeile)
====================================================== */
.member-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px 52px;
  margin-top: 55px;
}

.member-logos img {
  height: 62px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  opacity: .8;
  transition: opacity .4s ease;
}

.member-logos img:hover {
  opacity: 1;
}

@media (max-width: 991px) {
  .member-logos {
    gap: 26px 40px;
  }

  .member-logos img {
    height: 52px;
    max-width: 150px;
  }
}

@media (max-width: 599px) {
  .member-logos {
    gap: 22px 30px;
    margin-top: 40px;
  }

  .member-logos img {
    height: 42px;
    max-width: 130px;
  }
}

/* ==========================================================
   PRAXIS-SEITE: Grundsätze, Bildkacheln, Parallax-Bänder
   ========================================================== */

/* Grundsätze 01 / 02 / 03
====================================================== */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 60px;
}

.principle {
  border-top: 1px solid rgba(0, 2, 49, .14);
  padding-top: 28px;
}

.principle-num {
  font-family: 'League Spartan', sans-serif;
  font-size: 54px;
  line-height: 1;
  letter-spacing: 2px;
  color: rgba(0, 2, 49, .16);
}

.principle h6 {
  text-align: start;
  margin: 20px 0 12px;
}

.principle p {
  font-size: 15px;
  line-height: 1.75;
  color: #5a5a6a;
}

/* Bildkacheln (Metis blog-grid angelehnt – ohne Blog-Meta)
====================================================== */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.tile-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e9e9ee;
}

.tile-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.22, 1, .36, 1);
}

.tile:hover .tile-media img {
  transform: scale(1.045);
}

.tile-body {
  padding-top: 24px;
}

.tile-body h6 {
  text-align: start;
  margin-bottom: 10px;
}

.tile-body p {
  font-size: 15px;
  line-height: 1.75;
  color: #5a5a6a;
}

/* Parallax-Bildband – fixed nur am Desktop (mobil: scroll)
====================================================== */
.parallax-band {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 340px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (min-width: 992px) {
  .parallax-band {
    height: 500px;
    background-attachment: fixed;
  }
}

.parallax-band--overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .82);
}

.parallax-band .band-quote {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 24px;
  text-align: center;
  font-family: 'Courgette', cursive;
  font-size: 34px;
  line-height: 1.5;
  color: var(--color-dark);
}

.parallax-band .band-quote span {
  color: var(--color-accent);
}

@media (max-width: 599px) {
  .parallax-band {
    min-height: 260px;
  }

  .parallax-band .band-quote {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .parallax-band {
    background-attachment: scroll;
  }
}

/* Responsive: Kacheln + Grundsätze
====================================================== */
@media (max-width: 991px) {
  .tile-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 767px) {
  .principles {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 48px;
  }

  .principle-num {
    font-size: 44px;
  }
}

@media (max-width: 599px) {
  .tile-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 48px;
  }
}

.text-center {
  text-align: center;
}