/* =====================================================================
   RoboRent.at – Gestaltung
   Farben, Schriften und Abstände stehen als Variablen ganz oben.
   Markenfarbe ändern: --accent (Gelb) und --brand (Indigo).
   ===================================================================== */

/* ---------- Schriften (lokal eingebunden, ohne Google-Server) ---------- */
@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-latin.woff2") format("woff2"); font-weight: 200 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-latin-ext.woff2") format("woff2"); font-weight: 200 900; font-display: swap;
  unicode-range: U+0100-017F, U+0218-021B, U+2020, U+2113; }
@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-cyrillic.woff2") format("woff2"); font-weight: 200 900; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-017F, U+0218-021B, U+2020, U+2113; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-cyrillic.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

/* ---------- Farben und Maße ---------- */
:root {
  color-scheme: light;
  --font-display: "Unbounded", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --font-text: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --bg: #F3F4F9;
  --bg-alt: #E8EAF4;
  --surface: #FFFFFF;
  --surface-2: #F6F7FC;
  --ink: #14173A;
  --text: #30355C;
  --muted: #565C86;
  --line: #DADDEC;
  --line-strong: #858BB3;
  --on-brand: #FFFFFF;
  --logo-line: #1B1F4E;
  --logo-ear: #3B3FD4;
  --accent: #FFC233;
  --accent-2: #FFB000;
  --on-accent: #14173A;
  --brand: #3B3FD4;
  --brand-soft: #E7E8FC;
  --focus: #3B3FD4;
  --danger: #B42318;
  --success: #12734A;

  --stage: #161A44;
  --stage-ink: #F3F4FF;
  --stage-text: #C6CAEF;
  --stage-line: rgba(255, 255, 255, .14);
  --card-on-stage: #FFFFFF;
  --box-1: #FFFFFF;
  --box-2: #E6E8F3;
  --header-bg: rgba(243, 244, 249, .82);

  --shadow-float: 0 1.75rem 3.5rem -1.5rem rgba(22, 26, 68, .38), 0 .35rem 1rem -.35rem rgba(22, 26, 68, .14);

  --r-xl: 2rem;
  --r-lg: 1.5rem;
  --r-md: 1rem;
  --r-sm: .75rem;
  --r-pill: 999px;
  --wrap: 76rem;
  --gutter: clamp(1rem, .5rem + 2.5vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 5vw, 8.5rem);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0E1130;
  --bg-alt: #13173D;
  --surface: #171B43;
  --surface-2: #1C2150;
  --ink: #F2F3FF;
  --text: #CBCEEE;
  --muted: #A0A5D0;
  --line: #2A2F63;
  --line-strong: #666EB4;
  --brand: #A9ACFF;
  --on-brand: #14173A;
  --logo-line: #F2F3FF;
  --logo-ear: #7C82F2;
  --brand-soft: #262B6E;
  --focus: #FFC233;
  --danger: #FF9C94;
  --success: #6FDDA8;
  --stage: #1A1F54;
  --card-on-stage: #10133A;
  --box-1: #F1F2F9;
  --box-2: #CDD1E6;
  --header-bg: rgba(14, 17, 48, .8);
  --shadow-float: 0 1.75rem 3.5rem -1.5rem rgba(0, 0, 0, .6), 0 .35rem 1rem -.35rem rgba(0, 0, 0, .35);
}

/* Ohne JavaScript folgt die Seite der Systemeinstellung */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #0E1130; --bg-alt: #13173D; --surface: #171B43; --surface-2: #1C2150;
    --ink: #F2F3FF; --text: #CBCEEE; --muted: #A0A5D0; --line: #2A2F63; --line-strong: #666EB4; --on-brand: #14173A; --logo-line: #F2F3FF; --logo-ear: #7C82F2;
    --brand: #A9ACFF; --brand-soft: #262B6E; --focus: #FFC233; --danger: #FF9C94; --success: #6FDDA8;
    --stage: #1A1F54; --card-on-stage: #10133A; --box-1: #F1F2F9; --box-2: #CDD1E6; --header-bg: rgba(14, 17, 48, .8);
  }
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
/* Große Bildschirme (ab 1920 px, 4K, 8K): alles wächst gleichmäßig mit */
@media (min-width: 120em) { html { font-size: calc(100vw / 120); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: clamp(1rem, .96rem + .18vw, 1.0625rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}
h1 { font-size: clamp(1.75rem, 1.05rem + 3.4vw, 3.55rem); font-weight: 650; line-height: 1.06; }
h2 { font-size: clamp(1.6rem, 1.1rem + 1.9vw, 2.55rem); }
h3 { font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem); line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration-thickness: .075em; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .12em; }
b, strong { font-weight: 650; color: var(--ink); }
em { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: .25rem; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.25rem; height: 1.25rem; flex: none; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .75rem 1.25rem; border-radius: var(--r-pill); background: var(--ink); color: var(--bg); font-weight: 600; text-decoration: none; }
.skip:focus { top: 1rem; }

/* ---------- Schaltflächen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3rem; padding: .75rem 1.45rem;
  border: 0; border-radius: var(--r-pill);
  font-family: var(--font-text); font-size: 1rem; font-weight: 650; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .15s, box-shadow .15s, color .15s;
}
.btn .i { width: 1.15rem; height: 1.15rem; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-2); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: var(--brand); color: var(--on-brand); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-sm { min-height: 2.5rem; padding: .5rem 1.1rem; font-size: .9375rem; }
.btn-lg { min-height: 3.5rem; padding: .9rem 1.9rem; font-size: 1.0625rem; }
.btn:disabled { opacity: .55; cursor: progress; }

.icon-btn {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 0; border-radius: var(--r-pill); background: transparent; color: var(--ink); cursor: pointer;
}
.icon-btn:hover { background: var(--bg-alt); }

.text-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1.4rem; color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--line-strong) 70%, transparent); }
.text-link:hover { text-decoration-color: currentColor; }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: .75rem; min-height: 4.5rem; }

.logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); font-family: var(--font-display); font-size: 1.2rem; font-weight: 650; letter-spacing: -.03em; text-decoration: none; }
.logo { flex: none; }
.logo-mark { flex: none; width: 2.3rem; height: 2.3rem; }
.logo-mark .lm-line { stroke: var(--logo-line); }
.logo-mark .lm-ear { fill: var(--logo-ear); }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: .15rem; list-style: none; }
.nav ul a { display: block; padding: .55rem .85rem; border-radius: var(--r-pill); color: var(--text); font-weight: 550; text-decoration: none; white-space: nowrap; }
.nav ul a:hover { background: var(--bg-alt); color: var(--ink); }
.nav .nav-cta { display: none; }

.header-tools { display: flex; align-items: center; gap: .25rem; }
.header-cta { margin-left: .35rem; white-space: nowrap; }
.menu-toggle { display: none; }
.menu-toggle .when-open, .menu-toggle[aria-expanded="true"] .when-closed { display: none; }
.menu-toggle[aria-expanded="true"] .when-open { display: block; }
.theme-toggle .only-dark { display: none; }
:root[data-theme="dark"] .theme-toggle .only-dark { display: block; }
:root[data-theme="dark"] .theme-toggle .only-light { display: none; }

/* Sprachmenü */
.lang { position: relative; }
.lang summary {
  display: inline-flex; align-items: center; gap: .35rem; height: 2.75rem; padding: 0 .75rem;
  border-radius: var(--r-pill); color: var(--ink); font-size: .9375rem; font-weight: 650; cursor: pointer; list-style: none;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: var(--bg-alt); }
.lang .chev { width: 1rem; height: 1rem; transition: transform .2s; }
.lang[open] .chev { transform: rotate(180deg); }
.lang-list {
  position: absolute; right: 0; top: calc(100% + .5rem); z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: .15rem;
  width: min(21rem, calc(100vw - 2rem)); max-height: min(75vh, 32rem); overflow: auto;
  padding: .45rem; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-float);
}
.lang-list a { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; padding: .55rem .7rem; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-weight: 500; }
.lang-list a:hover { background: var(--bg-alt); }
.lang-list a[aria-current] { background: var(--brand-soft); color: var(--ink); font-weight: 650; }
.lang-list small { color: var(--muted); font-size: .75rem; font-weight: 600; }

/* Eingeklapptes Menü: unter 72em immer; darüber, wenn die Navigation in der gewählten Sprache nicht in eine Zeile passt
   (das Skript setzt dann .is-compact an der Kopfzeile) */
@media (max-width: 71.99em) {
  .menu-toggle { display: inline-grid; }
  .header-tools { margin-left: auto; }        /* Menü ist eingeklappt: Werkzeuge an den rechten Rand */
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; padding: .75rem var(--gutter) 1.5rem;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-float);
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { padding: .9rem .25rem; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .nav ul a:hover { background: transparent; }
  .nav .nav-cta { display: flex; margin-top: 1.25rem; }
}
.is-compact .menu-toggle { display: inline-grid; }
.is-compact .header-tools { margin-left: auto; }
.is-compact .nav {
  position: absolute; left: 0; right: 0; top: 100%;
  display: none; padding: .75rem var(--gutter) 1.5rem;
  background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-float);
}
.is-compact .nav.is-open { display: block; }
.is-compact .nav ul { flex-direction: column; gap: 0; }
.is-compact .nav ul a { padding: .9rem .25rem; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
.is-compact .nav ul a:hover { background: transparent; }
.is-compact .nav .nav-cta { display: flex; margin-top: 1.25rem; }
/* Breite Bildschirme bis 1440 px: Menüpunkte etwas enger */
@media (min-width: 72em) and (max-width: 89.99em) { .nav ul a { padding-inline: .7rem; } }
@media (max-width: 34.99em) {
  .header-cta { display: none; }
  .logo { font-size: 1.1rem; }
  .lang summary { padding: 0 .55rem; }
}
@media (max-width: 25.99em) {
  .header-inner { gap: .25rem; }
  .logo { gap: .4rem; font-size: 1rem; }
  .logo-mark { width: 2rem; height: 2rem; }
  .lang .chev { display: none; }
  .icon-btn { width: 2.6rem; }
}
/* sehr schmale Handys (z. B. 320 px): Platz für „RoboRent.at“ */
@media (max-width: 21.24em) {
  .logo { gap: .32rem; font-size: .92rem; }
  .logo-mark { width: 1.8rem; height: 1.8rem; }
  .icon-btn { width: 2.4rem; }
  .lang summary { padding: 0 .4rem; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(1.5rem, .75rem + 3vw, 4.5rem) 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 1rem + 3vw, 4.5rem); align-items: center; }
.hero-lead { margin-top: 1.4rem; max-width: 36rem; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.55; }

.book { margin-top: 2.25rem; max-width: 40rem; }
.book fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.book-legend { padding: 0; margin-bottom: .7rem; color: var(--ink); font-weight: 650; }
.book-bar {
  display: grid; grid-template-columns: 1fr 1fr; gap: .3rem; padding: .45rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-float);
}
.book-field { display: flex; flex-direction: column; gap: .1rem; min-width: 0; padding: .55rem .9rem .5rem; border-radius: var(--r-md); cursor: pointer; transition: background-color .15s; }
.book-field:hover, .book-field:focus-within { background: var(--bg); }
.book-field span { color: var(--muted); font-size: .8125rem; font-weight: 600; }
.book-field input { width: 100%; min-height: 1.9rem; padding: 0; border: 0; background: transparent; color: var(--ink); font-size: 1rem; font-weight: 550; }
.book-field input:focus { outline: none; }
.book-field:focus-within { box-shadow: 0 0 0 2px var(--focus); }
.book-bar .btn { grid-column: 1 / -1; }
@media (max-width: 23.99em) { .book-bar { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 36em) {
  .book-bar { grid-template-columns: 1fr 1fr auto; align-items: stretch; }
  .book-bar .btn { grid-column: auto; min-height: 3.6rem; border-radius: calc(var(--r-lg) - .3rem); }
}

/* Bühne mit Scheinwerfer */
.stage {
  position: relative; isolation: isolate; overflow: hidden;
  width: 100%; aspect-ratio: 5 / 5.6; max-height: 42rem;
  border-radius: var(--r-xl);
  background:
    radial-gradient(60% 40% at 50% 100%, rgba(255, 194, 51, .16), transparent 70%),
    radial-gradient(130% 80% at 50% 0%, #2C3285 0%, #181C4C 52%, #0D1032 100%);
}
:root[data-theme="dark"] .stage { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.stage::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: -2%;
  width: 92%; height: 92%; transform: translateX(-50%);
  clip-path: polygon(41% 0, 59% 0, 100% 100%, 0 100%);
  background: linear-gradient(to bottom, rgba(255, 220, 140, .42), rgba(255, 214, 120, .1) 70%, rgba(255, 214, 120, 0));
  filter: blur(10px);
}
.stage::after {
  content: ""; position: absolute; z-index: -1; left: 50%; bottom: 3.5%;
  width: 84%; height: 15%; transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 207, 102, .55), rgba(255, 207, 102, .12) 60%, transparent);
}
/* Roboter: Foto plus Augen-Ebene, die Augen leuchten über das Display (Überblenden mit „screen“) */
.stage .bot { position: absolute; left: 50%; bottom: 4%; height: 90%; aspect-ratio: 580 / 1488; translate: -50% 0; isolation: isolate; }
.bot::before {
  content: ""; position: absolute; z-index: -1; left: -16%; right: -16%; bottom: -1.8%; height: 4.6%;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(3, 4, 26, .75), rgba(3, 4, 26, 0));
}
.bot-img { display: block; width: 100%; height: 100%; }
/* Kopf: eigene Ebene, dreht sich um den Halsring (Unterkante); Höhe = 341 von 1488 Bildpunkten */
/* Drei deckungsgleiche Kopf-Ebenen mit derselben Drehung. Das Foto liegt allein in seiner Ebene ohne Animation:
   Animationen in derselben Ebene lassen Chrome den gedrehten Kopf auf Handys unscharf rastern. Kein will-change aus demselben Grund. */
.bot-head { position: absolute; left: 0; top: 0; width: 100%; height: 22.917%; transform-origin: 50% 100%; transition: transform .5s cubic-bezier(.2, .7, .3, 1); }
.bot-head-img { display: block; width: 100%; height: 100%; }
.bot-head-shade { mix-blend-mode: multiply; pointer-events: none; }
.bot-head-face { mix-blend-mode: screen; pointer-events: none; }
.bot-shade {
  position: absolute; inset: 0; opacity: 0; transition: opacity .5s;
  -webkit-mask: url("../img/hero/kopf-240.webp") 0 0 / 100% 100% no-repeat;
  mask: url("../img/hero/kopf-240.webp") 0 0 / 100% 100% no-repeat;
}
.bot-shade-l { background: linear-gradient(90deg, rgba(14, 16, 54, .6), rgba(14, 16, 54, 0) 62%); opacity: var(--sl, 0); }
.bot-shade-r { background: linear-gradient(270deg, rgba(14, 16, 54, .6), rgba(14, 16, 54, 0) 62%); opacity: var(--sr, 0); }
.bot-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.facts { display: grid; gap: 1rem 2rem; margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); padding-top: 1.75rem; border-top: 1px solid var(--line); list-style: none; }
.facts li { display: flex; align-items: center; gap: .8rem; color: var(--ink); font-weight: 550; }
.facts .i { width: 1.6rem; height: 1.6rem; color: var(--brand); }

@media (min-width: 40em) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72em) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 60em) {
  .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
}
@media (max-width: 59.99em) {
  .stage { aspect-ratio: 4 / 3.4; max-height: 30rem; }
}

/* Roboter-Animation: hereinfahren, Display geht an, danach nur blinzeln */
.bot-eyes, .bot-look { transform-box: fill-box; }
.bot-eyes { transform-origin: 50% 50%; }
.bot-look { transition: transform .35s cubic-bezier(.2, .7, .3, 1); }
@media (prefers-reduced-motion: no-preference) {
  .bot { animation: bot-in 1.4s cubic-bezier(.16, .84, .3, 1) .15s both; }
  .bot-face { animation: screen-on .7s ease-out 1.25s backwards; }
  /* Blinzeln startet das Skript einzeln: eine Dauer-Animation würde den gedrehten Kopf unscharf machen */
  .bot-eyes.is-blink { animation: blink .26s ease-in-out; }
}
@keyframes bot-in { from { transform: translateX(135%); } to { transform: none; } }
@keyframes screen-on { 0% { opacity: 0; } 35% { opacity: .75; } 50% { opacity: .25; } 100% { opacity: 1; } }
@keyframes blink { 0%, 100% { transform: scaleY(1); } 45% { transform: scaleY(.08); } }

/* ---------- Abschnitte ---------- */
.section { padding-block: var(--section) 0; }
.section-head { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head p { font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); }
.section-head .btn { margin-top: .75rem; }

/* Flotte */
.fleet-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.fleet-top .section-head { margin-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  min-height: 2.6rem; padding: .5rem 1.05rem;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-pill);
  background: transparent; color: var(--ink); font-size: .9375rem; font-weight: 550; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.robots { display: grid; gap: clamp(1rem, .5rem + 1.5vw, 1.75rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 19.5rem), 1fr)); list-style: none; }
.robot { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.robot-photo {
  position: relative; isolation: isolate; display: grid; place-items: center;
  aspect-ratio: 4 / 3; overflow: hidden;
  background: radial-gradient(75% 65% at 50% 36%, var(--box-1), var(--box-2));
}
.robot-photo::before {
  content: ""; position: absolute; z-index: -1; left: 50%; bottom: 4%;
  width: 78%; height: 24%; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 194, 51, .42), rgba(255, 194, 51, 0));
}
.robot-photo::after {
  content: ""; position: absolute; z-index: -1; left: 50%; bottom: 9%;
  width: 46%; height: 7%; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20, 23, 58, .28), rgba(20, 23, 58, 0));
}
/* Das Foto steht unten auf dem Lichtkegel, egal ob hoch oder breit */
.robot-photo img { position: absolute; left: 8%; top: 6%; width: 84%; height: 84%; object-fit: contain; object-position: 50% 100%; mix-blend-mode: multiply; }
.robot-photo img.is-placeholder { top: 8%; height: 86%; }
/* Foto und Name führen zur Roboterseite */
.robot-photo-link { position: absolute; inset: 0; }
.robot-photo-link img { transition: transform .45s cubic-bezier(.2, .7, .3, 1); transform-origin: 50% 95%; }
.robot:hover .robot-photo-link img { transform: scale(1.04); }
.robot h3 a { color: inherit; text-decoration: none; }
.robot h3 a:hover { text-decoration: underline; text-decoration-thickness: .07em; text-underline-offset: .18em; }
@media (prefers-reduced-motion: reduce) { .robot-photo-link img { transition: none; } .robot:hover .robot-photo-link img { transform: none; } }
.badge {
  position: absolute; z-index: 2; top: 1rem; left: 1rem;
  display: inline-flex; align-items: center; gap: .3rem; padding: .32rem .75rem .32rem .6rem;
  border-radius: var(--r-pill); background: #14173A; color: #FFC233; font-size: .8125rem; font-weight: 650;
}
.badge .i { width: .95rem; height: .95rem; fill: currentColor; }
.robot-body { display: flex; flex-direction: column; gap: .55rem; flex: 1; padding: 1.3rem 1.5rem 1.5rem; }
.robot-cat { color: var(--muted); font-size: .875rem; font-weight: 550; }
.robot-text { color: var(--text); }
.specs { display: flex; flex-wrap: wrap; gap: .45rem 1.2rem; margin-top: .2rem; list-style: none; color: var(--ink); font-size: .9375rem; font-weight: 550; }
.specs li { display: inline-flex; align-items: center; gap: .4rem; }
.specs .i { width: 1.1rem; height: 1.1rem; color: var(--brand); }
.robot-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.robot-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.robot-foot .price { color: var(--ink); font-family: var(--font-display); font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
.price-ask { color: var(--muted); font-family: var(--font-text); font-weight: 550; letter-spacing: 0; }
.robot-body > h3 + .robot-text { margin-top: -.1rem; }
.vat, .empty { margin-top: 1.5rem; color: var(--muted); font-size: .9375rem; }
.empty { padding: 2rem; border: 1.5px dashed var(--line-strong); border-radius: var(--r-lg); font-size: 1.0625rem; }

/* Einsatzbereiche */
.uses { display: grid; gap: clamp(2rem, 1.25rem + 2vw, 3rem) clamp(1.5rem, 1rem + 2.5vw, 3.5rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr)); list-style: none; }
.use { display: grid; gap: .55rem; align-content: start; }
.use-icon { display: grid; place-items: center; width: 3.1rem; height: 3.1rem; margin-bottom: .4rem; border-radius: var(--r-md); background: var(--brand-soft); color: var(--brand); }
.use-icon .i { width: 1.5rem; height: 1.5rem; }
.use p { max-width: 34rem; }

/* Ablauf: echte Reihenfolge, daher nummeriert */
.steps { counter-reset: step; display: grid; gap: 2.25rem; list-style: none; }
.step { position: relative; padding-left: 4.25rem; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -.35rem;
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--ink); color: var(--bg); font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
}
.step:first-child::before { background: var(--accent); color: var(--on-accent); }
.step:not(:last-child)::after { content: ""; position: absolute; left: 1.5rem; top: 3.15rem; bottom: -2.1rem; border-left: 2px dashed color-mix(in srgb, var(--line-strong) 55%, transparent); }
.step h3 { margin-bottom: .45rem; }
@media (min-width: 56em) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
  .step { padding-left: 0; padding-top: 4.5rem; }
  .step::before { top: 0; }
  .step:not(:last-child)::after { left: 3.75rem; right: -1.25rem; top: 1.5rem; bottom: auto; border-left: 0; border-top: 2px dashed color-mix(in srgb, var(--line-strong) 55%, transparent); }
}

/* Mieten statt kaufen */
.benefits { display: grid; gap: 2.5rem; }
.benefit-list { display: grid; list-style: none; border-top: 1px solid var(--line); }
.benefit { display: grid; grid-template-columns: auto 1fr; align-content: start; gap: .35rem 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.benefit > .i { grid-row: span 2; width: 1.75rem; height: 1.75rem; margin-top: .05rem; color: var(--brand); }
@media (min-width: 40em) { .benefit-list { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }
@media (min-width: 62em) { .benefits { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(3rem, 2rem + 3vw, 5rem); align-items: start; } }

/* Fragen */
.faq { display: grid; gap: 2rem; }
.faq .section-head { margin-bottom: 0; align-content: start; }
.faq-contact { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
.faq-contact a { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); font-weight: 600; text-decoration: none; }
.faq-contact a:hover { text-decoration: underline; }
.faq-contact .i { color: var(--brand); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.3rem 0; color: var(--ink); font-size: 1.0625rem; font-weight: 650; line-height: 1.4;
  cursor: pointer; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .i { width: 1.4rem; height: 1.4rem; color: var(--brand); transition: transform .25s; }
.faq-list details[open] summary .i { transform: rotate(45deg); }
.faq-a p { max-width: 44rem; padding-bottom: 1.5rem; }
@media (min-width: 62em) { .faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(3rem, 2rem + 3vw, 5rem); } }
@supports (interpolate-size: allow-keywords) {
  .faq-list details { interpolate-size: allow-keywords; }
  .faq-list details::details-content { height: 0; overflow: clip; transition: height .3s ease, content-visibility .3s allow-discrete; }
  .faq-list details[open]::details-content { height: auto; }
  @media (prefers-reduced-motion: reduce) { .faq-list details::details-content { transition: none; } }
}

/* ---------- Kleine Zahl in Knöpfen ---------- */
.count-pill { display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding: 0 .45rem; border-radius: var(--r-pill); background: var(--brand-soft); color: var(--ink); font-size: .8125rem; font-weight: 700; line-height: 1; }

/* ---------- Navigationspfad ---------- */
.crumbs { padding-top: clamp(1rem, .6rem + 1.2vw, 1.75rem); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .55rem; list-style: none; color: var(--muted); font-size: .9375rem; }
.crumbs li { display: inline-flex; align-items: center; gap: .55rem; min-width: 0; }
.crumbs li + li::before { content: ""; flex: none; width: .42rem; height: .42rem; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .65; }
.crumbs a { color: var(--text); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Galerie „Im Einsatz“ ---------- */
.gallery { display: grid; gap: clamp(.5rem, .3rem + .6vw, .9rem); list-style: none; }
.gallery > li { display: grid; min-width: 0; }
.g-item {
  position: relative; isolation: isolate; display: block; overflow: hidden;
  aspect-ratio: 4 / 3; border-radius: var(--r-md);
  background: var(--stage); color: #fff; text-decoration: none;
}
.g-item img, .g-item video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .3, 1); }
.g-item:hover img, .g-item:hover video { transform: scale(1.045); }
.g-item:focus-visible { outline-offset: 3px; border-radius: var(--r-md); }
.g-item.has-cap::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(to top, rgba(9, 11, 36, .82), rgba(9, 11, 36, 0)); pointer-events: none; }
.g-cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: grid; gap: .15rem; padding: .75rem .95rem .8rem; line-height: 1.3; }
.g-cap b { color: #fff; font-size: .9375rem; font-weight: 650; overflow-wrap: anywhere; }
.g-cap small { color: rgba(255, 255, 255, .84); font-size: .8125rem; font-weight: 500; }
.g-play {
  position: absolute; z-index: 1; left: 50%; top: 50%; translate: -50% -50%;
  display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%;
  background: var(--accent); color: #14173A; box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .35);
  transition: transform .2s;
}
.g-video.has-cap .g-play { top: 42%; }
.g-play .i { width: 1.35rem; height: 1.35rem; margin-left: .15rem; fill: currentColor; }
.g-item:hover .g-play { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) { .g-item img, .g-item video, .g-play { transition: none; } .g-item:hover img, .g-item:hover video { transform: none; } }

/* Raster (Seite „Einsätze“, Roboterseite mit vielen Medien) */
.gallery-raster { grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
/* Reihe: 1 bis 4 Kacheln über die ganze Breite */
.gallery-reihe { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.gallery-reihe.gallery-n1 { grid-template-columns: minmax(0, 44rem); }
/* Mosaik (Startseite): das erste Bild doppelt so groß. Gezeigt werden so viele Kacheln, dass keine Lücke bleibt:
   Handy 2 Spalten = 5 Kacheln, Tablet 3 Spalten = 6 (bzw. 3), Computer 4 Spalten = 5 */
.gallery-mosaik { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-mosaik > li:first-child { grid-column: span 2; }
.gallery-mosaik > li:nth-child(n+6) { display: none; }
@media (min-width: 40em) {
  .gallery-mosaik { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-mosaik > li:first-child { grid-row: span 2; }
  .gallery-mosaik > li:first-child .g-item { aspect-ratio: auto; height: 100%; min-height: 100%; }
  .gallery-mosaik > li:first-child .g-cap b { font-size: 1.0625rem; }
}
@media (min-width: 40em) and (max-width: 63.99em) {
  .gallery-m6 > li:nth-child(6) { display: grid; }
  .gallery-m5 > li:nth-child(n+4) { display: none; }
}
@media (min-width: 64em) { .gallery-mosaik { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Kleine Kacheln am Handy: Titel höchstens zwei Zeilen, ohne Ort */
@media (max-width: 39.99em) {
  .gallery-mosaik > li:not(:first-child) .g-cap small, .gallery-raster .g-cap small, .gallery-reihe:not(.gallery-n1) .g-cap small { display: none; }
  .gallery .g-cap { padding: .6rem .7rem .65rem; }
  .gallery .g-cap b { font-size: .875rem; }
  .gallery .g-play { width: 2.75rem; height: 2.75rem; }
  .gallery .g-video.has-cap .g-play { top: 38%; }
}
.g-cap b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }

/* ---------- Lightbox ---------- */
html:has(dialog[open]) { overflow: hidden; }
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: #070920; color: #fff; overflow: hidden;
}
.lightbox[open] { display: grid; grid-template-rows: 4rem minmax(0, 1fr) auto; }
.lightbox::backdrop { background: rgba(6, 8, 28, .7); }
.lb-count { grid-row: 1; align-self: center; padding: 0 1.25rem; color: rgba(255, 255, 255, .8); font-size: .9375rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.lb-stage { position: relative; grid-row: 2; margin: 0 clamp(.5rem, 5vw, 5.5rem); touch-action: pan-y pinch-zoom; }
.lb-stage > img, .lb-stage > video {
  position: absolute; inset: 0; margin: auto;
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  border-radius: var(--r-sm); background: #000;
}
.lb-stage > img { background: transparent; }
.lb-cap { grid-row: 3; max-width: 52rem; margin: 0 auto; padding: .9rem 1.25rem calc(1.1rem + env(safe-area-inset-bottom, 0px)); color: rgba(255, 255, 255, .9); text-align: center; line-height: 1.45; }
.lb-btn {
  position: absolute; z-index: 2; display: grid; place-items: center; width: 3rem; height: 3rem;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer;
  transition: background-color .15s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .24); }
.lb-btn .i { width: 1.5rem; height: 1.5rem; }
.lb-close { top: .5rem; right: .75rem; }
.lb-prev, .lb-next { top: 50%; translate: 0 -50%; }
.lb-prev { left: .75rem; }
.lb-next { right: .75rem; }
.lightbox :focus-visible { outline-color: var(--accent); }
@media (max-width: 47.99em) {
  .lb-stage { margin: 0; }
  .lb-stage > img, .lb-stage > video { border-radius: 0; }
  .lb-prev, .lb-next { top: auto; bottom: calc(.6rem + env(safe-area-inset-bottom, 0px)); translate: none; width: 2.75rem; height: 2.75rem; }
  .lb-prev { left: .5rem; }
  .lb-next { right: .5rem; }
  .lb-cap { padding-inline: 3.75rem; min-height: 4rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] { animation: lb-fade .22s ease; }
  .lb-stage > * { animation: lb-in .28s cubic-bezier(.2, .7, .3, 1); }
}
@keyframes lb-fade { from { opacity: 0; } }
@keyframes lb-in { from { opacity: 0; transform: scale(.985); } }

/* ---------- Roboterseite ---------- */
.rp-hero { padding-block: clamp(1.25rem, .75rem + 2vw, 2.5rem) 0; }
.rp-grid { display: grid; gap: clamp(1.75rem, 1rem + 3vw, 4.5rem); align-items: start; }
.rp-photo { aspect-ratio: 4 / 3.6; max-height: min(30rem, 64vh); border-radius: var(--r-xl); }
.rp-photo img { top: 7%; height: 85%; }
.rp-media-link {
  position: absolute; z-index: 2; left: 1rem; bottom: 1rem;
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .5rem .45rem .95rem;
  border-radius: var(--r-pill); background: rgba(20, 23, 58, .9); color: #fff;
  font-size: .9375rem; font-weight: 650; text-decoration: none; box-shadow: 0 .4rem 1.2rem rgba(20, 23, 58, .25);
}
.rp-media-link:hover { background: #14173A; }
.rp-media-link .i { color: var(--accent); }
.rp-media-link .count-pill { background: var(--accent); color: #14173A; }
.rp-cat { color: var(--brand); font-size: .9375rem; font-weight: 650; }
.rp-info h1 { margin-top: .45rem; font-size: clamp(2rem, 1.25rem + 3vw, 3.4rem); }
.rp-lead { margin-top: 1.1rem; max-width: 38rem; font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem); line-height: 1.55; }
.rp-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr)); gap: .6rem; margin: 1.75rem 0 0; }
.rp-facts > div { position: relative; display: grid; align-content: center; gap: .1rem; min-height: 4.4rem; padding: .7rem .9rem .7rem 3.65rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.rp-facts dt { color: var(--muted); font-size: .8125rem; font-weight: 600; line-height: 1.3; hyphens: auto; overflow-wrap: anywhere; }
.rp-facts dt .i { position: absolute; left: .8rem; top: 50%; translate: 0 -50%; width: 2.15rem; height: 2.15rem; padding: .45rem; border-radius: 50%; background: var(--brand-soft); color: var(--brand); }
.rp-facts dd { margin: 0; color: var(--ink); font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.rp-buy { display: grid; gap: 1.1rem; margin-top: 1.75rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.rp-price { color: var(--ink); font-family: var(--font-display); font-size: clamp(1.2rem, 1.1rem + .5vw, 1.5rem); font-weight: 600; letter-spacing: -.01em; }
.rp-price .price-ask { font-size: 1.0625rem; }
.rp-price small { display: block; margin-top: .25rem; color: var(--muted); font-family: var(--font-text); font-size: .875rem; font-weight: 500; letter-spacing: 0; }
.rp-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.rp-incl { display: flex; align-items: flex-start; gap: .55rem; color: var(--ink); font-weight: 550; line-height: 1.45; }
.rp-incl .i { margin-top: .1rem; color: var(--success); }
@media (min-width: 56em) {
  .rp-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
  .rp-photo { position: sticky; top: 6rem; aspect-ratio: 5 / 6; max-height: calc(100vh - 7.5rem); min-height: 26rem; }
}
/* Handy: Kennzahlen zweispaltig und kompakt, Symbol klein neben der Beschriftung */
@media (max-width: 34.99em) {
  .rp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-top: 1.4rem; }
  .rp-facts > div { align-content: start; min-height: 0; padding: .7rem .8rem .75rem; }
  .rp-facts dt { display: flex; align-items: center; gap: .4rem; }
  .rp-facts dt .i { position: static; translate: none; width: 1.05rem; height: 1.05rem; padding: 0; background: none; }
  .rp-facts dd { font-size: .9375rem; }
  .rp-facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .rp-actions .btn { flex: 1 1 100%; }
}
/* sehr schmale Handys: Kennzahlen untereinander */
@media (max-width: 22.49em) { .rp-facts { grid-template-columns: minmax(0, 1fr); } }

/* Beschreibung und technische Daten */
.rp-columns { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 4rem); align-items: start; }
.rp-text > h2, .rp-specs-card > h2 { margin-bottom: 1.25rem; }
.rp-specs-card > h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); }
@media (min-width: 62em) {
  .rp-columns { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .rp-specs-card { position: sticky; top: 6rem; }
}
.rp-columns > :only-child { grid-column: 1 / -1; max-width: 50rem; }
.prose { display: grid; gap: .85rem; }
.prose p, .prose ul { max-width: 44rem; }
.prose h3, .prose h4 { margin-top: .9rem; font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem); }
.prose ul { display: grid; gap: .5rem; padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 1.65rem; }
.prose li::before { content: ""; position: absolute; left: .2rem; top: .55em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.rp-specs-card { padding: clamp(1.25rem, 1rem + 1vw, 2rem); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.rp-specs { margin: 0; }
.rp-specs > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; padding: .75rem 0; border-top: 1px solid var(--line); }
.rp-specs > div:last-child { padding-bottom: 0; }
.rp-specs dt { display: flex; align-items: center; gap: .6rem; color: var(--text); font-weight: 500; }
.rp-specs dt .i { width: 1.15rem; height: 1.15rem; color: var(--brand); }
.rp-specs dd { margin: 0 0 0 auto; color: var(--ink); font-weight: 650; text-align: right; }

/* Zeitraum wählen und weiter zur Anfrage */
.rp-cta-panel { display: grid; gap: 1.5rem clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.rp-cta h2 { color: var(--stage-ink); }
.rp-cta-copy p { margin-top: .9rem; max-width: 34rem; font-size: 1.0625rem; }
.rp-cta .book { margin-top: 0; max-width: none; }
@media (min-width: 62em) { .rp-cta-panel { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
@media (max-width: 39.99em) { .rp-cta-copy { padding-inline: .5rem; } }

/* Roboter nicht gefunden, Seite „Einsätze“ */
.rp-missing { padding-bottom: var(--section); }
.rp-missing-head, .gallery-top { margin-top: clamp(1.5rem, 1rem + 2vw, 3rem); }
.gallery-page { padding-bottom: var(--section); }
.gallery-page h1 { font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.2rem); }

/* ---------- Mietanfrage ---------- */
.request { padding-block: var(--section) clamp(3rem, 2rem + 3vw, 5rem); }
.request-panel {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(1.25rem, .5rem + 3.5vw, 4rem);
  border-radius: var(--r-xl); background: var(--stage); color: var(--stage-text);
}
.request-panel::before {
  content: ""; position: absolute; z-index: -1; left: -10%; top: -30%;
  width: 70%; height: 80%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 194, 51, .1), transparent);
}
:root[data-theme="dark"] .request-panel { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
/* Einleitung oben, Formular über die volle Breite, Kontakt darunter */
.request-grid { display: grid; gap: clamp(1.75rem, 1.25rem + 1.5vw, 3rem); }
.request-intro h2 { color: var(--stage-ink); }
.request-intro > p { margin-top: 1rem; max-width: 44rem; font-size: 1.0625rem; }
.request-contact { scroll-margin-top: 6rem; }
.request-contact h3 { margin-bottom: 1rem; color: var(--stage-ink); }
.contact-list { display: grid; gap: .75rem; list-style: none; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.contact-list > li { display: grid; }
.contact-item {
  display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 1.15rem;
  border: 1px solid var(--stage-line); border-radius: var(--r-md);
  background: rgba(255, 255, 255, .05); color: var(--stage-ink); font-weight: 550; line-height: 1.45; text-decoration: none;
  overflow-wrap: anywhere;
}
a.contact-item:hover { background: rgba(255, 255, 255, .1); }
.contact-item .i { width: 1.4rem; height: 1.4rem; margin-top: .1rem; color: var(--accent); }
.contact-item small { display: block; color: var(--stage-text); font-size: .8125rem; font-weight: 550; }
.contact-item a { color: var(--accent); }
.contact-item .hours { margin-top: .35rem; }
@media (max-width: 39.99em) { .request-panel { padding: 1.5rem .75rem .75rem; } .request-intro, .request-contact h3 { padding-inline: .5rem; } }
.form-card { container: form / inline-size; min-width: 0; padding: clamp(1.25rem, .75rem + 2.2vw, 2.75rem); border-radius: var(--r-lg); background: var(--card-on-stage); color: var(--text); }

/* Formular */
.rf fieldset { min-width: 0; margin: 0 0 2.25rem; padding: 0; border: 0; }
.rf legend { display: flex; align-items: flex-start; gap: .7rem; padding: 0; margin-bottom: 1.05rem; color: var(--ink); font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.rf legend .lt { min-width: 0; padding-top: .2rem; }
.rf legend em { color: var(--muted); font-family: var(--font-text); font-size: .9375rem; font-weight: 500; letter-spacing: 0; }
.rf .n { display: inline-grid; place-items: center; flex: none; width: 1.95rem; height: 1.95rem; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: .875rem; }
.hint { margin: -.2rem 0 1.1rem; color: var(--muted); font-size: .9375rem; }
.hint.included { display: flex; align-items: flex-start; gap: .5rem; color: var(--ink); font-weight: 550; }
.hint.included .i { margin-top: .1rem; color: var(--success); }
.grid { display: grid; gap: 1rem; }
.grid-2, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@container form (min-width: 46rem) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@container form (max-width: 26rem) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }
@container form (max-width: 20rem) { .grid-4 { grid-template-columns: minmax(0, 1fr); } }

.field { display: flex; flex-direction: column; justify-content: flex-end; gap: .4rem; min-width: 0; }
.field > span { color: var(--ink); font-size: .9375rem; font-weight: 600; line-height: 1.35; }
.field em { color: var(--muted); font-weight: 450; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.1rem; padding: .7rem .95rem;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--surface-2); color: var(--ink); font-size: 1rem; line-height: 1.4;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 28%, transparent); }
.field ::placeholder { color: var(--muted); opacity: .85; }
.field-gap { margin-top: 1rem; }
.select { position: relative; display: block; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 1.1rem; top: 50%; width: .55rem; height: .55rem; margin-top: -.4rem; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); pointer-events: none; }

.duration { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .65rem; margin-top: 1.1rem; color: var(--muted); font-weight: 550; }
.duration b { color: var(--ink); font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; letter-spacing: -.01em; }

/* Roboterauswahl */
.picks { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); align-items: start; }
.pick { position: relative; display: flex; flex-direction: column; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); transition: border-color .15s, background-color .15s; }
.pick:hover { border-color: var(--line-strong); }
.pick-input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.pick-label { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .85rem; padding: .7rem 2.6rem .7rem .7rem; cursor: pointer; }
/* Hochformat, damit die Roboter ganz zu sehen sind; Bild absolut, sonst greift die Höhe im Raster nicht */
.pick-thumb { position: relative; display: grid; place-items: center; width: 3.9rem; height: 5.1rem; overflow: hidden; border-radius: var(--r-sm); background: radial-gradient(80% 80% at 50% 35%, var(--box-1), var(--box-2)); color: #3B3FD4; }
.pick-thumb img { position: absolute; left: 9%; top: 7%; width: 82%; height: 86%; object-fit: contain; object-position: 50% 100%; mix-blend-mode: multiply; }
.pick-thumb .i { width: 1.6rem; height: 1.6rem; }
.pick-text { display: grid; gap: .1rem; min-width: 0; }
.pick-text b { line-height: 1.3; overflow-wrap: anywhere; }
.pick-text small { color: var(--muted); font-size: .8125rem; line-height: 1.35; }
.pick-akku { display: flex; flex-wrap: wrap; gap: .1rem .8rem; margin-top: .25rem; color: var(--ink); font-size: .8125rem; font-weight: 600; line-height: 1.35; }
.pick-akku > span { display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; }
.pick-akku .i { width: .95rem; height: .95rem; color: var(--brand); }
.tick { position: absolute; top: .65rem; right: .65rem; display: grid; place-items: center; width: 1.45rem; height: 1.45rem; border: 1.5px solid var(--line-strong); border-radius: 50%; color: transparent; transition: background-color .15s, border-color .15s; }
.tick .i { width: .9rem; height: .9rem; stroke-width: 3; }
.pick-input:checked + .pick-label .tick { border-color: var(--brand); background: var(--brand); color: #fff; }
:root[data-theme="dark"] .pick-input:checked + .pick-label .tick { color: #14173A; }
.pick:has(.pick-input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, var(--surface)); }
.pick-input:focus-visible + .pick-label { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: var(--r-md); }
.pick-more { display: grid; gap: .65rem; padding: 0 .75rem .8rem; }
.qty { display: flex; align-items: center; gap: .45rem; }
.qty-label { margin-right: auto; color: var(--muted); font-size: .875rem; font-weight: 600; }
.qty-btn { display: grid; place-items: center; width: 2.35rem; height: 2.35rem; border: 1.5px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; }
.qty-btn:hover { border-color: var(--ink); }
.qty-btn .i { width: 1rem; height: 1rem; }
.qty input { width: 3.4rem; min-height: 2.35rem; padding: .3rem; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); text-align: center; font-weight: 650; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
/* Mit oder ohne Dockingstation: zwei Auswahlzeilen mit rundem Auswahlpunkt */
.rf .pick-dock { display: grid; gap: .35rem; min-width: 0; margin: 0; padding: .65rem 0 0; border: 0; border-top: 1px solid var(--line); }
.pick-dock label { position: relative; display: flex; }
.pick-dock input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.pick-dock span {
  flex: 1; display: flex; align-items: center; gap: .6rem; min-height: 2.6rem; padding: .45rem .75rem;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--surface);
  color: var(--ink); font-size: .9375rem; font-weight: 600; line-height: 1.3; cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.pick-dock span::before { content: ""; flex: none; width: 1.15rem; height: 1.15rem; border: 1.5px solid var(--line-strong); border-radius: 50%; background: var(--surface); transition: border-width .12s, border-color .12s; }
.pick-dock span:hover { border-color: var(--line-strong); }
.pick-dock input:checked + span { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 7%, var(--surface)); }
.pick-dock input:checked + span::before { border: .35rem solid var(--brand); }
.pick-dock input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.pick-note { display: flex; align-items: flex-start; gap: .5rem; padding-top: .65rem; border-top: 1px solid var(--line); color: var(--text); font-size: .875rem; line-height: 1.4; }
.pick-note .i { width: 1.05rem; height: 1.05rem; margin-top: .1rem; color: var(--brand); }
@supports selector(:has(*)) {
  .pick .pick-more { display: none; }
  .pick:has(.pick-input:checked) .pick-more { display: grid; }
}

/* Zusatzleistungen */
.opts { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.opt { display: flex; align-items: flex-start; gap: .75rem; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); color: var(--ink); font-weight: 500; line-height: 1.4; cursor: pointer; transition: border-color .15s, background-color .15s; }
.opt:hover { border-color: var(--line-strong); }
.opt input, .consent input { flex: none; width: 1.2rem; height: 1.2rem; margin: .1rem 0 0; accent-color: var(--brand); cursor: pointer; }
.opt:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, var(--surface)); }

.form-final { display: grid; gap: 1.35rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.captcha { max-width: 20rem; }
.captcha b { padding: 0 .15rem; color: var(--brand); white-space: nowrap; }
.consent { display: flex; align-items: flex-start; gap: .75rem; font-size: .9375rem; line-height: 1.5; cursor: pointer; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; }
.status { font-weight: 600; }
.status:empty { display: none; }
.status.err { color: var(--danger); }
.form-card > .status.err { margin-bottom: 1.5rem; padding: 1rem 1.15rem; border: 1.5px solid currentColor; border-radius: var(--r-md); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ok { display: grid; justify-items: start; gap: .9rem; padding: 1rem 0; }
.ok:focus { outline: none; }
.ok-icon { width: 3.5rem; height: 3.5rem; color: var(--success); }
.ok h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); }
.ok p { max-width: 34rem; font-size: 1.0625rem; }

/* ---------- Fußzeile ---------- */
.site-footer { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 2.25rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.footer-brand { display: grid; gap: .9rem; align-content: start; }
.footer-brand p { max-width: 22rem; }
@media (min-width: 60em) { .footer-grid { grid-template-columns: 1.6fr 1fr 1.2fr 1fr; } }
.foot-title { margin-bottom: .85rem; color: var(--ink); font-weight: 650; }
.site-footer ul { display: grid; gap: .55rem; list-style: none; }
.site-footer a { color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer .logo { color: var(--ink); }
.footer-langs { margin-top: 2.75rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.footer-langs ul { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer-langs a[aria-current] { color: var(--ink); font-weight: 650; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; margin-top: 2rem; color: var(--muted); font-size: .875rem; }
.footer-bottom a { margin-left: 1.25rem; color: var(--muted); }
.footer-bottom a:first-child { margin-left: 0; }

/* ---------- Mobile Schnellleiste und Sprachhinweis ---------- */
.dock {
  position: fixed; z-index: 40; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom, 0px));
  display: flex; gap: .5rem; padding: .45rem;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--surface); box-shadow: var(--shadow-float);
  transform: translateY(160%); visibility: hidden;
  transition: transform .35s cubic-bezier(.2, .7, .3, 1), visibility 0s .35s;
}
.dock.is-visible { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2, .7, .3, 1); }
.dock .btn { flex: 1; min-height: 2.9rem; padding-inline: 1rem; }
@media (min-width: 48em) { .dock { display: none; } }

.lang-hint {
  position: fixed; z-index: 45; left: 1rem; bottom: 1rem; max-width: calc(100vw - 2rem);
  display: flex; align-items: center; gap: .35rem; padding: .4rem .4rem .4rem 1.1rem;
  border-radius: var(--r-pill); background: var(--ink); color: var(--bg); box-shadow: var(--shadow-float);
}
.lang-hint a { color: inherit; font-weight: 650; }
.lang-hint .icon-btn { width: 2.4rem; height: 2.4rem; color: inherit; }
.lang-hint .icon-btn:hover { background: rgba(127, 127, 127, .25); }
@media (max-width: 47.99em) { body.dock-on .lang-hint { bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px)); } }
.lang-hint { transition: bottom .3s; }

/* ---------- Rechtstexte ---------- */
.legal { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) var(--section); }
.legal-body { max-width: 46rem; }
.legal-body h1 { margin-bottom: 1.5rem; font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3rem); }
.legal-body h2 { margin: 2.5rem 0 .9rem; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); }
.legal-body h3 { margin: 1.75rem 0 .6rem; }
.legal-body p, .legal-body ul { margin-bottom: 1rem; }
.legal-body ul { padding-left: 1.25rem; }
.legal-body li { margin-bottom: .35rem; }
.legal-body dl { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: .6rem 1.5rem; margin: 0 0 1.5rem; }
.legal-body dt { color: var(--muted); font-weight: 550; hyphens: auto; overflow-wrap: break-word; }
.legal-body dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 34.99em) { .legal-body dl { grid-template-columns: 1fr; gap: .15rem; } .legal-body dd { margin-bottom: .75rem; } }
.note { margin-bottom: 2rem; padding: 1rem 1.2rem; border-radius: var(--r-md); background: var(--brand-soft); color: var(--ink); }
.todo { padding: 0 .3rem; border-radius: .3rem; background: #FFE9A8; color: #5A4300; }

/* ---------- Druck ---------- */
@media print {
  .site-header, .dock, .lang-hint, .stage, .book, .chips, .footer-langs { display: none !important; }
  body { background: #fff; color: #000; }
  .request-panel { background: none; color: #000; padding: 0; }
}
