/* RRB Modern – Light Theme (Wix-inspired)
   - Green CTAs
   - Clean white space
   - Subtle depth + animations
*/

:root{
  --bg: #ffffff;
  --bg2: #f7f8fa;
  --card: #ffffff;
  --soft: #f2f5f3;
  --text: #0f172a;
  --muted: #475569;
  --line: rgba(15,23,42,.12);

  --accent1: #dc2626; /* red */
  --accent2: #ef4444; /* lighter red */
  --accentSoft: rgba(220,38,38,.12);

  --shadow: 0 18px 55px rgba(2,6,23,.12);
  --shadow-sm: 0 12px 32px rgba(2,6,23,.10);

  --radius: 18px;
  --radius2: 26px;

  --container: 1120px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top: 84px; }

/* Mobile-only: prevent sideways drag / horizontal overflow (esp. with fixed drawer/backdrop)
   Keep desktop unchanged (no visual impact, only stops accidental horizontal scroll). */
@media (max-width: 860px){
  html, body{ overflow-x: hidden; }
  @supports (overflow: clip){
    html, body{ overflow-x: clip; }
  }
}



/* Accessibility helpers */
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0, 0, 0, 0);
  white-space:nowrap;
  border:0;
}

body.nav-open{ overflow:hidden; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background:
    radial-gradient(1100px 520px at 15% -10%, var(--accentSoft), transparent 55%),
    radial-gradient(900px 520px at 95% 10%, rgba(14,165,233,.10), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color:var(--text);
  line-height:1.55;
  overflow-x:hidden;

  /* Layout scaffold so the footer always hugs the bottom (no white gap below). */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}



html, body{
  height:100%;
}
/* iOS overscroll areas (top/bottom bars) should never flash white.
   Keep the document canvas dark so the footer feels flush to the bottom. */
html{ background: #0b1220; }
html.theme-light{ background:#fff; }
body{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}
main{
  flex:1 0 auto;
}
footer.footer{
  margin-top:auto;
}

main{ flex: 1 0 auto; }
.footer{ margin-top: auto; }

/* Ensure short pages don't leave blank space under the footer */
body.no-hero{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.no-hero main{ flex: 1 0 auto; }
body.no-hero .footer{ margin-top: auto; }
a{ color:inherit; text-decoration:none; }

/* Premium interaction polish (tap + focus states) */
:where(a, button){ -webkit-tap-highlight-color: transparent; }
:where(button, .rrb-btn, .btn, .kontakt-submit, .legal2-btn){
  outline: none;
}
:where(button, .rrb-btn, .btn, .kontakt-submit, .legal2-btn):focus-visible{
  outline: 3px solid rgba(239,68,68,.32);
  outline-offset: 3px;
  border-radius: 14px;
}

/* Subtle press feedback (premium) */
:where(.rrb-btn, .btn, .legal2-btn, .kontakt-submit){
  will-change: transform;
}
:where(.rrb-btn, .btn, .legal2-btn, .kontakt-submit):active{
  transform: translateY(1px);
}
@media (hover:hover){
  :where(.btn, .legal2-btn):hover{
    transform: translateY(-2px);
  }
}

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



.container{
  width:min(var(--container), calc(100% - 2rem));
  margin-inline:auto;
}

.skip-link{
  position:absolute; left:-999px; top:1rem;
  padding:.7rem 1rem; border-radius:999px;
  background:#fff; color:#000; z-index:9999;
  box-shadow: var(--shadow-sm);
}
.skip-link:focus{ left:1rem; }



.header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(2,6,23,.46);
  backdrop-filter: blur(14px) saturate(1.25);
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.header.is-elevated{
  background: rgba(2,6,23,.68);
  border-bottom-color: rgba(255,255,255,.16);
  box-shadow: 0 18px 60px rgba(0,0,0,.30);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: .95rem 0;
  gap:1rem;
}
.header__left{ display:flex; align-items:center; }
.header__meta{
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  white-space: nowrap;
}

.nav{ display:flex; align-items:center; gap: .15rem; }

.nav-backdrop{
  display:none;
  position:fixed;
  inset:0;
  border:0;
  padding:0;
  background: rgba(2,6,23,.55);
  backdrop-filter: blur(10px);
  cursor:pointer;
}

.nav a{
  color: rgba(255,255,255,.78);
  padding:.55rem .72rem;
  border-radius:999px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.nav a:hover{
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.96);
}
.nav a:focus-visible{
  outline: 3px solid rgba(255,255,255,.20);
  outline-offset: 2px;
}

.nav__phone{
  margin-left: .25rem;
  border: 1px solid rgba(255,255,255,.18);
  background: radial-gradient(120px 80px at 25% 20%, rgba(239,68,68,.22), transparent 60%), linear-gradient(180deg, rgba(2,6,23,.74), rgba(2,6,23,.54));
  color: rgba(255,255,255,.92) !important;
}
.nav__phone:hover{
  background: radial-gradient(120px 80px at 25% 20%, rgba(239,68,68,.28), transparent 60%), linear-gradient(180deg, rgba(2,6,23,.80), rgba(2,6,23,.60));
  transform: translateY(-2px);
}

.nav-toggle{

  display:flex;
  align-items:center;
  justify-content:center;
  width:46px; height:42px;
  border:1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.95);
  cursor:pointer;
}

.section{ padding: 5.25rem 0; }
.section--dark{
  background:
    radial-gradient(1000px 480px at 15% 0%, var(--accentSoft), transparent 55%),
    radial-gradient(900px 520px at 90% 30%, rgba(14,165,233,.08), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,.0));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--soft{
  background: linear-gradient(180deg, rgba(15,23,42,.03), rgba(15,23,42,.00));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__head{
  max-width: 68ch;
  margin-bottom: 2.25rem;
}
.section__head h2{
  font-size: clamp(1.6rem, 2vw + 1rem, 2.35rem);
  letter-spacing: -0.02em;
  margin:0 0 .6rem;
}
.section__head p{ color:var(--muted); margin:0; }

.hero{
  position:relative;
  padding: 4.25rem 0 3.5rem;
  border-bottom:1px solid var(--line);
  overflow:hidden;
}
.hero__bg{
  position:absolute; inset:0;
  background:
    radial-gradient(850px 520px at 20% 10%, var(--accentSoft), transparent 58%),
    radial-gradient(900px 560px at 90% 0%, rgba(14,165,233,.10), transparent 62%);
  pointer-events:none;
}
.hero__inner{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:2rem;
  align-items:center;
  position:relative;
  z-index:2;
}

/* Hide header at the very beginning (cinematic hero intro). Revealed via JS after intro finishes. */
[data-hero-hide]{
  opacity: 0;
  transform: translateY(-18px);
  pointer-events: auto;
}
body.is-loaded:not(.hero-ready) [data-hero-hide]{
  opacity: 0;
  transform: translateY(-110%);
  pointer-events: none;
}
body.hero-ready [data-hero-hide]{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity .55s ease, transform .55s ease;
}

/* Premium hero (cinematic, minimal, luxury) */
.hero--premium{
  padding: 0;
  min-height: 100svh;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.hero--premium .hero__bg{
  background:
    radial-gradient(900px 540px at 25% 18%, rgba(185,28,28,.28), transparent 60%),
    radial-gradient(700px 520px at 80% 0%, rgba(255,255,255,.12), transparent 62%),
    linear-gradient(180deg, rgba(2,6,23,.82), rgba(2,6,23,.58) 55%, rgba(2,6,23,.86));
}
.hero--premium .hero__media{
  opacity: 1;
  filter: saturate(1.04) contrast(1.06);
}
.hero--premium .hero__media img{
  transform: scale(1.05);
}
.hero--premium .hero__inner{
  grid-template-columns: 1fr;
  min-height: 100svh;
  padding: clamp(3.4rem, 8vh, 5rem) 0;
  align-content: center;
  text-align: center;
}
.hero__media{
  position:absolute;
  inset:0;
  opacity:.12;
  z-index:1;
  filter: saturate(1.05) contrast(1.05);
}
.hero__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform: scale(1.03);
}

/* Hero cinematic image sequence (premium) */
.hero__media.hero-seq{
  opacity: 1;
}
.hero__media.hero-seq{
  position:absolute;
  inset:0;
  z-index:1;
  overflow:hidden;
  contain: paint;
}
.hero__media.hero-seq::after{
  /* "geschwaerztes Fenster" effect for legibility */
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 520px at 30% 25%, rgba(185,28,28,.22), transparent 60%),
    linear-gradient(90deg, rgba(2,6,23,.72), rgba(2,6,23,.46) 55%, rgba(2,6,23,.68)),
    linear-gradient(180deg, rgba(2,6,23,.78), rgba(2,6,23,.56) 55%, rgba(2,6,23,.82));
  pointer-events:none;
}
.hero-seq__dark{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 560px at 20% 15%, rgba(185,28,28,.18), transparent 62%),
    linear-gradient(180deg, rgba(2,6,23,.96), rgba(2,6,23,.84));
}
.hero-seq__slide{
  position:absolute;
  inset:0;
  opacity:0;
  transform: translate3d(-2.5%,0,0) scale(1.06);
  transition: opacity .65s ease, transform 1.25s ease;
  will-change: transform, opacity;
}
.hero-seq__slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter: saturate(.95) contrast(1.08) brightness(.88);
}
.hero-seq__slide.is-active{
  opacity:1;
  transform: translate3d(0,0,0) scale(1.06);
}
.hero-seq__wipe{
  position:absolute;
  top:0;
  left:100%;
  width:100%;
  height:100%;
  background:
    linear-gradient(90deg, rgba(2,6,23,0) 0%, rgba(2,6,23,.92) 18%, rgba(2,6,23,.96) 100%);
  transform: translate3d(0,0,0);
  pointer-events:none;
  will-change: transform;
}
.hero-seq__wipe.is-wiping{
  animation: heroWipe 1.05s cubic-bezier(.65,.01,.2,1) forwards;
}
@keyframes heroWipe{
  0%{ transform: translate3d(0,0,0); }
  50%{ transform: translate3d(-100%,0,0); }
  100%{ transform: translate3d(-200%,0,0); }
}
.hero__copy h1{
  margin:.55rem 0 1rem;
  font-size: clamp(2.15rem, 3.4vw + 1rem, 3.6rem);
  letter-spacing:-0.04em;
  line-height:1.05;
}
.eyebrow{
  display:inline-flex; gap:.5rem; align-items:center;
  color:var(--muted);
  padding:.35rem .65rem;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  background: rgba(255,255,255,.70);
  margin:0;
}
.lead{ color:var(--muted); font-size:1.08rem; max-width: 58ch; }

/* Premium hero intro sequence (logo -> 3-stroke draw -> logo moves up -> text) */
@keyframes heroFadeUp{
  from{ opacity:0; transform: translateY(14px); }
  to{ opacity:1; transform: translateY(0); }
}
@keyframes heroLine{
  from{ transform: scaleX(0); }
  to{ transform: scaleX(1); }
}

@keyframes heroLineY{
  from{ transform: scaleY(0); }
  to{ transform: scaleY(1); }
}

@keyframes heroLogoFadeOut{
  0%{ opacity: 1; }
  100%{ opacity: 0; }
}

/* Brand block starts centered and large, then docks to the top */
.hero-brand{
  position:absolute;
  left:50%;
  top:50%;
  width: min(480px, 78vw);
  transform: translate(-50%,-50%) scale(1);
  z-index: 3;
  contain: layout paint;
}
.hero-brand__logo{
  position: relative;
  width: 100%;
  aspect-ratio: 2048 / 1365;
  height: auto;
  display: block;
  opacity: 0;
  transform: translateY(10px) translateZ(0);
  will-change: transform, opacity;
  /* Ultra-smooth: avoid SVG masks/filters during the draw. */
  filter: none;
  contain: paint;
  backface-visibility: hidden;
}

/* Add the subtle shadow only once the hero intro is done */
body.hero-ready .hero-brand__logo{
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.26));
}

.hero-brand__logo img{
  display:block;
  width: 100%;
  height: 100%;
}

.logo-base{
  position: relative;
  z-index: 1;
}

/* Stroke layers: positioned in the same coordinate system as the original artwork.
   We reveal them with transform-only slide-in (GPU-friendly, no masks). */
.stroke{
  position: absolute;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  backface-visibility: hidden;
  will-change: transform;
}

/* Coordinates from original 2048x1365 reference */
.stroke--underline{ left: 11.71875%; top: 60.0732601%; width: 69.6777344%; height: 5.86080586%; }
.stroke--vert{ left: 81.2011719%; top: 48.3516484%; width: 3.61328125%; height: 17.5824176%; }
.stroke--top{ left: 61.4257813%; top: 48.3516484%; width: 19.9707031%; height: 3.51648352%; }

.stroke > img{
  width: 100%;
  height: 100%;
  display: block;
  transform: translate3d(0,0,0);
  will-change: transform;
}

/* Initial off-canvas positions (simulate drawing). */
.stroke--underline > img{ transform: translate3d(-100%,0,0); }
.stroke--vert{
  /* Reveal from bottom to top without moving the bitmap (looks like a true draw).
     We only use clip-path for this small segment; underline/top remain transform-only. */
  clip-path: inset(100% 0 0 0);
  will-change: clip-path;
}
.stroke--vert > img{ transform: translate3d(0,0,0); }
.stroke--top > img{ transform: translate3d(100%,0,0); }

@keyframes strokeInX{
  to{ transform: translate3d(0,0,0); }
}
@keyframes strokeInY{
  to{ transform: translate3d(0,0,0); }
}

@keyframes strokeRevealVert{
  to{ clip-path: inset(0 0 0 0); }
}

body.is-loaded .hero-brand__logo{ animation: heroFadeUp .75s ease forwards; }
body.is-loaded .stroke--underline > img{ animation: strokeInX .95s cubic-bezier(.22,.9,.22,1) forwards; animation-delay: .45s; }
body.is-loaded .stroke--vert{ animation: strokeRevealVert .55s cubic-bezier(.22,.9,.22,1) forwards; animation-delay: 1.25s; }
body.is-loaded .stroke--top > img{ animation: strokeInX .55s cubic-bezier(.22,.9,.22,1) forwards; animation-delay: 1.65s; }

.hero-copy__logo{
  display: block;
  width: min(200px, 42vw);
  height: auto;
  margin: 0 auto .65rem;
}
.hero-premium__copy{
  opacity: 0;
  transform: translateY(18px);
  will-change: transform, opacity;
  max-width: 72ch;
  margin: 0 auto;
}
.hero-premium__kicker{
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .86rem;
  color: rgba(255,255,255,.70);
  margin: 0 0 .75rem;
}
.hero-premium__title{
  margin: 0 0 .85rem;
  font-size: clamp(2.15rem, 4.8vw, 4.1rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: rgba(255,255,255,.96);
}
.hero-premium__sub{
  margin: 0 0 1.25rem;
  color: rgba(255,255,255,.78);
  font-size: 1.06rem;
}
.hero-premium__meta{
  display:inline-flex;
  gap:.8rem;
  align-items:center;
  justify-content:center;
  color: rgba(255,255,255,.72);
  font-size: .98rem;
}
.hero-premium__dot{ opacity: .6; }
.hero-premium__link{
  color: rgba(255,255,255,.86);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.28);
  padding-bottom: .12rem;
  transition: border-color .18s ease, opacity .18s ease;
}
.hero-premium__link:hover{ border-color: rgba(255,255,255,.62); }

/* Dock logo up and bring text in while it moves */
body.is-loaded .hero-brand{ animation: heroLogoFadeOut .6s ease forwards; animation-delay: 2.05s; }
body.is-loaded .hero-premium__copy{ animation: heroFadeUp .85s ease forwards; animation-delay: 2.35s; }

@media (prefers-reduced-motion: reduce){
  .hero-brand{ display: none !important; }
  .hero-premium__copy{
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


.grad{
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}

.hero__actions{ display:flex; gap:.8rem; margin: 1.35rem 0 1.2rem; flex-wrap:wrap; }

.btn{
  display:inline-flex;
  align-items:center; justify-content:center;
  gap:.5rem;
  padding:.85rem 1.10rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: radial-gradient(120px 80px at 25% 20%, rgba(239,68,68,.28), transparent 60%), linear-gradient(180deg, rgba(2,6,23,.80), rgba(2,6,23,.60));
  color: var(--text);
  cursor:pointer;
  transition: transform .14s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset;
}
.btn:hover{ transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: rgba(15,23,42,.18); }
.btn--primary{
  color:#fff;
  border-color: rgba(22,163,74,.25);
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  box-shadow: 0 16px 40px rgba(22,163,74,.20);
}
.btn--primary:hover{ box-shadow: 0 18px 48px rgba(22,163,74,.24); }
.btn--ghost{ background: rgba(255,255,255,.65); }
.btn--full{ width:100%; }
.btn--small{ padding:.62rem .9rem; font-size:.95rem; }

.hero__proof{
  display:flex; flex-wrap:wrap;
  gap:.55rem;
  margin-top: .4rem;
}
.pill{
  color:var(--muted);
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.72);
  padding:.45rem .65rem;
  border-radius:999px;
  font-size:.92rem;
}

.card{
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow-sm);
}
.card--glass{
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
}
.card__header{ padding: 1.35rem 1.35rem .6rem; }
.card__header h2{ margin:0 0 .3rem; font-size:1.15rem; }
.card__header p{ margin:0; color:var(--muted); }

.form{ padding: 0; display:flex; flex-direction:column; gap:.75rem; }
.form label{ display:flex; flex-direction:column; gap:.35rem; font-size:.95rem; color:var(--muted); }
.form input, .form select, .form textarea{
  appearance:none;
  padding:.82rem .95rem;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.96);
  color: var(--text);
  outline:none;
}
.form input:focus, .form select:focus, .form textarea:focus{
  border-color: rgba(220,38,38,.65);
  box-shadow: 0 0 0 4px rgba(220,38,38,.14);
}
.form input[aria-invalid="true"]{
  border-color: rgba(239,68,68,.75);
  box-shadow: 0 0 0 4px rgba(239,68,68,.14);
}
.field-error{
  display:block;
  min-height: 1.15em;
  margin-top: .25rem;
  font-size: .88rem;
  color: rgba(220,38,38,.95);
}

/* Consent (checkbox) – visible + premium */
.consent{
  display:flex;
  flex-direction:row !important;
  align-items:flex-start;
  gap:.7rem;
  color: var(--muted);
  cursor:pointer;
  padding: .75rem .85rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: radial-gradient(120px 80px at 25% 20%, rgba(239,68,68,.28), transparent 60%), linear-gradient(180deg, rgba(2,6,23,.80), rgba(2,6,23,.60));
}
.consent input{
  -webkit-appearance:none;
  appearance:none;
  width: 20px;
  height: 20px;
  padding:0;
  margin-top: .15rem;
  border-radius: 6px;
  border:1px solid rgba(15,23,42,.28);
  background: rgba(255,255,255,.98);
  display:grid;
  place-items:center;
  flex: 0 0 auto;
  cursor:pointer;
  transition: background .18s ease, border-color .18s ease, transform .05s ease;
}
.consent input::after{
  content:"";
  width: 10px;
  height: 6px;
  border-left: 2px solid transparent;
  border-bottom: 2px solid transparent;
  transform: rotate(-45deg);
  margin-top: -1px;
}
.consent input:checked{
  border-color: rgba(22,163,74,.85);
  background: rgba(220,38,38,.12);
}
.consent input:checked::after{
  border-left-color: rgba(22,163,74,.95);
  border-bottom-color: rgba(22,163,74,.95);
}
.consent input:active{ transform: scale(.98); }
.consent input:focus-visible{ box-shadow: 0 0 0 4px rgba(22,163,74,.16); }
.consent span{ font-size:.92rem; line-height:1.35; }
.consent a{ text-decoration:underline; text-underline-offset: 3px; }

.form__row{ display:grid; grid-template-columns: 1fr 1fr; gap:.8rem; }
.fineprint{ color:var(--muted); font-size:.85rem; margin:0; }
.form--dark input, .form--dark select, .form--dark textarea{ background: rgba(255,255,255,.96); }

.grid{ display:grid; gap:1.25rem; }
.grid--services{ grid-template-columns: repeat(3, 1fr); }
.grid--benefits{ grid-template-columns: repeat(4, 1fr); }

.service{
  border:1px solid rgba(255,255,255,.14);
  border-radius: var(--radius2);
  overflow:hidden;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .18s ease, border-color .18s ease;
}
.service:hover{ transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(15,23,42,.18); }
.service__media{ height: 170px; background: rgba(15,23,42,.04); }
.service__media img{ width:100%; height:100%; object-fit:cover; }
.service__body{ padding: 1.25rem 1.15rem 1.35rem; }
.service__body h3{ margin:0 0 .45rem; }
.service__body p{ margin:.0 0 .9rem; color:var(--muted); }
.check{ margin:0 0 .85rem; padding-left: 1.05rem; color:var(--muted); }
.check li{ margin:.35rem 0; }
.link{ color: var(--text); text-decoration: underline; text-underline-offset: 4px; }

/* ==========================
   Services (Parallax)
   ========================== */
.rrb-services{
  position: relative;
  padding: clamp(4.25rem, 6vw, 6.5rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 520px at 15% 10%, rgba(220,38,38,.10), transparent 58%),
    radial-gradient(900px 520px at 95% 0%, rgba(14,165,233,.10), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  /* allow parallax photos to breathe (avoid bottom cut-off in some viewports) */
  overflow: visible;
}

.rrb-services__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 3.4vw, 3.25rem);
  align-items: start;
}


/* Keep copy compact so the section feels photo-led */
.rrb-services__copy{ max-width: 60ch; will-change: transform; }

@media (max-width: 980px){
  /* Mobile: create the breathing room BEFORE "Premium-Ausführung" inside the
     SERVICES section so the CTA never gets overlapped, and the gap doesn't
     show the page background (gray band). */
  .rrb-services{
    padding-bottom: calc(clamp(4.25rem, 6vw, 6.5rem) + clamp(160px, 12vh, 260px));
    border-bottom: none;
  }
  .rrb-services::after{
    content:"";
    position:absolute;
    left:0; right:0; bottom:0;
    height: clamp(140px, 14vh, 240px);
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    pointer-events:none;
    z-index:0;
  }
  .rrb-services__grid{ grid-template-columns: 1fr; position:relative; z-index:1; }
  .rrb-services__visuals{ display:none; }
}

.rrb-kicker{
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(15,23,42,.72);
  margin-bottom: .75rem;
}
.rrb-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(220,38,38,.88);
  box-shadow: 0 0 0 6px rgba(220,38,38,.10);
}

.rrb-h2{
  font-size: clamp(1.75rem, 2.2vw + 1rem, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.rrb-muted{
  display:block;
  font-weight: 600;
  color: rgba(15,23,42,.62);
  margin-top: .45rem;
}

.rrb-lead{ margin: 0 0 1.15rem; max-width: 60ch; color: var(--muted); }

.rrb-pillrow{ display:flex; flex-wrap:wrap; gap:.55rem; margin: 0 0 1.35rem; }
.rrb-pill{
  font-size: .85rem;
  color: rgba(15,23,42,.78);
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.70);
  padding: .52rem .75rem;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(2,6,23,.06);
}

.rrb-list{ display:grid; gap:.75rem; margin-top: .2rem; }
.rrb-item{
  display:grid;
  grid-template-columns: 46px 1fr;
  gap: .9rem;
  padding: .95rem .95rem;
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 14px 40px rgba(2,6,23,.08);
  position: relative;
  overflow: hidden;
  --mx: 50%;
  --my: 50%;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

/* Premium hover glow (mouse-follow) */
.rrb-item::before{
  content:"";
  position:absolute;
  inset:-2px;
  pointer-events:none;
  opacity:0;
  background:
    radial-gradient(520px 240px at var(--mx) var(--my), rgba(220,38,38,.20), transparent 60%),
    radial-gradient(360px 200px at calc(var(--mx) + 12%) calc(var(--my) + 14%), rgba(220,38,38,.06), transparent 65%);
  transition: opacity .22s ease;
}
.rrb-item:hover:not([data-glow-suppressed="1"])::before{ opacity:1; }
.rrb-item[data-glow-suppressed="1"]::before{ opacity:0 !important; }

/* Hide glow while scrolling (Elbrus-like) */
body.rrb-scrolling .rrb-item::before,
body.rrb-scrolling .rrb-item:hover::before{ opacity:0 !important; }

.rrb-item:hover{
  border-color: rgba(220,38,38,.35);
  box-shadow: 0 18px 55px rgba(2,6,23,.10);
  transform: translateY(-1px);
}
.rrb-item > *{ position:relative; }
.rrb-nr{
  width:46px;
  height:46px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  font-weight: 800;
  font-size: .82rem;
  color: rgba(15,23,42,.70);
  background: linear-gradient(180deg, rgba(220,38,38,.10), rgba(220,38,38,.04));
  border: 1px solid rgba(220,38,38,.14);
}
.rrb-item__title{ font-weight: 750; margin: .1rem 0 .15rem; }
.rrb-item__desc{ color: rgba(15,23,42,.65); font-size: .95rem; }

.rrb-sublist{
  margin: .55rem 0 .2rem;
  padding-left: 1.05rem;
  display: grid;
  gap: .18rem;
  color: rgba(15,23,42,.62);
  font-size: .92rem;
  line-height: 1.45;
}
.rrb-sublist li{ margin: 0; }

.rrb-cta{ display:flex; gap:.9rem; align-items:center; margin-top: 1.35rem; }
.rrb-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: .78rem 1rem;
  border-radius: 16px;
  font-weight: 750;
  color: #fff;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  box-shadow: 0 16px 45px rgba(220,38,38,.18);
}
.rrb-btn:hover{ transform: translateY(-2px); }
.rrb-link{ color: rgba(15,23,42,.70); text-decoration: underline; text-underline-offset: 4px; }
.rrb-link:hover{ color: rgba(15,23,42,.90); }

/* Visuals: zipper parallax (page keeps scrolling; photos move faster than text) */
.rrb-services__visuals{
  position: relative;
  /* let the photo column define its own height */
  min-height: auto;
  /* Avoid a big "empty tail" below the CTA on large screens */
  padding-bottom: 0;
}

.rrb-photos{
  position: relative;
  display: flex;
  flex-direction: column;
  /* v72: tighter, uniform spacing (≈ half of v71) */
  gap: clamp(6px, 0.8vw, 12px);
  padding: clamp(10px, 1.6vh, 18px) 0;
}

.rrb-photo{
  position: relative;
  width: var(--w);
  aspect-ratio: 1 / 1;
  border-radius: var(--r, 34px);
  overflow: hidden;
  /* blend into background: no border, soft shadow only */
  box-shadow: 0 28px 90px rgba(2,6,23,.16);
  background: rgba(255,255,255,.04);
  transform: translate3d(0, var(--ty, 0px), 0);
  will-change: transform;

  /* soft edges (like connected to background) */
  -webkit-mask-image: radial-gradient(120% 120% at 50% 50%, #000 70%, transparent 100%);
          mask-image: radial-gradient(120% 120% at 50% 50%, #000 70%, transparent 100%);
}

/* zipper alignment */
.rrb-photo[data-side="left"]{ align-self: flex-start; }
.rrb-photo[data-side="right"]{ align-self: flex-end; }

/* keep a clean inner gutter so photos don't kiss the edge */
.rrb-photos--zipper .rrb-photo[data-side="left"]{ margin-left: clamp(0px, 1.2vw, 14px); }
.rrb-photos--zipper .rrb-photo[data-side="right"]{ margin-right: clamp(0px, 1.2vw, 14px); }

.rrb-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.02) contrast(1.06);
}

/* subtle film glow */
.rrb-photo::after{
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(120% 120% at 50% 20%, rgba(255,255,255,.12), rgba(255,255,255,0) 58%),
    linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,0) 40%);
  mix-blend-mode: soft-light;
  opacity: .55;
}

.rrb-glow{
  position:absolute;
  inset: -40px;
  background:
    radial-gradient(520px 360px at 30% 40%, rgba(220,38,38,.10), transparent 60%),
    radial-gradient(560px 360px at 80% 65%, rgba(14,165,233,.10), transparent 62%);
  filter: blur(10px);
  pointer-events:none;
}

@media (prefers-reduced-motion: reduce){
  .rrb-services__copy{ transform: none !important; }
  .rrb-photo{ transform: none !important; }
}


.benefit{
  border:1px solid rgba(255,255,255,.14);
  border-radius: var(--radius2);
  padding: 1.2rem 1.05rem;
  background: radial-gradient(120px 80px at 25% 20%, rgba(239,68,68,.28), transparent 60%), linear-gradient(180deg, rgba(2,6,23,.80), rgba(2,6,23,.60));
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .18s ease;
}
.benefit:hover{ transform: translateY(-2px); box-shadow: var(--shadow); }
.benefit__icon{ font-size: 22px; }
.benefit h3{ margin:.55rem 0 .35rem; }
.benefit p{ margin:0; color:var(--muted); }

.steps{
  list-style:none;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:1.1rem;
  padding:0;
  margin:0;
}
.step{
  border:1px solid rgba(255,255,255,.14);
  border-radius: var(--radius2);
  padding: 1.25rem 1.1rem;
  background: radial-gradient(120px 80px at 25% 20%, rgba(239,68,68,.28), transparent 60%), linear-gradient(180deg, rgba(2,6,23,.80), rgba(2,6,23,.60));
  display:flex; gap:1rem; align-items:flex-start;
  box-shadow: var(--shadow-sm);
}
.step__num{
  width:42px; height:42px;
  border-radius: 14px;
  display:grid; place-items:center;
  color:#fff;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  flex: 0 0 auto;
}
.step__body h3{ margin:.15rem 0 .35rem; }
.step__body p{ margin:0; color:var(--muted); }

.split{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:2rem;
  align-items:start;
}
.badges{ display:flex; flex-wrap:wrap; gap:.6rem; margin: 1.2rem 0 1.1rem; }
.badge{
  border:1px solid rgba(255,255,255,.14);
  background: radial-gradient(120px 80px at 25% 20%, rgba(239,68,68,.28), transparent 60%), linear-gradient(180deg, rgba(2,6,23,.80), rgba(2,6,23,.60));
  color:var(--muted);
  border-radius:999px;
  padding:.45rem .7rem;
  font-size:.92rem;
}
.note{
  border:1px solid rgba(255,255,255,.14);
  border-radius: var(--radius2);
  padding: 1.05rem 1rem;
  background: radial-gradient(120px 80px at 25% 20%, rgba(239,68,68,.28), transparent 60%), linear-gradient(180deg, rgba(2,6,23,.80), rgba(2,6,23,.60));
  color:var(--muted);
  box-shadow: var(--shadow-sm);
}
.note a{ color:var(--text); text-decoration:underline; text-underline-offset: 4px; }

.media-card{
  border:1px solid rgba(255,255,255,.14);
  border-radius: var(--radius2);
  overflow:hidden;
  background: radial-gradient(120px 80px at 25% 20%, rgba(239,68,68,.28), transparent 60%), linear-gradient(180deg, rgba(2,6,23,.80), rgba(2,6,23,.60));
  box-shadow: var(--shadow-sm);
}
.media-card img{ width:100%; height:auto; }
.media-card__footer{
  display:flex; gap:.7rem; justify-content:flex-end;
  padding: .9rem;
  border-top:1px solid var(--line);
  background: radial-gradient(120px 80px at 25% 20%, rgba(239,68,68,.28), transparent 60%), linear-gradient(180deg, rgba(2,6,23,.80), rgba(2,6,23,.60));
}

.contact{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:1.5rem;
  align-items:start;
}
.contact__copy h2{ margin:0 0 .6rem; }
.contact__copy p{ margin:0 0 1rem; color:var(--muted); }
.contact__cards{ display:grid; gap:.8rem; margin-top: 1.1rem; }
.contact-card{
  display:flex; gap:.9rem; align-items:center;
  padding: .9rem .95rem;
  border:1px solid rgba(255,255,255,.14);
  border-radius: var(--radius2);
  background: radial-gradient(120px 80px at 25% 20%, rgba(239,68,68,.28), transparent 60%), linear-gradient(180deg, rgba(2,6,23,.80), rgba(2,6,23,.60));
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .18s ease;
}
.contact-card:hover{ transform: translateY(-2px); box-shadow: var(--shadow); }
.contact-card__icon{ font-size: 22px; }
.contact-card__label{ color:var(--muted); font-size:.9rem; }
.contact-card__value{ font-weight: 650; color: var(--text); }

.footer{
  /* Premium footer bar (clean, minimal, brand-first) */
  margin-top: 0;
  /* Dark premium footer (original look) */
  background: linear-gradient(180deg, #0b1220, #020617);
  /* Cover iOS safe-area so there's no white strip below */
  padding: 1.3rem 0 calc(1.3rem + env(safe-area-inset-bottom));
  position: relative;
}

/* Smooth transition into the footer (no hard divider line) */
.footer::before{
  content:"";
  position:absolute;
  left:0; right:0;
  top:-48px;
  height:48px;
  pointer-events:none;
  background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(15,23,42,.42));
}

/* Mobile: match the richer Anfrage-style shadow above the footer */
@media (max-width: 820px){
  /* Ensure the footer fade is visible on Home too.
     Home's last section (.rrb-eyecatcher) uses z-index for layering, which can cover
     the footer's ::before fade when it overlaps upward. Keep the footer above. */
  .footer{ z-index: 20; }

  .footer::before{
    top:0;
    height: clamp(64px, 10vw, 120px);
    transform: translateY(-100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(15,23,42,.62));
  }

  /* Anfrage already has its own premium fade layer above the footer */
  .anfrage-page .footer::before{ display:none; }
}

/* Keep Anfrage page compact (avoid extra scroll on typical viewports) */
.anfrage-page .footer{ padding: .95rem 0 calc(.95rem + env(safe-area-inset-bottom)); }
.footer__inner{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.footer__brand{ display:flex; flex-direction:column; gap:.25rem; }
.footer__brandmark{
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,.92);
  font-size: 18px;
}
.footer__brandmark .red{ color: rgba(239,68,68,0.95); }
.footer__brand p{ margin: 0; color: rgba(255,255,255,.62); font-size: 13px; }

.footer__links{ display:flex; gap: 1.1rem; justify-content: center; }
.footer__links a{
  color: rgba(255,255,255,.68);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.02em;
  position: relative;
}
.footer__links a::after{
  content:"";
  position:absolute;
  left:0; right:0;
  bottom:-6px;
  height:1px;
  background: rgba(255,255,255,0.75);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
.footer__links a:hover{ color: rgba(255,255,255,.88); }
.footer__links a:hover::after{ transform: scaleX(1); }

.footer__meta{ color: rgba(255,255,255,.55); font-size: 13px; text-align: right; display:flex; flex-direction:column; align-items:flex-end; gap:.35rem; }
.footer__by{ display:inline-flex; gap:.4rem; align-items:center; color: rgba(255,255,255,.82); text-decoration:none; font-size:.9rem; }
.footer__by:hover{ color:#fff; text-decoration:underline; }


@media (max-width: 820px){
  .footer__inner{ grid-template-columns: 1fr; text-align: center; }
  .footer__meta{ text-align: center; align-items:center; }
  .footer__brand{ align-items: center; }
}

.mobile-cta{
  display:none;
  position:fixed;
  left:0; right:0; bottom:0;
  padding: .75rem;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  border-top:1px solid var(--line);
  z-index:60;
  gap:.7rem;
}
.mobile-cta__btn{
  flex:1;
  text-align:center;
  padding:.9rem .9rem;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.14);
  background: radial-gradient(120px 80px at 25% 20%, rgba(239,68,68,.28), transparent 60%), linear-gradient(180deg, rgba(2,6,23,.80), rgba(2,6,23,.60));
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.mobile-cta__btn--primary{
  border-color: rgba(22,163,74,.25);
  color:#fff;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  box-shadow: 0 16px 40px rgba(22,163,74,.20);
}

/* Reveal animation */
.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible{
  opacity:1;
  transform:none;
}

/* Legal pages */
.legal-hero{
  padding: 56px 0 26px;
  background:
    radial-gradient(1200px 420px at 20% 0%, var(--accentSoft), transparent 60%),
    radial-gradient(900px 380px at 80% 20%, rgba(2,6,23,.06), transparent 55%);
  border-bottom: 1px solid var(--line);
}
.legal-wrap{ max-width: 980px; margin: 0 auto; padding: 0 18px; }
.legal-title{ font-size: clamp(28px, 4vw, 42px); margin: 0 0 10px; letter-spacing:-0.03em; }
.legal-sub{ color: var(--muted); margin: 0; max-width: 70ch; }

.legal-card{
  margin: 18px 0 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}
.legal-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
}
@media (max-width: 860px){
  .legal-grid{ grid-template-columns: 1fr; }
}

.kv{
  display:grid;
  grid-template-columns: 180px 1fr;
  gap: 10px 14px;
  align-items:start;
}
@media (max-width: 520px){
  .kv{ grid-template-columns: 1fr; }
  .kv .k{ font-weight: 750; color: var(--text); }
}
.k{ color: var(--muted); }
.v{ color: var(--text); font-weight: 600; }

hr.soft{
  border: 0;
  border-top: 1px solid var(--line);
  margin: 18px 0;
}



/* ===== Why + Process Eyecatcher (clean, premium) ===== */
.rrb-eyecatcher{
  position: relative;
  z-index: 3;
  /* Reduce bottom whitespace so the page doesn't end with a large empty field */
  /* tighter bottom so the footer comes in earlier */
  /* More breathing room between "Unser Angebot" and the eyecatcher */
  /* Mobile: keep spacing between sections, but don't let this section overlap the CTA above.
     The extra spacing is handled in the SERVICES section (so its background fills the gap). */
  margin-top: 0;
  padding: clamp(70px, 6vw, 120px) 0 clamp(60px, 6vw, 120px) 0;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 15% 0%, rgba(15,23,42,0.06), transparent 60%),
    radial-gradient(900px 500px at 85% 10%, rgba(239,68,68,0.06), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,1), rgba(255,255,255,1));
}

/* Desktop polish: keep the rounded top without any overlap/negative margins */
@media (min-width: 981px){
  .rrb-eyecatcher{
    border-top-left-radius: clamp(22px, 2.6vw, 46px);
    border-top-right-radius: clamp(22px, 2.6vw, 46px);
    border-top: 1px solid rgba(15,23,42,0.10);
    box-shadow: 0 -30px 80px rgba(2,6,23,.08);
  }
}

/* =============================
   Anfrage (MODUL E)
   ============================= */
.anfrage-page .header__bar{
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px);
}

.anfrage{
  min-height: 100vh;
  background: #fff;
}

.anfrage-hero{
  position: relative;
  padding-top: 76px;
  padding-bottom: 10px;
  overflow: hidden;
}


.anfrage-hero::before{
  content: "";
  position: absolute;
  inset: -40vh -20vw;
  background:
    radial-gradient(closest-side, rgba(220,38,38,.12), transparent 65%),
    radial-gradient(closest-side, rgba(15,23,42,.06), transparent 70%);
  background-size: 120% 120%;
  background-position: 20% 10%;
  transform: translate3d(0,0,0);
  pointer-events: none;
  animation: rrbGlow 18s ease-in-out infinite;
}

@keyframes rrbGlow{
  0%{ background-position: 18% 12%; transform: translate3d(0,0,0); }
  50%{ background-position: 72% 28%; transform: translate3d(0,-6px,0); }
  100%{ background-position: 18% 12%; transform: translate3d(0,0,0); }
}

@media (prefers-reduced-motion: reduce){
  .anfrage-hero::before{ animation: none; }
}

.anfrage-hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(255,255,255,.85), rgba(255,255,255,1) 35%, rgba(255,255,255,1));
  pointer-events: none;
}

.anfrage-hero__inner{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
  max-width: 1200px;
}


.anfrage-top{
  max-width: 86ch;
  padding-top: 2px;
}

.anfrage-top .anfrage-chips{ margin-top: 16px; }

/* Form panel head */
.anfrage-form{
  width: 100%;
  border-radius: 18px;
}

.anfrage-form__head{
  display:flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-end;
  margin-bottom: 16px;
}

.anfrage-form__title{
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(15,23,42,.68);
}

.anfrage-form__meta{
  display:flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.anfrage-form__pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.72);
  font-size: 12px;
  color: rgba(15,23,42,.74);
}

.anfrage-form__pill.is-set{
  border-color: rgba(220,38,38,.35);
  background: rgba(220,38,38,.06);
  color: rgba(15,23,42,.82);
}

.anfrage-form__tel{
  text-decoration: none;
  font-weight: 650;
  color: rgba(15,23,42,.86);
  border-bottom: 1px solid rgba(15,23,42,.14);
  padding-bottom: 2px;
}

.anfrage-form__tel:hover{ border-bottom-color: rgba(220,38,38,.45); }

.anfrage-kicker{
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(15,23,42,.65);
  margin: 0 0 14px;
}

.anfrage-title{
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 14px;
  color: #0f172a;
}

@media (min-width: 920px){
  .anfrage-title{ white-space: nowrap; }
}


.anfrage-title__accent{
  position: relative;
  display: inline-block;
}
.anfrage-title__accent::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .08em;
  height: .12em;
  background: rgba(220,38,38,.18);
  transform: skewX(-10deg);
  z-index: -1;
}

.anfrage-lead{
  font-size: clamp(16px, 1.35vw, 19px);
  color: rgba(15,23,42,.75);
  margin: 0 0 18px;
  max-width: 60ch;
}

.anfrage-sub{
  margin-top: 10px;
  font-size: 13px;
  color: rgba(15,23,42,.62);
}


.anfrage-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.chip{
  appearance: none;
  border: 1px solid rgba(15,23,42,.14);
  background: rgba(255,255,255,.75);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 600;
  color: rgba(15,23,42,.84);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.chip:hover{ transform: translateY(-1px); border-color: rgba(220,38,38,.38); }
.chip.is-active{ border-color: rgba(220,38,38,.7); background: rgba(220,38,38,.06); }

.anfrage-trust{
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: .02em;
  color: rgba(15,23,42,.62);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.anfrage-trust .dot{ opacity: .35; }

.anfrage-card{
  width: 100%;
  position: relative;
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(15,23,42,.13);
  box-shadow: 0 22px 70px rgba(15,23,42,.09);
  padding: 16px;
  overflow: hidden;
}

.anfrage-panels{
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 16px;
  align-items: stretch;
}

/* Make the Anfrage area feel clearly separated (and keep it compact) */
.anfrage-form{
  background: rgba(220,38,38,.055);
  border-color: rgba(220,38,38,.18);
}

.anfrage-form::before{ opacity: .55; }

.anfrage-card__head{
  display:flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15,23,42,.08);
  margin-bottom: 14px;
}

.anfrage-card__title{
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(15,23,42,.72);
}

.anfrage-card__meta{
  font-size: 12px;
  color: rgba(15,23,42,.55);
}

.anfrage-contact{
  padding-right: 16px;
}

.contact-list{
  display:flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item{
  display:flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.contact-label{
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(15,23,42,.54);
  min-width: 92px;
  padding-top: 2px;
}

.contact-value,
.contact-stack a{
  color: rgba(15,23,42,.86);
  text-decoration: none;
}

.contact-value:hover,
.contact-stack a:hover{
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-stack{
  display:flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

.contact-note{
  margin-top: 14px;
  font-size: 12px;
  color: rgba(15,23,42,.58);
}

@media (max-width: 980px){
  .anfrage-panels{ grid-template-columns: 1fr; }
  .contact-stack{ text-align: left; }
  .contact-item{ flex-direction: column; }
}

.anfrage-form{ }


.anfrage-form::before{
  content: "";
  position: absolute;
  inset: -140px -120px auto auto;
  width: 380px;
  height: 380px;
  background: radial-gradient(closest-side, rgba(220,38,38,.14), transparent 70%);
  pointer-events: none;
}

.anfrage-form__head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(15,23,42,.08);
}

.anfrage-form__title{
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(15,23,42,.70);
}

.anfrage-form__meta{
  display:flex;
  align-items:center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.anfrage-form__pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.72);
  font-size: 12px;
  color: rgba(15,23,42,.74);
}

.anfrage-form__pill.is-set{
  border-color: rgba(220,38,38,.38);
  background: rgba(220,38,38,.06);
  color: rgba(15,23,42,.82);
}

.anfrage-form__tel{
  text-decoration: none;
  font-weight: 650;
  color: rgba(15,23,42,.82);
}

.anfrage-form__tel:hover{ color: rgba(220,38,38,.92); }

.form__row{ margin-bottom: 14px; }
.form__row--split{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px){ .form__row--split{ grid-template-columns: 1fr; } }

.form__label{
  display:block;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(15,23,42,.62);
  margin-bottom: 8px;
}

.req{
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(220,38,38,.86);
}

/* Honeypot: visually hidden but still in DOM for bots */
.hp{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__input,
.form__textarea{
  width: 100%;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.84);
  padding: 12px 12px;
  border-radius: 12px;
  font-size: 16px;
  color: #0f172a;
  outline: none;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.form__textarea{ resize: none; min-height: 92px; }

.form__input:focus,
.form__textarea:focus{
  border-color: rgba(220,38,38,.62);
  background: rgba(255,255,255,.86);
  box-shadow: 0 0 0 6px rgba(220,38,38,.08);
}

.form__hint{
  font-size: 12.5px;
  color: rgba(15,23,42,.58);
  margin: 8px 0 0;
}

.form__actions{
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  flex-wrap: wrap;
}

.anfrage-page .btn--ghost{
  border: 1px solid rgba(15,23,42,.16);
  background: rgba(255,255,255,.6);
}

.form__fineprint{
  margin-top: 12px;
  font-size: 12.5px;
  color: rgba(15,23,42,.58);
}

.form__status{
  margin-top: 12px;
  font-size: 13px;
  color: rgba(15,23,42,.72);
  min-height: 1.2em;
}

.form__status.is-ok{ color: rgba(15,23,42,.84); }
.form__status.is-err{ color: rgba(220,38,38,.86); }

/* Invalid state (minimal) */
.form.is-invalid .form__input,
.form.is-invalid .form__textarea{ border-color: rgba(220,38,38,.55); }
.form.is-invalid .form__row:last-of-type{ margin-bottom: 10px; }

/* Notes strip */
.anfrage-notes{
  display: none;
}
@media (max-width: 780px){
  .anfrage-notes{ grid-template-columns: 1fr; }
}

.anfrage-note{
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.66);
  border-radius: 16px;
  padding: 14px 14px;
}

.anfrage-note__k{
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(15,23,42,.62);
}

.anfrage-note__v{
  margin-top: 6px;
  font-size: 14px;
  color: rgba(15,23,42,.80);
  line-height: 1.35;
}

/* Reveal */
[data-reveal]{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .65s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-revealed{ opacity: 1; transform: translateY(0); }

.rrb-eyecatcher__water{
  position:absolute;
  /* Lift watermark so it aligns closer to the headline row */
  /* Nudge watermark a bit higher so it sits on the headline row */
  top: calc(clamp(70px, 6vw, 120px) - 120px);
  right: -10px;
  /* Watermark now uses the real RRB logo image (soft, premium) */
  width: clamp(280px, 34vw, 560px);
  aspect-ratio: 16 / 9;
  opacity: 0.08;
  pointer-events:none;
  user-select:none;
  line-height: 1;
}

.rrb-eyecatcher__water img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1);
}

.rrb-eyecatcher__head{ max-width: 900px; }
.rrb-eyecatcher__title{
  margin: 0;
  font-size: clamp(34px, 4.2vw, 56px);
  letter-spacing: -0.04em;
  line-height: 1.02;
}
.rrb-eyecatcher__sub{
  margin: .55rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Meta rail (no card/box look) */
.rrb-meta-rail{
  margin-top: 24px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(15,23,42,0.10);
  border-bottom: 1px solid rgba(15,23,42,0.10);
}
.rrb-meta{
  padding: 14px 18px;
  min-height: 74px;
}
.rrb-meta + .rrb-meta{ border-left: 1px solid rgba(15,23,42,0.10); }
.rrb-meta__k{
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent1);
  font-weight: 750;
}
.rrb-meta__v{
  margin-top: 6px;
  font-size: 1.02rem;
  font-weight: 750;
  color: rgba(15,23,42,0.92);
}
.rrb-meta__v--muted{ color: rgba(15,23,42,0.70); font-weight: 650; }
.rrb-meta__v--nowrap{ white-space: nowrap; }
.rrb-meta__v--nowrap{ white-space: nowrap; }

/* Mobile: prevent the Leistungen line from overflowing the card */
@media (max-width: 520px){
  .rrb-meta__v--nowrap{
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

/* Call link: keep arrow on the same line */
.rrb-call-link{ display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.rrb-call-link__arrow{ display:inline-block;
  transform: translateY(-2px); transform: translateY(1px); }

/* Two-column editorial layout; right column intentionally pushed right */
.rrb-eyecatcher__grid{
  margin-top: clamp(26px, 3vw, 44px);
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(18px, 3.2vw, 64px);
  align-items: start;
}
.rrb-why{ grid-column: 1 / span 7; }
.rrb-flow{ grid-column: 9 / -1; }

.rrb-eyekicker{
  display:inline-block;
  transform: translateY(-2px);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(15,23,42,0.55);
  font-weight: 800;
  margin-bottom: .55rem;
}
.rrb-h3{
  margin: 0 0 1.1rem;
  font-size: clamp(20px, 1.8vw, 24px);
  letter-spacing: -0.02em;
}

/* Why rows */
.rrb-why__list{ display:grid; gap: 18px; }
.rrb-row{ display:grid; grid-template-columns: 18px 1fr; gap: 12px; padding: 2px 0; }
.rrb-row__dot{
  width: 10px; height: 10px; border-radius: 999px;
  background: rgba(239,68,68,0.95);
  margin-top: 7px;
  box-shadow: 0 0 0 7px rgba(239,68,68,0.10);
}
.rrb-row__t{ font-weight: 800; color: rgba(15,23,42,0.92); }
.rrb-row__d{ margin-top: 4px; color: rgba(15,23,42,0.70); line-height: 1.55; }

/* Flow */
.rrb-flow__lead{ margin: 0 0 1.3rem; color: rgba(15,23,42,0.70); max-width: 44ch; }

.rrb-timeline{
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.rrb-timeline::before{
  content:"";
  position:absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, rgba(239,68,68,0.45), rgba(15,23,42,0.10));
}
.rrb-step{ position: relative; padding-left: 30px; padding-bottom: 18px; }
.rrb-step:last-child{ padding-bottom: 0; }
.rrb-step__pin{
  position:absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(255,255,255,1);
  border: 2px solid rgba(239,68,68,0.55);
  box-shadow: 0 8px 18px rgba(15,23,42,0.12);
}
.rrb-step__k{
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(15,23,42,0.55);
  font-weight: 800;
}
.rrb-step__t{ margin-top: 6px; font-weight: 850; color: rgba(15,23,42,0.92); }
.rrb-step__d{ margin-top: 6px; color: rgba(15,23,42,0.70); line-height: 1.55; }

.rrb-flow__cta{ display:flex; gap: .9rem; align-items:center; margin-top: 1.35rem; }

/* Mobile: place the "Unverbindlich anfragen" CTA a bit lower (as sketched) */
@media (max-width: 520px){
  /* Keep both CTAs perfectly aligned (no offset on mobile) */
  .rrb-flow__cta{ margin-top: 1.35rem; margin-bottom: 0; }
  .rrb-flow__cta .rrb-btn{ transform: none; }
}

/* Keep "Direkt anrufen →" on one line with the arrow aligned */
.rrb-call-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.rrb-call-link__arrow{ display:inline-block;
  transform: translateY(-2px); transform: translateY(1px); }

.rrb-anchor{ position: relative; top: -90px; height: 1px; }

@media (max-width: 980px){
  .rrb-meta-rail{ grid-template-columns: 1fr; border: 1px solid rgba(15,23,42,0.10); border-radius: 18px; overflow:hidden; }
  .rrb-meta + .rrb-meta{ border-left: 0; border-top: 1px solid rgba(15,23,42,0.10); }
  .rrb-eyecatcher__grid{ grid-template-columns: 1fr; row-gap: 34px; }
  .rrb-why, .rrb-flow{ grid-column: 1 / -1; }
  /* Mobile/tablet: move the watermark logo higher so it doesn't sit inside the headline */
  .rrb-eyecatcher__water{ right: -40px; top: calc(clamp(70px, 6vw, 120px) - 128px); }
}


/* Responsive */
@media (max-width: 980px){
  .hero__inner{ grid-template-columns: 1fr; }
  .grid--services{ grid-template-columns: 1fr; }
  .grid--benefits{ grid-template-columns: 1fr 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .contact{ grid-template-columns: 1fr; }
   .hero:not(.hero--premium){ padding-top: 3.1rem; }
}
@media (max-width: 760px){
  /* Mobile: remove the watermark logo for a cleaner premium look */
  .rrb-eyecatcher__water{ display:none !important; }
  .nav-toggle{ display:block; }
  /* Legacy small dropdown (kept for safety) – do NOT affect the full-screen drawer */
  .nav:not(.nav-drawer){
    position:fixed;
    top: 74px;
    right: 1rem;
    left: 1rem;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:.25rem;
    padding: .6rem;
    border:1px solid rgba(255,255,255,.14);
    background: radial-gradient(120px 80px at 25% 20%, rgba(239,68,68,.28), transparent 60%), linear-gradient(180deg, rgba(2,6,23,.80), rgba(2,6,23,.60));
    border-radius: 18px;
    box-shadow: var(--shadow);
    z-index:70;
  }
  .nav:not(.nav-drawer).is-open{ display:flex; }
  /* IMPORTANT (mobile/iOS): The backdrop must NOT be present when the menu is closed,
     otherwise Safari applies backdrop-filter/overlay and the page looks "greyed out". */
  .nav-backdrop{ display:none; z-index:60; }
  body.nav-open .nav-backdrop{ display:block; }
  body.nav-open .mobile-cta{ opacity:0; pointer-events:none; }
  .nav:not(.nav-drawer) a{ padding:.8rem .9rem; }
  .form__row{ grid-template-columns: 1fr; }
  .mobile-cta{ display:flex; }

  /* CTA row: remove the "underline" look and align both actions on the same baseline */
  .rrb-flow__cta{ align-items:stretch; }
  .rrb-flow__cta .rrb-link{
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .95rem 1.05rem;
    border-radius: 16px;
    border: 1px solid rgba(15,23,42,.12);
    background: rgba(255,255,255,.78);
    font-weight: 750;
    color: rgba(15,23,42,.86);
  }
  .rrb-flow__cta .rrb-link:hover{ background: rgba(255,255,255,.92); }
  }

/* Professional polish */
.section__head p{ max-width: 68ch; }
.hero__copy .lead{ max-width: 62ch; }
.btn:focus-visible, .nav__phone:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
  outline: 3px solid rgba(220,38,38,.35);
  outline-offset: 2px;
}

/* Subtle eye-candy */
@keyframes floaty{0%,100%{transform:translate3d(0,0,0);}50%{transform:translate3d(0,14px,0);}}
.hero__bg::before{
  content:"";
  position:absolute;
  width:520px;
  height:520px;
  left:-170px;
  top:-240px;
  border-radius:50%;
  background: radial-gradient(circle at 30% 30%, rgba(22,163,74,.22), transparent 60%);
  animation: floaty 10s ease-in-out infinite;
}
.hero__bg::after{
  content:"";
  position:absolute;
  width:420px;
  height:420px;
  right:-180px;
  top:-180px;
  border-radius:50%;
  background: radial-gradient(circle at 40% 40%, rgba(34,197,94,.18), transparent 60%);
  animation: floaty 12s ease-in-out infinite;
}
.service__media img{ transition: transform .6s ease; }
.service:hover .service__media img{ transform: scale(1.05); }

/* Subtle eye-candy */
@keyframes floaty{0%,100%{transform:translate3d(0,0,0);}50%{transform:translate3d(0,14px,0);}}
.hero__bg::before{content:"";position:absolute;width:520px;height:520px;left:-170px;top:-240px;border-radius:50%;background:radial-gradient(circle at 30% 30%, rgba(22,163,74,.22), transparent 60%);animation:floaty 10s ease-in-out infinite;}
.hero__bg::after{content:"";position:absolute;width:420px;height:420px;right:-160px;top:-200px;border-radius:50%;background:radial-gradient(circle at 40% 40%, rgba(34,197,94,.20), transparent 60%);animation:floaty 12s ease-in-out infinite;}
.service__media img{transition:transform .6s ease;}
.service:hover .service__media img{transform:scale(1.05);}

/* ===============================
   v38 — Premium Full‑Width Navigation
   - only: Home / Über uns / Anfrage
   - full-width bar, slim + minimal
   - on scroll: collapses from LEFT into a small right-side Menü pill (clip-path)
   =============================== */

.header--nav{
  border-bottom: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  pointer-events: auto;
}
.header--nav.is-elevated{ box-shadow: none !important; }

.header--nav .header__bar{
  /* collapsed visible width on the right (hamburger only).
     Set so the 44px button is naturally centered with the same padding as expanded.
     (nav-cw - 44) / 2 == inner horizontal padding */
  --nav-cw: 76px;
  pointer-events: auto;
  position: fixed;
  top: 8px;
  left: 8px;
  right: 8px;
  height: 56px;
  border-radius: 14px;
  background: rgba(2,6,23,.54);
  border: 0;
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 18px 60px rgba(0,0,0,.26);
  clip-path: inset(0 0 0 0 round 14px);
  transform: translateZ(0);
  transition:
    clip-path .6s cubic-bezier(.2,.9,.1,1),
    border-radius .6s cubic-bezier(.2,.9,.1,1),
    background .35s ease,
    box-shadow .35s ease;
}
.header--nav.is-elevated .header__bar{
  background: rgba(2,6,23,.70);
  box-shadow: 0 22px 72px rgba(0,0,0,.32);
}

.header--nav .header__bar-inner{
  height: 100%;
  width: 100%;
  padding: 0 16px;
  display:flex;
  align-items:center;
  gap: 18px;
}

/* Logo (text wordmark) */
.header--nav .header__logo{
  display:flex;
  align-items:center;
  gap: 10px;
  padding-left: 2px;
  flex: 0 0 auto;
}

.header--nav .header__logo-text{
  text-decoration: none;
  line-height: 1;
  letter-spacing: -0.02em;
}
.header--nav .header__logo-text .logo-rrb{
  font-weight: 900;
  color: rgba(255,255,255,.96);
  margin-right: .35rem;
}
.header--nav .header__logo-text .logo-gmbh{
  font-weight: 800;
  color: rgba(255,255,255,.68);
}

/* Links (right aligned) */
.nav-inline{
  margin-left: auto;
  display:flex;
  align-items:center;
  gap: 22px;
}
.nav-inline a{
  position: relative;
  color: rgba(255,255,255,.78);
  font-weight: 750;
  letter-spacing: -0.01em;
  padding: 6px 0;
  transition: color .18s ease, opacity .18s ease;
}
.nav-inline a::after{
  content:"";
  position:absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,.0), rgba(255,255,255,.34), rgba(255,255,255,.0));
  transform: scaleX(0);
  transform-origin: center;
  opacity: .9;
  transition: transform .22s ease;
}
.nav-inline a:hover{
  color: rgba(255,255,255,.95);
}
.nav-inline a:hover::after{ transform: scaleX(1); }
.nav-inline a.is-active{ color: rgba(255,255,255,.95); }
.nav-inline a.is-active::after{ transform: scaleX(1); opacity: 1; }

/* Anfrage link should behave like the other nav links (no special CTA styling). */

/* Hamburger (always far right) — no label, no pill */
.header--nav .nav-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.92);
  cursor:pointer;
  border-radius: 0;
  /* keep motion in sync with the bar clip-path so it never "jumps" */
  transition: transform .6s cubic-bezier(.2,.9,.1,1);
  -webkit-tap-highlight-color: transparent;
}

/* Disable all header transitions for "no intro" renders (e.g., refresh / subpage) */
body.nav-no-anim .header--nav .header__bar,
body.nav-no-anim .header--nav .header__logo,
body.nav-no-anim .header--nav .nav-inline,
body.nav-no-anim .header--nav .nav-toggle{
  transition: none !important;
}
.header--nav .nav-toggle:focus-visible{
  outline: none;
}
.nav-toggle__icon{
  position: relative;
  width: 28px;
  height: 18px;
  display:inline-block;
  /* optically centered */
  transform: translateY(0);
}
.nav-toggle__icon span{
  position:absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: rgba(255,255,255,.92);
  transform-origin: center;
  transition: transform .22s ease, opacity .18s ease, top .22s ease;
}
.nav-toggle__icon span:nth-child(1){ top: 0; }
.nav-toggle__icon span:nth-child(2){ top: 8px; }
.nav-toggle__icon span:nth-child(3){ top: 16px; }

/* Collapse: keep only the right-side Menü pill visible (shrink from LEFT) */
body.nav-collapsed .header--nav .header__bar{
  clip-path: inset(0 0 0 calc(100% - var(--nav-cw)) round 14px);
  border-radius: 14px;
}

/* When collapsed, keep the same inner padding so the button stays perfectly still */
body.nav-collapsed .header--nav .nav-toggle{ transform: none; }
body.nav-collapsed .header--nav .header__logo,
body.nav-collapsed .header--nav .nav-inline{
  opacity: 0;
  transform: translateX(-10px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

/* Mobile: show ONLY the hamburger button (Elbrus-style).
   No full-width bar on entry — just the small top-right menu button. */
@media (max-width: 860px){
  .header--nav .header__bar{
    top: calc(10px + env(safe-area-inset-top));
    right: calc(10px + env(safe-area-inset-right));
    left: auto !important;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: radial-gradient(120px 80px at 25% 20%, rgba(239,68,68,.22), transparent 60%), linear-gradient(180deg, rgba(2,6,23,.74), rgba(2,6,23,.54));
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    box-shadow: 0 18px 60px rgba(0,0,0,.26);
    clip-path: inset(0 0 0 0 round 18px) !important;
  }

  .header--nav .header__bar-inner{
    height: 100%;
    padding: 0 !important;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap: 0;
  }

  .header--nav .header__logo{ display:none !important; }
  .nav-inline{ display:none !important; }

  .header--nav .nav-toggle{
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: transparent;
  }

  /* Make sure the icon is always visible (fix: spans were clipped on mobile). */
  .nav-toggle__icon{ width: 26px; height: 18px; }
  .nav-toggle__icon span{ background: rgba(255,255,255,.92); }
}

/* Drawer menu (opened by the button) */
.nav.nav-drawer{
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 120px 24px 48px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  z-index: 70;
  transition: opacity .35s ease, transform .35s ease;
}
.nav.nav-drawer.is-open{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav.nav-drawer a{
  background: none !important;
  padding: .22rem 0 !important;
  border-radius: 0 !important;
  color: rgba(255,255,255,.92);
  font-weight: 850;
  letter-spacing: -0.02em;
  font-size: clamp(1.85rem, 3.6vw, 2.8rem);
  line-height: 1.05;
  transition: transform .18s ease, opacity .18s ease;
}
.nav.nav-drawer a:hover{ transform: translateY(-2px); opacity: .96; }
.nav.nav-drawer a.nav__cta{
  margin-top: 12px;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem) !important;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .95rem 1.2rem !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, var(--accent1), var(--accent2)) !important;
  box-shadow: 0 18px 55px rgba(220,38,38,.22);
}

/* Drawer close button (premium) */
.nav-drawer__close{
  position: absolute;
  top: 22px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.92);
  font-size: 28px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-tap-highlight-color: transparent;
  transition: transform .16s ease, filter .16s ease;
}
.nav-drawer__close:hover{ filter: brightness(1.06); }
.nav-drawer__close:active{ transform: translateY(1px); }

/* Active link in drawer */
.nav.nav-drawer a.is-active{
  position: relative;
  color: #fff;
  opacity: 1;
}
.nav.nav-drawer a.is-active::after{
  content: "";
  position: absolute;
  left: -10px;
  right: -10px;
  bottom: -14px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(239,68,68,0), rgba(239,68,68,.9), rgba(239,68,68,0));
}

/* Backdrop */
.nav-backdrop{
  /* Must be absent while closed (Safari applies backdrop-filter even at opacity:0). */
  display:none;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 65;
}
body.nav-open .nav-backdrop{
  display:block;
  opacity: 1;
  pointer-events: auto;
}
body.nav-open{ overflow: hidden; }

/* Prevent legacy mobile nav styles from affecting the full-screen drawer */
@media (max-width: 760px){
  .nav:not(.nav-drawer){ top:auto; right:auto; left:auto; border:none; box-shadow:none; display: initial; }
}

/* === Services → Premium: hide the empty parallax "tail" ===
   The services photo reel needs extra scroll travel. That can create a large
   empty gap after the copy ends. We overlap ONLY that empty area with the next
   section ("Premium-Ausführung...") so the page stays tight. */
@media (min-width: 981px){
  .rrb-services{ position: relative; z-index: 1; }
  .rrb-services__visuals{ position: relative; z-index: 0; pointer-events: none; }

  /* Pull the next section upward by the computed empty tail (set in script.js) */
  .rrb-eyecatcher{
    position: relative;
    z-index: 5;
    /* Leave a consistent breathing space between the two sections */
    margin-top: calc(-1 * var(--services-tail, 0px) + clamp(150px, 7vw, 220px));
  }

  /* Ensure footer is always above the photo reel layer */
  .footer{ position: relative; z-index: 6; }
}

/* --- Anfrage (Kontakt-Style, premium, wie Referenz) --- */
body.anfrage-page{
  /* Brand accent (red) */
  --kontakt-accent: var(--accent1);
  --kontakt-line: rgba(15,23,42,.18);
  --kontakt-line2: rgba(15,23,42,.10);
}

/* Make the Anfrage/Angebot page fit common viewports without extra scroll */
body.anfrage-page .kontakt-section{
  padding: clamp(28px, 4.2vw, 64px) 0;
}

body.anfrage-page .kontakt-title{
  margin-bottom: 14px;
  font-size: clamp(42px, 5.2vw, 72px);
}

body.anfrage-page .f-row{ margin-bottom: 14px; }

.kontakt-section{
  padding: clamp(40px, 6vw, 84px) 0;
}

.kontakt-grid{
  display:grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items:start;
}

@media (max-width: 920px){
  .kontakt-grid{ grid-template-columns: 1fr; }
}

.kontakt-copy{ max-width: 520px; }

.kontakt-kicker{
  margin:0 0 12px 0;
  font-size: 14px;
  letter-spacing: .12em;
  font-weight: 700;
  color: var(--kontakt-accent);
}

.kontakt-title{
  margin:0 0 18px 0;
  /* Use the site's normal (premium) sans style for headings */
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 0.95;
  font-size: clamp(40px, 5.6vw, 74px);
  color: var(--text);
}

.kontakt-title__accent{ color: var(--kontakt-accent); }

.kontakt-lead{
  margin: 0 0 14px 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.kontakt-divider{
  height:1px;
  width: min(520px, 100%);
  background: var(--kontakt-line2);
  margin: 26px 0 22px 0;
}

.kontakt-direct__title{
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 16px;
  color: var(--text);
  margin: 0 0 12px 0;
}

.kontakt-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap: 12px;
}

.kontakt-item{
  display:flex;
  align-items:flex-start;
  gap: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.kontakt-ico{
  width: 22px;
  height: 22px;
  color: var(--kontakt-accent);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top: 1px;
}

.kontakt-link{
  color: var(--kontakt-accent);
  text-decoration: none;
  font-weight: 700;
}

.kontakt-link:hover{ text-decoration: underline; }

.kontakt-formWrap{
  width: 100%;
}

/* Anfrage: move form block slightly down (without changing internal layout) */
body.anfrage-page .kontakt-formWrap{ margin-top: 22px; }
@media (max-width: 820px){ body.anfrage-page .kontakt-formWrap{ margin-top: 10px; } }

.kontakt-form{
  width: 100%;
}

.f-row{
  margin: 0 0 18px 0;
}

.f-label{
  display:block;
  margin: 0 0 0px 0;
  color: rgba(15,23,42,.68);
  font-size: 15px;
  line-height: 1.15;
}

.req{ color: var(--kontakt-accent); }

.f-input{
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--kontakt-line);
  padding: 2px 0 8px 0;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
  border-radius: 0;
}

.f-input:focus{
  border-bottom-color: var(--kontakt-accent);
  box-shadow: 0 12px 0 -11px rgba(239,68,68,.35);
  outline: none;
}

.f-input:focus-visible{ outline: none; }

.f-select{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  padding-right: 28px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(15,23,42,.75) 50%),
    linear-gradient(135deg, rgba(15,23,42,.75) 50%, transparent 50%);
  background-position:
    calc(100% - 12px) 55%,
    calc(100% - 6px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.f-row--textarea .f-input{
  border: 1px solid var(--kontakt-line2);
  border-radius: 10px;
  padding: 12px 14px;
}

.f-textarea:focus{
  border-color: var(--kontakt-accent);
  box-shadow: 0 0 0 4px rgba(239,68,68,.18);
}

.f-privacy{
  margin: 10px 0 18px 0;
}

.f-check{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  color: rgba(15,23,42,.58);
  font-size: 13px;
  line-height: 1.55;
}

.f-check input{
  margin-top: 3px;
  width: 14px;
  height: 14px;
  accent-color: var(--kontakt-accent);
}

.kontakt-submit{
  width: 100%;
  border: 0;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  padding: 18px 18px;
  border-radius: 999px;
  margin-top: 6px;
  box-shadow: 0 18px 55px rgba(220,38,38,.22);
  cursor: pointer;
  transition: transform .12s ease, filter .12s ease;
}

.kontakt-submit:hover{ filter: brightness(.96); }
.kontakt-submit:active{ transform: translateY(1px); }

.kontakt-status{
  margin: 14px 0 0 0;
  font-size: 14px;
  color: rgba(15,23,42,.62);
}

.kontakt-status.is-ok{ color: #0f766e; }
.kontakt-status.is-err{ color: #b91c1c; }

/* hide honeypot */
.hp{
  position:absolute !important;
  left:-9999px !important;
  top:auto !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}



/* === Anfrage/Angebot layout fine-tune === */
.anfrage-page .kontakt-section{
  padding-top: clamp(78px, 7.5vw, 124px); /* push content slightly further down */
  padding-bottom: clamp(22px, 3vw, 40px); /* footer closer */
}

@media (max-width: 820px){
  .anfrage-page .kontakt-section{
    padding-bottom: clamp(56px, 7vw, 96px); /* give space + avoid harsh transition into footer */

    /* Anfrage (mobile): ensure the form area stays on the light canvas.
       Without this, the dark footer gradient can visually "start" too early
       (looks like a hard cut under "Ort / Objekt"). */
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(900px 420px at 20% -10%, rgba(220,38,38,.10), transparent 60%),
      linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
  }

  /* Smooth fade from the light Anfrage section into the dark footer (no hard line) */
  .anfrage-page .kontakt-section::after{
    content:"";
    position:absolute;
    left:0; right:0;
    bottom:-1px;
    height: clamp(64px, 10vw, 120px);
    pointer-events:none;
    background: linear-gradient(to bottom, rgba(247,248,250,0), rgba(15,23,42,.55));
  }

  /* Keep content above the fade layer */
  .anfrage-page .kontakt-section .container{ position: relative; z-index: 1; }
}

/* Reduce the perceived gap between label and field */
/* Ensure label-to-field spacing stays tight even if generic form elements are used */
.kontakt-form label{ margin-bottom: .12rem; }
.kontakt-form input,
.kontakt-form select,
.kontakt-form textarea{ margin-top: 0; }

/* Red focus state for form fields (instead of green/default) */
.kontakt-form input:focus,
.kontakt-form select:focus,
.kontakt-form textarea:focus{
  outline: none;
  border-color: rgba(220,38,38,.9);
  box-shadow: 0 0 0 3px rgba(220,38,38,.18);
}
.kontakt-form input:focus-visible,
.kontakt-form select:focus-visible,
.kontakt-form textarea:focus-visible{
  outline: none;
}


/* === Premium Legal Pages (Datenschutz / Impressum) === */
.legal-shell{
  /* iOS Safari can treat 100vh as larger than the visible area (includes browser UI),
     which creates a scrollable "extra area" below the footer on short legal pages.
     Use modern viewport units when available. */
  /* Prefer a JS-driven visible-viewport height on iOS to avoid the "extra space" under the footer.
     Fallbacks: modern viewport units + 100vh. */
  min-height: calc(var(--app-height, 100vh));
  display:flex;
  flex-direction:column;
}
.legal-shell main{ flex:1; }

@supports (height: 100svh){
  .legal-shell{ min-height: 100svh; }
}
@supports (height: 100dvh){
  .legal-shell{ min-height: 100dvh; }
}

/* If JS provides the visible viewport height, prefer it (iOS Safari footer-gap fix). */
html[data-app-height="1"] .legal-shell{ min-height: var(--app-height) !important; }

/* Ensure the footer truly sits at the very bottom on legal pages (sticky footer). */
body.legal-shell{ height: auto; }
.legal-shell .footer{ margin-top: auto !important; }

/* === Legal v2 (new unique premium design) === */
.legal2-main{ flex:1; }
.legal2-wrap{ width:min(1120px, 100% - 48px); margin:0 auto; }

.legal2{
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(239,68,68,.18), transparent 55%),
    radial-gradient(900px 500px at 90% 10%, rgba(2,132,199,.14), transparent 55%),
    linear-gradient(#ffffff, #ffffff);
}

.legal2-hero{
  position:relative;
  padding: clamp(84px, 9vw, 124px) 0 26px;
}
.legal2-hero--compact{ padding-bottom: 14px; }
.legal2-hero:before,
.legal2-hero:after{
  content:"";
  position:absolute;
  inset:auto;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  filter: blur(44px);
  opacity: .35;
  pointer-events:none;
  animation: legalFloat 10s ease-in-out infinite;
}
.legal2-hero:before{ left:-220px; top:-220px; background: rgba(239,68,68,.55); }
.legal2-hero:after{ right:-220px; top:-260px; background: rgba(2,132,199,.45); animation-delay: -3s; }

@keyframes legalFloat{
  0%,100%{ transform: translate3d(0,0,0) scale(1); }
  50%{ transform: translate3d(18px, 22px, 0) scale(1.05); }
}

.legal2-badge{
  display:inline-flex;
  gap: 10px;
  align-items:center;
  padding: 10px 14px;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(8px);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(15,23,42,.72);
}

.legal2-title{
  margin: 16px 0 10px;
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #0b1220;
  overflow-wrap: anywhere;
}

@media (max-width: 520px){
  .legal2-title{ font-size: clamp(30px, 9vw, 44px); }
}

.legal2-sub{
  max-width: 70ch;
  color: rgba(15,23,42,.72);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.legal2-highlights{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 18px;
}

.legal2-pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.72);
  color: rgba(15,23,42,.82);
  font-weight: 700;
  font-size: 13px;
}

.legal2-pill--link{
  text-decoration:none;
  border-color: rgba(239,68,68,.25);
}
.legal2-pill--link:hover{ filter: brightness(.98); }

.legal2-section{ padding: 20px 0 64px; }
.legal2-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items:start;
}

.legal2-card{
  position:relative;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(15,23,42,.06);
  overflow:hidden;
}
.legal2-card:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(800px 260px at 30% 0%, rgba(239,68,68,.12), transparent 55%),
    radial-gradient(800px 260px at 90% 30%, rgba(2,132,199,.09), transparent 55%);
  pointer-events:none;
}
.legal2-card > *{ position:relative; }

.legal2-card--soft{ background: rgba(248,250,252,.85); }

.legal2-cardInner{ padding: 18px 18px; }

.legal2-kicker{
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(239,68,68,.92);
  margin: 0 0 10px;
}

.legal2-h2{
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: #0b1220;
}

.legal2-p{ margin: 0; color: rgba(15,23,42,.75); line-height: 1.65; font-size: 15px; }
.legal2-p a{ color: rgba(239,68,68,.92); font-weight: 800; text-decoration:none; }
.legal2-p a:hover{ text-decoration:underline; }

.legal2-mini{
  display:grid;
  gap: 12px;
}

.legal2-row{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(15,23,42,.08);
}
.legal2-row b{ color:#0b1220; }
.legal2-row span{ color: rgba(15,23,42,.70); text-align:right; }

.legal2-acc{
  border-top: 1px solid rgba(15,23,42,.10);
}
.legal2-acc:first-of-type{ border-top: 0; }

.legal2-acc summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 14px 18px;
  font-weight: 900;
  color: #0b1220;
}
.legal2-acc summary::-webkit-details-marker{ display:none; }

.legal2-acc summary:after{
  content:"";
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(15,23,42,.65);
  border-bottom: 2px solid rgba(15,23,42,.65);
  transform: rotate(45deg);
  transition: transform .18s ease;
}

.legal2-acc[open] summary:after{ transform: rotate(225deg); }

.legal2-accBody{
  padding: 0 18px 16px;
  animation: legalReveal .22s ease;
}

@keyframes legalReveal{
  from{ opacity:0; transform: translateY(-6px); }
  to{ opacity:1; transform: translateY(0); }
}

.legal2-bullets{ margin: 10px 0 0; padding: 0 0 0 18px; color: rgba(15,23,42,.74); }
.legal2-bullets li{ margin: 6px 0; }

.legal2-contact{
  display:grid;
  gap: 12px;
}

.legal2-cta{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  margin-top: 12px;
}

.legal2-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.85);
  font-weight: 900;
  text-decoration:none;
  color: #0b1220;
}

.legal2-btn--primary{
  border-color: rgba(239,68,68,.22);
  background: rgba(239,68,68,.10);
}

.legal2-main--compact .legal2-section{ padding-bottom: 18px; }

/* Mobile: Impressum bottom spacing like Datenschutz (Box -> Footer) */
@media (max-width: 860px){
  body.legal2--impressum .legal2-main--compact .legal2-section{ padding-bottom: 70px; }
}

.legal2-compactGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.legal2-note{
  margin-top: 12px;
  font-size: 12px;
  color: rgba(15,23,42,.60);
}

@media (max-width: 980px){
  .legal2-grid{ grid-template-columns: 1fr; }
  .legal2-compactGrid{ grid-template-columns: 1fr; }
  .legal2-hero{ padding-top: calc(92px + env(safe-area-inset-top)); }
}

/* Impressum: single premium card layout */
.legal2-card--single{ padding: 18px; }
.legal2-card--single .legal2-cardHead{ display:flex; align-items:center; gap:10px; margin-bottom: 10px; }
.legal2-ico{ font-size: 18px; }
.legal2-h3{
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(15,23,42,.62);
}
.legal2-singleGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}
.legal2-singleCol{
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(15,23,42,.08);
}
.legal2-singleFull{
  grid-column: 1 / -1;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(15,23,42,.08);
}

@media (max-width: 820px){
  .legal2-singleGrid{ grid-template-columns: 1fr; }
}

/* Distinct hero with animated accent */
.legal-hero{
  position:relative;
  padding: clamp(56px, 8vw, 110px) 0 clamp(26px, 4vw, 56px);
  overflow:hidden;
}
.legal-hero::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(circle at 18% 30%, rgba(220,38,38,.20), transparent 55%),
    radial-gradient(circle at 80% 18%, rgba(255,255,255,.14), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(220,38,38,.14), transparent 58%);
  transform: translateZ(0);
  animation: legalGlow 14s ease-in-out infinite;
}
.legal-hero::after{
  content:"";
  position:absolute;
  left:-20%;
  top:-30%;
  width: 70%;
  height: 140%;
  background: linear-gradient(135deg, rgba(220,38,38,.16), transparent 55%);
  transform: rotate(10deg);
  filter: blur(0px);
  opacity:.9;
}
@keyframes legalGlow{
  0%,100%{ transform: scale(1) rotate(0deg); }
  50%{ transform: scale(1.04) rotate(2deg); }
}

.legal-wrap{ width:min(1100px, calc(100% - 2.5rem)); margin:0 auto; position:relative; z-index:1; }

.legal-title{
  margin:0;
  letter-spacing: -.02em;
  font-size: clamp(2.0rem, 5.2vw, 3.6rem);
}
.legal-sub{
  margin:.8rem 0 0;
  max-width: 68ch;
  color: rgba(255,255,255,.78);
}
.legal-shell .legal-title, .legal-shell .legal-sub{ color: #0f172a; }
.legal-shell .legal-hero .legal-title{ color:#0b1220; }
.legal-shell .legal-hero .legal-sub{ color: rgba(15,23,42,.72); }

.legal-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 0 0 4.25rem;
}
@media (min-width: 980px){
  .legal-grid{ grid-template-columns: .38fr .62fr; gap: 1.75rem; }
}

.legal-nav{
  position: relative;
}
@media (min-width: 980px){
  .legal-nav{ position: sticky; top: 92px; align-self:start; }
}
.legal-navCard{
  border-radius: 22px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 18px 50px rgba(2,6,23,.10);
  padding: 1.15rem;
}
.legal-navTitle{
  display:flex;
  align-items:center;
  gap:.6rem;
  font-weight: 800;
  letter-spacing:.12em;
  text-transform: uppercase;
  font-size: .78rem;
  color: rgba(15,23,42,.72);
  margin:0 0 .75rem;
}
.legal-chipList{ display:flex; flex-wrap:wrap; gap:.5rem; }
.legal-chip{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  padding:.55rem .7rem;
  border-radius: 999px;
  background: rgba(15,23,42,.04);
  border: 1px solid rgba(15,23,42,.08);
  color: rgba(15,23,42,.84);
  font-size: .88rem;
  text-decoration:none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.legal-chip:hover{
  transform: translateY(-2px);
  background: rgba(220,38,38,.08);
  border-color: rgba(220,38,38,.20);
}
.legal-chip::before{
  content:"";
  width:10px; height:10px;
  border-radius: 3px;
  background: rgba(220,38,38,.95);
  box-shadow: 0 8px 20px rgba(220,38,38,.28);
}

.legal-contentCard{
  border-radius: 26px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 26px 70px rgba(2,6,23,.12);
  overflow:hidden;
}
.legal-contentInner{
  padding: clamp(18px, 2.4vw, 28px);
}
.legal-section{
  padding: 1.25rem 0;
  border-top: 1px solid rgba(15,23,42,.08);
}
.legal-section:first-child{ border-top:none; padding-top: .25rem; }
.legal-h2{
  margin:0 0 .4rem;
  font-size: 1.15rem;
  letter-spacing:-.01em;
}
.legal-p{ margin:.25rem 0 .85rem; color: rgba(15,23,42,.78); }
.legal-list{ margin:.35rem 0 .85rem 1.1rem; color: rgba(15,23,42,.78); }
.legal-note{
  margin: .9rem 0 0;
  padding: .9rem 1rem;
  border-radius: 18px;
  background: rgba(220,38,38,.06);
  border: 1px solid rgba(220,38,38,.18);
  color: rgba(15,23,42,.78);
}
.legal-badge{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.35rem .6rem;
  border-radius: 999px;
  background: rgba(220,38,38,.10);
  border: 1px solid rgba(220,38,38,.18);
  color: rgba(15,23,42,.82);
  font-size: .86rem;
  margin-bottom:.55rem;
}

/* entrance animations */
.legal-shell .reveal{ opacity:0; transform: translateY(14px); }
.legal-shell .reveal.is-visible{ opacity:1; transform:none; transition: opacity .7s ease, transform .7s ease; }
@media (prefers-reduced-motion: reduce){
  .legal-hero::before{ animation:none; }
  .legal-chip, .legal-shell .reveal.is-visible{ transition:none; }
}



/* Datenschutz: clean premium text layout */
.legaltext-main{ flex:1; }
.legaltext-wrap{ width:min(920px, 100% - 48px); margin:0 auto; }
.legaltext-hero{ position:relative; padding: 108px 0 26px; overflow:hidden; }
.legaltext-hero:before,
.legaltext-hero:after{ content:""; position:absolute; width: 520px; height: 520px; filter: blur(44px); opacity:.35; border-radius: 999px; animation: blobMove 10s ease-in-out infinite; }
.legaltext-hero:before{ left:-220px; top:-240px; background: rgba(239,68,68,.55); }
.legaltext-hero:after{ right:-240px; top:-260px; background: rgba(2,132,199,.45); animation-delay: -3s; }
.legaltext-badge{ display:inline-flex; align-items:center; gap:.5rem; padding:.55rem .75rem; border-radius: 999px; border:1px solid rgba(15,23,42,.10); background: rgba(255,255,255,.72); font-weight: 900; letter-spacing:.08em; text-transform:uppercase; font-size: 12px; color: rgba(15,23,42,.70); }
.legaltext-title{
  margin: 14px 0 10px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #0b1220;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}
@media (max-width: 520px){
  .legaltext-title{
    font-size: clamp(30px, 9.2vw, 44px);
    line-height: 1.06;
  }
}
.legaltext-sub{ margin:0; color: rgba(15,23,42,.72); font-size: 16px; line-height:1.7; max-width: 68ch; }
.legaltext-section{ padding: 18px 0 70px; }
.legaltext-article{ background: rgba(255,255,255,.82); border:1px solid rgba(15,23,42,.10); border-radius: 18px; box-shadow: 0 18px 46px rgba(15,23,42,.06); padding: 22px 22px; position:relative; overflow:hidden; }
.legaltext-article:before{ content:""; position:absolute; inset:0; background: radial-gradient(900px 260px at 30% 0%, rgba(239,68,68,.10), transparent 55%), radial-gradient(900px 260px at 90% 30%, rgba(2,132,199,.08), transparent 55%); pointer-events:none; }
.legaltext-article > *{ position:relative; }
.legaltext-h2{ margin: 18px 0 8px; font-size: 18px; letter-spacing:-0.01em; color:#0b1220; }
.legaltext-p{ margin:0 0 12px; color: rgba(15,23,42,.76); line-height: 1.75; font-size: 15px; }
.legaltext-p a{ color: rgba(239,68,68,.92); font-weight: 900; text-decoration:none; }
.legaltext-p a:hover{ text-decoration:underline; }
.legaltext-list{ margin: 0 0 14px; padding: 0 0 0 18px; color: rgba(15,23,42,.74); line-height:1.75; }
.legaltext-list li{ margin: 6px 0; }
.legaltext-footnote{ margin: 18px 0 0; font-size: 12px; color: rgba(15,23,42,.60); }
@media (max-width: 820px){ .legaltext-wrap{ width: calc(100% - 32px); } .legaltext-hero{ padding-top: calc(92px + env(safe-area-inset-top)); } .legaltext-article{ padding: 18px 16px; } }

/* Mobile safety: long headings never overflow */
.legal2-hero h1, .legal2-hero .legal2-title, .legal2-title{
  overflow-wrap:anywhere;
  word-break:break-word;
  max-width:100%;
}
@media (max-width: 520px){
  .legal2-hero h1, .legal2-title{
    font-size: clamp(30px, 9vw, 44px) !important;
    line-height: 1.06 !important;
  }
}

@media (max-width: 520px){
  .rrb-meta__v--nowrap{
    white-space: normal !important;
    overflow-wrap:anywhere;
    word-break:break-word;
    line-height:1.2;
  }
}



/* === FIX: Desktop clicks were blocked by invisible nav backdrop (v120 regression) === */
.nav-backdrop{
  display: none !important;
  pointer-events: none !important;
  opacity: 0 !important;
}
body.nav-open .nav-backdrop{
  display: block !important;
  pointer-events: auto !important;
  opacity: 1 !important;
}
/* Ensure desktop never gets scroll-locked by mobile nav state */
@media (min-width: 861px){
  body.nav-open{ overflow: auto !important; }
  .nav-backdrop{ display:none !important; }
}



/* === Mobile menu: ELBRUS-style "Navigation box" (RRB) === */
@media (max-width: 860px){
  /* Backdrop: darker + softer blur */
  body.nav-open .nav-backdrop{
    background: rgba(2,6,23,.68);
    backdrop-filter: blur(12px) saturate(1.1);
    -webkit-backdrop-filter: blur(12px) saturate(1.1);
  }

  /* Turn the existing drawer into a premium "box" (like elbrus-marketing.at) */
  .nav.nav-drawer{
    inset: auto !important;
    top: calc(10px + 56px + 12px);
    left: 10px;
    right: 10px;
    bottom: auto;

    width: auto;
    max-width: 560px;
    margin: 0 auto;

    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;

    padding: 18px 16px 16px;
    border-radius: 22px;

    background:
      radial-gradient(900px 420px at 16% 0%, rgba(239,68,68,.18), transparent 55%),
      radial-gradient(820px 380px at 92% 10%, rgba(255,255,255,.10), transparent 60%),
      linear-gradient(180deg, rgba(2,6,23,.92), rgba(2,6,23,.78));
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 28px 90px rgba(0,0,0,.48);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transform: translateY(-10px) scale(.985);
  }

  .nav.nav-drawer::before{
    content: "Navigation";
    display:block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.58);
    padding: 0 6px 10px;
  }

  .nav.nav-drawer a{
    background: rgba(255,255,255,.03) !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 18px !important;

    padding: 14px 14px !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.15 !important;

    display:flex !important;
    justify-content: space-between;
    align-items:center;

    color: rgba(255,255,255,.92) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  }

  .nav.nav-drawer a::after{
    content: "›";
    opacity: .70;
    font-size: 18px;
    transform: translateY(-1px);
  }

  .nav.nav-drawer a:hover{
    background: rgba(255,255,255,.05) !important;
    border-color: rgba(255,255,255,.12) !important;
  }

  .nav.nav-drawer a.is-active{
    background: rgba(239,68,68,.14) !important;
    border-color: rgba(239,68,68,.26) !important;
  }

  .nav.nav-drawer a.nav__phone{
    margin-top: 4px;
    background: rgba(255,255,255,.06) !important;
    border-color: rgba(255,255,255,.16) !important;
  }

  /* Hide the legacy close button for this design */
  .nav-drawer__close{ display:none !important; }
}

/* ===============================
   v134 — Mobile Menü (Elbrus‑Style Box)
   Ziel: Auf Mobile nur der Burger‑Button (oben rechts). Beim Tap öffnet eine elegante Navigation‑Box.
   =============================== */

/* Desktop: mobile drawer never affects layout */
@media (min-width: 861px){
  .nav.nav-drawer{ display:none !important; }
  .nav-backdrop{ display:none !important; }
  .mnav-toggle{ display:none !important; }
}

@media (max-width: 860px){
  /* Mobile: we render a dedicated floating hamburger button (.mnav-toggle).
     This avoids template edge-cases (e.g., legal pages) where the header pill could disappear.
     Desktop header stays untouched.
  */
  .header--nav{ pointer-events:none; }
  .header--nav .header__bar{ display:none !important; }

  .mnav-toggle{
    position: fixed;
    top: calc(10px + env(safe-area-inset-top));
    right: calc(10px + env(safe-area-inset-right));
    width: 56px;
    height: 56px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.16);
    background: radial-gradient(120px 80px at 25% 20%, rgba(239,68,68,.22), transparent 60%), linear-gradient(180deg, rgba(2,6,23,.74), rgba(2,6,23,.54));
    backdrop-filter: blur(18px) saturate(1.25);
    -webkit-backdrop-filter: blur(18px) saturate(1.25);
    box-shadow:
      0 22px 70px rgba(0,0,0,.32),
      inset 0 1px 0 rgba(255,255,255,.10);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 220;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .mnav-toggle::before{
    content:"";
    position:absolute;
    inset: 1px;
    border-radius: 17px;
    background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,0));
    pointer-events:none;
  }
  .mnav-toggle::after{
    content:"";
    position:absolute;
    inset: -6px;
    border-radius: 22px;
    background: radial-gradient(90px 70px at 30% 20%, rgba(239,68,68,.40), transparent 60%),
                radial-gradient(90px 70px at 75% 75%, rgba(2,132,199,.26), transparent 62%);
    filter: blur(14px);
    opacity: 0;
    transition: opacity .22s ease;
    pointer-events:none;
  }
  body.nav-open .mnav-toggle::after{ opacity: 1; }

  .mnav-toggle:active{ transform: translateY(1px); }
  .mnav-toggle:focus-visible{ outline: none; box-shadow: 0 0 0 3px rgba(239,68,68,.18), 0 22px 70px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.10); }

  .mnav-toggle__icon{
    position: relative;
    width: 26px;
    height: 18px;
    display: inline-block;
    z-index: 1;
  }
  .mnav-toggle__icon span{
    position:absolute;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 2px;
    background: rgba(255,255,255,.92);
  }
  .mnav-toggle__icon span:nth-child(1){ top: 0; }
  .mnav-toggle__icon span:nth-child(2){ top: 8px; }
  .mnav-toggle__icon span:nth-child(3){ top: 16px; }

  /* Mobile: Burger immer sichtbar, auch waehrend der Hero-Intro-Animation */
  body.is-loaded:not(.hero-ready) [data-hero-hide]{
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }


  /* Backdrop */
  .nav-backdrop{
    display:none;
    position: fixed;
    inset: 0;
    border: 0;
    padding: 0;
    background: rgba(2,6,23,.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 90;
  }
  body.nav-open .nav-backdrop{ display:block; }

  /* Drawer: Elbrus Box – premium (glass + subtle edge glow) */
  .nav.nav-drawer{
    position: fixed;
    inset: auto !important;
    top: calc(10px + env(safe-area-inset-top) + 56px + 12px) !important;
    left: calc(14px + env(safe-area-inset-left)) !important;
    right: calc(14px + env(safe-area-inset-right)) !important;
    bottom: auto !important;
    max-width: 520px;
    margin: 0 auto;
    padding: 18px;
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,.16);
    background:
      radial-gradient(900px 520px at 18% 0%, rgba(239,68,68,.18), transparent 58%),
      radial-gradient(860px 520px at 92% 42%, rgba(2,132,199,.12), transparent 60%),
      linear-gradient(180deg, rgba(2,6,23,.92), rgba(2,6,23,.66));
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    box-shadow:
      0 40px 130px rgba(0,0,0,.62),
      inset 0 1px 0 rgba(255,255,255,.08);

    opacity: 0;
    transform: translateY(-14px) scale(.982);
    pointer-events: none;
    z-index: 95;
    display: block;
    transition: opacity .24s ease, transform .24s ease;
  }

  .nav.nav-drawer::after{
    content:"";
    position:absolute;
    inset:-1px;
    border-radius: 26px;
    background: linear-gradient(135deg,
      rgba(239,68,68,.42),
      rgba(255,255,255,.06) 38%,
      rgba(2,132,199,.24));
    opacity: .60;
    pointer-events:none;
    z-index: -1;
    filter: blur(.4px);
  }

  .nav.nav-drawer::before{
    margin: 6px 6px 12px;
  }

  /* Drawer head (injected via JS) */
  .nav.nav-drawer .mnav-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 10px;
    padding: 2px 6px 10px;
  }
  .nav.nav-drawer .mnav-brand{
    font-weight: 900;
    letter-spacing: -0.02em;
    color: rgba(255,255,255,.92);
  }
  .nav.nav-drawer .mnav-chip{
    font-size: .75rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.62);
    padding: .42rem .6rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    background: radial-gradient(120px 80px at 25% 20%, rgba(239,68,68,.22), transparent 60%), linear-gradient(180deg, rgba(2,6,23,.74), rgba(2,6,23,.54));
    white-space: nowrap;
  }

  body.nav-open .nav.nav-drawer,
  .nav.nav-drawer.is-open{
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav.nav-drawer::before{
    content: "NAVIGATION";
    display: block;
    font-size: .72rem;
    letter-spacing: .20em;
    text-transform: uppercase;
    color: rgba(255,255,255,.66);
    margin: 6px 6px 12px;
  }

  .nav.nav-drawer a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    /* override earlier drawer styles that used !important */
    padding: 14px 14px !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,.05) !important;
    color: rgba(255,255,255,.92);
    font-weight: 820;
    letter-spacing: -0.01em;
    font-size: 1rem !important;
    line-height: 1.1;
    margin: 10px 0;
    border: 1px solid rgba(255,255,255,.11) !important;
    text-decoration:none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
  }

  .nav.nav-drawer a:hover{
    background: rgba(255,255,255,.07) !important;
    border-color: rgba(255,255,255,.16) !important;
  }

  .nav.nav-drawer a:focus-visible{
    outline: none;
    box-shadow:
      0 0 0 3px rgba(239,68,68,.22),
      inset 0 1px 0 rgba(255,255,255,.06);
  }

  .nav.nav-drawer a:active{ transform: translateY(1px); }

  .nav.nav-drawer a::after{
    content:"›";
    color: rgba(255,255,255,.55);
    font-size: 1.25rem;
    line-height: 1;
    margin-left: 10px;
  }

  .nav.nav-drawer a.is-active{
    background: rgba(239,68,68,.14) !important;
    border-color: rgba(239,68,68,.26) !important;
    box-shadow: 0 18px 55px rgba(239,68,68,.10);
  }

  .nav.nav-drawer a.nav__phone{
    margin-top: 14px;
    background:
      radial-gradient(160px 90px at 18% 0%, rgba(255,255,255,.10), transparent 55%),
      linear-gradient(180deg, rgba(220,38,38,.24), rgba(220,38,38,.16)) !important;
    border-color: rgba(220,38,38,.34) !important;
    box-shadow: 0 18px 60px rgba(220,38,38,.10);
  }
  .nav.nav-drawer a.nav__phone::after{ content:"↗"; font-size: 1.05rem; }
}

/* v136.1 — Legal pages (Impressum/Datenschutz): mobile overflow safety
   - prevent long emails/URLs from forcing horizontal scroll
   - desktop remains untouched (only <=860px) */
@media (max-width: 860px){
  body.legal-shell .legal2-p,
  body.legal-shell .legal2-note,
  body.legal-shell .legaltext-p,
  body.legal-shell .legaltext-list,
  body.legal-shell .legaltext-list li{
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  body.legal-shell .legal2-p a,
  body.legal-shell .legaltext-p a{
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

/* v139 — Home (mobile): remove unintended large gap after CTA buttons
   The SERVICES section had extra bottom padding on smaller viewports;
   keep the original spacing on <=860px (desktop unaffected). */
@media (max-width: 860px){
  .rrb-services{
    padding-bottom: clamp(4.25rem, 6vw, 6.5rem);
    border-bottom: 1px solid var(--line);
  }
  .rrb-services::after{
    content: none;
    display: none;
  }
}

/* v141 — Premium Mobile Menu (Overlay)
   - only: Home / Über uns / Anfrage
   - compact glass card + smoother animation
   - does NOT scroll-lock the page (no "eingesperrt" feeling)
   - desktop untouched (only <=860px) */
@media (max-width: 860px){
  /* Never lock background scroll on mobile menu */
  body.nav-open{ overflow: auto !important; }

  /* Backdrop: light dim + blur, still allows vertical scrolling */
  .nav-backdrop{
    display: none !important;
    position: fixed;
    inset: 0;
    border: 0;
    padding: 0;
    background:
      radial-gradient(900px 540px at 24% 0%, rgba(239,68,68,.18), transparent 56%),
      radial-gradient(900px 540px at 90% 30%, rgba(59,130,246,.10), transparent 62%),
      rgba(2,6,23,.34);
    backdrop-filter: blur(10px) saturate(1.05);
    -webkit-backdrop-filter: blur(10px) saturate(1.05);
    z-index: 90;
    opacity: 0;
    pointer-events: auto;
    touch-action: pan-y;
    transition: opacity .22s ease;
  }
  body.nav-open .nav-backdrop{
    display: block !important;
    opacity: 1;
  }

  /* Drawer becomes a compact overlay card (not full-screen) */
  .nav.nav-drawer{
    display: block !important;
    position: fixed;
    inset: auto !important;
    top: calc(10px + env(safe-area-inset-top) + 56px);
    left: calc(14px + env(safe-area-inset-left));
    right: calc(14px + env(safe-area-inset-right));
    bottom: auto !important;
    max-width: 520px;
    margin: 0 auto;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.16);
    background:
      radial-gradient(760px 420px at 18% 0%, rgba(239,68,68,.18), transparent 60%),
      radial-gradient(820px 520px at 92% 40%, rgba(2,132,199,.10), transparent 62%),
      linear-gradient(180deg, rgba(2,6,23,.90), rgba(2,6,23,.62));
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    box-shadow:
      0 42px 140px rgba(0,0,0,.58),
      inset 0 1px 0 rgba(255,255,255,.08);

    opacity: 0;
    transform: translateY(-18px) scale(.985);
    pointer-events: none;
    z-index: 95;
    transition:
      opacity .22s ease,
      transform .34s cubic-bezier(.18,.9,.22,1);
  }
  .nav.nav-drawer::before,
  .nav.nav-drawer::after{
    content: none !important;
    display: none !important;
  }
  body.nav-open .nav.nav-drawer,
  .nav.nav-drawer.is-open{
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  /* Top row (brand + close) */
  .nav.nav-drawer .mnav-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 12px;
    padding: 2px 4px 8px;
  }
  .nav.nav-drawer .mnav-brand{
    display:flex;
    align-items:baseline;
    gap: 6px;
    text-decoration:none;
    font-weight: 950;
    letter-spacing: -0.02em;
    color: rgba(255,255,255,.94);
    /* neutralize generic .nav.nav-drawer a styles from older menu versions */
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .nav.nav-drawer .mnav-brand::after{ content: none !important; }
  .nav.nav-drawer .mnav-brand .logo-rrb{ color: #ef4444; }
  .nav.nav-drawer .mnav-brand .logo-gmbh{ color: rgba(255,255,255,.86); }

  .nav.nav-drawer .mnav-close{
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    color: rgba(255,255,255,.92);
    display: grid;
    place-items: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform .16s ease, opacity .16s ease, background .16s ease;
  }
  .nav.nav-drawer .mnav-close span{ font-size: 1.6rem; line-height: 1; transform: translateY(-1px); }
  /* Only the X (no hover/active/focus background or outline) */
  .nav.nav-drawer .mnav-close:hover,
  .nav.nav-drawer .mnav-close:active,
  .nav.nav-drawer .mnav-close:focus,
  .nav.nav-drawer .mnav-close:focus-visible{
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
  }
  .nav.nav-drawer .mnav-close:active{ transform: translateY(1px); }

  /* Links */
  .nav.nav-drawer .mnav-list{
    display:grid;
    gap: 10px;
    padding: 6px 2px 2px;
  }
  .nav.nav-drawer .mnav-list a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding: 14px 14px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    background: rgba(255,255,255,.05) !important;
    color: rgba(255,255,255,.92);
    font-weight: 860;
    letter-spacing: -0.01em;
    text-decoration:none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);

    opacity: 0;
    transform: translateY(10px);
    transition:
      opacity .20s ease,
      transform .34s cubic-bezier(.18,.9,.22,1),
      background .16s ease,
      border-color .16s ease;
  }
  .nav.nav-drawer .mnav-list a::after{
    content:"›";
    color: rgba(255,255,255,.55);
    font-size: 1.25rem;
    line-height: 1;
    margin-left: 10px;
  }
  body.nav-open .nav.nav-drawer .mnav-list a{
    opacity: 1;
    transform: translateY(0);
  }
  body.nav-open .nav.nav-drawer .mnav-list a:nth-child(1){ transition-delay: 40ms; }
  body.nav-open .nav.nav-drawer .mnav-list a:nth-child(2){ transition-delay: 80ms; }
  body.nav-open .nav.nav-drawer .mnav-list a:nth-child(3){ transition-delay: 120ms; }

  .nav.nav-drawer .mnav-list a:hover{
    background: rgba(255,255,255,.07) !important;
    border-color: rgba(255,255,255,.16) !important;
  }
  .nav.nav-drawer .mnav-list a:active{ transform: translateY(1px); }
  .nav.nav-drawer .mnav-list a:focus-visible{
    outline: none;
    box-shadow:
      0 0 0 3px rgba(239,68,68,.22),
      inset 0 1px 0 rgba(255,255,255,.06);
  }
  .nav.nav-drawer .mnav-list a.is-active{
    background: rgba(239,68,68,.14) !important;
    border-color: rgba(239,68,68,.28) !important;
    box-shadow: 0 18px 60px rgba(239,68,68,.10);
  }

  /* Primary item (Anfrage) */
  .nav.nav-drawer .mnav-list a.mnav-primary{
    background:
      radial-gradient(220px 120px at 22% 0%, rgba(255,255,255,.12), transparent 55%),
      linear-gradient(180deg, rgba(220,38,38,.30), rgba(220,38,38,.18)) !important;
    border-color: rgba(220,38,38,.34) !important;
  }
  .nav.nav-drawer .mnav-list a.mnav-primary::after{ content:"↗"; font-size: 1.05rem; }

  /* Burger icon -> close icon */
  .mnav-toggle__icon span{
    transition: transform .26s cubic-bezier(.2,.9,.2,1), opacity .18s ease, top .26s cubic-bezier(.2,.9,.2,1);
  }
  body.nav-open .mnav-toggle__icon span:nth-child(1){ top: 8px; transform: rotate(45deg); }
  body.nav-open .mnav-toggle__icon span:nth-child(2){ opacity: 0; transform: scaleX(.6); }
  body.nav-open .mnav-toggle__icon span:nth-child(3){ top: 8px; transform: rotate(-45deg); }
}



/* ===============================
   v142 — Mobile Menü (ELBRUS 1:1)
   Ziel: exakt die Mobile-Menü-Optik/Animation aus der ELBRUS-Seite übernehmen.
   Desktop bleibt unverändert.
   =============================== */

@media (min-width: 861px){
  .menuBtn, .mobOverlay, .mobPanel{ display:none !important; }
}

@media (max-width: 860px){
  /* Legacy menu elements are removed from HTML, but keep them inert */
  .mnav-toggle,
  .nav-backdrop,
  .nav.nav-drawer{ display:none !important; }

  /* Keep desktop header untouched, but hide it on mobile (we use the floating ELBRUS button) */
  .header--nav{ pointer-events:none; }
  .header--nav .header__bar{ display:none !important; }

  /* Menu button (ELBRUS style) */
  .menuBtn{
    position: fixed;
    top: calc(10px + env(safe-area-inset-top));
    right: calc(10px + env(safe-area-inset-right));
    width: 56px;
    height: 56px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.14);
    background: radial-gradient(120px 80px at 25% 20%, rgba(239,68,68,.22), transparent 60%), linear-gradient(180deg, rgba(2,6,23,.74), rgba(2,6,23,.54));
    color: rgba(255,255,255,.92);
    box-shadow: 0 18px 55px rgba(0,0,0,.40), 0 0 0 1px rgba(239,68,68,.08);
    backdrop-filter: blur(16px) saturate(1.25);
    -webkit-backdrop-filter: blur(16px) saturate(1.25);
    display: inline-grid;
    place-items: center;
    z-index: 220;
    cursor: pointer;
    transform: translate(0,0) scale(1);
    transition: transform .16s cubic-bezier(.2,.9,.2,1), background .14s ease, border-color .14s ease, box-shadow .14s ease, opacity .12s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .menuBtn:hover{
    transform: translateY(-1px);
    background: radial-gradient(120px 80px at 25% 20%, rgba(239,68,68,.28), transparent 60%), linear-gradient(180deg, rgba(2,6,23,.80), rgba(2,6,23,.60));
    border-color: rgba(255,255,255,.22);
  }
  .menuBtn:active{ transform: translateY(0) scale(.99); }

  /* When the menu is open, hide the floating menu button so the close "X" lives inside the panel */
  body.menuOpen .menuBtn{
    opacity: 0;
    pointer-events: none;
    transform: translateY(-2px) scale(.96);
  }

/* Burger -> X morph (no icon swap; premium feel) */
  .menuBtn .burgerIcon{
    width: 18px;
    height: 18px;
    position: relative;
    display: block;
  }
  .menuBtn .burgerIcon span{
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    opacity: .95;
    transition:
      transform .20s cubic-bezier(.2,.9,.2,1),
      top .20s cubic-bezier(.2,.9,.2,1),
      opacity .14s ease;
  }
  .menuBtn .burgerIcon span:nth-child(1){ top: 4px; }
  .menuBtn .burgerIcon span:nth-child(2){ top: 9px; }
  .menuBtn .burgerIcon span:nth-child(3){ top: 14px; }
  body.menuOpen .menuBtn .burgerIcon span:nth-child(1){ top: 9px; transform: rotate(45deg); }
  body.menuOpen .menuBtn .burgerIcon span:nth-child(2){ opacity: 0; transform: scaleX(.6); }
  body.menuOpen .menuBtn .burgerIcon span:nth-child(3){ top: 9px; transform: rotate(-45deg); }

  /* Overlay + dropdown sheet */
  .mobOverlay{
    position: fixed;
    inset: 0;
    z-index: 214;
    background: radial-gradient(320px 180px at 85% 0%, rgba(239,68,68,.30), transparent 60%), linear-gradient(180deg, rgba(2,6,23,.78) 0%, rgba(2,6,23,.66) 55%, rgba(2,6,23,.56) 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .16s ease;
  }

  .mobPanel{
    position: fixed;
    left: 12px;
    right: 12px;
    /* Pull the menu up: it should feel like a top overlay.
       When open, the burger hides and the panel starts near the safe-area. */
    top: calc(10px + env(safe-area-inset-top));
    z-index: 215;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.12);
    background: radial-gradient(900px 420px at 16% 0%, rgba(239,68,68,.22), transparent 55%), radial-gradient(820px 380px at 92% 10%, rgba(255,255,255,.10), transparent 60%), linear-gradient(180deg, rgba(2,6,23,.94), rgba(2,6,23,.82));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 22px 70px rgba(0,0,0,.55);
    /* Balance spacing: header should not have more room above than below */
    padding: 0 10px 10px;
    opacity: 0;
    transform-origin: top right;
    /* Expand-from-button animation: in the closed state, the panel is transformed
       to match the floating menu button (JS sets the vars). */
    transform:
      translate3d(var(--panel-dx, 0px), var(--panel-dy, 0px), 0)
      scaleX(var(--panel-sx, 1))
      scaleY(var(--panel-sy, 1));
    pointer-events: none;
    will-change: transform, opacity;
    transition: opacity .16s ease, transform .26s cubic-bezier(.16,1,.3,1);
  }

  .mobPanel .mobGroupTitle{
    display:flex;
    align-items:center;
    justify-content: flex-start;
    gap: 12px;
    font-family: ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(195,203,224,.85);
    /* Reserve space for the corner close button */
    padding: 8px 10px;
    padding-right: 64px;
    min-height: 52px;
    margin-bottom: 0;
  }
  .mobDivider{ height:1px; background: rgba(255,255,255,.08); margin: 8px 6px; }

  .mobTitleLeft{
    display:inline-flex;
    align-items:center;
    gap: 8px;
  }
  .mobTitleLeft::before{
    content:"";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(239,68,68,.95);
    box-shadow: 0 0 0 4px rgba(239,68,68,.12);
  }
  .mobTitleRight{
    font-weight: 900;
    letter-spacing: .10em;
    color: rgba(239,68,68,.92);
    opacity: .95;
  }

  /* Close button: visually part of the menu box (top-right corner) */
  .mobCloseBtn{
    position: absolute;
    top: 0;
    right: 0;
    width: 56px;
    height: 52px;
    border: 0;
    background: transparent;
    /* "Corner" shape so it reads as part of the panel */
    border-radius: 0 20px 0 18px;
    color: rgba(255,255,255,.84);
    display: grid;
    place-items: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    opacity: .92;
    transition: opacity .12s ease;
    pointer-events: auto;
    z-index: 2;
  }
  .mobCloseBtn:hover{ opacity: 1; }
  .mobCloseBtn:active{ opacity: .65; }
  .mobCloseBtn:focus-visible{
    outline: 2px solid rgba(239,68,68,.22);
    outline-offset: -2px;
    opacity: 1;
  }
  .mobCloseBtn span{
    font-size: 18px;
    line-height: 1;
    display: block;
    transform: translateY(-1px);
  }

/* Make Anfrage the eye-catcher */
  .mobPanel a.mobPrimary{
    background:
      radial-gradient(220px 120px at 18% 0%, rgba(255,255,255,.14), transparent 55%),
      linear-gradient(180deg, rgba(239,68,68,.32), rgba(239,68,68,.18));
    border-color: rgba(239,68,68,.35);
    box-shadow: 0 18px 50px rgba(239,68,68,.12);
  }
  .mobPanel a.mobPrimary .arrow{ opacity: .9; }

  /* Button glow when menu open */
  .menuBtn::after{
    content:"";
    position:absolute;
    inset: -10px;
    border-radius: 26px;
    background:
      radial-gradient(90px 70px at 30% 20%, rgba(239,68,68,.55), transparent 62%),
      radial-gradient(90px 70px at 75% 75%, rgba(59,130,246,.28), transparent 64%);
    filter: blur(14px);
    opacity: 0;
    transition: opacity .14s ease;
    pointer-events:none;
  }
  body.menuOpen .menuBtn::after{ opacity: .55; }

  .mobPanel a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.09);
    margin: 4px 0;
    font-family: ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial;
    color: rgba(234,240,255,.92);
    text-decoration: none;
    transition: background .16s ease, transform .16s ease, border-color .16s ease;
  }

  /* Remove extra gap right under the header so top/bottom around the X feels identical */
  .mobPanel a:first-of-type{ margin-top: 0; }
  .mobPanel a:hover{ background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
  .mobPanel a:active{ transform: scale(.99); }
  .mobPanel a .arrow{ opacity: .55; }

  @keyframes mobPanelIn{
    0%{
      opacity: 0;
      transform:
        translate3d(var(--panel-dx, 0px), var(--panel-dy, 0px), 0)
        scaleX(var(--panel-sx, 1))
        scaleY(var(--panel-sy, 1));
    }
    70%{
      opacity: 1;
      transform: translate3d(0,0,0) scale(1.015);
    }
    100%{
      opacity: 1;
      transform: translate3d(0,0,0) scale(1);
    }
  }

  /* Open state */
  body.menuOpen .mobOverlay{ opacity: 1; pointer-events: none; }
  body.menuOpen .mobPanel{ opacity: 1; transform: translate3d(0,0,0) scale(1); pointer-events: auto; animation: mobPanelIn .26s cubic-bezier(.16,1,.3,1) both; }

  /* Measurement state: temporarily place the panel in its final position (invisible)
     so JS can calculate the expand-from-button transform without visual jumps. */
  body.menuMeasure .mobOverlay{
    transition: none !important;
    opacity: 0 !important;
  }
  body.menuMeasure .mobPanel{
    transition: none !important;
    opacity: 0 !important;
    transform: translate3d(0,0,0) scale(1) !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }
}

@media (prefers-reduced-motion: reduce){
  .mobOverlay,.mobPanel,.mobPanel a,.menuBtn{ transition: none !important; }
  .mobPanel{ transform: none !important; }
}
