/* Meike Schröder – Praxis für ganzheitliche Physiotherapie */

@font-face {
  font-family: "Frank Ruhl Libre";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/assets/fonts/frank-ruhl-libre-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Frank Ruhl Libre";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/assets/fonts/frank-ruhl-libre-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: "Poltawski Nowy";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/poltawski-nowy-700-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poltawski Nowy";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/poltawski-nowy-700-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;
}

:root {
  --green: #59966a;
  --green-overlay: rgba(89, 150, 106, 0.7);
  --peach: #fee8d4;
  --coral: #ef9e8e;
  --white: #ffffff;
  --text: #323335;
  --text-hover: #535353;
  --line: #e6e7f0;
  --line-strong: #dcdcdc;
  --font-head: "Poltawski Nowy", Georgia, serif;
  --font-copy: "Frank Ruhl Libre", Georgia, serif;
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-copy);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--white); padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; }

/* ---------------------------------------------------------------- Typo */
.rich h1, .rich h2, .rich h3, .rich h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.5em;
}
.rich h1 { font-size: 48px; }
.rich h2 { font-size: 36px; }
.rich h3, .rich h4 { font-size: 24px; }
.rich p, .rich li { font-size: 18px; }
.rich p { margin: 0; }
.rich p + h2, .rich p + h3, .rich ul + h2, .rich ul + h3 { margin-top: 0.4em; }
.rich ul, .rich ol { margin: 0.4em 0 0 30px; padding: 0; }
.rich li { margin: 0.15em 0; }
.rich a:hover { color: var(--text-hover); }
.rich > :last-child { margin-bottom: 0; }
.text-align-center, .center { text-align: center; }
.rich { padding: 20px 0; overflow-wrap: break-word; }

.theme-dark { color: var(--text); }
.theme-dark .rich h1, .theme-dark .rich h2, .theme-dark .rich h3, .theme-dark .rich h4 { color: var(--green); }
.theme-light, .theme-light .rich h1, .theme-light .rich h2, .theme-light .rich h3, .theme-light .rich h4 { color: var(--white); }
.theme-light .rich a:hover { color: var(--line-strong); }

@media (max-width: 800px) {
  body { font-size: 16px; }
  .rich h1 { font-size: 36px; }
  .rich h2 { font-size: 24px; }
  .rich h3, .rich h4 { font-size: 18px; }
  .rich p, .rich li { font-size: 16px; }
}

/* ---------------------------------------------------------------- Layout */
.container { width: 100%; max-width: 900px; margin: 0 auto; padding: 60px 20px; position: relative; }
@media (min-width: 1281px) { .container { max-width: 1280px; padding: 60px; } }
@media (min-width: 1441px) { .container { max-width: 1440px; } }
.container.narrow { max-width: 900px; }
.container.narrow-left { max-width: 900px; }

.bg-white { background: var(--white); }
.bg-green { background: var(--green); }
.bg-peach { background: var(--peach); }
.bg-coral { background: var(--coral); }

/* ---------------------------------------------------------------- Buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 20px; padding-top: 20px; }
.center + .btn-row, .narrow .btn-row { justify-content: center; }
.btn {
  display: inline-block;
  padding: 16px 30px;
  border: 1px solid transparent;
  border-radius: 5px;
  font: inherit;
  font-size: 18px;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease-in-out, box-shadow .2s ease-in-out;
}
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover, .btn-green:focus-visible { box-shadow: inset 0 0 0 100px rgba(255, 255, 255, .1); }
.btn-white { background: var(--white); color: var(--text); }
.btn-white:hover, .btn-white:focus-visible { box-shadow: inset 0 0 0 100px rgba(0, 0, 0, .1); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover, .btn-outline:focus-visible { background: rgba(255, 255, 255, .1); }
.btn-outline-dark { background: transparent; color: var(--text); border-color: var(--text); }
.btn-outline-dark:hover { background: rgba(0, 0, 0, .05); }
.btn-bordered { border-color: var(--green); }
@media (max-width: 800px) { .btn { font-size: 16px; } }

/* ---------------------------------------------------------------- Header */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--white); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; padding: 0 20px;
}
.logo { display: block; width: 240px; max-width: calc(100% - 70px); padding: 15.4px 0; margin-left: 20px; }
.logo img { width: 100%; height: auto; }
.menu-toggle {
  position: relative; width: 44px; height: 44px; margin-right: 20px;
  border: 0; background: transparent; cursor: pointer; padding: 0;
}
.menu-toggle span {
  position: absolute; left: 10px; width: 24px; height: 2px; background: var(--text);
  transition: transform .25s, opacity .25s;
}
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white);
  max-height: 0; overflow: hidden; visibility: hidden;
  transition: max-height .3s ease, visibility 0s linear .3s;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .06);
}
.menu-open .site-nav { max-height: 100vh; visibility: visible; transition: max-height .3s ease; }
.site-nav ul { list-style: none; margin: 0; padding: 20px 0; }
.site-nav a {
  display: flex; padding: 20px 40px; text-decoration: none;
  font-family: var(--font-copy); font-size: 18px; color: var(--text);
}
.site-nav a .lbl { position: relative; line-height: 24px; }
.site-nav a .lbl::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--text); opacity: 0; transform: translateY(calc(100% - 4px)); transition: all .2s;
}
.site-nav a:hover .lbl::after, .site-nav a[aria-current="page"] .lbl::after { opacity: 1; transform: translateY(100%); }
@media (min-width: 1024px) {
  .site-header { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
  .menu-toggle { display: none; }
  .site-nav {
    position: static; max-height: none; overflow: visible; visibility: visible;
    box-shadow: none; transition: none; margin-right: 40px;
  }
  .site-nav ul { display: flex; padding: 0; }
  .site-nav a { padding: 20px; font-size: 16px; }
}

/* ---------------------------------------------------------------- Hero */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h));
  overflow: hidden;
}
.hero-img, .slide-img, .band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay, .slide-overlay { position: absolute; inset: 0; background: var(--green-overlay); }
.hero-content {
  position: relative; z-index: 2; width: 100%; max-width: 580px;
  margin: 100px 100px 10px; padding: 60px 30px;
}
.hero-content .rich h1 { font-size: 64px; }
.hero-down {
  position: absolute; bottom: 10px; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: center; padding: 10px; color: var(--white);
}
@media (max-width: 1280px) {
  .hero-content { margin: 0 0 40px 50px; padding: 20px; }
}
@media (max-width: 800px) {
  .hero-content { margin: 0 auto; padding: 60px 20px; }
  .hero-content .rich h1 { font-size: 40px; }
}

/* ---------------------------------------------------------------- Bildband */
.band { position: relative; width: 100%; height: 400px; overflow: hidden; }

/* ---------------------------------------------------------------- Bild + Text */
.fluid { width: 100%; height: auto; }
.split { display: flex; flex-direction: column; }
@media (min-width: 1281px) {
  .split { flex-direction: row; align-items: center; }
  .split-reverse { flex-direction: row-reverse; }
  .split-media, .split-text { width: 50%; }
  .split-media { align-self: flex-start; padding: 20px 15px 20px 0; }
  .split-text { padding-left: 90px; }
  .split-reverse .split-media { padding: 20px 0 20px 15px; }
  .split-reverse .split-text { padding-left: 0; padding-right: 90px; }
}
@media (max-width: 1280px) { .split-media { padding: 20px 0; } }

/* ---------------------------------------------------------------- Zeilen */
.rows { margin-top: 20px; }
.row { display: flex; flex-direction: column; padding: 10px 0; border-top: 1px solid var(--line); }
.row-col { flex: 1; }
.row-img { margin-top: 16px; }
@media (min-width: 1281px) {
  .row { flex-direction: row; }
  .row-col:first-child { padding-right: 15px; }
  .row-col:last-child { padding-left: 15px; }
}
.bg-green .row { border-color: rgba(255, 255, 255, .3); }

/* ---------------------------------------------------------------- Listen / Akkordeon */
.listblock { display: flex; flex-direction: row; }
.listblock-head { flex: 0 0 350px; margin-right: 120px; }
.listblock-items { flex: 1; display: flex; flex-direction: column; }
@media (max-width: 1280px) { .listblock-head { margin-right: 60px; } }
@media (max-width: 800px) {
  .listblock { flex-direction: column; }
  .listblock-head { flex-basis: auto; width: 100%; margin-right: 0; }
}
.list-item { padding: 10px 0; border-top: 1px solid var(--line); }
.list-item:first-child { border-top: 0; }
.list-item .rich h3 { margin-bottom: 0.25em; }

.acc { border-top: 1px solid var(--line-strong); }
.acc:first-child { border-top: 0; }
.theme-light .acc { border-color: rgba(255, 255, 255, .4); }
.acc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 30px 0; cursor: pointer; list-style: none;
}
.acc summary::-webkit-details-marker { display: none; }
.acc-title { font-family: var(--font-head); font-weight: 700; font-size: 24px; line-height: 1.25; }
.theme-dark .acc-title { color: var(--green); }
.acc-icon { position: relative; flex: 0 0 20px; height: 20px; }
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; left: 0; top: 9px; width: 20px; height: 2px; background: currentColor; transition: transform .2s;
}
.acc-icon::after { transform: rotate(90deg); }
.acc[open] .acc-icon::after { transform: rotate(0deg); }
.acc-body { display: flex; gap: 30px; padding-bottom: 20px; }
.acc-img { flex: 0 0 300px; }
.acc-text { flex: 1; }
.acc-body .rich { padding-top: 0; }
@media (max-width: 1280px) {
  .acc-body { flex-direction: column; gap: 0; }
  .acc-img { flex-basis: auto; max-width: 300px; }
}
@media (max-width: 800px) {
  .acc-title { font-size: 18px; }
}

/* ---------------------------------------------------------------- Slider */
.sec-slider { padding-bottom: 0; }
.slider-head { padding-bottom: 30px; }
.sec-slider .container.slider-head { padding: 60px 70px 30px; max-width: none; }
@media (max-width: 800px) { .sec-slider .container.slider-head { padding: 60px 15px 30px; } }
.slider { position: relative; overflow: hidden; }
.slides { display: flex; transition: transform .5s ease; }
.slide {
  position: relative; flex: 0 0 100%; width: 100%; min-width: 0; min-height: 640px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.slide-box {
  position: relative; z-index: 2; width: calc(100% - 240px); max-width: 698px;
  margin: 120px auto; padding: 60px; border: 4px solid var(--white);
}
.slide-box .rich { padding: 0 15px; }
.slider-prev, .slider-next {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 52px; height: 52px; border: 0; background: transparent;
  color: var(--white); font-size: 44px; line-height: 1; cursor: pointer; opacity: .9;
}
.slider-prev { left: max(10px, calc(50% - 570px)); }
.slider-next { right: max(10px, calc(50% - 570px)); }
.slider-prev:hover, .slider-next:hover { opacity: 1; }
.slider-dots {
  position: absolute; left: 50%; bottom: 30px; z-index: 3; transform: translateX(-50%);
  display: flex; justify-content: center; gap: 10px;
}
.slider-dots button {
  width: 12px; height: 12px; padding: 0; border: 1px solid var(--white); border-radius: 50%;
  background: transparent; cursor: pointer;
}
.slider-dots button[aria-current="true"] { background: var(--white); }
@media (max-width: 800px) {
  .slide-box { width: auto; flex: 1 1 auto; margin: 40px 20px 120px; padding: 60px 5px; }
  .slider-prev, .slider-next { top: auto; bottom: 14px; transform: none; width: 44px; height: 44px; }
  .slider-prev { left: 20px; }
  .slider-next { right: 20px; }
  .slider-dots { bottom: 30px; }
}

/* ---------------------------------------------------------------- Galerie */
.gallery { display: flex; flex-wrap: wrap; margin: 20px -15px -10px; }
.gallery figure { margin: 0; padding: 0 15px 30px; flex: 0 0 100%; }
.gallery img { width: 100%; height: auto; aspect-ratio: var(--ratio, 1); object-fit: cover; }
@media (min-width: 532px) { .gallery figure { flex-basis: 50%; } }
@media (min-width: 812px) { .gallery figure { flex-basis: 33.3333%; } }
@media (min-width: 1092px) { .gallery figure { flex-basis: 25%; } }

/* ---------------------------------------------------------------- Karte */
.map {
  position: relative; margin: 30px 0 20px; padding-top: 40%;
  background: #eef2ef; overflow: hidden;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px; padding: 30px; text-align: center; font-size: 16px; color: var(--text);
}
.map-consent p { max-width: 640px; margin: 0; }
@media (max-width: 800px) { .map { padding-top: 0; min-height: 420px; } }
.info-cols { display: flex; flex-wrap: wrap; margin: 20px -15px 0; }
.info-col { width: 100%; padding: 0 15px 30px; }
@media (min-width: 525px) { .info-col { width: 50%; } }
@media (min-width: 1050px) { .info-col { flex: 1; width: auto; } }

/* ---------------------------------------------------------------- Footer */
.site-footer { background: var(--green); }
.footer-top { display: flex; justify-content: space-between; }
.footer-logo { flex: 0 0 200px; margin: 20px 35px 20px 0; }
.footer-logo img { width: 200px; height: auto; }
.footer-text { flex-grow: 1; margin-right: 85px; }
.footer-text p { font-size: 18px; }
.footer-btns { align-self: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; margin-top: 40px; }
.footer-links a { display: inline-block; padding: 5px 20px 5px 0; color: var(--white); text-decoration: underline; }
.footer-links a:hover { color: var(--line-strong); }
@media (max-width: 800px) {
  .footer-top { flex-direction: column; }
  .footer-logo { flex-basis: auto; }
  .footer-text { margin-right: 0; }
  .footer-text p { font-size: 16px; }
  .footer-links { flex-direction: column; }
}

/* ---------------------------------------------------------------- Rechtliches */
.cookie-status { margin-top: 1em !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slides, .site-nav, .menu-toggle span { transition: none; }
}

/* Bild-Slider ohne Text (Praxisräume) */
.slider-plain { padding-bottom: 50px; }
.slider-plain .slide { min-height: 0; }
.slide-plain img { width: 90%; margin: 0 auto; aspect-ratio: 5 / 3; object-fit: cover; }
.slider-plain .slider-prev, .slider-plain .slider-next { top: calc(50% - 25px); background: rgba(50, 51, 53, .25); }
.slider-plain .slider-prev { left: 0; }
.slider-plain .slider-next { right: 0; }
.slider-plain .slider-dots { bottom: 10px; }
.slider-plain .slider-dots button { border-color: var(--text); }
.slider-plain .slider-dots button[aria-current="true"] { background: var(--text); }
@media (max-width: 800px) {
  .slider-plain .slider-prev, .slider-plain .slider-next { top: calc(50% - 47px); bottom: auto; }
}
