/* Sanitätshaus REHAMax: Nachbau der Wix-Seite.
   Alle Maße stammen aus der Messung der Live-Seite bei 1440 px Fensterbreite.
   --a skaliert ohne Obergrenze mit der Fensterbreite, --b nur bis 1600 px (so verhält sich auch die Wix-Seite). */

@font-face { font-family: "Wix Madefor Text"; src: url("../assets/fonts/WixMadeforText-var.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Wix Madefor Text"; src: url("../assets/fonts/WixMadeforText-var-italic.woff2") format("woff2"); font-weight: 400 800; font-style: italic; font-display: swap; }
/* Wix nutzt für einige Texte nur den Regular-Schnitt, "fett" ist dort künstlich verstärkt. Gleiche Laufweite wie auf der Live-Seite. */
@font-face { font-family: "Madefor Regular"; src: url("../assets/fonts/WixMadeforText-var.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Wix Madefor Display"; src: url("../assets/fonts/WixMadeforDisplay-var.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../assets/fonts/Poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --rot: #B52C28;
  --hell: #F7F7F7;
  --grau: #C7C7C7;
  --text: #706F6E;
  --text2: #737373;
  --nav: #383C60;
  --font: "Wix Madefor Text", Helvetica, Arial, sans-serif;
  --font-reg: "Madefor Regular", Helvetica, Arial, sans-serif;
  --a: calc(100vw / 1440);
  --b: calc(min(100vw, 1600px) / 1440);
  --schatten: 3.54px 3.54px 10px rgba(0, 0, 0, .33);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: #000; font-family: var(--font); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; }
address { font-style: normal; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 400; }
.skip-link:focus { left: 8px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--rot); outline-offset: 2px; }

.wrap-b { width: min(100vw, 1600px); margin: 0 auto; }

/* Einblenden beim Scrollen, nur mit JavaScript */
.js .reveal { opacity: 0; transition: opacity .9s ease; }
.js .reveal.is-in { opacity: 1; }

/* ---------- Überschriften und Knöpfe ---------- */
.titel-a { font-family: var(--font-reg); font-weight: 700; font-size: calc(36.36 * var(--a)); line-height: 1; letter-spacing: -.04em; color: var(--rot); }
.titel-b { font-weight: 500; font-size: calc(44.1 * var(--b)); line-height: 1.1; color: var(--rot); }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 42px; border: 1px solid var(--rot); border-radius: 15px; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .2s ease, color .2s ease; }
.btn--rot { width: calc(236 * var(--a)); background: var(--rot); color: #fff; }
.btn--rot:hover { background: #fff; color: var(--rot); }
.btn--linie { width: 258px; background: #fff; color: #000; }
.btn--linie:hover { background: var(--rot); color: #fff; }

/* ---------- Kopf ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; pointer-events: none; }
.site-header__bar { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; width: calc(1195 * var(--a)); height: 70px; margin: 19px auto 0; padding: 0 calc(46 * var(--a)) 0 calc(26 * var(--a)); position: relative; border-radius: calc(21.8 * var(--a)); }
/* Weichzeichner auf eigener Ebene: direkt auf der Leiste würde er das mobile Menü (position: fixed) in die Leiste sperren */
.site-header__bar::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(255, 255, 255, .7); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.brand img { width: calc(100 * var(--a)); min-width: 76px; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.nav-link { font-family: var(--font-reg); font-weight: 700; font-size: 15px; line-height: 20px; color: #000; text-decoration: none; transition: color .2s ease; }
.nav-link:hover, .nav-link.is-active { color: var(--rot); }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; width: 120px; height: 40px; margin-left: 6px; border-radius: 1001px; background: var(--rot); color: #fff; font-family: var(--font-reg); font-size: 15px; font-weight: 700; text-decoration: none; }
.nav-cta:hover { background: #962320; }
.nav-toggle { display: none; }

/* ---------- Titelbild ---------- */
.hero { position: relative; height: calc(781 * var(--a)); overflow: hidden; background: #333; }
.hero__bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .69) 0%, rgba(127, 127, 127, .69) 60.9%); }
.hero__inhalt { position: absolute; left: calc(164 * var(--a)); top: calc(296 * var(--a)); color: #fff; }
.hero__zeile { width: calc(505 * var(--a)); font-size: max(14px, calc(16 * var(--a))); line-height: 1.1; font-weight: 700; }
.hero__titel { width: calc(546 * var(--a)); margin-top: calc(10 * var(--a)); font-size: max(22px, calc(29.09 * var(--a))); line-height: 1.1; font-weight: 700; }
.hero__text { width: calc(428 * var(--a)); margin: calc(11 * var(--a)) 0 0 2px; font-size: max(12px, calc(13.09 * var(--a))); line-height: 1.1; }
.hero__text p + p { margin-top: 1.1em; }
.hero__knoepfe { display: flex; gap: calc(51 * var(--a)); margin-top: calc(15 * var(--a)); }
.hero--unterseite { height: calc(521 * var(--a)); }
.hero--unterseite .hero__inhalt { left: calc(207 * var(--a)); top: calc(219 * var(--a)); }
.page-kompression .hero__bild { object-position: 78% 76%; }
.page-kompression .hero__shade { background: linear-gradient(90deg, rgba(0, 0, 0, .8) 0%, rgba(60, 60, 60, .72) 60.9%); }

/* ---------- Qualität mit Badge ---------- */
.qualitaet { position: relative; height: calc(968 * var(--a)); overflow: hidden; background: linear-gradient(23deg, #fff 52.17%, rgba(199, 199, 199, .78) 100%), #fff; }
.qualitaet__text { width: calc(519 * var(--a)); margin: 0 auto; padding-top: calc(107 * var(--a)); text-align: center; font-size: max(12px, calc(13.09 * var(--a))); line-height: 1.1; }
.qualitaet__text p { margin-top: 1.1em; }
.qualitaet__text .titel-a + p { margin-top: calc(19 * var(--a)); }
.badge { position: absolute; left: 50%; top: calc(407 * var(--a)); width: calc(401 * var(--a)); height: calc(401 * var(--a)); margin-left: calc(-201.5 * var(--a)); will-change: transform; }
.badge img { position: absolute; }
.badge__aussen { inset: 0; width: 100%; }
.badge__innen { left: calc(68 * var(--a)); top: calc(67 * var(--a)); width: calc(267 * var(--a)); }
.badge__scheibe { position: absolute; left: calc(138 * var(--a)); top: calc(141 * var(--a)); width: calc(120 * var(--a)); height: calc(120 * var(--a)); border-radius: 50%; background: #fff; filter: drop-shadow(2px 2px 12px rgba(181, 44, 40, .6)); }
.badge__mitte { left: calc(161 * var(--a)); top: calc(165 * var(--a)); width: calc(74 * var(--a)); }

/* ---------- Leistungskarten ---------- */
.karten { background: var(--hell); }
.karten__reihe { display: flex; gap: calc(38 * var(--b)); height: calc(562 * var(--b)); padding: calc(76 * var(--b)) 0 0 calc(92 * var(--b)); }
.kachel { position: relative; display: block; flex: none; width: calc(609 * var(--b)); height: calc(406 * var(--b)); border-radius: 45px; box-shadow: var(--schatten); overflow: hidden; text-decoration: none; }
.kachel img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.kachel:hover img { transform: scale(1.03); }
/* Drei Kacheln (mit Kompression) sind schmaler, zwei Kacheln haben das Maß der Wix-Seite */
.karten__reihe:has(.kachel:nth-child(3)) .kachel { width: calc(393.3 * var(--b)); }
.kachel:nth-child(3) img { object-position: 100% 50%; }
.kachel__titel { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; height: calc(86 * var(--b)); background: var(--rot); color: var(--hell); font-size: 16.2px; font-weight: 700; }

/* ---------- Silikonwerkstatt ---------- */
.silikon { height: calc(385 * var(--a)); background: #fff; }
.silikon__text { width: calc(711 * var(--a)); margin: 0 auto; padding-top: calc(86 * var(--a)); text-align: center; font-size: max(12px, calc(13.09 * var(--a))); line-height: 1.1; }
.silikon__text p { margin-top: 1.1em; }
.silikon--frei { height: auto; padding-bottom: calc(86 * var(--a)); background: var(--hell); }
.silikon--weiss { background: #fff; }
.silikon__text .titel-a + p { margin-top: calc(17 * var(--a)); }

/* ---------- Text mit Bild ---------- */
.stapel { display: flex; flex-direction: column; }
.teaser { background: #fff; }
.teaser__reihe { display: flex; justify-content: space-between; height: calc(542 * var(--b)); padding: calc(41 * var(--b)) calc(36 * var(--b)) 0 calc(86 * var(--b)); }
.teaser__text { width: calc(548 * var(--b)); padding-top: calc(9 * var(--b)); color: var(--text); font-size: calc(16.2 * var(--b)); line-height: 1.1; }
.teaser__text .titel-b + p { margin-top: calc(24 * var(--b)); }
.teaser__text p { width: calc(534 * var(--b)); margin-top: calc(18 * var(--b)); }
.teaser__text .btn { margin-top: calc(21 * var(--b)); margin-left: -1px; }
.teaser__bild { flex: none; width: calc(648 * var(--b)); height: calc(432 * var(--b)); border-radius: 45px; box-shadow: var(--schatten); overflow: hidden; }
.teaser__bild img { width: 100%; height: 100%; object-fit: cover; }
.teaser--leistung .teaser__text { padding-top: calc(56 * var(--b)); }

/* ---------- Galerie ---------- */
.galerie { background: var(--hell); }
.galerie__reihe { display: flex; justify-content: space-between; height: calc(301 * var(--b)); padding: calc(55 * var(--b)) calc(28 * var(--b)) 0 calc(79 * var(--b)); }
.galerie figure { width: calc(288 * var(--b)); height: calc(192 * var(--b)); border-radius: 25px; box-shadow: var(--schatten); overflow: hidden; }
.galerie img { width: 100%; height: 100%; object-fit: cover; }
.page-orthesen .galerie__reihe, .page-prothesen .galerie__reihe, .page-kompression .galerie__reihe { padding-right: calc(78 * var(--b)); }

/* ---------- Standorte ---------- */
.standorte { background: #fff; }
.standorte .wrap-b { height: calc(905 * var(--b)); padding-top: calc(156 * var(--b)); }
.standorte .titel-b { text-align: center; }
.orte { position: relative; height: calc(650 * var(--b)); margin-top: calc(76 * var(--b)); }
.ort { position: absolute; top: 0; width: calc(288 * var(--b)); height: 100%; }
.ort--1 { left: calc(39 * var(--b)); }
.ort--2 { left: calc(399 * var(--b)); }
.ort--3 { left: calc(761 * var(--b)); }
.ort--4 { left: calc(1121 * var(--b)); }
.ort h3 { font-size: max(20px, calc(22.5 * var(--b))); line-height: 1.1; font-weight: 700; color: var(--rot); padding-left: var(--ein, 0); }
.ort--1 { --ein: calc(14 * var(--b)); }
.ort--2, .ort--3 { --ein: calc(34 * var(--b)); }
.ort__zeile { display: flex; align-items: flex-start; gap: calc(14 * var(--b)); margin-top: 14px; padding-left: calc(var(--ein, 0px) + calc(11 * var(--b))); color: var(--text2); font-size: 20px; line-height: 1.1; text-decoration: none; }
.ort__zeile img { flex: none; width: 24px; height: 24px; }
.ort__zeile:hover { color: var(--rot); }
.ort__zeile span { max-width: 165px; }
.ort__zeile + .ort__zeile { margin-top: 18px; }
.ort--4 .ort__zeile { padding-left: calc(11 * var(--b)); }
.ort--4 .ort__zeile span { max-width: 240px; }
.ort__zeile--text { display: block; max-width: calc(var(--ein) + 205px); padding-left: var(--ein); color: var(--text2); }
.ort__zeile--text p + p { margin-top: 1.1em; }
.karte { position: absolute; left: 0; top: calc(175 * var(--b)); width: 100%; height: calc(277 * var(--b)); background: var(--hell); }
.karte iframe { display: block; width: 100%; height: 100%; border: 0; }
.karte iframe[hidden], .karte__hinweis[hidden] { display: none; }
.karte__hinweis { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 100%; padding: 16px; color: var(--text); font-size: 14px; line-height: 1.3; text-align: center; }
.karte__hinweis button { border: 1px solid var(--rot); border-radius: 15px; background: #fff; color: #000; cursor: pointer; font-size: 14px; font-weight: 600; padding: 8px 16px; }
.karte__hinweis button:hover { background: var(--rot); color: #fff; }

/* ---------- FAQ ---------- */
.faq { display: flex; align-items: flex-start; justify-content: space-between; padding: 32px 2.2% 90px calc(34 * var(--a)); background: #fff; }
.faq__intro { width: calc(548 * var(--b)); margin-top: 80px; color: var(--text); font-size: max(13px, calc(16.2 * var(--b))); line-height: 1.1; }
.faq__intro p { width: calc(534 * var(--b)); }
.faq__intro .titel-b + p { margin-top: 24px; }
.faq__intro p + p { margin-top: 1.1em; }
.faq__intro .btn { margin-top: 21px; margin-left: -1px; }
.faq__liste { width: 48.9%; }
.faq__label { font-family: "Wix Madefor Display", var(--font); font-size: 32px; line-height: 1.2; font-weight: 800; color: var(--grau); margin-bottom: 8px; }
.faq__item { border-bottom: 3px solid var(--rot); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0 16px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h3 { font-family: var(--font-reg); font-size: 20px; line-height: 1.4; font-weight: 700; color: #000; }
.page-orthesen .faq, .page-prothesen .faq, .page-kompression .faq { padding-top: 91px; }
.chevron { flex: none; color: #000; transition: transform .25s ease; }
.faq__item[open] .chevron { transform: rotate(180deg); }
.faq__antwort { padding-bottom: 20px; color: var(--rot); font-size: 16px; line-height: 1.5; }
.faq__antwort ul, .faq__antwort ol { margin: 0; padding-left: 32px; }

/* ---------- Anfrage auf den Unterseiten ---------- */
.anfrage { background: var(--hell); }
.anfrage__reihe { display: flex; justify-content: space-between; align-items: center; min-height: calc(716 * var(--b)); padding: 0 calc(85 * var(--b)) calc(45 * var(--b)) calc(144 * var(--b)); align-items: flex-start; }
.anfrage__text { width: calc(550 * var(--b)); padding-top: calc(261 * var(--b)); color: var(--text); font-size: calc(16.2 * var(--b)); line-height: 1.1; }
.anfrage__text .titel-b + p { margin-top: 24px; }
.anfrage__karte { width: calc(484 * var(--b)); padding: 24px; background: var(--grau); border-radius: 40px; box-shadow: 3.53px 3.53px 10px rgba(112, 111, 110, .15); }

/* ---------- Formular ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; }
.field, .upload { min-width: 0; }
.field--voll { grid-column: 1 / -1; }
.field label, .upload__label { display: block; margin-bottom: 8px; font-size: 14px; line-height: 20px; }
.form--karte .field label, .form--karte .upload__label { color: #fff; }
.form--seite .field label, .form--seite .upload__label { font-family: var(--font-reg); font-weight: 700; color: #000; }
.field input, .field select, .field textarea { display: block; width: 100%; height: 40px; padding: 0 14px; border: 0; background: #fff; color: #000; font-size: 16px; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 14px center; }
.field textarea { height: 76px; padding: 10px 14px; resize: vertical; }
.form--karte .field input, .form--karte .field select, .form--karte .field textarea { border-radius: 20px; }
.form--seite .field input, .form--seite .field select, .form--seite .field textarea { border-radius: 6px; }
.tel { display: flex; background: #fff; }
.form--karte .tel { border-radius: 20px; }
.form--seite .tel { border-radius: 6px; }
.tel select { flex: none; width: 92px; padding: 0 20px 0 12px; background-color: transparent; background-position: right 6px center; }
.tel input { flex: 1; min-width: 0; padding-left: 6px; background: transparent; }
.upload { position: relative; }
.field .upload__input { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; padding: 0; opacity: 0; }
.upload__btn { display: inline-flex !important; align-items: center; justify-content: center; width: 180px; height: 40px; margin: 0 !important; background: var(--rot); color: var(--hell) !important; font-size: 16px !important; font-weight: 400 !important; cursor: pointer; }
.upload__input:focus-visible + .upload__btn { outline: 2px solid var(--rot); outline-offset: 2px; }
.upload__info { display: block; margin-top: 8px; font-size: 13px; line-height: 1.3; color: var(--text); }
.form--karte .upload__info { color: #fff; }
.hp { position: absolute; left: -9999px; }
.consent { display: flex; gap: 12px; font-size: 14px; line-height: 1.35; cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--rot); }
.form__senden { height: 41px; border: 0; border-radius: 20px; background: var(--rot); color: var(--hell); cursor: pointer; font-size: 16px; }
.form__senden:hover { background: #962320; }
.form__senden[disabled] { opacity: .7; cursor: wait; }
.form--seite .form__senden { font-family: var(--font-reg); font-weight: 700; }
.form-status { display: none; padding: 12px 14px; border-radius: 12px; background: #fff; font-size: 15px; line-height: 1.4; }
.form-status.is-active { display: block; }
.form-status.is-ok { color: #1c6b34; }
.form-status.is-error { color: var(--rot); }
.is-invalid { box-shadow: inset 0 0 0 2px var(--rot); }

/* ---------- Kontaktseite ---------- */
.kontakt { background: var(--hell); }
.kontakt__reihe { display: flex; justify-content: space-between; align-items: center; min-height: 878px; padding: 119px calc(155 * var(--a)) 40px calc(123 * var(--a)); }
.kontakt__info { width: calc(504 * var(--a)); }
.kontakt__info h1 { font-family: Arial, Helvetica, sans-serif; font-size: calc(81.45 * var(--a)); line-height: .9; font-weight: 400; color: var(--rot); }
.kontakt__info p { margin-top: 0; padding-left: 6px; font-family: Arial, Helvetica, sans-serif; font-size: 14.55px; line-height: 29px; font-weight: 700; color: var(--text); letter-spacing: .05em; }
.kontakt__info h1 + p { margin-top: 26px; }
.kontakt__info span { display: inline-block; width: 68px; color: var(--grau); }
.kontakt__info a { text-decoration: none; }
.kontakt__form { width: calc(541 * var(--a)); }

/* ---------- Impressum und Datenschutz ---------- */
.recht { display: flex; gap: calc(75 * var(--a)); padding: 234px calc(86 * var(--a)) 80px calc(135 * var(--a)); background: var(--hell); }
.recht__logo { flex: none; width: calc(285 * var(--a)); padding-top: 42px; }
.recht__logo img { width: 100%; }
.recht__karte { flex: 1; min-width: 0; overflow-wrap: anywhere; padding: 40px 60px 60px; background: var(--hell); border-radius: 16px; box-shadow: 0 4px 24px rgba(0, 0, 0, .1); font-size: 18px; line-height: 1.4; }
.recht__karte h1 { padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--rot); font-family: Helvetica, Arial, sans-serif; font-size: 45px; line-height: 1.25; font-weight: 400; }
.recht__karte p + p { margin-top: 1.4em; }
.recht--datenschutz { padding-left: calc(221 * var(--a)); }
.recht--datenschutz .recht__karte { padding: 56px 80px 80px; font-size: max(13px, calc(13.09 * var(--a))); line-height: 1.4; }
.recht--datenschutz h1 { font-size: 32px; }
.recht--datenschutz h2 { margin: 2.2em 0 .4em; font-family: "Wix Madefor Display", var(--font); font-size: 16px; line-height: 1.4; font-weight: 700; }
.recht--datenschutz h1 + h2 { margin-top: 0; }
.recht--datenschutz h3 { margin: 1.6em 0 .2em; font-family: "Wix Madefor Display", var(--font); font-size: inherit; line-height: 1.4; font-weight: 700; }
.recht--datenschutz p + p { margin-top: .8em; }

/* ---------- 404 ---------- */
.fehler { min-height: 70vh; padding: 180px 6vw 80px; background: var(--hell); text-align: center; }
.fehler h1 { font-size: 40px; line-height: 1.15; font-weight: 500; color: var(--rot); }
.fehler p { margin-top: 16px; color: var(--text); }
.fehler .hero__knoepfe { justify-content: center; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.fehler .btn--rot { width: 236px; }

/* ---------- Fuß ---------- */
.site-footer { background: #fff; padding: 43px 0 66px; }
.site-footer__box { display: grid; grid-template-columns: 338fr 338fr 273fr 404fr; width: calc(1354 * var(--a)); height: 339px; margin: 0 auto; background: var(--hell); border-radius: 32px 32px 0 32px; }
.site-footer__logo { padding: 74px 0 0 calc(76 * var(--a)); }
.site-footer__logo img { width: calc(187 * var(--a)); min-width: 130px; }
.site-footer__kontakt { padding: 82px 0 0 calc(97 * var(--a)); }
.site-footer__kontakt h2 { font-family: var(--font-reg); font-size: 30px; line-height: 48px; font-weight: 700; color: var(--rot); }
.site-footer__kontakt address { width: calc(190 * var(--a)); margin-top: 20px; font-size: max(12px, calc(14.55 * var(--a))); line-height: 1.6; }
.site-footer__kontakt address p + p { margin-top: 10px; }
.site-footer__kontakt a { text-decoration: none; }
.site-footer__nav { padding: 47px 0 0 calc(30 * var(--a)); }
.site-footer__nav ul { margin: 0; padding: 0; list-style: none; }
.site-footer__nav a { display: flex; align-items: center; height: 48px; font-size: 20px; line-height: 28px; color: var(--nav); text-decoration: none; }
.site-footer__nav a:hover, .site-footer__nav a.is-active { color: #000; }
.site-footer__karte { position: relative; }
.site-footer__karte .karte { left: calc(32 * var(--a)); top: 32px; width: calc(340 * var(--a)); height: 283px; background: rgba(255, 255, 255, .5); }
.site-footer__legal { margin-top: 28px; color: var(--text); font-size: 15px; line-height: 24px; text-align: center; }
.bohr { font-family: "Poppins", var(--font); font-weight: 600; }
.site-footer__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 42px; margin-top: 4px; }

/* ---------- Cookie-Banner (blockierendes Modal mit Tabs, Aufbau wie bei bohr.media) ---------- */
.cookie-modal { --cc-bg: #1f1f1f; --cc-tabs-bg: #2b2b2b; --cc-line: rgba(255, 255, 255, .18); position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.cookie-modal.is-visible { display: flex; }
.cookie-modal__backdrop { position: absolute; inset: 0; background: rgba(20, 20, 20, .72); }
.cookie-modal__card { position: relative; background: var(--cc-bg); color: #fff; border: 1px solid var(--cc-line); border-top: 4px solid var(--rot); max-width: 700px; width: 100%; max-height: calc(100vh - 40px); overflow-y: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.cookie-tabs { display: flex; background: var(--cc-tabs-bg); border-bottom: 1px solid var(--cc-line); }
.cookie-tab { flex: 1; border: none; background: transparent; color: #fff; cursor: pointer; font-size: 15px; font-weight: 600; padding: 16px 12px; border-bottom: 3px solid transparent; opacity: .75; }
.cookie-tab.is-active { border-bottom-color: var(--rot); opacity: 1; }
.cookie-panel { display: none; padding: 24px 24px 12px; }
.cookie-panel.is-active { display: block; }
.cookie-panel h2 { color: #fff; font-size: 17px; line-height: 1.3; font-weight: 700; margin: 0 0 12px; }
.cookie-scroll { max-height: 128px; overflow-y: auto; padding-right: 10px; }
.cookie-scroll::-webkit-scrollbar { width: 8px; }
.cookie-scroll::-webkit-scrollbar-thumb { background: #fff; }
.cookie-scroll p { font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, .88); margin: 0 0 10px; }
.cookie-links { display: flex; gap: 16px; margin-top: 8px; }
.cookie-links a { color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
.cookie-links a:hover { text-decoration: underline; }
.cookie-toggles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--cc-line); border-bottom: 1px solid var(--cc-line); margin-top: 12px; }
.cookie-toggle { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 8px; font-size: 14px; font-weight: 600; cursor: pointer; position: relative; }
.cookie-toggle + .cookie-toggle { border-left: 1px solid var(--cc-line); }
.cookie-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.cookie-toggle i { position: relative; width: 44px; height: 24px; border-radius: 12px; background: #0b0b0b; transition: background .15s ease; }
.cookie-toggle i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s ease, background .15s ease; }
.cookie-toggle input:checked + i { background: var(--rot); }
.cookie-toggle input:checked + i::after { transform: translateX(20px); }
.cookie-toggle input:disabled + i { background: #d6d6d6; opacity: .85; }
.cookie-toggle input:disabled + i::after { transform: translateX(20px); background: #8a8a8a; }
.cookie-toggle input:focus-visible + i { outline: 2px solid #fff; outline-offset: 3px; }
.cookie-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 18px 24px 24px; }
.cookie-btn { border: none; border-radius: 0; background: #fff; color: #000; cursor: pointer; font-size: 15px; font-weight: 600; padding: 13px 10px; transition: background .15s ease; }
.cookie-btn:hover { background: #e3e3e3; }
.cookie-btn:focus-visible { outline: 2px solid var(--rot); outline-offset: 2px; }

/* ---------- Hinweis-Pop-up (Aufbau wie die Teaser: Text links, Foto rechts) ---------- */
.hinweis { width: min(820px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 32px; background: #fff; box-shadow: var(--schatten); overflow: auto; }
.hinweis:focus { outline: none; }
.hinweis::backdrop { background: rgba(20, 20, 20, .6); }
.hinweis__karte { display: grid; grid-template-columns: 1fr 44%; }
.hinweis__text { padding: 48px 40px 44px 46px; color: var(--text); font-size: 16.2px; line-height: 1.4; }
.hinweis__datum { color: #000; font-size: 16px; font-weight: 700; line-height: 1.1; }
.hinweis__titel { margin-top: 12px; color: var(--rot); font-size: 34px; font-weight: 500; line-height: 1.1; }
.hinweis__titel + p { margin-top: 20px; }
.hinweis__mail { display: inline-block; margin-top: 8px; color: var(--rot); font-weight: 600; text-underline-offset: 3px; }
.hinweis .btn { display: flex; width: 200px; margin-top: 30px; cursor: pointer; }
.hinweis__foto { position: relative; min-height: 220px; }
.hinweis__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }

/* ============ Tablet und Handy (Wix-Umbruch bei 1000 px) ============ */
@media (max-width: 1000px) {
  html { scroll-padding-top: 100px; }

  .site-header__bar { width: auto; height: 65px; margin: 20px 30px 0; padding: 0 22px 0 16px; border-radius: 33px; }
  .site-header__bar::before { background: rgba(255, 255, 255, .85); }
  .brand img { width: 105px; }
  .nav-toggle { position: relative; z-index: 120; display: block; width: 44px; height: 44px; margin-right: -6px; padding: 0; border: 0; background: transparent; cursor: pointer; }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 6px; width: 32px; height: 2.5px; background: var(--rot); transition: transform .2s ease, background .2s ease; }
  .nav-toggle span { top: 21px; }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; }
  .nav-toggle span::before { top: -10px; }
  .nav-toggle span::after { top: 10px; }
  .nav-open .nav-toggle span { background: transparent; }
  .nav-open .nav-toggle span::before { transform: translateY(10px) rotate(45deg); }
  .nav-open .nav-toggle span::after { transform: translateY(-10px) rotate(-45deg); }
  /* Geschlossen ganz ausgeblendet: außerhalb des Fensters geparkt würde das Menü die Seite auf dem Handy breiter machen */
  .main-nav { display: none; position: fixed; top: 0; right: 0; bottom: 0; z-index: 110; flex-direction: column; align-items: flex-start; gap: 6px; width: min(80vw, 340px); padding: 110px 32px 32px; background: #fff; box-shadow: -8px 0 30px rgba(0, 0, 0, .15); }
  .nav-open .main-nav { display: flex; animation: menu-rein .3s ease; }
  .nav-open { overflow: hidden; }
  .nav-link { padding: 10px 0; font-size: 20px; line-height: 28px; }
  .nav-cta { margin: 14px 0 0; }

  .titel-a { font-size: 33.65px; font-weight: 400; }
  /* Lange Wörter wie "Kompressionsstrümpfe" passen auf schmalen Handys sonst nicht in die Zeile */
  .titel-a, .titel-b { hyphens: auto; overflow-wrap: break-word; }
  .titel-b { font-size: 28px; }
  .btn--linie { width: auto; min-width: 200px; padding: 0 24px; }

  .hero, .hero--unterseite { height: auto; min-height: 623px; }
  .hero__inhalt, .hero--unterseite .hero__inhalt { position: relative; left: auto; top: auto; padding: 164px 30px 60px; }
  .hero__zeile { width: auto; font-size: 18px; }
  .hero__titel { width: auto; margin-top: 11px; font-size: 22px; }
  .hero__text { width: auto; max-width: 560px; margin: 20px 0 0; font-size: 16px; }
  .hero__knoepfe { flex-wrap: wrap; gap: 12px; margin-top: 20px; }
  .hero .btn--rot { width: auto; padding: 0 12px; flex: 1 1 auto; max-width: 240px; font-size: 13.5px; }

  .qualitaet { height: auto; padding: 26px 30px 40px; }
  .qualitaet__text { width: auto; max-width: 620px; padding-top: 0; margin: 0; text-align: left; font-size: 15.38px; }
  .qualitaet__text .titel-a + p { margin-top: 22px; }
  .badge { position: relative; left: auto; top: auto; width: 300px; height: 300px; margin: 36px auto 0; }
  .badge__innen { left: 51px; top: 50px; width: 200px; }
  .badge__scheibe { left: 103px; top: 105px; width: 90px; height: 90px; }
  .badge__mitte { left: 120px; top: 123px; width: 56px; }

  .karten__reihe { flex-direction: column; align-items: center; gap: 82px; height: auto; padding: 80px 30px 100px; }
  .kachel { width: 100%; max-width: 620px; height: auto; aspect-ratio: 3 / 2; border-radius: 32px; overflow: visible; box-shadow: none; }
  .kachel img { border-radius: 32px; box-shadow: var(--schatten); }
  .kachel__titel { left: 0; right: auto; bottom: -20px; width: 115px; height: 44px; border-radius: 0 0 10px 10px; }
  .kachel + .kachel .kachel__titel { left: calc(50% - 57px); }
  .kachel + .kachel + .kachel .kachel__titel { left: auto; right: 0; }

  .silikon { height: auto; padding: 26px 30px 56px; }
  .silikon__text { width: auto; max-width: 620px; margin: 0; padding-top: 0; text-align: left; font-size: 15.38px; }
  .silikon__text .titel-a + p { margin-top: 22px; }

  .galerie { order: -1; }
  .galerie__reihe, .page-orthesen .galerie__reihe, .page-prothesen .galerie__reihe, .page-kompression .galerie__reihe { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; height: auto; padding: 60px 30px; }
  .galerie figure { width: 100%; height: auto; aspect-ratio: 3 / 2; }

  .teaser__reihe { flex-direction: column; gap: 40px; height: auto; padding: 60px 30px; }
  .teaser__text, .teaser--leistung .teaser__text { width: 100%; padding-top: 0; font-size: 18px; }
  .teaser__text p { width: 100%; margin-top: 18px; }
  .teaser__text .titel-b + p { margin-top: 20px; }
  .teaser__text .btn { margin: 24px 0 0; }
  .teaser__bild { width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: 32px; }

  .standorte .wrap-b { height: auto; padding: 40px 30px 60px; }
  .orte { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 24px; height: auto; margin-top: 30px; }
  .ort, .ort--1, .ort--2, .ort--3, .ort--4 { position: static; width: auto; height: auto; --ein: 0; text-align: center; }
  .ort h3 { font-size: 22px; padding: 0; }
  .ort__zeile { flex-direction: column; align-items: center; gap: 12px; margin-top: 16px; padding: 0; font-size: 18px; }
  .ort--4 .ort__zeile { padding: 0; }
  .ort__zeile span, .ort--4 .ort__zeile span { max-width: none; }
  .ort__zeile img { width: 40px; height: 40px; }
  .ort .karte { position: static; width: 100%; height: 220px; margin-top: 18px; }

  .faq { flex-direction: column; align-items: stretch; gap: 40px; padding: 40px 30px 60px; }
  .faq__intro, .faq__intro p, .faq__liste { width: 100%; }
  .faq__intro { margin-top: 0; }
  .page-orthesen .faq, .page-prothesen .faq, .page-kompression .faq { padding-top: 40px; }
  .faq__intro { font-size: 18px; }

  .anfrage__reihe { flex-direction: column; align-items: stretch; gap: 32px; min-height: 0; padding: 50px 30px; }
  .anfrage__text { width: 100%; padding-top: 0; font-size: 18px; }
  .anfrage__karte { width: 100%; max-width: 620px; }

  .kontakt__reihe { flex-direction: column; align-items: stretch; gap: 36px; min-height: 0; padding: 130px 30px 60px; }
  .kontakt__info, .kontakt__form { width: 100%; max-width: 620px; }
  .kontakt__info h1 { font-size: 44px; line-height: 1; }

  .recht, .recht--datenschutz { display: block; padding: 130px 20px 50px; }
  .recht__logo { width: 180px; padding: 0 0 24px; }
  .recht__karte { padding: 28px 22px 36px; font-size: 16px; }
  .recht__karte h1 { font-size: 34px; }
  .recht--datenschutz .recht__karte { padding: 28px 22px 36px; }

  .site-footer { padding-top: 30px; }
  .site-footer__box { display: block; width: auto; height: auto; margin: 0 16px; padding: 44px 24px 36px; border-radius: 32px; text-align: center; }
  .site-footer__logo, .site-footer__kontakt, .site-footer__nav { padding: 0; }
  .site-footer__logo img { width: 171px; margin: 0 auto; }
  .site-footer__kontakt { margin-top: 28px; }
  .site-footer__kontakt address { width: auto; margin-top: 12px; }
  .site-footer__nav { margin-top: 24px; }
  .site-footer__nav a { justify-content: center; }
  .site-footer__karte { display: none; }
  .site-footer__links { gap: 4px 24px; }
}

@keyframes menu-rein { from { transform: translateX(100%); } to { transform: none; } }

@media (max-width: 750px) {
  .nav-cta { display: inline-flex; }
  .badge { display: none; }
  .qualitaet { padding-bottom: 20px; }
  .galerie__reihe, .page-orthesen .galerie__reihe, .page-prothesen .galerie__reihe, .page-kompression .galerie__reihe { grid-template-columns: 1fr; }
  .orte { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .cookie-toggles { grid-template-columns: repeat(2, 1fr); }
  .cookie-toggle:nth-child(3) { border-left: 0; }
  .cookie-toggle:nth-child(n+3) { border-top: 1px solid var(--cc-line); }
  .cookie-actions { grid-template-columns: 1fr; }
  .hinweis { border-radius: 24px; }
  .hinweis__karte { grid-template-columns: 1fr; }
  .hinweis__foto { order: -1; min-height: 0; height: 170px; }
  .hinweis__text { padding: 24px 22px 26px; font-size: 15.5px; }
  .hinweis__titel { font-size: 27px; }
  .hinweis .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transition: none; }
  .kachel img, .chevron { transition: none; }
  .nav-open .main-nav { animation: none; }
}
