/* =========================================================================
   ROC Skischule – site.css
   -------------------------------------------------------------------------
   Scaling system
   - All measurements are written in rem where 1rem = 10 "design pixels" of the
     1900px desktop XD artboard (e.g. 55px heading → 5.5rem).
   - ≥1900px : html font-size 10px, page capped at 190rem (1900px) and centered.
   - 1024–1899px : html font-size = 100vw / 190 → everything scales linearly.
   - 768–1023px : font-size frozen at the 1024 value (5.3895px); layout stays fluid.
   - <768px : html font-size 10px again and the *_mobile design values apply
     (390px artboard, fixed sizes, fluid widths).
   ========================================================================= */

/* ---------- fonts ---------- */
@font-face { font-family: 'Titillium Web'; font-weight: 200; font-style: normal; font-display: swap; src: url(../fonts/TitilliumWeb-ExtraLight.ttf) format('truetype'); }
@font-face { font-family: 'Titillium Web'; font-weight: 300; font-style: normal; font-display: swap; src: url(../fonts/TitilliumWeb-Light.ttf) format('truetype'); }
@font-face { font-family: 'Titillium Web'; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/TitilliumWeb-Regular.ttf) format('truetype'); }
@font-face { font-family: 'Titillium Web'; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/TitilliumWeb-SemiBold.ttf) format('truetype'); }
@font-face { font-family: 'Titillium Web'; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/TitilliumWeb-Bold.ttf) format('truetype'); }
@font-face { font-family: 'Montserrat'; font-weight: 400 700; font-style: normal; font-display: swap; src: url(../fonts/montserrat-variable-latin.woff2) format('woff2'); }

/* ---------- tokens ---------- */
:root {
  --c-dark: #313131;
  --c-text: #2e2e2e;
  --c-green: #8fbea8;
  --c-light: #f1f1f1;
  --c-white: #fff;
  --c-ondark: #e6e4e4;
  --c-btn: #3d3c3c;
  --c-muted: #707070;
  --c-line: #808080;
  --c-watermark: #c7c5c5;

  --ff-body: 'Titillium Web', 'Segoe UI', sans-serif;
  --ff-alt: 'Montserrat', 'Segoe UI', sans-serif;
  --ff-arial: Arial, Helvetica, sans-serif;

  --header-h: 12.3rem;
  --pad-outer: 9.15rem;    /* (1900-1717)/2  → .wrap        */
  --pad-inner: 18.15rem;   /* (1900-1537)/2  → .wrap-narrow */
  --gutter: 8rem;

  --ease: cubic-bezier(.4, 0, .2, 1);
}

html { font-size: 10px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (min-width: 768px) and (max-width: 1899.98px) { html { font-size: calc(100vw / 190); } }
@media (min-width: 768px) and (max-width: 1023.98px) { html { font-size: 5.3895px; } }

@media (max-width: 767.98px) {
  :root {
    --header-h: 6.4rem;
    --pad-outer: 2.5rem;
    --pad-inner: 2.5rem;
    --gutter: 3.2rem;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--c-light);
  color: var(--c-text);
  font-family: var(--ff-body);
  font-size: 2.2rem;
  line-height: 3.2rem;
  letter-spacing: .03em;
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 767.98px) {
  body { font-size: 1.4rem; line-height: 2.2rem; padding-bottom: 4.7rem; }
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; letter-spacing: inherit; color: inherit; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.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; }

/* page wrapper – capped at the 1900px artboard width and centered */
.site { position: relative; max-width: 190rem; margin: 0 auto; background: var(--c-light); overflow-x: clip; }
.wrap        { width: 100%; padding-inline: var(--pad-outer); }   /* 1717 */
.wrap-narrow { width: 100%; padding-inline: var(--pad-inner); }   /* 1537 */
.row { --bs-gutter-x: var(--gutter); --bs-gutter-y: 0; }

/* ---------- typography ---------- */
.h1, .h2, .h3 { font-family: var(--ff-body); font-weight: 600; color: var(--c-text); }
.h1 { font-size: 5.5rem; line-height: 1.2; letter-spacing: .03em; }
.h2 { font-size: 4.5rem; line-height: 1.2; letter-spacing: .075em; }
.h3 { font-size: 4rem;   line-height: 1.2; letter-spacing: .05em; }
.h4 { font-size: 3rem;   line-height: 1.2; letter-spacing: .03em; font-weight: 600; }

.eyebrow { font-family: var(--ff-alt); font-weight: 400; font-size: 1.8rem; line-height: 1.3; letter-spacing: .05em; text-transform: uppercase; color: var(--c-text); }
.text    { font-size: 2.2rem; line-height: 3.2rem; letter-spacing: .03em; }
.text-sm { font-size: 1.8rem; line-height: 3rem;   letter-spacing: .03em; }
.text-md { font-size: 2rem;   line-height: 3rem;   letter-spacing: .03em; }
.text-lg { font-size: 2.8rem; line-height: 4rem;   letter-spacing: .03em; }
.intro-text { font-size: 2.5rem; line-height: 4rem; letter-spacing: .03em; }
.lbl { font-weight: 200; }                      /* light "label" line inside text blocks */
.text p + p, .text-sm p + p, .text-md p + p, .text-lg p + p, .intro-text p + p { margin-top: 3.2rem; }
.text ul, .text-lg ul, .text-md ul, .text-sm ul, .intro-text ul { list-style: none; }
.text li::before, .text-lg li::before, .text-md li::before, .text-sm li::before, .intro-text li::before { content: '- '; }

@media (max-width: 767.98px) {
  .h1 { font-size: 2.8rem; line-height: 3.5rem; letter-spacing: .03em; }
  .h2 { font-size: 2.2rem; line-height: 2.9rem; letter-spacing: .03em; }
  .h3 { font-size: 2.2rem; line-height: 2.9rem; letter-spacing: .03em; }
  .h4 { font-size: 2.4rem; line-height: 3rem;   letter-spacing: .025em; }
  .eyebrow { font-size: 1.2rem; font-weight: 500; letter-spacing: .1em; }
  .text, .text-sm, .text-md, .text-lg { font-size: 1.4rem; line-height: 2.2rem; letter-spacing: .03em; }
  .intro-text { font-size: 1.4rem; line-height: 2.2rem; letter-spacing: .05em; }
  .text p + p, .text-sm p + p, .text-md p + p, .text-lg p + p, .intro-text p + p { margin-top: 2.2rem; }
}

/* ---------- icons ---------- */
.icon { display: inline-block; width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; flex: none; }
.icon--arrow { transition: transform .35s var(--ease); }
.rot-down { transform: rotate(90deg); }
.rot-left { transform: rotate(180deg); }
.rot-up   { transform: rotate(-90deg); }

/* ---------- links & buttons ---------- */
.cta-link {
  display: inline-flex; align-items: center; gap: 2rem;
  font-family: var(--ff-alt); font-weight: 500; font-size: 2rem; line-height: 1.2; letter-spacing: .05em;
  text-transform: uppercase; text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: .08em;
  color: var(--c-text); background: none; border: 0; padding: 0; cursor: pointer;
}
.cta-link .icon { width: 2.2rem; height: 2.2rem; stroke-width: 2.6; }
.cta-link:hover .icon { transform: translateX(.4rem); }
.cta-link .icon { transition: transform .3s var(--ease); }
.cta-link--lg { font-size: 3rem; }

.btn-roc {
  display: inline-flex; align-items: center; justify-content: center; gap: 1.2rem;
  height: 7.8rem; padding: 0 3.6rem; border-radius: 1.7rem; border: 0;
  background: var(--c-btn); color: var(--c-white);
  font-family: var(--ff-alt); font-weight: 500; font-size: 1.5rem; line-height: 1; letter-spacing: .05em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .25s var(--ease), transform .25s var(--ease);
}
.btn-roc .icon { width: 1.1rem; height: 1.1rem; stroke-width: 2.8; }
.btn-roc:hover { background: var(--c-dark); color: var(--c-white); transform: translateY(-.2rem); }
.btn-group-roc { display: flex; flex-wrap: wrap; align-items: center; gap: 7.6rem; }

@media (max-width: 767.98px) {
  .cta-link { font-size: 1.2rem; gap: 1.5rem; }
  .cta-link .icon { width: 1.4rem; height: 1.4rem; }
  .cta-link--lg { font-size: 1.4rem; }
  .btn-roc { height: 4.55rem; padding: 0 1.2rem; border-radius: 1rem; font-size: 1rem; gap: .7rem; }
  .btn-roc .icon { width: .8rem; height: .8rem; }
  .btn-group-roc { gap: 2rem; }
}

/* ---------- animated collapse (grid 0fr ⇄ 1fr) ---------- */
.collapse-roc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.collapse-roc.is-open { grid-template-rows: 1fr; }
.collapse-roc__clip { overflow: hidden; min-height: 0; }
.collapse-roc__body { opacity: 0; transition: opacity .3s var(--ease); }
.collapse-roc.is-open .collapse-roc__body { opacity: 1; transition-delay: .15s; }
@media (prefers-reduced-motion: reduce) {
  .collapse-roc, .collapse-roc__body, .icon--arrow, .btn-roc, .cta-link .icon { transition: none !important; }
}

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header { /* outside .site: full viewport width, burger/CTA at the viewport edges, logo centred */
  position: sticky; top: 0; z-index: 900;
  height: var(--header-h); background: var(--c-dark); color: var(--c-white);
}
.site-header__inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; }
.site-header__logo { display: block; width: 25.3rem; height: 7.7rem; color: var(--c-white); }
.site-header__logo svg { width: 100%; height: 100%; display: block; }
.site-header__cta {
  position: absolute; right: 0; top: 0; height: 100%; width: 34rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-green); color: #2f2e2e; text-decoration: none;
  font-family: var(--ff-alt); font-weight: 700; font-size: 3rem; letter-spacing: .09em; text-transform: uppercase;
  transition: background .25s var(--ease);
}
.site-header__cta:hover { background: #7fb096; color: #2f2e2e; }
.site-header__lang { display: none; }

/* burger → X */
.burger {
  position: absolute; left: var(--pad-outer); top: 50%; transform: translateY(-50%);
  width: 4.2rem; height: 3.4rem; padding: 0; background: none; border: 0; cursor: pointer; z-index: 960;
}
.burger span {
  position: absolute; left: 0; width: 100%; height: .25rem; background: currentColor; border-radius: .2rem;
  transition: transform .35s var(--ease), opacity .25s var(--ease), background .3s;
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 50%; margin-top: -.125rem; }
.burger span:nth-child(3) { bottom: 0; }
.menu-open .burger { color: #2e2f2f; }
.menu-open .burger span:nth-child(1) { top: 50%; margin-top: -.125rem; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { bottom: auto; top: 50%; margin-top: -.125rem; transform: rotate(-45deg); }

/* off-canvas menu */
.site-menu__close {
  position: absolute; left: var(--pad-outer); top: calc(var(--header-h) / 2); transform: translateY(-50%);
  width: 4.2rem; height: 4.2rem; padding: 0; background: none; border: 0; cursor: pointer; color: #2e2f2f;
}
.site-menu__close::before, .site-menu__close::after { content: ''; position: absolute; left: 0; top: 50%; width: 100%; height: .25rem; margin-top: -.125rem; background: currentColor; border-radius: .2rem; }
.site-menu__close::before { transform: rotate(45deg); }
.site-menu__close::after { transform: rotate(-45deg); }
.site-menu {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 950;
  width: 77rem; background: var(--c-light); color: #2f2e2e;
  /* header, burger and menu are full-viewport (outside .site): the menu opens at the viewport edge under the burger */
  /* fade + short slide from the left */
  transform: translateX(-4rem); opacity: 0; visibility: hidden;
  transition: transform .4s var(--ease), opacity .35s var(--ease), visibility 0s linear .4s;
  padding: 14.3rem 0 0 9.7rem;
}
.menu-open .site-menu { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.site-menu__nav li a {
  display: block; text-decoration: none;
  font-family: var(--ff-alt); font-weight: 400; font-size: 2.6rem; line-height: 5rem; letter-spacing: .1em; text-transform: uppercase;
  transition: color .2s;
}
.site-menu__nav li a:hover, .site-menu__nav li.is-active a { color: #6f9d86; }
.site-menu__lang { position: absolute; left: 9.7rem; top: 61.8rem; display: flex; gap: 4.6rem; }
.site-menu__lang a, .site-header__lang a { font-family: var(--ff-alt); font-size: 2.4rem; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; }
.site-menu__lang a.is-active, .site-header__lang a.is-active { font-weight: 600; }
.site-menu__backdrop { position: fixed; inset: 0; z-index: 940; background: rgba(0, 0, 0, 0); visibility: hidden; transition: background .45s, visibility 0s linear .45s; }
.menu-open .site-menu__backdrop { background: rgba(0, 0, 0, .15); visibility: visible; transition-delay: 0s; }
.menu-open { overflow: hidden; }

/* mobile bottom bar (whatsapp | phone | ANFRAGEN) */
.mobile-bar { display: none; }

@media (max-width: 767.98px) {
  .site-header__logo { width: 8.2rem; height: 2.9rem; }
  .site-header__cta { display: none; }
  .site-header__lang { display: flex; gap: 1.8rem; position: absolute; right: 2.5rem; top: 50%; transform: translateY(-50%); }
  .site-header__lang a { font-size: 1.3rem; letter-spacing: .09em; color: var(--c-white); }
  .burger { left: 2.5rem; width: 2.1rem; height: 1.5rem; }
  .burger span { height: .15rem; }
  .burger span:nth-child(2) { margin-top: -.075rem; }
  .menu-open .burger { color: var(--c-white); }
  .menu-open .burger span:nth-child(1), .menu-open .burger span:nth-child(3) { margin-top: -.075rem; }
  .site-menu { top: var(--header-h); bottom: 4.7rem; left: 0; width: 100%; padding: 3.5rem 0 0 2.5rem; }
  .site-menu__nav li a { font-size: 1.5rem; line-height: 4rem; letter-spacing: .1em; }
  .site-menu__lang { display: none; }
  .site-menu__close { display: none; }
  .site-menu__backdrop { display: none; }

  .mobile-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 930;
    display: flex; height: 4.7rem; background: var(--c-light); border-top: 1px solid rgba(128, 128, 128, .35); border-bottom: 1px solid rgba(128, 128, 128, .35);
  }
  .mobile-bar__item { display: flex; align-items: center; justify-content: center; text-decoration: none; color: #292929; border-right: 1px solid rgba(128, 128, 128, .35); }
  .mobile-bar__item--whatsapp .icon { width: 3.449rem; height: 3.143rem; }
  .mobile-bar__item--phone .icon { width: 3rem; height: 3rem; }
  .mobile-bar__item--whatsapp { width: 8.15rem; }
  .mobile-bar__item--phone { width: 7.1rem; }
  .mobile-bar__item--cta { flex: 1; border-right: 0; background: var(--c-green); color: #2f2e2e; font-family: var(--ff-alt); font-weight: 700; font-size: 1.4rem; letter-spacing: .09em; text-transform: uppercase; }
}

/* =========================================================================
   SECTIONS
   ========================================================================= */
.section { padding-block: 9rem; }
.section--intro { padding: 14rem 0 8rem; }
.section--tight { padding-block: 5rem; }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
@media (max-width: 767.98px) {
  .section { padding-block: 4rem; }
  .section--intro { padding: 4rem 0 4rem; }
  .section--tight { padding-block: 2.5rem; }
}

/* ---------- hero ---------- */
.hero { position: relative; width: 100%; height: 81.6rem; overflow: hidden; background: #ddd; }
.hero img, .hero picture { display: block; width: 100%; height: 100%; }
.hero img { object-fit: cover; object-position: 50% 35%; }
@media (max-width: 767.98px) { .hero { height: 46.7rem; } }

/* ---------- page intro (h1 + centered text) ---------- */
.page-intro { text-align: center; }
.page-intro .eyebrow { margin-bottom: 1.5rem; }
.page-intro .h1 { margin-bottom: 3.5rem; }
.page-intro .intro-text { max-width: 131rem; margin-inline: auto; }
.page-intro .intro-text--quote { font-size: 3rem; max-width: 72rem; }
.page-intro .toggle-text { margin-top: 3.5rem; }
@media (max-width: 767.98px) {
  .page-intro .h1 { margin-bottom: 2rem; }
  .page-intro .intro-text--quote { font-size: 1.1rem; line-height: 1.8rem; letter-spacing: .02em; }
  .page-intro .toggle-text { margin-top: 2.5rem; }
}

/* ---------- toggle text ("Dropdown ↓", "Saisonen ↓") ---------- */
.toggle-text__link {
  display: inline-flex; align-items: center; gap: 1.6rem;
  font: inherit; letter-spacing: inherit; color: inherit;
  text-decoration: underline; text-underline-offset: .2em; background: none; border: 0; padding: 0; cursor: pointer;
}
.toggle-text__link .icon { width: 2.2rem; height: 2.2rem; stroke-width: 2.6; transform: rotate(90deg); }
.toggle-text__link[aria-expanded="true"] .icon { transform: rotate(-90deg); }
.toggle-text__body { padding-top: 1.5rem; }
.toggle-text--center { text-align: center; }
.toggle-text + .toggle-text { margin-top: .4rem; }
@media (max-width: 767.98px) {
  .toggle-text__link { gap: 1rem; }
  .toggle-text__link .icon { width: 1.4rem; height: 1.4rem; }
  .toggle-text__body { padding-top: 1rem; }
}

/* ---------- image + text (2 columns, bottom aligned) ---------- */
.imagetext { align-items: flex-end; }
.imagetext__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.imagetext--portrait .imagetext__media img { aspect-ratio: 750 / 876; }
.imagetext--landscape .imagetext__media img { aspect-ratio: 728 / 533; }
.imagetext__text > .eyebrow { margin-bottom: 2rem; }
.imagetext__text > .h2 + * { margin-top: 4.5rem; }
.imagetext__text .btn-roc, .imagetext__text .btn-group-roc, .imagetext__text .cta-link { margin-top: 9rem; }
.imagetext__text .btn-group-roc .btn-roc, .imagetext__text .btn-group-roc .cta-link { margin-top: 0; }
.imagetext__text--narrow > .h2, .imagetext__text--narrow > .text { max-width: 61rem; }
.text + .toggle-text, .intro-text + .toggle-text { margin-top: 3.2rem; }
.imagetext--reverse { flex-direction: row-reverse; }
.imagetext--reverse .imagetext__text { text-align: right; }
.imagetext--reverse .imagetext__text.text-start { text-align: left; }
.imagetext--reverse .imagetext__text:not(.text-start) .btn-group-roc { justify-content: flex-end; }
/* bleed: image runs to the viewport edge (home / privatunterricht "Unser Team")
   design: image 0–1100, text 1158–1719 → the row spans from the edge to the inner width, no gutters */
.imagetext--bleed { --bs-gutter-x: 0; margin-left: calc(-1 * var(--pad-inner)); }
.imagetext--bleed .imagetext__media { flex: 0 0 auto; width: 110rem; }
@media (min-width: 768px) and (max-width: 1023.98px) { .imagetext--bleed .imagetext__media { width: 60%; } }
.imagetext--bleed .imagetext__media img { aspect-ratio: 1100 / 726; }
.imagetext--bleed .imagetext__text { flex: 1 1 0; min-width: 0; padding-left: 5.8rem; }
.imagetext--bleed.imagetext--reverse { margin-left: 0; margin-right: calc(-1 * var(--pad-inner)); }
.imagetext--bleed.imagetext--reverse .imagetext__text { padding-left: 0; padding-right: 5.8rem; }

@media (max-width: 767.98px) {
  .imagetext__media { margin-bottom: 2.5rem; }
  .imagetext__text > .eyebrow { margin-bottom: 1.2rem; }
  .imagetext__text > .h2 + * { margin-top: 2.2rem; }
  .imagetext__text .btn-roc, .imagetext__text .btn-group-roc, .imagetext__text .cta-link { margin-top: 3rem; }
  .text + .toggle-text, .intro-text + .toggle-text { margin-top: 2.2rem; }
  .imagetext--portrait .imagetext__media img { aspect-ratio: 1 / 1; }
  .imagetext--landscape .imagetext__media img { aspect-ratio: 1 / 1; }
  .imagetext--reverse .imagetext__text { text-align: left; }
  .imagetext--reverse .imagetext__text:not(.text-start) .btn-group-roc { justify-content: flex-start; }
  .imagetext--bleed, .imagetext--bleed.imagetext--reverse { margin-inline: calc(-1 * var(--pad-inner)); }
  .imagetext--bleed .imagetext__media { width: 100%; margin-bottom: 4rem; }
  .imagetext--bleed .imagetext__media img { aspect-ratio: 390 / 324; }
  .imagetext--bleed .imagetext__text, .imagetext--bleed.imagetext--reverse .imagetext__text { padding: 0 var(--pad-inner); text-align: center; }
  .imagetext--bleed .imagetext__text .cta-link { justify-content: center; width: 100%; }
}

/* media slider (Swiper) – several images in an imagetext media column */
.media-slider { position: relative; width: 100%; --swiper-theme-color: #fff; --swiper-pagination-bullet-inactive-color: #fff; --swiper-pagination-bullet-inactive-opacity: .5; --swiper-pagination-bullet-size: 1rem; --swiper-pagination-bullet-horizontal-gap: .5rem; --swiper-pagination-bottom: 3rem; }
.media-slider .swiper-slide img { width: 100%; }
.media-slider.swiper-initialized .swiper-slide { cursor: grab; }
.media-slider .swiper-slide:active { cursor: grabbing; }
.media-slider .swiper-pagination-bullet { transition: opacity .3s; }
@media (max-width: 767.98px) { .media-slider { --swiper-pagination-bullet-size: .6rem; --swiper-pagination-bullet-horizontal-gap: .25rem; --swiper-pagination-bottom: 2.4rem; } }

/* ---------- teaser cards (Unser Angebot, Team) ---------- */
.teaser-grid { --bs-gutter-y: 7.5rem; }
.teaser__media img { width: 100%; aspect-ratio: 747 / 517; object-fit: cover; }
.teaser { display: flex; flex-direction: column; }
.teaser__body { display: flex; flex-direction: column; flex: 1; padding-top: 2.8rem; }
.teaser__body .cta-link { align-self: flex-start; }
.teaser__body .eyebrow { margin-bottom: 1.6rem; }
.teaser__body .h3 + .text-sm { margin-top: 2.2rem; }
.teaser__body .cta-link { margin-top: auto; padding-top: 5rem; }
.teaser__rule { width: 14.3rem; height: 1px; background: var(--c-muted); margin: 3.4rem 0 3.2rem; }
@media (max-width: 767.98px) {
  .teaser-grid { --bs-gutter-y: 5rem; }
  .teaser__media img { aspect-ratio: 340 / 240; }
  .teaser__body { padding-top: 1.8rem; }
  .teaser__body .eyebrow { margin-bottom: 1.2rem; }
  .teaser__body .h3 + .text-sm { margin-top: 1.6rem; }
  .teaser__body .cta-link { padding-top: 3rem; }
  .teaser__rule { width: 11.8rem; margin: 2.2rem 0 1.6rem; }
}

/* ---------- 3 column teaser with divider (Team "Discover more") ---------- */
.divider-text { display: flex; align-items: center; gap: 4rem; font-family: var(--ff-alt); font-weight: 500; font-size: 3rem; letter-spacing: .05em; text-transform: uppercase; color: var(--c-text); margin-bottom: 8rem; }
.divider-text::before, .divider-text::after { content: ''; flex: 1; height: 1px; background: var(--c-line); }
.teaser3 { --bs-gutter-x: 6.4rem; }
.teaser3__media img { width: 100%; aspect-ratio: 513 / 587; object-fit: cover; }
.teaser3__body { padding-top: 5rem; }
.teaser3__body .h4 + .text-md { margin-top: 2rem; }
.teaser3__body .cta-link { margin-top: 4.4rem; }
@media (max-width: 767.98px) {
  .divider-text { font-size: 1.4rem; font-weight: 400; gap: 2.5rem; margin-bottom: 3.8rem; }
  .teaser3__media img { aspect-ratio: 1 / 1; }
  .teaser3__body { padding-top: 2.5rem; }
  .teaser3__body .h4 + .text-md { margin-top: 1.4rem; }
  .teaser3__body .cta-link { margin-top: 2.6rem; }
}

/* ---------- USP dark boxes ---------- */
.usp { display: flex; gap: 4.7rem; }
.usp__box {
  flex: 1 1 0; aspect-ratio: 602 / 431; padding: 5rem 4rem;
  background: var(--c-dark); color: var(--c-ondark);
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 2.8rem;
}
.usp__box--flip { flex-direction: column-reverse; }
.usp__title { font-size: 3rem; line-height: 3.8rem; font-weight: 600; letter-spacing: .01em; color: inherit; }
.usp__text { font-size: 2rem; line-height: 3rem; letter-spacing: .03em; }
@media (max-width: 767.98px) {
  .usp { gap: 2.1rem; }
  .usp__box { aspect-ratio: auto; height: 26.7rem; padding: 2.5rem 1.6rem; gap: 1.8rem; }
  .usp__title { font-size: 2rem; line-height: 2.2rem; letter-spacing: .02em; }
  .usp__text { font-size: 1.2rem; line-height: 1.8rem; letter-spacing: .02em; }
}

/* ---------- centered text section (home "Unser Team") ---------- */
.center-block { display: flex; flex-direction: column; align-items: center; text-align: center; }
.center-block .h2 + .text { margin-top: 3rem; }
.center-block .text { max-width: 142rem; }
.center-block .cta-link { margin-top: 4.2rem; }
.center-block__media { width: 100%; margin-top: 4rem; }
.center-block__media img { width: 100%; aspect-ratio: 1596 / 764; object-fit: cover; }
@media (max-width: 767.98px) {
  .center-block .h2 + .text { margin-top: 2rem; }
  .center-block .cta-link { margin-top: 2.5rem; }
  .center-block__media { order: -1; margin: 0 0 3rem; }
  .center-block__media img { aspect-ratio: 340 / 240; }
}

/* ---------- section heading (Unser Angebot) ---------- */
.section-heading { text-align: center; margin-bottom: 6.5rem; }
@media (max-width: 767.98px) { .section-heading { margin-bottom: 3.5rem; } .section-heading .h1 { font-size: 2.8rem; line-height: 4rem; letter-spacing: .05em; } }

/* ---------- watermark word above accordion / table ---------- */
.watermark { position: relative; z-index: 2; pointer-events: none; margin: 0 0 -1.5rem 7.5rem; font-family: var(--ff-arial); font-weight: 400; font-size: 20rem; line-height: 1; letter-spacing: .075em; text-transform: uppercase; color: var(--c-watermark); white-space: nowrap; }
.watermark--sm { font-size: 12rem; letter-spacing: .05em; margin-bottom: -.5rem; }
@media (max-width: 767.98px) {
  .watermark { font-size: 6rem; letter-spacing: .05em; margin: 0 0 0 1.6rem; }
  .watermark--sm { font-size: 4rem; margin-bottom: -.3rem; }
}

/* ---------- accordion (FAQ / INFO / NIVEAUS) ---------- */
.faq { border-top: 1px solid var(--c-line); }
.faq__item {
  display: grid; grid-template-columns: 85.3rem 1fr 6.7rem; align-items: start;
  padding: 0 10.4rem 0 13.7rem; border-bottom: 1px solid var(--c-line); cursor: pointer;
  transition: background .35s var(--ease);
}
.faq__item.is-open { background: var(--c-green); }
.faq__toggle {
  grid-column: 1; grid-row: 1; text-align: left; background: none; border: 0; padding: 4.4rem 3rem 3.3rem 0; cursor: pointer;
  font-family: var(--ff-body); font-weight: 600; font-size: 4rem; line-height: 1.2; letter-spacing: .03em; color: var(--c-text);
}
.faq__icon { grid-column: 3; grid-row: 1; width: 6.7rem; height: 6.7rem; margin-top: 3.4rem; color: #000; pointer-events: none; stroke-width: 2.3; transform: rotate(90deg); }
.faq__item.is-open .faq__icon { transform: rotate(180deg); }
.faq__collapse { grid-column: 2; grid-row: 1; }
.faq__body { padding: 4.4rem 4rem 4rem 0; cursor: auto; }
.faq__footer { display: flex; justify-content: center; padding: 3rem 0 0; }
@media (max-width: 767.98px) {
  .faq__item { grid-template-columns: 1fr 2.2rem; padding: 0 3.3rem 0 3.3rem; }
  .faq__toggle { padding: 1.4rem 2rem 1.2rem 0; font-size: 2.2rem; line-height: 2.9rem; }
  .faq__icon { grid-column: 2; width: 2.2rem; height: 2.2rem; margin-top: 1.8rem; stroke-width: 2.6; }
  .faq__collapse { grid-column: 1 / -1; grid-row: 2; }
  .faq__body { padding: 0 0 1.6rem; }
}

/* ---------- info table (GOOD TO KNOW) ---------- */
.infotable { background: var(--c-green); border-top: 1px solid var(--c-muted); border-bottom: 1px solid var(--c-muted); }
.infotable__row { display: grid; grid-template-columns: 56.3rem 1fr; padding: 4.5rem 13.7rem; border-bottom: 1px solid var(--c-muted); }
.infotable__label { font-weight: 600; font-size: 4rem; line-height: 1.2; letter-spacing: .03em; color: var(--c-text); padding-right: 3rem; }
.infotable__value { font-size: 3rem; line-height: 4rem; letter-spacing: .03em; max-width: 90rem; }
.infotable__value a { text-underline-offset: .15em; }
.infotable__footer { display: flex; justify-content: center; padding: 3rem 0 2.3rem; }
@media (max-width: 767.98px) {
  .infotable__row { grid-template-columns: 1fr; padding: 1.5rem 3.3rem 1.8rem; }
  .infotable__label { font-weight: 700; font-size: 2.2rem; line-height: 2.9rem; padding: 0 0 .4rem; }
  .infotable__value { font-size: 1.4rem; line-height: 2.2rem; }
  .infotable__footer { padding: 3rem 0; }
}

/* ---------- icon rows (Über ROC) ---------- */
.iconrow { align-items: center; padding-block: 6rem; }
.iconrow__icon { display: flex; justify-content: center; }
.iconrow__icon img { width: 23rem; aspect-ratio: 1 / 1; object-fit: cover; }
.iconrow__text { text-align: center; }
.iconrow__text > * { max-width: 78rem; margin-inline: auto; }
.iconrow__text .h2 + .text { margin-top: 3.2rem; }
.iconrow--reverse { flex-direction: row-reverse; }
@media (max-width: 767.98px) {
  .iconrow { padding-block: 3.5rem; }
  .iconrow__icon { margin-bottom: 1.6rem; }
  .iconrow__icon img { width: 9.3rem; }
  .iconrow__text .h2 + .text { margin-top: 2rem; }
}

/* ---------- contact links (Kontakt) ---------- */
.contact-links { display: flex; justify-content: center; gap: 37rem; margin-top: 7rem; }
.contact-links__item { display: flex; flex-direction: column; align-items: center; gap: 2.4rem; }
.contact-links__item .icon { width: 7.6rem; height: 5.6rem; stroke-width: 1.4; color: #292929; }
.contact-links__item a { font-size: 3rem; letter-spacing: .03em; }
@media (max-width: 767.98px) {
  .contact-links { flex-direction: column; gap: 3.2rem; margin-top: 3rem; }
  .contact-links__item { gap: 1.4rem; }
  .contact-links__item .icon { width: 3rem; height: 2.4rem; stroke-width: 1.6; }
  .contact-links__item a { font-size: 1.5rem; letter-spacing: .05em; }
}

/* ---------- form box ---------- */
.form-box { background: var(--c-white); border: 1px solid var(--c-muted); padding: 12rem 0 11rem; }
.form-box__title { text-align: center; font-size: 5rem; letter-spacing: .075em; margin-bottom: 8rem; }
.form-roc { max-width: 107.2rem; margin-inline: auto; --bs-gutter-x: 8rem; --bs-gutter-y: 9rem; }
.field { position: relative; }
.field__control {
  display: block; width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--c-line); border-radius: 0;
  padding: .8rem 0 .6rem; font-family: var(--ff-body); font-size: 2rem; line-height: 1.4; letter-spacing: .03em; color: var(--c-text);
  outline: none; appearance: none; -webkit-appearance: none;
}
.field__control:focus { border-bottom-color: var(--c-text); }
.field__label {
  position: absolute; left: 0; top: .8rem; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 2rem; line-height: 1.4; letter-spacing: .03em; text-transform: uppercase; color: var(--c-text);
  pointer-events: none; transform-origin: left top; transition: transform .2s var(--ease), color .2s;
}
.field__control:focus ~ .field__label,
.field__control:is(input, textarea):not(:placeholder-shown) ~ .field__label,
.field--select .field__control.has-value ~ .field__label { transform: translateY(-2.4rem) scale(.7); color: var(--c-muted); }
.field--select::after { content: ''; position: absolute; right: .2rem; top: 1.5rem; width: 1.1rem; height: 1.1rem; border-right: 1px solid var(--c-text); border-bottom: 1px solid var(--c-text); transform: rotate(45deg); pointer-events: none; }
.field--select .field__control { padding-right: 3rem; cursor: pointer; }
.field--select .field__label { max-width: calc(100% - 2.6rem); }
.field--select .field__control option { color: var(--c-text); }
.field--area .field__label { position: static; display: block; margin-bottom: 1rem; }
.field--area .field__control { border: 1px solid var(--c-muted); height: 13.4rem; padding: 1.6rem 2rem; resize: vertical; }
.field--add { display: flex; align-items: center; min-height: 4rem; border-bottom: 1px solid var(--c-line); font-size: 2rem; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; color: var(--c-text); padding: .8rem 0 .6rem; }
.check { display: flex; align-items: center; gap: 1.2rem; font-size: 2rem; letter-spacing: .03em; margin-top: -4rem; }
.check input { appearance: none; width: 1.4rem; height: 1.4rem; margin: 0; border: 1px solid var(--c-muted); background: var(--c-white); flex: none; cursor: pointer; }
.check input:checked { background: var(--c-text); box-shadow: inset 0 0 0 .2rem var(--c-white); }
.form-roc__submit { display: flex; justify-content: center; margin-top: 9rem; }
@media (max-width: 767.98px) {
  .form-box { border: 0; margin-inline: calc(-1 * var(--pad-inner)); padding: 5rem 3.3rem 6rem; }
  .form-box__title { font-size: 2.8rem; letter-spacing: .05em; margin-bottom: 4rem; }
  .form-roc { --bs-gutter-x: 3.2rem; --bs-gutter-y: 3.4rem; }
  .field__control { padding: .5rem 0 .4rem; font-size: 1.3rem; }
  .field__label { top: .5rem; font-size: 1.3rem; }
  .field__control:focus ~ .field__label, .field__control:is(input, textarea):not(:placeholder-shown) ~ .field__label, .field--select .field__control.has-value ~ .field__label { transform: translateY(-1.5rem) scale(.75); }
  .field--select::after { width: .8rem; height: .8rem; top: .9rem; }
  .field--area .field__control { height: 8.45rem; padding: 1.2rem 1rem; }
  .field--area .field__label { margin-bottom: .6rem; }
  .field--add { justify-content: center; font-size: 1.3rem; }
  .check { font-size: 1.3rem; font-weight: 300; margin-top: -1.4rem; }
  .form-roc__submit { margin-top: 4rem; }
}

/* ---------- imprint / long text ---------- */
.longtext { font-size: 2.5rem; line-height: 4rem; letter-spacing: .03em; }
.longtext p + p { margin-top: 4rem; }
@media (max-width: 767.98px) { .longtext { font-size: 1.4rem; line-height: 2.2rem; letter-spacing: .05em; } .longtext p + p { margin-top: 2.2rem; } }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { color: var(--c-white); }
.footer-map { max-width: 190rem; margin: 0 auto; height: 51.3rem; overflow: hidden; background: #e5e5e5; }
.footer-map picture, .footer-map img, .footer-map iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.footer-map iframe { filter: grayscale(1) contrast(1.08); }
.footer-main { background: var(--c-dark); } /* full viewport width; content capped below */
.footer-main__inner { max-width: 190rem; margin: 0 auto; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; }
.footer-col { padding: 7rem 4rem 6rem 13.3rem; }
.footer-col + .footer-col { border-left: 1px solid var(--c-line); padding-left: 13.4rem; }
.footer-title { font-family: var(--ff-alt); font-weight: 700; font-size: 2.56rem; line-height: 1.3; letter-spacing: .075em; margin-bottom: 1.2rem; }
.footer-lines { font-family: var(--ff-alt); font-weight: 500; font-size: 1.76rem; line-height: 2.72rem; letter-spacing: .05em; }
.footer-lines a { text-decoration: underline; text-underline-offset: .2em; }
.footer-rule { height: 1px; background: var(--c-line); }
.footer-social { display: flex; gap: 2.1rem; padding-top: 6.5rem; }
.footer-social a { display: block; width: 4.1rem; height: 4.1rem; }
.footer-col--hours { display: flex; flex-direction: column; padding-right: 0; padding-bottom: 6rem; }
.footer-col--hours .footer-rule { margin: 4.5rem 0 0; }
.footer-partners { border-top: 1px solid var(--c-line); }
.footer-partners .footer-col { padding: 11rem 13.3rem 10rem; } /* equal side padding: line/edge to first logo = last logo to middle line/edge */
.footer-partners .footer-col + .footer-col { padding-left: 13.3rem; } /* visual gap logos->line equals line->title text (grid row is set by the taller sponsor column) */
.footer-partners__title { margin-bottom: 5.5rem; } /* same style as .footer-title */
.footer-logos { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2.4rem; } /* logos fill the column: first left, last right */
.footer-logos img { width: auto; }
.logo-roc-rental { height: 7.6rem; }
.logo-traam { height: 5.52rem; }
.logo-zelfiespot { height: 2.72rem; }
.logo-cta { height: 9.12rem; }
.logo-viar { height: 9.12rem; }
.footer-logo { height: 9.12rem; } /* editor-maintained sponsor logos: one uniform height */
.footer-bottom { border-top: 1px solid var(--c-line); text-align: center; padding: 6.5rem 0 10rem; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 4rem; font-family: var(--ff-alt); font-weight: 600; font-size: 2.24rem; letter-spacing: .075em; text-transform: uppercase; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-copy { font-family: var(--ff-alt); font-weight: 400; font-size: 1.6rem; letter-spacing: .075em; text-transform: uppercase; margin-top: 2.4rem; }

@media (max-width: 767.98px) {
  .footer-map { height: 25rem; }
  .footer-cols { grid-template-columns: 1fr; text-align: center; }
  .footer-col { padding: 5.5rem 2.5rem 0; }
  .footer-col + .footer-col { border-left: 0; padding: 0 2.5rem 0; }
  .footer-title { font-size: 1.4rem; line-height: 2.5rem; margin-bottom: 1.6rem; }
  .footer-lines { font-size: 1.3rem; line-height: 2.5rem; }
  .footer-col--hours .footer-title { display: none; }
  .footer-col--hours .footer-lines { font-weight: 600; }
  .footer-col--hours .footer-rule, .footer-col--address .footer-rule { width: 4.1rem; margin: 2.2rem auto 2.4rem; background: var(--c-white); }
  .footer-social { justify-content: center; gap: 1.5rem; padding: 3rem 0 3.4rem; }
  .footer-social a { width: 3rem; height: 3rem; }
  .footer-partners { border-top: 1px solid var(--c-line); }
  .footer-partners .footer-col { padding: 3.2rem 2.5rem 2.8rem; }
  .footer-partners .footer-col + .footer-col { border-top: 1px solid var(--c-line); padding-top: 3.5rem; }
  .footer-partners__title { margin-bottom: 1.6rem; }
  .footer-partners .footer-col + .footer-col { padding-left: 2.5rem; } /* reset the desktop 13.3rem (same specificity) */
  /* all logos in ONE row, smaller: no wrapping, each logo capped in width and kept in ratio */
  .footer-logos { justify-content: center; flex-wrap: nowrap; gap: 3rem; }
  .footer-logos > * { flex: 0 1 auto; min-width: 0; max-width: 28%; }
  .footer-logos--sponsors { gap: 5rem; } /* sponsor logos are narrow: more air between them */
  .footer-logos--sponsors > * { max-width: 24%; }
  .footer-logos img { max-width: 100%; object-fit: contain; }
  .logo-roc-rental { height: 3.7rem; }
  .logo-traam { height: 3.2rem; margin: 0; }
  .logo-zelfiespot { height: 1.5rem; }
  .logo-cta { height: 4.5rem; }
  .logo-viar { height: 4.5rem; }
  .footer-logo { height: 4.5rem; }
  .footer-bottom { padding: 1.5rem 0 3rem; }
  .footer-links { justify-content: space-around; gap: 1rem 2rem; font-family: var(--ff-arial); font-weight: 400; font-size: 1.4rem; }
  .footer-copy { font-size: 1.2rem; margin-top: 2.6rem; }
}

/* ---------- helpers ---------- */
.mt-block { margin-top: 9rem; }
@media (max-width: 767.98px) { .mt-block { margin-top: 4rem; } }
.bg-white { background: var(--c-white); }

/* ---------- horizontal scroll carousel (mobile only) ---------- */
@media (max-width: 767.98px) {
  .m-carousel { display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: var(--m-gap, 2.5rem); padding-inline: var(--m-pad, 3.3rem); margin-inline: calc(-1 * var(--pad-inner)); }
  .m-carousel::-webkit-scrollbar { display: none; }
  .m-carousel > * { flex: 0 0 var(--m-w, 26.7rem); width: var(--m-w, 26.7rem); max-width: none; padding-inline: 0; scroll-snap-align: center; opacity: .6; transition: opacity .35s var(--ease); }
  .m-carousel > .is-active { opacity: 1; }
  .m-carousel--center { --m-pad: 6.1rem; --m-gap: 2.1rem; }
  .usp.m-carousel { margin-inline: 0; }
}

/* intro directly followed by a tight section (Kontakt-Links, Textblock): the prototype keeps
   these inside the page-intro, so the section paddings between them are removed */
.section--intro:has(+ .section--tight) { padding-bottom: 0; }
.section--intro + .section--tight { padding-top: 0; padding-bottom: 8rem; }
@media (max-width: 767.98px) { .section--intro + .section--tight { padding-bottom: 4rem; } }

/* ---------- EXT:form additions (validation, submit button, confirmation) ---------- */
button.cta-link { background: none; border: 0; padding: 0; cursor: pointer; }
/* EXT:form wraps its hidden fields (__referrer, honeypot ...) in a bare <div> as the first
   child of the .row - without this it would occupy a full-width line plus a row gutter */
.form-roc > div:not([class]) { display: contents; }
.field__error { display: block; margin-top: .6rem; font-size: 1.5rem; line-height: 1.4; letter-spacing: .03em; color: #b3261e; }
.field.is-invalid .field__control { border-bottom-color: #b3261e; }
.field--area.is-invalid .field__control { border-color: #b3261e; }
.check.is-invalid span { color: #b3261e; }
.check + .field__error { margin-top: .4rem; }
.form-box--confirmation { padding: 8rem 3rem; }
.form-confirmation { max-width: 107.2rem; margin-inline: auto; text-align: center; }
@media (max-width: 767.98px) {
  .field__error { font-size: 1.2rem; }
  .form-box--confirmation { padding: 4rem 0; }
}
