/* ==========================================================================
   Rehabfisdom Services S.R.L. – Website-Stylesheet
   Baut ausschließlich auf den Tokens in tokens.css auf.
   ========================================================================== */

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

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

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  overflow-x: hidden;
}

img, svg, iframe, video { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  text-wrap: balance;
  color: var(--color-primary);
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 var(--space-md);
  font-weight: 700;
}
h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-lg); }
h4 { font-size: var(--text-md); }
p { margin: 0 0 var(--space-md); }
p:last-child { margin-bottom: 0; }

a { color: var(--color-primary); text-decoration-color: var(--color-border-strong); text-underline-offset: 3px; }
a:hover { color: var(--color-secondary-dark); }

ul { margin: 0 0 var(--space-md); padding-left: 1.15rem; }
li { margin-bottom: var(--space-xs); }
li::marker { color: var(--color-secondary); }

:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--color-primary); color: #fff; padding: var(--space-sm) var(--space-lg);
  border-radius: 0 0 var(--radius-md) 0; font-weight: 700;
}
.skip-link:focus { left: 0; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ----------------------------------------------------------------- Layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--color-bg-alt); }
.section--tight { padding-block: var(--space-3xl); }

.section-head { max-width: 760px; margin-bottom: var(--space-2xl); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-secondary-dark);
  margin-bottom: var(--space-sm);
}
.eyebrow::before {
  content: "";
  display: inline-block; width: 28px; height: 2px; margin-right: var(--space-sm);
  background: var(--color-secondary); vertical-align: middle;
}
.section-head--center .eyebrow::before { display: none; }

.lead { font-size: var(--text-md); color: var(--color-text-muted); max-width: 68ch; }
.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs);
  font-family: var(--font-heading); font-weight: 600; font-size: var(--text-sm);
  padding: 0.85rem 1.5rem; border-radius: var(--radius-pill); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: var(--transition-base);
  min-height: 48px; line-height: 1.2;
}
.btn--primary { background: var(--color-secondary); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--color-secondary-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn--outline:hover { background: var(--color-primary); color: #fff; }
.btn--light { background: #fff; color: var(--color-primary); }
.btn--light:hover { background: var(--color-bg-alt); color: var(--color-primary); }
.btn--wa { background: var(--color-whatsapp); color: #08301a; }
.btn--wa:hover { background: #1fbb59; color: #08301a; }
.btn--lg { font-size: var(--text-base); padding: 1rem 1.9rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-md); }
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--space-xs);
  font-family: var(--font-heading); font-weight: 600; font-size: var(--text-sm);
  color: var(--color-primary); text-decoration: none;
}
.link-arrow::after { content: "→"; transition: var(--transition-fast); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ----------------------------------------------------------------- Header */
.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.header .container { max-width: 1340px; }
.header__inner {
  display: flex; align-items: center; gap: var(--space-md);
  min-height: var(--header-height);
}
.brand { display: flex; align-items: center; gap: var(--space-sm); text-decoration: none; min-width: 0; }
.brand__mark { width: 54px; height: 54px; border-radius: var(--radius-md); background: var(--color-bg-alt); object-fit: contain; padding: 2px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .08em; color: var(--color-primary);
}
.brand__services {
  display: inline-block; align-self: flex-start; margin-top: 4px;
  background: var(--color-secondary); color: #fff; border-radius: var(--radius-pill);
  font-family: var(--font-heading); font-size: .58rem; font-weight: 700;
  letter-spacing: .28em; padding: 2px 10px 2px 12px; text-align: center;
}
.nav { display: flex; align-items: center; gap: clamp(6px, .9vw, 14px); margin-left: auto; }
.nav__link {
  font-family: var(--font-heading); font-weight: 600; font-size: .9rem; white-space: nowrap;
  color: var(--color-text); text-decoration: none; padding: var(--space-xs) 0;
  border-bottom: 2px solid transparent; transition: var(--transition-fast);
}
.nav__link:hover { color: var(--color-primary); border-color: var(--color-secondary); }
.nav__link[aria-current="page"] { color: var(--color-primary); border-color: var(--color-secondary); }

.langswitch { display: inline-flex; border: 1px solid var(--color-border-strong); border-radius: var(--radius-pill); overflow: hidden; }
.langswitch a {
  font-family: var(--font-heading); font-weight: 700; font-size: var(--text-xs);
  letter-spacing: .06em; padding: 6px 11px; color: var(--color-primary); text-decoration: none;
  border-right: 1px solid var(--color-border);
}
.langswitch a:last-child { border-right: 0; }
.langswitch a:hover { background: var(--color-bg-alt); }
.langswitch a[aria-current="true"] { background: var(--color-primary); color: #fff; }

.header__actions { display: flex; align-items: center; gap: var(--space-sm); flex-shrink: 0; }
.header__actions .btn { padding: .62rem 1.05rem; }
.brand__name { white-space: nowrap; }
.burger {
  display: none; width: 48px; height: 48px; border: 1px solid var(--color-border-strong);
  background: #fff; border-radius: var(--radius-md); cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--color-primary); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--color-primary); }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }

.mobilenav {
  display: none; border-top: 1px solid var(--color-border); background: #fff; padding: var(--space-md) var(--gutter) var(--space-lg);
}
.mobilenav.is-open { display: block; }
.mobilenav a {
  display: block; padding: var(--space-sm) 0; font-family: var(--font-heading);
  font-weight: 600; text-decoration: none; color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}
.mobilenav .btn { margin-top: var(--space-md); }
.mobilenav__lang { display: flex; gap: var(--space-sm); margin-top: var(--space-md); align-items: center; }

/* ------------------------------------------------------------------- Hero */
.hero { position: relative; background: linear-gradient(170deg, #fff 0%, var(--color-bg-alt) 62%, var(--color-bg-soft) 100%); overflow: hidden; }
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--space-3xl);
  align-items: center; padding-block: clamp(2.5rem, 1.5rem + 5vw, 5rem) calc(var(--wave-height) + var(--space-2xl));
}
.hero__title { margin-bottom: var(--space-lg); }
.hero__slogan {
  font-family: var(--font-heading); font-style: italic; font-weight: 700;
  font-size: var(--text-xl); color: var(--color-primary); margin-bottom: var(--space-md);
}
.hero__lead { font-size: var(--text-md); color: var(--color-text-muted); max-width: 52ch; }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--space-lg); margin-top: var(--space-xl); font-size: var(--text-sm); color: var(--color-text-muted); }
.hero__meta strong { display: block; color: var(--color-primary); font-family: var(--font-heading); font-size: var(--text-lg); }

.figure { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--color-bg-alt); box-shadow: var(--shadow-lg); }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--16-9 { aspect-ratio: 16 / 9; }
.figure--4-3 { aspect-ratio: 4 / 3; }
.figure--4-5 { aspect-ratio: 4 / 5; }
.figure--3-2 { aspect-ratio: 3 / 2; }
.figure--1-1 { aspect-ratio: 1 / 1; }

/* ------------------------------------------------------------------ Welle */
.wave { display: block; width: 100%; height: var(--wave-height); line-height: 0; margin-bottom: -1px; }
.wave svg { width: 100%; height: 100%; display: block; }
.wave--flip { transform: rotate(180deg); }
.wave--top { margin-top: -1px; }

/* --------------------------------------------------------------- Vertrauensleiste */
.trustbar { background: var(--color-primary); color: #fff; }
.trustbar__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); padding-block: var(--space-xl); }
.trustbar__item { text-align: center; }
.trustbar__value { font-family: var(--font-heading); font-weight: 700; font-size: var(--text-lg); color: var(--color-secondary-light); }
.trustbar__label { font-size: var(--text-xs); letter-spacing: .04em; opacity: .92; }

/* ----------------------------------------------------------------- Karten */
.grid { display: grid; gap: var(--space-lg); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: var(--space-xl); box-shadow: var(--shadow-sm);
  transition: var(--transition-base); display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--color-border-strong); }
.card h3 { margin-bottom: var(--space-sm); }
.card p { color: var(--color-text-muted); font-size: var(--text-sm); }

.service-card { position: relative; overflow: hidden; padding: 0; }
.service-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--color-bg-alt); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__body { padding: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-sm); flex: 1; }
.service-card__icon {
  width: 46px; height: 46px; border-radius: var(--radius-md); background: var(--color-secondary);
  color: #fff; display: grid; place-items: center; margin-bottom: var(--space-xs);
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card ul { font-size: var(--text-sm); color: var(--color-text-muted); }
.service-card .link-arrow { margin-top: auto; padding-top: var(--space-sm); }

/* ------------------------------------------------------------- Badge Platzhalter */
.badge-ai {
  position: absolute; z-index: 3; left: var(--space-sm); bottom: var(--space-sm);
  background: rgba(30, 27, 75, .88); color: #fff; font-family: var(--font-heading);
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--radius-pill); display: inline-flex; gap: 6px; align-items: center;
}
.badge-ai::before { content: "✦"; color: var(--color-secondary-light); }
.badge-ai--top { left: auto; right: var(--space-sm); bottom: auto; top: var(--space-sm); }

/* ----------------------------------------------------------------- Schritte */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-xl); }
.step__num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--color-primary); color: #fff;
  display: grid; place-items: center; font-family: var(--font-heading); font-weight: 700;
  font-size: var(--text-lg); margin-bottom: var(--space-md);
}
.step h3 { font-size: var(--text-md); }
.step p { color: var(--color-text-muted); font-size: var(--text-sm); }

/* ------------------------------------------------------------------ Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3xl); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.quote-box {
  background: var(--color-bg-alt); border-left: 5px solid var(--color-secondary);
  padding: var(--space-lg) var(--space-xl); border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic; color: var(--color-text); margin: 0 0 var(--space-lg);
}

/* ------------------------------------------------------------------ Werte */
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-md); }
.value {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-sm); text-align: center;
}
.value__icon {
  width: 44px; height: 44px; margin: 0 auto var(--space-sm); border-radius: 50%;
  background: var(--color-bg-alt); color: var(--color-secondary); display: grid; place-items: center;
}
.value__icon svg { width: 22px; height: 22px; }
.value span { font-family: var(--font-heading); font-weight: 600; font-size: var(--text-sm); color: var(--color-primary); }

/* ------------------------------------------------------------------ Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.team-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.team-card__media { position: relative; aspect-ratio: 4 / 5; background: var(--color-bg-alt); }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; }
.team-card__body { padding: var(--space-lg); }
.team-card__role { color: var(--color-secondary-dark); font-weight: 600; font-size: var(--text-sm); font-family: var(--font-heading); margin-bottom: var(--space-xs); display: block; }
.team-card p { font-size: var(--text-sm); color: var(--color-text-muted); }

/* -------------------------------------------------------------- Zertifikate */
.timeline { display: grid; gap: var(--space-lg); }
.timeline__item { display: grid; grid-template-columns: 140px 1fr; gap: var(--space-lg); align-items: start; }
.timeline__year { font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-secondary); font-weight: 700; }
.timeline__body { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-lg); display: grid; grid-template-columns: 220px 1fr; gap: var(--space-lg); }
.timeline__body .figure { border-radius: var(--radius-md); }
.timeline__body h4 { margin-bottom: var(--space-xs); }

/* ---------------------------------------------------------------- Galerie */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: var(--space-md); }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius-md); background: var(--color-bg-alt); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption {
  position: absolute; inset: auto 0 0 0; padding: var(--space-sm) var(--space-md);
  background: linear-gradient(transparent, rgba(30, 27, 75, .88)); color: #fff;
  font-size: var(--text-sm); font-weight: 600;
}

/* ---------------------------------------------------------------- Produkte */
.product { display: flex; gap: var(--space-md); align-items: flex-start; }
.product__icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: var(--radius-sm); background: var(--color-bg-alt); color: var(--color-secondary); display: grid; place-items: center; }
.product h3 { font-size: var(--text-md); margin-bottom: var(--space-xs); }
.product p { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ------------------------------------------------------------------ Rechte */
.rights-col { background: #fff; border-radius: var(--radius-lg); padding: var(--space-xl); border: 1px solid var(--color-border); }
.rights-col--duties { border-top: 5px solid var(--color-primary); }
.rights-col--rights { border-top: 5px solid var(--color-secondary); }
.rights-col ul { list-style: none; padding: 0; margin: 0; }
.rights-col li { display: flex; gap: var(--space-sm); align-items: flex-start; padding-block: var(--space-sm); border-bottom: 1px dashed var(--color-border); font-size: var(--text-sm); }
.rights-col li:last-child { border-bottom: 0; }
.rights-col li::before { content: ""; width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; border-radius: 50%; }
.rights-col--duties li::before { background: var(--color-primary); }
.rights-col--rights li::before { background: var(--color-secondary); }

/* ---------------------------------------------------------------- Kontakt */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-3xl); align-items: start; }
.form { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-xl); box-shadow: var(--shadow-sm); }
.field { margin-bottom: var(--space-md); }
.field label { display: block; font-family: var(--font-heading); font-weight: 600; font-size: var(--text-sm); margin-bottom: var(--space-xs); color: var(--color-primary); }
.field .req { color: var(--color-secondary-dark); font-weight: 400; font-size: var(--text-xs); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--color-border-strong); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: var(--text-base); color: var(--color-text); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--color-secondary); outline-offset: 1px; border-color: var(--color-secondary); }
.checkbox { display: flex; gap: var(--space-sm); align-items: flex-start; font-size: var(--text-sm); }
.checkbox input { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; accent-color: var(--color-secondary); }
.honeypot { position: absolute; left: -9999px; }

.contactlist { list-style: none; padding: 0; margin: 0 0 var(--space-xl); }
.contactlist li { display: flex; gap: var(--space-md); align-items: flex-start; padding-block: var(--space-md); border-bottom: 1px solid var(--color-border); }
.contactlist li:last-child { border-bottom: 0; }
.contactlist__icon { width: 42px; height: 42px; border-radius: 50%; background: var(--color-bg-alt); color: var(--color-secondary); display: grid; place-items: center; flex-shrink: 0; }
.contactlist__icon svg { width: 20px; height: 20px; }
.contactlist span { display: block; font-size: var(--text-xs); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .08em; }
.contactlist a { font-weight: 600; text-decoration: none; }
.contactlist a:hover { text-decoration: underline; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); background: var(--color-bg-alt); }
.map-embed iframe { width: 100%; height: 340px; border: 0; }

.notebox { background: var(--color-info-bg); border-left: 4px solid var(--color-warning); padding: var(--space-md) var(--space-lg); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: var(--text-sm); }

/* ------------------------------------------------------------------- FAQ */
.faq { display: grid; gap: var(--space-sm); }
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-md) var(--space-lg); }
.faq summary { font-family: var(--font-heading); font-weight: 600; color: var(--color-primary); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--space-md); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--color-secondary); font-size: var(--text-xl); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: var(--space-md); color: var(--color-text-muted); font-size: var(--text-sm); }

/* ------------------------------------------------------------------ Footer */
.footer { background: var(--color-primary-dark); color: rgba(255, 255, 255, .82); position: relative; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--space-2xl); padding-block: var(--space-3xl); }
.footer h3, .footer h4 { color: #fff; font-size: var(--text-sm); letter-spacing: .12em; text-transform: uppercase; margin-bottom: var(--space-md); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: var(--space-xs); font-size: var(--text-sm); }
.footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.footer a:hover { color: var(--color-secondary-light); text-decoration: underline; }
.footer__brand .brand__name { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: var(--space-lg); font-size: var(--text-xs); display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: space-between; }
.social { display: flex; gap: var(--space-sm); margin-top: var(--space-md); }
.social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; }
.social a:hover { background: var(--color-secondary); }
.social svg { width: 20px; height: 20px; }
.footer__note { font-size: var(--text-xs); color: rgba(255, 255, 255, .6); margin-top: var(--space-md); }
.footer__coming { font-size: var(--text-xs); color: rgba(255, 255, 255, .5); border: 1px dashed rgba(255, 255, 255, .28); border-radius: var(--radius-sm); padding: var(--space-xs) var(--space-sm); display: inline-block; margin-top: var(--space-sm); }

/* --------------------------------------------------------- Schwebender Button */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: var(--z-float);
  width: 60px; height: 60px; border-radius: 50%; background: var(--color-whatsapp);
  display: grid; place-items: center; box-shadow: var(--shadow-lg); transition: var(--transition-base);
}
.fab:hover { transform: scale(1.07); }
.fab svg { width: 32px; height: 32px; }
.fab__label {
  position: absolute; right: 70px; white-space: nowrap; background: var(--color-primary-dark); color: #fff;
  font-size: var(--text-xs); padding: 6px 12px; border-radius: var(--radius-pill); opacity: 0; transition: var(--transition-base);
}
.fab:hover .fab__label, .fab:focus-visible .fab__label { opacity: 1; }

/* ------------------------------------------------------------ Cookie-Hinweis */
.cookie {
  position: fixed; left: 16px; bottom: 16px; z-index: var(--z-cookie);
  background: #fff; border: 1px solid var(--color-border-strong); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: var(--space-md) var(--space-lg); display: flex; flex-wrap: wrap;
  gap: var(--space-md); align-items: center; justify-content: space-between; max-width: 540px;
}
.cookie p { margin: 0; font-size: var(--text-xs); color: var(--color-text-muted); line-height: 1.5; }
.cookie__actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.cookie .btn { padding: .6rem 1.1rem; font-size: var(--text-xs); width: auto; }
.cookie.is-hidden { display: none; }

/* -------------------------------------------------------------- Responsive */
@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header__inner { justify-content: space-between; }
  .header__actions .btn { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .trustbar__inner { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3, .team { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .split--reverse .split__media { order: 0; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .timeline__body { grid-template-columns: 1fr; }
  .timeline__item { grid-template-columns: 1fr; gap: var(--space-sm); }
}

@media (max-width: 640px) {
  :root { --text-2xl: 1.75rem; --text-3xl: 1.5rem; }
  .header .container { padding-inline: var(--space-md); }
  .brand__mark { width: 44px; height: 44px; }
  .brand__name { font-size: .92rem; }
  .langswitch a { padding: 6px 8px; }
  .header__actions { gap: var(--space-xs); }
  .grid--2, .grid--3, .grid--4, .team, .values { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .footer__inner { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .cookie { left: 8px; right: 8px; bottom: 8px; padding: var(--space-md); }
  .cookie__actions { width: 100%; }
}

@media print {
  .header, .footer, .fab, .cookie, .mobilenav { display: none !important; }
  body { color: #000; }
}
