/* ==========================================================================
   Rondaroom – Marketing Landingpage Styles
   Professionell, vertrauenswürdig, modern. Conversion-fokussiert.
   ========================================================================== */

:root {
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-primary-light: #3b82f6;
  --color-secondary: #0f172a;
  --color-accent: #10b981;
  --color-text: #0f172a;
  --color-text-muted: #475569;
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-bg-dark: #0b1220;
  --color-border: #e2e8f0;
  --color-shadow: rgba(15, 23, 42, 0.08);
  --radius: 14px;
  --radius-lg: 20px;
  --container: 1160px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-primary-dark);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-family: var(--font);
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  line-height: 1.2;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}

.btn-lg {
  padding: 17px 34px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--color-text);
}

.brand-mark {
  display: inline-flex;
  color: var(--color-primary);
}

.brand-text {
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  white-space: nowrap;
}

.main-nav a:not(.nav-cta) {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.92rem;
}

.main-nav a:not(.nav-cta):hover {
  color: var(--color-text);
}

/* Sprachumschalter (DE / ES / EN) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  flex-shrink: 0;
}

.lang-switch a {
  padding: 4px 6px;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
}

.lang-switch a:hover {
  color: var(--color-text);
  background: var(--color-bg-alt);
}

.lang-switch a[aria-current='page'] {
  color: #fff;
  background: var(--color-primary);
}

.nav-cta {
  background: var(--color-primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-cta:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

.mobile-demo-btn {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--color-bg-dark) 0%, #0f1b33 55%, #132441 100%);
  color: #fff;
  padding: 160px 0 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  /* Einspaltig: Der Screenshot bekommt die volle Containerbreite, sonst ist er in
     der 495px-Spalte zu klein, um als echtes Produktbild zu wirken.
     Die Headline braucht ~860px, damit jeder Satz in eine eigene Zeile passt. */
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
  padding-bottom: 90px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 100px;
  padding: 7px 16px;
  margin-bottom: 22px;
}

.hero .eyebrow {
  color: #93c5fd;
  background: rgba(147, 197, 253, 0.1);
  border-color: rgba(147, 197, 253, 0.25);
}

/* Browser-Badge im Hero */
.hero-badges {
  margin-bottom: 18px;
}

.badge-browser {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #d1fae5;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: 100px;
  padding: 8px 16px;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.08);
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  /* Bewusster Umbruch: "Housekeeping-Kosten senken." steht in eigener Zeile,
     damit "Team motivieren." (Akzent) nicht zerrissen wird. */
  max-width: 1060px;
}

.hero h1 .accent {
  background: linear-gradient(90deg, #60a5fa, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.13rem;
  color: #cbd5e1;
  max-width: 720px;
  margin-bottom: 34px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-benefits {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  color: #94a3b8;
  font-size: 0.95rem;
}

.hero-benefits li {
  position: relative;
  padding-left: 26px;
}

.hero-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Hero-Screenshot (echtes App-Bild, ersetzt den UI-Platzhalter) */
.hero-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  /* Helles UI wirkt auf dem dunklen Hero flau -> Kontrast/Farben dezent anheben.
     Das Bild selbst ist bereits vorab kontrastoptimiert (ManagerPlanungSicht.jpg). */
  filter: contrast(1.06) saturate(1.06);
  /* Eigene Compositing-Ebene. Das Bild läuft in voller Containerbreite
     (~1160px) und wird beim Hover verschoben: Ohne Layer-Promotion rastert
     Chrome die große Fläche in Kacheln neu, was als Flimmern unter der
     Bildkante sichtbar wird. */
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Klickbarer Screenshot: öffnet die Lightbox (siehe .lightbox unten) */
.shot-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  border-radius: var(--radius-lg);
  cursor: zoom-in;
}

/* Der Schlagschatten liegt auf dem Button, nicht auf dem Bild: .hero-shot trägt
   einen filter und wird beim Hover verschoben - ein dort mit-animierter
   box-shadow (70px Blur über die volle Breite) müsste in jedem Frame neu
   gerastert werden und flackerte dann kachelweise unter der Bildkante. */
.hero .shot-zoom {
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.52);
}

.shot-zoom:focus-visible {
  outline: 3px solid var(--color-primary-light);
  outline-offset: 4px;
}

/* Beim Hover wird ausschließlich verschoben - reine Compositor-Arbeit ohne
   Repaint. Der translateZ(0) muss mit, sonst würde die Basis-Ebene neu gerastert.
   (Bewusst ohne @media (hover: hover): Headless/Convertibles melden teils
   "hover: none", der Effekt soll aber nirgends verloren gehen.) */
.shot-zoom .hero-shot {
  transition: transform 0.25s ease;
}

.shot-zoom:hover .hero-shot {
  transform: translateZ(0) translateY(-3px);
}

/* Screenshot im Phone-Mockup: Button umschließt den Screen, ohne das Layout zu ändern */
.shot-zoom--phone {
  border-radius: 30px;
}

/* Hinweis auf Klickbarkeit (dezent, in Captions) */
.zoom-hint {
  display: block;
  margin-top: 2px;
  font-size: 0.95em;
  font-weight: 600;
  color: var(--color-primary);
}


/* UI-Platzhalter */
.ui-placeholder {
  background: linear-gradient(180deg, #152238 0%, #101b30 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  position: relative;
}

.ui-placeholder::after {
  content: 'UI-Bild-Platzhalter';
  position: absolute;
  bottom: -38px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  color: #64748b;
  letter-spacing: 0.04em;
}

.ui-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.ui-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #334155;
}

.ui-dot:nth-child(1) { background: #ef4444; }
.ui-dot:nth-child(2) { background: #f59e0b; }
.ui-dot:nth-child(3) { background: #10b981; }

.ui-tabs {
  margin-left: 18px;
  display: flex;
  gap: 6px;
}

.ui-tab {
  font-size: 0.72rem;
  color: #94a3b8;
  padding: 5px 11px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
}

.ui-tab.active {
  background: rgba(37, 99, 235, 0.25);
  color: #93c5fd;
}

.ui-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.ui-room {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 18px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ui-room span {
  font-size: 0.8rem;
}

.r-ok { border-color: rgba(16, 185, 129, 0.4); }
.r-ok span { color: var(--color-accent); }
.r-do { border-color: rgba(245, 158, 11, 0.4); }
.r-do span { color: #f59e0b; filter: grayscale(1) brightness(1.3); }
.r-wait { border-color: rgba(148, 163, 184, 0.3); }
.r-wait span { color: #94a3b8; }

.ui-footer {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ui-stat {
  font-size: 0.78rem;
  color: #94a3b8;
}

.ui-stat strong {
  display: block;
  font-size: 1.05rem;
  color: #e2e8f0;
}

.ui-stat.good strong {
  color: var(--color-accent);
}

.ui-qr-row {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ui-qr-placeholder {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #cbd5e1;
}

.ui-qr-text {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 500;
}

/* Trust-Strip */
.hero-trust-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}

.trust-items {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 30px;
  padding: 22px 24px;
  color: #94a3b8;
  font-size: 0.92rem;
  font-weight: 500;
}

/* ---------- Sections allgemein ---------- */
.section {
  padding: 100px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 18px;
  color: var(--color-text);
}

.section-head .eyebrow {
  color: var(--color-primary);
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.2);
}

.section-sub {
  font-size: 1.08rem;
  color: var(--color-text-muted);
}

.section-head.compact {
  margin-bottom: 40px;
}

/* ---------- Pain Points ---------- */
.pain {
  background: var(--color-bg);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.pain-grid.five {
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.pain-grid.five .card {
  padding: 26px 20px;
}

.pain-grid.five .pain-icon {
  font-size: 1.7rem;
}

.pain-grid.five .pain-card h3 {
  font-size: 1.02rem;
}

.pain-grid.five .pain-card p {
  font-size: 0.9rem;
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: 0 2px 10px var(--color-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.pain-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.pain-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.pain-card p {
  font-size: 0.94rem;
  color: var(--color-text-muted);
}

.pain-outro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: linear-gradient(90deg, #eff6ff, #f0f9ff);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 24px 30px;
}

.pain-outro p {
  font-size: 1.05rem;
}

/* ---------- Lösung ---------- */
.solution {
  background: var(--color-bg-alt);
}

.solution-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 40px 0 64px;
  border-bottom: 1px solid var(--color-border);
}

.solution-feature.reversed {
  grid-template-columns: 1fr 1fr;
  padding: 64px 0;
}

.solution-feature.reversed .solution-visual {
  order: -1;
}

/* Beweis-Screenshot: volle Breite, damit die Zuteilung gut lesbar ist */
.solution-proof {
  margin: 0;
  padding: 8px 0 64px;
}

.solution-proof img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  /* Ebenfalls eigene Compositing-Ebene - siehe .hero-shot: Die Kachel-Grenzen
     traten hier wegen des hellen Schattens auf weißem Grund sogar deutlicher auf. */
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Schatten auf dem Button statt auf dem (animierten) Bild - siehe .hero .shot-zoom */
.solution-proof .shot-zoom {
  box-shadow: 0 24px 50px var(--color-shadow);
}

.solution-proof img {
  transition: transform 0.25s ease;
}

.solution-proof .shot-zoom:hover img {
  transform: translateZ(0) translateY(-3px);
}

.solution-proof figcaption {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* ---------- Materialmeldungen (Dashboard-Feature) ---------- */
.material-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.material-copy .guest-features {
  margin: 0;
}

.material-visual {
  margin: 0;
}

.material-visual figcaption {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  text-align: center;
}

.material-visual .shot-zoom {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 50px var(--color-shadow);
  cursor: zoom-in;
}

.material-visual .shot-zoom img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

/* Platzhalter, solange kein Screenshot vorliegt */
.screenshot-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  aspect-ratio: 16 / 10;
  padding: 24px;
  text-align: center;
  background: var(--color-bg-alt);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-text-muted);
}

.screenshot-placeholder .placeholder-icon {
  font-size: 2rem;
  line-height: 1;
}

.screenshot-placeholder .placeholder-title {
  font-weight: 700;
  color: var(--color-text);
}

.screenshot-placeholder code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-primary);
  word-break: break-all;
}

.feature-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(37, 99, 235, 0.08);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 16px;
}

.solution-copy h3 {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.solution-copy p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
  font-size: 1.02rem;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--color-text);
  font-size: 0.98rem;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.72rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.check-list.light li {
  color: #e2e8f0;
}

/* Round-Robin Visualisierung */
.roundrobin-visual {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at center, #1e293b 0%, #0f172a 80%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rr-round {
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.rr-1 { background: var(--color-primary); top: 16px; left: 50%; transform: translateX(-50%); }
.rr-2 { background: #8b5cf6; top: 50%; right: 12px; transform: translateY(-50%); }
.rr-3 { background: #06b6d4; bottom: 16px; left: 50%; transform: translateX(-50%); }
.rr-4 { background: #f59e0b; top: 50%; left: 12px; transform: translateY(-50%); }

.rr-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.15);
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  color: #93c5fd;
}

.rr-arrows {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Kreditsystem Visualisierung */
.credit-visual {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 10px 30px var(--color-shadow);
}

.credit-bar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.credit-row {
  display: grid;
  grid-template-columns: 76px 1fr 44px;
  align-items: center;
  gap: 12px;
}

.cr-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
}

.cr-track {
  height: 10px;
  background: var(--color-bg-alt);
  border-radius: 100px;
  overflow: hidden;
}

.cr-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 0.5s ease;
}

.cr-fill.positive { background: var(--color-accent); }
.cr-fill.neutral { background: var(--color-primary-light); }
.cr-fill.negative { background: #f59e0b; }

.cr-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
  text-align: right;
}

.credit-caption {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* Lösung – Nutzen */
.solution-benefits {
  padding-top: 64px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.b-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 12px;
}

.benefit h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.benefit p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

/* ---------- CSV-Import statt PMS-API ---------- */
.csv-import {
  background: var(--color-bg);
}

.csv-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  background: linear-gradient(145deg, var(--color-bg-dark) 0%, #0f1b33 60%, #132441 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.csv-import .eyebrow {
  color: #93c5fd;
  background: rgba(147, 197, 253, 0.1);
  border-color: rgba(147, 197, 253, 0.25);
}

.csv-card h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 18px;
}

.csv-card .section-sub {
  color: #cbd5e1;
  margin-bottom: 32px;
}

.csv-benefits {
  display: grid;
  gap: 22px;
}

.csv-benefit {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.csv-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 11px;
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(59, 130, 246, 0.35);
  font-size: 1.15rem;
}

.csv-benefit h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.csv-benefit p {
  font-size: 0.92rem;
  color: #94a3b8;
}

.csv-side {
  align-self: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 28px;
}

.csv-side-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.csv-steps {
  list-style: none;
  display: grid;
  gap: 16px;
  counter-reset: csv-step;
}

.csv-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
  font-weight: 600;
  color: #e2e8f0;
}

.csv-steps li > span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.csv-live {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  line-height: 1.55;
  color: #94a3b8;
}

/* ---------- Feature-Karten (Gäste / Team / Management / Nachtmodus) ---------- */
.feature-cards {
  background: var(--color-bg);
}

.feature-card-grid {
  display: grid;
  /* Vier Karten im 2×2-Raster; die Kartenbreite entspricht der früheren
     3er-Reihe (1112px Container ⇒ 352px pro Karte), damit die Szenen-Bilder
     nicht überdimensioniert werden. */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 732px;
  margin: 0 auto;
}

/* Kopf und Raster teilen sich dieselbe zentrierte Spalte */
.feature-cards .section-head {
  max-width: 732px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 10px var(--color-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

/* Bildbereich: Einzelbilder ohne Verzerrung – echtes Seitenverhältnis beibehalten */
.card-image-wrapper {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.card-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.card-content {
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(37, 99, 235, 0.08);
  border-radius: 100px;
  padding: 5px 12px;
  margin-bottom: 14px;
  align-self: flex-start;
}

.card-content h3 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--color-text);
}

.card-content p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ---------- Gäste-Frontend ---------- */
.guest {
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.guest-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.guest-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.guest-feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.gf-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.guest-feature h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-text);
}

.guest-feature p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Smartphone-Mockup */
.phone-mockup {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
  background: #fff;
  border: 3px solid var(--color-secondary);
  border-radius: 42px;
  padding: 14px 14px 22px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  background: var(--color-secondary);
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.phone-screen {
  background: #f8fafc;
  border-radius: 30px;
  padding: 40px 20px 24px;
  overflow: hidden;
}

/* Testweise: echter Screenshot im Phone-Screen statt Mock-UI.
   Seitenverhältnis (286x527) fixiert = Phone bleibt exakt gleich groß wie zuvor.
   display:block, weil der Screen als <span> innerhalb des Zoom-Buttons liegt. */
.phone-screen--shot {
  display: block;
  padding: 0;
  background: #fff;
  aspect-ratio: 286 / 527;
}

.phone-shot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 30px;
}

.phone-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.ph-room {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
}

.ph-badge {
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 100px;
  padding: 5px 11px;
}

.ph-badge.ready {
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.phone-status {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}

.ph-status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--color-text);
  padding: 5px 0;
}

.ph-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ph-dot.green { background: #10b981; }
.ph-dot.amber { background: #f59e0b; }
.ph-dot.blue { background: #3b82f6; }

.phone-tip {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}

.ph-tip-label,
.ph-fb-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 10px;
}

.ph-tip-options {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.ph-tip-options span {
  flex: 1;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 10px;
  padding: 9px 0;
}

.ph-tip-btn {
  width: 100%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px 0;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  opacity: 0.75;
}

.phone-feedback {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 16px;
}

.ph-stars {
  font-size: 1.2rem;
  color: #f59e0b;
  letter-spacing: 4px;
}

.phone-caption {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* ---------- ROI-Rechner ---------- */
.roi {
  background: linear-gradient(180deg, #f8fafc, #eff6ff);
}

.roi-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.ctrl-group {
  margin-bottom: 30px;
}

.ctrl-group label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--color-text);
}

.ctrl-value {
  background: var(--color-primary);
  color: #fff;
  border-radius: 100px;
  padding: 3px 12px;
  font-size: 0.88rem;
  font-weight: 700;
  min-width: 60px;
  text-align: center;
}

input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 100px;
  background: var(--color-border);
  outline: none;
  cursor: pointer;
}

input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--color-primary);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
  cursor: grab;
}

input[type='range']::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--color-primary);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
  cursor: grab;
}

.roi-note {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  border-left: 3px solid var(--color-primary);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
}

.roi-result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-bg-dark);
  border-radius: var(--radius);
  padding: 40px 36px;
  color: #fff;
  text-align: center;
}

.roi-label {
  font-size: 0.9rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 8px;
}

.roi-amount {
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 26px;
}

.roi-permonth {
  margin-top: -16px;
  margin-bottom: 26px;
  font-size: 0.92rem;
  color: #94a3b8;
}

.roi-permonth strong {
  color: #e2e8f0;
  font-weight: 700;
}

.roi-breakdown {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.roi-breakdown div {
  flex: 1;
  text-align: left;
}

.roi-breakdown span {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 4px;
}

.roi-breakdown strong {
  font-size: 1rem;
  color: #e2e8f0;
}

.roi-hours {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px 8px;
  margin-bottom: 26px;
  font-size: 0.88rem;
  color: #94a3b8;
}

.roi-hours strong {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.roi-days {
  flex-basis: 100%;
  font-size: 0.82rem;
  color: #94a3b8;
}

.roi-how {
  margin-top: 18px;
  padding: 0 16px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  font-size: 0.86rem;
  color: var(--color-text-muted);
}

.roi-how summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-primary);
  cursor: pointer;
  list-style: none;
}

.roi-how summary::-webkit-details-marker {
  display: none;
}

.roi-how summary::after {
  content: '▾';
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.roi-how[open] summary::after {
  transform: rotate(180deg);
}

.roi-how-body {
  padding-bottom: 14px;
}

.roi-formula {
  margin: 0 0 14px;
  padding: 12px 14px;
  list-style: none;
  background: var(--color-bg-alt);
  border-radius: 8px;
}

.roi-formula li {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--color-text);
}

.roi-formula li + li {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--color-border);
}

.roi-how-sub {
  margin: 0 0 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text);
}

.roi-assumptions {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
}

.roi-assumptions li {
  font-size: 0.82rem;
  line-height: 1.5;
}

.roi-assumptions li + li {
  margin-top: 4px;
}

.roi-result .btn {
  margin-top: 0;
}

/* ---------- Demo / Calendly ---------- */
.demo {
  background: var(--color-bg-dark);
  color: #fff;
}

.demo-head {
  max-width: 760px;
  margin-bottom: 44px;
}

.demo-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.eyebrow.light {
  color: #93c5fd;
  background: rgba(147, 197, 253, 0.1);
  border-color: rgba(147, 197, 253, 0.25);
}

.demo-head h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.demo-intro {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin-bottom: 26px;
}

/* ---------- Demo-Karten (Online & Vor-Ort) ---------- */
.demo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #fff;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

/* Lange CTA-Labels (z. B. Vor-Ort-Demo) dürfen in den Karten umbrechen */
.demo-card .btn {
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}

/* Premium-Option: dezenter blauer Rahmen, farbiger Verlauf & Badge */
.demo-card--premium {
  border-color: rgba(37, 99, 235, 0.45);
  background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 45%);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.18), 0 28px 60px rgba(37, 99, 235, 0.28);
  padding-top: 42px;
}

.demo-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--color-primary), #4f46e5);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 100px;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
  white-space: nowrap;
}

.demo-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.demo-card-icon {
  flex-shrink: 0;
  font-size: 1.5rem;
  line-height: 1;
  padding: 10px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.demo-card-meta {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.demo-card-title {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.demo-card-text {
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

.demo-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.92rem;
}

.demo-card-list li {
  position: relative;
  padding-left: 24px;
}

.demo-card-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 800;
}

.demo-scarcity {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #92400e;
}

.demo-qualify {
  border-left: 3px solid var(--color-primary);
  background: var(--color-bg-alt);
  border-radius: 0 8px 8px 0;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 600;
}

.demo-booking-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* ---------- Demo-Buchung (DSGVO: Click-to-Load) ---------- */
.booking-consent {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
  text-align: left;
}

.booking-consent-text {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  margin: 0;
}

.booking-consent-text--compact {
  font-size: 0.78rem;
  line-height: 1.5;
}

.booking-consent .btn-block {
  width: 100%;
}

.booking-consent-fallback {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin: 0;
}

.booking-consent-fallback a {
  color: var(--color-primary);
  font-weight: 600;
}

.booking-embed {
  border-radius: calc(var(--radius-lg) - 10px);
  overflow: hidden;
  margin-top: 4px;
}

/* Im geöffneten Zustand braucht das Widget Platz statt des Consent-Blocks */
.booking-embed iframe,
.booking-embed .calendly-inline-widget {
  display: block;
  width: 100%;
  min-height: 560px;
  border: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-bg-dark);
  color: #94a3b8;
  padding: 64px 0 30px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.6fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-text {
  color: #fff;
  font-size: 1.2rem;
  display: inline-block;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 300px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-legal a {
  color: #64748b;
  font-size: 0.9rem;
}

.footer-legal a:hover {
  color: #94a3b8;
}

.footer-bottom {
  padding-top: 26px;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .feature-card-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  /* Einspaltig: Kopf folgt der Breite der Karten */
  .feature-cards .section-head {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .material-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pain-grid.five {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-visual {
    /* Früher auf 560px begrenzt, als der Screenshot noch in einer Grid-Spalte
       lag. Jetzt ist er das Hauptelement und nutzt die volle Breite. */
    width: 100%;
  }

  .solution-feature,
  .solution-feature.reversed {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .solution-feature.reversed .solution-visual {
    order: 0;
  }

  .roi-card {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 32px;
  }

  .demo-options {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .demo-card {
    padding: 26px;
  }

  .demo-card--premium {
    padding-top: 38px;
  }

  .guest-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .csv-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px;
  }

  .csv-side {
    align-self: stretch;
  }
}

/* Navigation auf Tablet-Breite ausklappen, damit sie mit Sprachumschalter nicht überläuft */
@media (max-width: 1200px) {
  .main-nav {
    gap: 14px;
  }

  .main-nav a:not(.nav-cta) {
    font-size: 0.85rem;
  }

  .nav-cta {
    padding: 9px 14px;
    font-size: 0.85rem;
  }
}

@media (max-width: 1080px) {
  .main-nav {
    position: fixed;
    top: 76px;
    right: 0;
    bottom: 0;
    left: 0;
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 40px 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: var(--color-shadow);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav a {
    font-size: 1.1rem !important;
    padding: 12px;
  }

  .nav-cta {
    margin-top: 12px;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-demo-btn {
    display: none;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  /* Auf schmalen Screens darf die Headline frei umbrechen */
  .hero h1 .h1-break {
    display: none;
  }

  .hero {
    padding-top: 130px;
  }

  .hero-grid {
    padding-bottom: 60px;
  }

  .main-nav {
    position: fixed;
    top: 76px;
    right: 0;
    bottom: 0;
    left: 0;
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 40px 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: var(--color-shadow);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav a {
    font-size: 1.1rem !important;
    padding: 12px;
  }

  .nav-cta {
    margin-top: 12px;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-demo-btn {
    display: none;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }

  .pain-grid.five {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .roi-card {
    padding: 26px 20px;
  }

  .roi-result {
    padding: 32px 22px;
  }

  .roundrobin-visual {
    width: 260px;
    height: 260px;
  }

  .trust-items {
    justify-content: center;
    text-align: center;
  }

  .pain-outro {
    flex-direction: column;
    text-align: center;
  }

  .csv-card {
    padding: 26px 20px;
  }

  .csv-side {
    padding: 22px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .lang-switch a {
    padding: 3px 4px;
    font-size: 0.68rem;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .btn-lg {
    padding: 15px 26px;
    font-size: 1rem;
  }

  .ui-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ui-room {
    padding: 14px 10px;
    font-size: 0.78rem;
    flex-direction: column;
    gap: 6px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- Lightbox (Screenshot-Vergrößerung) ---------- */
.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox::backdrop {
  background: rgba(5, 10, 22, 0.9);
  backdrop-filter: blur(2px);
}

.lightbox-img {
  width: auto;
  height: auto;
  max-width: 96vw;
  max-height: 92vh;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.65);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(15, 23, 42, 1);
  border-color: rgba(255, 255, 255, 0.5);
}

.lightbox-close:focus-visible {
  outline: 3px solid var(--color-primary-light);
  outline-offset: 3px;
}
