/* ===========================
   BIVEO Landing Page – Style
   Design: Blue/Purple/White
   =========================== */

/* === FONT (lokal gehostet, keine externen Anfragen) === */
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* === RESET & BASE === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue-500: #007AFF;
  --blue-600: #0066DD;
  --blue-700: #0055BB;
  --purple-500: #5E5CE6;
  --purple-600: #4E4CD6;
  --purple-400: #7B79F0;
  --indigo-500: #5E5CE6;
  --gradient-primary: linear-gradient(135deg, #007AFF 0%, #5E5CE6 100%);
  --gradient-hero: linear-gradient(160deg, #0a0e27 0%, #0d1339 40%, #141b4d 70%, #1a1f5c 100%);
  --gradient-dark: linear-gradient(180deg, #0a0e27 0%, #111540 100%);
  --white: #ffffff;
  --gray-50: #F8F9FC;
  --gray-100: #F0F1F5;
  --gray-200: #E2E4EB;
  --gray-300: #C8CBD6;
  --gray-400: #9CA1B3;
  --gray-500: #6B7089;
  --gray-600: #4A4E64;
  --gray-700: #2E3145;
  --gray-800: #1C1E30;
  --gray-900: #0F1021;
  --text-primary: #1C1E30;
  --text-secondary: #6B7089;
  --text-on-dark: #E2E4EB;
  --text-on-dark-muted: #9CA1B3;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 50px rgba(0,0,0,0.15);
  --shadow-glow: 0 0 60px rgba(0, 122, 255, 0.3);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --dev-banner-h: 38px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === TEXT UTILITIES === */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-500);
  background: rgba(0, 122, 255, 0.08);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap; /* Beschriftung nie umbrechen – bei Platzmangel stapeln sich die Buttons */
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  padding: 12px 28px;
}

.btn-lg {
  padding: 16px 28px;
  font-size: 1.05rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 122, 255, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(0, 122, 255, 0.5);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--blue-500);
  border: 2px solid var(--blue-500);
}

.btn-outline:hover {
  background: var(--blue-500);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: var(--dev-banner-h);
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: linear-gradient(135deg, #007AFF 0%, #5E5CE6 100%);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  padding: 10px 0;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.97) 0%, rgba(94, 92, 230, 0.97) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 20px rgba(0, 122, 255, 0.25);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

.nav-logo-img-wide {
  height: 36px;
  width: auto;
}

.nav-logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
  transition: width var(--transition-base);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta-btn {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.nav-cta-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 130px;
}

.hero-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.5) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(94, 92, 230, 0.4) 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
  animation: orbFloat 15s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(94, 92, 230, 0.3) 0%, transparent 70%);
  top: 40%;
  left: 50%;
  animation: orbFloat 10s ease-in-out infinite 2s;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -30px); }
  66% { transform: translate(-20px, 20px); }
}

/* Grid-Areas statt zwei Spalten-Wrapper: So kann die mobile Ansicht das
   iPhone zwischen Headline und Untertitel einsortieren. */
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "head visual"
    "sub visual"
    "actions visual"
    "flow visual";
  column-gap: 60px;
  align-content: center;
  position: relative;
  z-index: 2;
}

.hero-head { grid-area: head; }
.hero-sub { grid-area: sub; }
.hero-actions { grid-area: actions; }
.hero-flow { grid-area: flow; }
.hero-visual { grid-area: visual; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #34D399;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
}

.hero-title {
  font-size: clamp(2.8rem, 4.8vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

/* Zweite Zeile kleiner, damit „Komplett in einer App." einzeilig bleibt */
.hero-title .hero-title-gradient {
  font-size: 0.78em;
}

.hero-title-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-on-dark-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-subtitle strong {
  color: var(--white);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center; /* sonst strecken die Grid-Zeilen die Buttons in die Höhe */
  gap: 16px;
  margin-bottom: 48px;
}

/* 4-Schritte-Workflow im Hero: Grundriss → Marker → Foto 2D/360° → Teilen */
.hero-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 560px;
}

.hero-flow-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 14px 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.hero-flow-step:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.hero-flow-icon {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 122, 255, 0.22);
  color: #8FB5FF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-flow-num {
  position: absolute;
  top: -5px;
  right: -6px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--blue-500);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.hero-flow-label {
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}

.hero-flow-arrow {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.35);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phone-wrapper {
  position: relative;
  max-width: 500px;
  animation: floatPhone 6s ease-in-out infinite;
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero-phone-glow {
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.25) 0%, transparent 60%);
  filter: blur(40px);
  z-index: -1;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.hero-scroll-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero-scroll-wheel {
  width: 3px;
  height: 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

/* === PROBLEM / SOLUTION === */
.problem-section {
  padding: 100px 0;
  background: var(--gray-50);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.problem-card {
  padding: 40px;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.problem-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.problem-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.problem-card-bad {
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--text-primary);
}

.problem-card-bad h3 {
  color: #DC2626;
}

.problem-card-good {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-xl);
}

.problem-card-good p {
  color: rgba(255,255,255,0.9);
}

.problem-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.problem-icon-bad {
  background: #FEE2E2;
  color: #DC2626;
}

.problem-icon-good {
  background: rgba(255,255,255,0.2);
  color: var(--white);
}

.problem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.problem-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}

.problem-list li::before {
  content: '✕';
  font-size: 0.75rem;
  font-weight: 700;
  color: #DC2626;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FEE2E2;
  border-radius: 50%;
  flex-shrink: 0;
}

.problem-list-good li::before {
  content: '✓';
  color: var(--white);
  background: rgba(255,255,255,0.25);
}

.problem-list-good li {
  color: rgba(255,255,255,0.95);
}

/* === FEATURES === */
.features-section {
  padding: 100px 0;
}

.feature-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 100px;
}

.feature-showcase:last-of-type {
  margin-bottom: 80px;
}

.feature-showcase-reverse {
  direction: rtl;
}

.feature-showcase-reverse > * {
  direction: ltr;
}

.feature-number {
  font-size: 4rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 8px;
}

.feature-showcase-title {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.feature-showcase-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 24px;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-600);
  background: rgba(0, 122, 255, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

/* Ohne min-width: 0 wächst die Spalte auf die min-content-Breite ihres Mockups –
   auf schmalen Screens schiebt das die ganze Seite seitlich raus. */
.feature-showcase-visual {
  min-width: 0;
}

.feature-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition-slow);
}

.feature-img:hover {
  transform: scale(1.03);
}

.feature-img-rounded {
  border-radius: var(--radius-xl);
}

.feature-img-tilt {
  transform: perspective(1000px) rotateY(-5deg);
}

.feature-img-tilt:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

/* Panorama viewer embed */
.panorama-viewer-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  position: relative;
}

#panorama-demo {
  display: block; /* verhindert die Inline-Baseline-Lücke (weißer Rand unten) */
  width: 100%;
  height: 400px;
  background: #111;
  border: none;
}

#panorama-demo:active {
  cursor: grabbing;
}

/* Touch-Gate: Auf Touch-Geräten fängt das Panorama sonst jede Wisch-Geste ab
   und die Seite lässt sich nicht mehr weiterscrollen. Die Demo startet daher
   erst nach einem bewussten Tipp und lässt sich wieder pausieren. */
.panorama-gate {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: none;
  cursor: pointer;
  background: rgba(10, 14, 39, 0.45);
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.panorama-gate-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.4);
}

.panorama-exit {
  position: absolute;
  top: 54px;
  right: 12px;
  z-index: 6;
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(10, 14, 39, 0.65);
  color: var(--white);
  font-size: 1rem;
  line-height: 1;
}

@media (hover: none), (pointer: coarse) {
  .panorama-viewer-wrapper:not(.panorama-active) .panorama-gate {
    display: flex;
  }

  .panorama-viewer-wrapper:not(.panorama-active) #panorama-demo {
    pointer-events: none;
  }

  .panorama-viewer-wrapper.panorama-active .panorama-exit {
    display: flex;
  }
}

#panorama-demo .pnlm-controls-container {
  bottom: 8px !important;
  right: 8px !important;
}

.panorama-viewer-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #007AFF 0%, #5E5CE6 100%);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Workflow animation */
/* Raster statt Flex-Reihe: In der Flex-Reihe bestimmten die Beschriftungen
   ("Foto 2D / 360°") die Mindestbreite; reichte der Platz nicht, wanderten die Kacheln
   aus dem Rahmen heraus. Die auto-Spalten hier nehmen die volle Textbreite, solange sie
   hineinpasst, und schrumpfen sonst – dann bricht die Beschriftung um, statt zu überlaufen.
   Oben ausgerichtet, damit zweizeilige Beschriftungen ihre Kachel nicht nach oben schieben
   und die Schritte unterschiedlich groß wirken lassen. */
.workflow-animation {
  display: grid;
  grid-template-columns: repeat(7, auto);
  justify-content: center;
  align-items: start;
  justify-items: center;
  gap: 12px;
  padding: 36px 20px;
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
}

.workflow-step {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
  animation: fadeInStep 0.5s ease-out both;
}

.workflow-step span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.3;
}

.workflow-step-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.workflow-step:hover .workflow-step-icon {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3);
}

.workflow-step-1 .workflow-step-icon {
  background: linear-gradient(135deg, #007AFF, #2AA0FF);
}

.workflow-step-2 .workflow-step-icon {
  background: linear-gradient(135deg, #5E5CE6, #7B79F0);
}

.workflow-step-3 .workflow-step-icon {
  background: linear-gradient(135deg, #6F60F1, #8B7FF5);
}

.workflow-step-4 .workflow-step-icon {
  background: linear-gradient(135deg, #34D399, #6EE7B7);
}

/* margin-top zentriert den Pfeil auf der Höhe der 64px hohen Kachel, obwohl die
   Zeile oben ausgerichtet ist (die Beschriftungen darunter dürfen mehrzeilig werden). */
.workflow-arrow {
  color: var(--gray-300);
  flex-shrink: 0;
  margin-top: 20px;
  animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%, 100% { opacity: 0.4; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.workflow-step-1 { animation-delay: 0.1s; }
.workflow-step-2 { animation-delay: 0.3s; }
.workflow-step-3 { animation-delay: 0.5s; }
.workflow-step-4 { animation-delay: 0.7s; }

/* Mini features */
.mini-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 48px 0;
  border-top: 1px solid var(--gray-200);
  max-width: 680px;
  margin: 0 auto;
}

.mini-feature {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.mini-feature:hover {
  background: var(--gray-50);
  transform: translateY(-4px);
}

.mini-feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  background: rgba(0, 122, 255, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-500);
}

.mini-feature h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.mini-feature p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* === HOW IT WORKS === */
.how-section {
  padding: 100px 0;
  background: var(--gradient-dark);
  color: var(--white);
}

.how-section .section-tag {
  background: rgba(0, 122, 255, 0.15);
}

.how-section .section-title {
  color: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  position: relative;
  padding: 40px 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all var(--transition-base);
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 0;
}

.step-card:hover::before {
  opacity: 0.08;
}

.step-card:hover {
  border-color: rgba(0, 122, 255, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 122, 255, 0.15);
}

.step-card > * {
  position: relative;
  z-index: 1;
}

.step-number {
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.step-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: rgba(255,255,255,0.06);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-500);
}

.step-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-on-dark-muted);
  line-height: 1.65;
}

/* === PRICING === */
.pricing-section {
  padding: 100px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

/* Grid-Zellen sind gleich hoch (align-items: stretch) – der Knopf sitzt dadurch
   in beiden Karten auf derselben Höhe, unabhängig von der Anzahl der Features. */
.pricing-card > .btn {
  margin-top: auto;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card-featured {
  border-color: var(--blue-500);
  box-shadow: 0 8px 40px rgba(0, 122, 255, 0.15);
}

.pricing-card-featured:hover {
  box-shadow: 0 12px 50px rgba(0, 122, 255, 0.25);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-header {
  margin-bottom: 8px;
}

.pricing-name {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-amount {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

.pricing-period {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Preis steht noch nicht fest – Text statt Betrag, etwas kleiner gesetzt */
.pricing-amount-tba {
  font-size: 2rem;
}

.pricing-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

.pricing-features li svg {
  color: #34D399;
  flex-shrink: 0;
}

.pricing-feature-disabled {
  color: var(--gray-400);
}

.pricing-feature-disabled svg {
  color: var(--gray-300) !important;
}

/* === FAQ === */
.faq-section {
  padding: 100px 0;
  background: var(--gray-50);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--gray-300);
}

.faq-item.active {
  border-color: var(--blue-500);
  box-shadow: 0 4px 20px rgba(0, 122, 255, 0.1);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--blue-500);
}

.faq-chevron {
  transition: transform var(--transition-base);
  color: var(--gray-400);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--blue-500);
}

/* Höhe im geöffneten Zustand setzt das Skript passend zum Inhalt
   (inline max-height), damit lange Antworten nicht abgeschnitten werden. */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* === DOWNLOAD CTA === */
.download-section {
  position: relative;
  padding: 100px 0;
  background: var(--gradient-hero);
  overflow: hidden;
}

.download-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.download-orb-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.3) 0%, transparent 70%);
  top: -200px;
  left: -100px;
  border-radius: 50%;
  filter: blur(80px);
}

.download-orb-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(111, 96, 241, 0.3) 0%, transparent 70%);
  bottom: -150px;
  right: -50px;
  border-radius: 50%;
  filter: blur(80px);
}

.download-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.download-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  margin: 0 auto 32px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.download-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.download-subtitle {
  font-size: 1.1rem;
  color: var(--text-on-dark-muted);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  color: var(--white);
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.store-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-btn-small {
  font-size: 0.7rem;
  opacity: 0.8;
  font-weight: 400;
}

.store-btn-large {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}

/* === FOOTER === */
.footer {
  background: #060818;
  padding: 64px 0 32px;
  color: var(--text-on-dark-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo-img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

.footer-logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
}

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 10px;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--blue-500);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* ===========================
   APP MOCKUPS
   Originalgetreue Nachbauten der echten App-Screens
   (Farben & Layout aus der BIVEO App: Header-Gradient
   #007AFF→#5E5CE6, iOS-Light-Design, Indigo-Marker)
   =========================== */

/* --- Vom Browser-Mock (Web-Link-Sektion) mitbenutzte Regeln --- */
.app-mock-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.app-mock-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 0 3px rgba(0,0,0,0.3));
  animation: pinDrop 0.5s ease-out both;
}

/* Sibling-Kombinator statt nth-of-type: das Plan-SVG ist ebenfalls ein svg-Geschwister
   und würde die Zählung verschieben. */
.app-mock-pin + .app-mock-pin { animation-delay: 0.3s; }

@keyframes pinDrop {
  from { opacity: 0; transform: translate(-50%, -150%); }
  to { opacity: 1; transform: translate(-50%, -100%); }
}

/* ===========================
   iPHONE-MOCKUP (Hero) – Rahmen im Simulator-Look

   Alle Innen-Maße in cqw (1cqw = 1 % der iPhone-Content-Breite, 278px
   auf dem Desktop): So skaliert die mobile Ansicht exakt proportional
   zur Desktop-Darstellung, statt dass fixe Pixel-Elemente (Island, FAB,
   Auslöser …) relativ zu groß werden. Umrechnung: px / 2,78 = cqw.
   =========================== */
.iphone {
  width: 300px;
  margin: 0 auto;
  padding: 8px;
  border-radius: 54px;
  background: #0D0D0F;
  border: 3px solid #46464B;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.08), 0 24px 70px rgba(0,0,0,0.5);
  container-type: inline-size;
}

.iphone-screen {
  position: relative;
  aspect-ratio: 9 / 19.5;
  border-radius: 15.1cqw;
  overflow: hidden;
  background: #F2F2F7;
}

.iphone-statusbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 12.9cqw;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7.9cqw 0 9.4cqw;
  pointer-events: none;
}

.iphone-statusbar-time {
  color: var(--white);
  font-size: 4.5cqw;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.iphone-statusbar-icons {
  width: 20.9cqw;
  height: auto;
}

.iphone-island {
  position: absolute;
  top: 3.2cqw;
  left: 50%;
  transform: translateX(-50%);
  width: 28.1cqw;
  height: 8.3cqw;
  border-radius: 4.3cqw;
  background: #000;
  z-index: 40;
}

.iphone-home-indicator {
  position: absolute;
  bottom: 2.5cqw;
  left: 50%;
  transform: translateX(-50%);
  width: 37.4cqw;
  height: 1.4cqw;
  border-radius: 1cqw;
  background: rgba(0,0,0,0.85);
  z-index: 40;
  transition: background var(--transition-base);
}

/* --- App-Screen (Nachbau des echten Projekt-Screens) --- */
.demo-app {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}

.demo-appbar {
  display: flex;
  align-items: center;
  gap: 2.2cqw;
  padding: 15.8cqw 4.3cqw 3.6cqw; /* Gradient läuft unter die Statusbar (Safe Area) */
  background: var(--gradient-primary);
}

.demo-appbar > svg {
  width: 6.1cqw;
  height: auto;
  flex-shrink: 0;
}

.demo-logo {
  width: 7.2cqw;
  height: 7.2cqw;
  object-fit: contain;
}

.demo-appbar-title {
  color: var(--white);
  font-size: 4.5cqw;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  flex: 1;
}

.demo-appbar-icons {
  display: flex;
  gap: 3.6cqw;
  align-items: center;
}

.demo-appbar-icons svg {
  width: 5.8cqw;
  height: auto;
}

.demo-tabs {
  display: flex;
  gap: 2.5cqw;
  padding: 3.6cqw 4.3cqw;
  background: var(--white);
  border-bottom: 1px solid #E5E5EA;
  overflow: hidden;
}

.demo-tab {
  display: inline-flex;
  align-items: center;
  gap: 1.8cqw;
  font-size: 3.8cqw;
  font-weight: 600;
  padding: 2.2cqw 4.3cqw;
  border-radius: var(--radius-full);
  background: #F2F2F7;
  color: #8E8E93;
  white-space: nowrap;
}

.demo-tab svg {
  width: 4cqw;
  height: auto;
}

.demo-tab-active {
  background: #007AFF;
  color: var(--white);
}

.demo-tab-new {
  display: inline-flex;
  align-items: center;
  font-size: 3.8cqw;
  font-weight: 600;
  padding: 2.2cqw 4.3cqw;
  border-radius: var(--radius-full);
  background: #E5F1FF;
  color: #007AFF;
  border: 1px dashed #007AFF;
  white-space: nowrap;
}

.demo-canvas {
  flex: 1;
  position: relative;
  background: #E4E4E9;
  padding: 5cqw 4.3cqw;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Plan mittig auf der Zeichenfläche, wie in der App */
}

/* Die weiße Karte ist die gerenderte PDF-Seite des Demo-Grundrisses */
.demo-plan {
  position: relative;
  background: var(--white);
  border-radius: 1.4cqw;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.demo-plan-img {
  display: block;
  width: 100%;
  height: auto;
}

/* Original-Pin der App: Ankerpunkt ist die Pin-Spitze */
.demo-pin {
  position: absolute;
  width: 10cqw;
  height: 10cqw;
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 0 3px rgba(0,0,0,0.3));
}

.demo-fab {
  position: absolute;
  right: 5.8cqw;
  bottom: 5.8cqw;
  width: 18.7cqw;
  height: 18.7cqw;
  border-radius: 50%;
  background: #5E5CE6;
  color: var(--white);
  font-size: 10.4cqw;
  font-weight: 500;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(94, 92, 230, 0.5);
}

/* --- Kamera-Modal (Nachbau des echten Aufnahme-Modals) --- */
.demo-camera {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  background: #000;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1);
}

.demo-camera-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15.8cqw 5.8cqw 4.3cqw;
  background: #1C1C1E;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.demo-camera-header > svg {
  width: 5.8cqw;
  height: auto;
}

.demo-camera-header span {
  color: var(--white);
  font-size: 4.5cqw;
  font-weight: 700;
}

.demo-camera-view {
  flex: 1;
  background: #000 url('assets/images/panorama-example.png') center / cover no-repeat;
  filter: brightness(0.92);
  background-position: 35% center;
}

.demo-camera-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.9cqw;
  padding: 4.3cqw 0 9.4cqw;
  background: #000;
  border-top: 1px solid #2C2C2E;
}

.demo-camera-status {
  color: #8E8E93;
  font-size: 3.6cqw;
  font-weight: 600;
}

.demo-capture {
  width: 19.4cqw;
  height: 19.4cqw;
  border-radius: 50%;
  border: 1.1cqw solid var(--white);
  background: #3A3A3C;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-capture-inner {
  width: 15.1cqw;
  height: 15.1cqw;
  border-radius: 50%;
  background: #FF3B30;
}

/* --- Animations-Phasen (data-phase + has-pin setzt script.js) --- */
.demo-tap {
  position: absolute;
  width: 5cqw;
  height: 5cqw;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.demo-tap::before,
.demo-tap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid rgba(0, 122, 255, 0.65);
  opacity: 0;
}

.iphone[data-phase="tap"] .demo-tap::before {
  animation: demoRipple 0.65s ease-out both;
}

.iphone[data-phase="tap"] .demo-tap::after {
  animation: demoRipple 0.65s ease-out 0.18s both;
}

@keyframes demoRipple {
  0% { opacity: 0.9; transform: scale(0.3); }
  100% { opacity: 0; transform: scale(2.4); }
}

.demo-pin-target {
  opacity: 0;
}

.iphone.has-pin .demo-pin-target {
  opacity: 1;
  animation: demoPinDrop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes demoPinDrop {
  from { opacity: 0; transform: translate(-50%, -180%); }
  to { opacity: 1; transform: translate(-50%, -100%); }
}

.iphone[data-phase="camera-open"] .demo-camera,
.iphone[data-phase="shutter"] .demo-camera {
  transform: translateY(0);
}

.iphone[data-phase="camera-open"] .iphone-home-indicator,
.iphone[data-phase="shutter"] .iphone-home-indicator {
  background: rgba(255,255,255,0.9);
}

.iphone[data-phase="shutter"] .demo-capture-inner {
  animation: demoShutter 0.35s ease both;
}

@keyframes demoShutter {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.78); }
}

.demo-flash {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: var(--white);
  opacity: 0;
  pointer-events: none;
}

.iphone[data-phase="shutter"] .demo-flash {
  animation: demoFlash 0.45s ease-out 0.25s both;
}

@keyframes demoFlash {
  0% { opacity: 0; }
  35% { opacity: 0.9; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-phone-wrapper {
    animation: none;
  }

  .iphone *,
  .iphone *::before,
  .iphone *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* --- PDF-Bericht (Feature 02) --- */
.pdf-mock {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 22px 20px;
  max-width: 460px;
  margin: 0 auto;
  font-size: 0.8rem;
  transition: transform var(--transition-slow);
}

/* Kopf wie im Bericht: leere Spalte, zentrierter Titel, Firmenangaben rechts. */
.pdf-mock-header {
  display: grid;
  /* Wie im Bericht: Titel links, Firmenangaben rechts. */
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 3px solid #5E5CE6;
  margin-bottom: 14px;
}

.pdf-mock-titlearea {
  grid-column: 1;
  text-align: left;
  min-width: 0;
}

.pdf-mock-h1 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #000;
  line-height: 1.2;
}

.pdf-mock-sub {
  font-size: 0.63rem;
  color: #8E8E93;
  margin-top: 4px;
}

.pdf-mock-sub strong { color: #8E8E93; }

.pdf-mock-date {
  font-size: 0.5rem;
  color: #8E8E93;
  margin-top: 3px;
}

.pdf-mock-brand {
  grid-column: 2;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  font-size: 0.5rem;
  color: #3A3A3C;
  line-height: 1.35;
  min-width: 0;
}

/* Firmenlogo über den Angaben, wie im Bericht (.company-logo). */
.pdf-mock-logo {
  width: 34px;
  height: 34px;
  color: #007AFF;
  margin-bottom: 5px;
}

.pdf-mock-company {
  font-weight: 700;
  font-size: 0.55rem;
  color: #000;
  margin-bottom: 2px;
}

.pdf-mock-section {
  font-size: 0.85rem;
  font-weight: 700;
  color: #000;
  border-bottom: 1px solid #E5E5EA;
  padding-bottom: 5px;
}

.pdf-mock-section-meta {
  font-size: 0.62rem;
  color: #8E8E93;
  margin: 5px 0 12px;
}

.pdf-mock-marker-card {
  border: 1px solid #E5E5EA;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.pdf-mock-marker-header {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #F8F8FA;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 0.74rem;
  margin-bottom: 12px;
}

.pdf-mock-marker-header strong {
  color: #000;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pdf-mock-marker-header em {
  font-style: normal;
  color: #8E8E93;
  font-size: 0.64rem;
}

/* Ausschnitt links, Notizen rechts - die Aufteilung des echten Berichts. */
.pdf-mock-row {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
}

.pdf-mock-crop {
  width: 44%;
  flex-shrink: 0;
}

.pdf-mock-crop-img {
  position: relative;
  border-radius: 8px;
  border: 1px solid #D1D1D6;
  overflow: hidden;
  background: #F2F2F7;
  line-height: 0;
}

.pdf-mock-crop-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Der Ausschnitt wird im Bericht samt Pin gerendert (drawPinOnCrop). */
.pdf-mock-crop-pin {
  position: absolute;
  /* Im Raum, nicht auf der Wand – ein Marker auf der Trennwand sähe aus wie ein
     Versehen statt wie eine Dokumentation. */
  left: 30%;
  top: 58%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
}

.pdf-mock-crop-label {
  font-size: 0.56rem;
  color: #8E8E93;
  text-align: center;
  margin-top: 4px;
  font-style: italic;
}

.pdf-mock-notes {
  flex: 1;
  min-width: 0;
}

.pdf-mock-photos {
  border-top: 1px solid #F2F2F7;
  padding-top: 11px;
}

.pdf-mock-notes h4 {
  font-size: 0.62rem;
  font-weight: 600;
  color: #3A3A3C;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 5px;
}

.pdf-mock-notes ul {
  list-style: disc;
  padding-left: 15px;
  margin: 0;
}

.pdf-mock-notes li {
  font-size: 0.66rem;
  color: #3A3A3C;
  line-height: 1.5;
}

/* Wie im Bericht: Das Bild wird nicht auf die Spaltenbreite gezogen, sondern in
   der Höhe gedeckelt und links ausgerichtet – so bleibt der Fotoblock niedrig
   genug, dass er zusammen mit dem Grundrissausschnitt auf eine Seite passt. */
.pdf-mock-photo {
  line-height: 0;
}

.pdf-mock-photo img {
  max-width: 100%;
  max-height: 200px;
  width: auto;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 1px solid #E5E5EA;
  background: #F2F2F7;
}

.pdf-mock-photo-meta {
  font-size: 0.58rem;
  color: #8E8E93;
  text-align: right;
  margin-top: 5px;
}

/* --- Browser / Web-Freigabe (Feature 03) --- */
.browser-mock {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  max-width: 520px;
  margin: 0 auto;
}

.browser-mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}

.browser-mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-mock-dot-r { background: #FF5F57; }
.browser-mock-dot-y { background: #FEBC2E; }
.browser-mock-dot-g { background: #28C840; }

.browser-mock-url {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gray-600);
  padding: 5px 14px;
  margin-left: 10px;
  flex: 1;
  max-width: 260px;
}

.browser-mock-url svg {
  color: #28C840;
}

/* Kopfzeile der App: derselbe Verlauf wie AppHeader.tsx */
.share-mock-appbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: var(--gradient-primary);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
}

.share-mock-appbar span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.share-mock-filter {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  opacity: 0.95;
}

/* Branding-Leiste des Absenders unter der Kopfzeile */
.share-mock-brandbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 14px;
  background: var(--white);
  border-bottom: 1px solid #E5E5EA;
}

.share-mock-company {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #1C1C1E;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.share-mock-company svg {
  width: 17px;
  height: 17px;
  color: #007AFF;
  flex-shrink: 0;
}

.share-mock-brandmeta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  font-size: 0.64rem;
  font-weight: 500;
  color: #8E8E93;
  line-height: 1.3;
}

.share-mock-brandmeta em {
  font-style: normal;
  font-size: 0.56rem;
  color: #C7C7CC;
}

/* Plan-Auswahl */
.share-mock-tabs {
  display: flex;
  gap: 8px;
  padding: 8px 14px;
  background: var(--white);
  border-bottom: 1px solid #E5E5EA;
}

.share-mock-tab {
  font-size: 0.66rem;
  font-weight: 600;
  color: #007AFF;
  background: #E5F1FF;
  border: 1px solid #007AFF;
  border-radius: var(--radius-full);
  padding: 5px 13px;
  white-space: nowrap;
}

.share-mock-tab-active {
  background: #007AFF;
  color: var(--white);
}

/* Grundriss mit Markern, darüber der geöffnete Marker-Dialog */
.share-mock-canvas {
  position: relative;
  background: #F2F2F7;
  padding: 14px;
  min-height: 210px;
}

.share-mock-plan {
  position: relative;
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  line-height: 0;
}

.share-mock-plan img {
  width: 100%;
  height: auto;
  display: block;
}

.share-mock-sheet {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 78%;
  max-width: 300px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.22);
  padding: 14px 15px 15px;
}

.share-mock-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.share-mock-sheet-head strong {
  font-size: 0.86rem;
  font-weight: 700;
  color: #1C1C1E;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.share-mock-sheet-head svg {
  width: 19px;
  height: 19px;
  color: #C7C7CC;
  flex-shrink: 0;
}

.share-mock-sheet-sub {
  font-size: 0.6rem;
  color: #8E8E93;
  margin-top: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid #E5E5EA;
}

.share-mock-sheet-section {
  font-size: 0.7rem;
  font-weight: 600;
  color: #3A3A3C;
  margin: 10px 0 8px;
}

.share-mock-media {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F2F2F7;
  border-radius: 10px;
  padding: 8px;
}

.share-mock-media img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.share-mock-media-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  font-size: 0.6rem;
  color: #8E8E93;
}

.share-mock-media-text em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  color: #1C1C1E;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* --- Gesichtsverpixelung (Feature 02) --- */
.blur-mock {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  max-width: 520px;
  margin: 0 auto;
}

/* Der Schalter steuert die Vorschau rein über CSS – kein Skript nötig. */
.blur-mock-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.blur-mock-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
  padding: 10px 14px;
  background: var(--gradient-primary);
  color: var(--white);
}

.blur-mock-topbar-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
}

.blur-mock-chip {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.22);
  white-space: nowrap;
}

.blur-mock-photo {
  position: relative;
  line-height: 0;
}

.blur-mock-scene {
  display: block;
  width: 100%;
  height: auto;
}

.blur-mock-box-tag {
  image-rendering: auto;
}

/* Verpixelter Kopfausschnitt samt Erkennungsrahmen, deckungsgleich über dem Foto.
   Die Prozentwerte stammen aus den Bildkoordinaten der erzeugten Ausschnitte. */
.blur-mock-box {
  position: absolute;
  opacity: 0;
  transition: opacity var(--transition-base);
  border: 2px solid rgba(255, 149, 0, 0.95);
  border-radius: 2px;
  background-size: 100% 100%;
  background-origin: border-box;
  image-rendering: pixelated;
}

.blur-mock-box-1 {
  left: 29.81%;
  top: 28.16%;
  width: 9.62%;
  height: 15.17%;
  background-image: url('assets/images/blur-demo-face1.png');
}

.blur-mock-box-2 {
  left: 60.38%;
  top: 37.47%;
  width: 5.96%;
  height: 9.66%;
  background-image: url('assets/images/blur-demo-face2.png');
}

.blur-mock-input:checked ~ .blur-mock-photo .blur-mock-box {
  opacity: 1;
  transform: scale(1);
}

.blur-mock-box-tag {
  position: absolute;
  top: -18px;
  left: -2px;
  font-size: 0.55rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
  background: rgba(255, 149, 0, 0.95);
  padding: 1px 6px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.blur-mock-status {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--white);
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

.blur-mock-status-on { display: none; }
.blur-mock-input:checked ~ .blur-mock-photo .blur-mock-status-on { display: inline; }
.blur-mock-input:checked ~ .blur-mock-photo .blur-mock-status-off { display: none; }

.blur-mock-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  cursor: pointer;
  user-select: none;
}

.blur-mock-switch-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}

.blur-mock-switch-track {
  position: relative;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  background: var(--gray-300);
  transition: background var(--transition-base);
}

.blur-mock-switch-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base);
}

.blur-mock-input:checked ~ .blur-mock-switch .blur-mock-switch-track {
  background: #34C759;
}

.blur-mock-input:checked ~ .blur-mock-switch .blur-mock-switch-knob {
  transform: translateX(20px);
}

.blur-mock-input:focus-visible ~ .blur-mock-switch .blur-mock-switch-track {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
}

/* --- Mitgliederverwaltung (Feature 05) --- */
.members-mock {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  max-width: 480px;
  margin: 0 auto;
}

/* Kopfzeile wie AppHeader.tsx: Zurück-Pfeil, Logo, Titel */
.members-mock-appbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: var(--gradient-primary);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
}

.members-mock-back {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.members-mock-body {
  padding: 16px;
  background: #F2F2F7;
}

.members-mock-project {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1C1C1E;
  margin-bottom: 5px;
}

.members-mock-intro {
  font-size: 0.68rem;
  color: #6E6E73;
  line-height: 1.5;
  margin: 0;
}

.members-mock-label {
  font-size: 0.62rem;
  font-weight: 600;
  color: #6E6E73;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 16px 0 7px 4px;
}

.members-mock-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2px 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.members-mock-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 0;
}

.members-mock-icon {
  width: 27px;
  height: 27px;
  flex-shrink: 0;
}

.members-mock-icon-owner,
.members-mock-icon-member { color: #5E5CE6; }
.members-mock-icon-invite { color: #FF9500; }

.members-mock-person {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
  font-size: 0.72rem;
  font-weight: 500;
  color: #1C1C1E;
}

/* Lange Adressen kürzen statt die Karte zu sprengen. */
.members-mock-person,
.members-mock-person em {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.members-mock-person em {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 400;
  color: #8E8E93;
}

.members-mock-remove {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: #FF3B30;
}

.members-mock-remove-gray { color: #8E8E93; }

.members-mock-divider {
  height: 1px;
  background: #E5E5EA;
}

/* Rollenumschalter unter einem Mitglied */
.members-mock-segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #F2F2F7;
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 11px;
}

.members-mock-segment span {
  text-align: center;
  padding: 6px 0;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 500;
  color: #6E6E73;
}

.members-mock-segment-active {
  background: var(--white);
  color: #007AFF !important;
  font-weight: 600 !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* === ANIMATIONS === */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  /* Eine Spalte: iPhone zwischen Headline und Untertitel, sofort sichtbar */
  .hero-container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "visual"
      "sub"
      "actions"
      "flow";
    text-align: center;
    row-gap: 24px;
  }

  .hero-title {
    margin-bottom: 0;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
  }

  .hero-actions {
    justify-content: center;
    margin-bottom: 0;
  }

  /* Workflow-Kacheln als 2×2-Raster ohne Pfeile */
  .hero-flow {
    flex-wrap: wrap;
    gap: 10px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-flow-step {
    flex: 1 1 calc(50% - 5px);
  }

  .hero-flow-label {
    white-space: normal;
  }

  .hero-flow-arrow {
    display: none;
  }

  /* Rahmen-Geometrie proportional zur kleineren Breite: Screen-Radius
     (15,1cqw) + Padding + Rand muss dem Außenradius entsprechen, sonst
     passen die Ecken von Display und Gehäuse nicht zusammen. */
  .iphone {
    width: min(232px, 62vw);
    padding: 6px;
    border-width: 2px;
    border-radius: 41px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-showcase,
  .feature-showcase-reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-showcase-reverse {
    direction: ltr;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .mini-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* Der backdrop-filter der gescrollten Navbar macht sie zum Containing Block
     für position:fixed-Kinder – das Menü-Overlay würde dann in der Leiste
     kleben statt den Bildschirm zu füllen. Mobil daher ohne Filter. */
  .navbar.scrolled {
    backdrop-filter: none;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0A0E27;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links .nav-link {
    font-size: 1.2rem;
    color: var(--white);
  }

  .nav-links .nav-cta-btn {
    font-size: 1.1rem;
    padding: 14px 36px;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .hero {
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 48px;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 6px 14px;
    margin-bottom: 14px;
  }

  .hero-title {
    font-size: 2.35rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-scroll-indicator {
    display: none;
  }

  /* Kompaktere Abstände: auf schmalen Screens erzeugen die Desktop-Werte
     bildschirmweise Leerraum zwischen den Blöcken. */
  .problem-section,
  .features-section,
  .how-section,
  .pricing-section,
  .faq-section {
    padding: 56px 0;
  }

  .download-section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .feature-showcase,
  .feature-showcase-reverse {
    gap: 28px;
  }

  .feature-showcase {
    margin-bottom: 56px;
  }

  .mini-features {
    padding: 32px 0 0;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .mini-features {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  /* Feature 06: Die Workflow-Grafik entfällt mobil – dieselben 4 Schritte
     folgen direkt darunter als eigene Section, das wäre doppelt. */
  .workflow-animation {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .pdf-mock {
    padding: 16px 14px;
  }

  /* Mobil bleibt im Bericht kein Platz für zwei Spalten – der Ausschnitt
     wandert über die Notizen, wie es auch ein schmaler Druck täte. */
  .pdf-mock-row {
    flex-direction: column;
    gap: 10px;
  }

  .pdf-mock-crop {
    width: 100%;
  }

  .share-mock-canvas {
    padding: 10px;
  }

  .share-mock-sheet {
    width: 88%;
  }
}

/* Kleine Displays (z. B. iPhone SE): iPhone-Mockup kompakter, damit es im
   ersten Viewport startet */
@media (max-width: 1024px) and (max-height: 700px) {
  .iphone {
    width: 200px;
    padding: 5px;
    border-width: 2px;
    border-radius: 35px;
  }
}

@media (max-width: 480px) {
  .problem-card {
    padding: 28px;
  }

  .step-card {
    padding: 28px 24px;
  }

  .pricing-card {
    padding: 28px;
  }
}

/* ===========================
   LEGAL PAGES (Impressum, Datenschutz, AGB)
   =========================== */

.legal-hero {
  background: var(--gradient-hero);
  padding: 140px 0 64px;
  position: relative;
  overflow: hidden;
}

.legal-hero::after {
  content: '';
  position: absolute;
  top: -140px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(94, 92, 230, 0.35) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.legal-hero .container {
  position: relative;
  z-index: 1;
}

.legal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  margin-bottom: 20px;
}

.legal-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1.15;
}

.legal-subtitle {
  margin-top: 14px;
  max-width: 640px;
  color: var(--text-on-dark-muted);
  font-size: 1.05rem;
}

.legal-updated {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
}

.legal-main {
  padding: 64px 0 96px;
  background: var(--white);
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 96px;
  border-left: 2px solid var(--gray-200);
  padding-left: 18px;
}

.legal-toc h2 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 14px;
}

.legal-toc ol {
  list-style: none;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.legal-toc a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.legal-toc a:hover {
  color: var(--blue-500);
}

.legal-content {
  max-width: 780px;
  color: var(--gray-700);
}

.legal-content section + section {
  margin-top: 48px;
}

.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
  scroll-margin-top: 100px;
}

.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--text-primary);
  margin: 28px 0 10px;
}

.legal-content p {
  margin-bottom: 14px;
  line-height: 1.75;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1.7;
}

.legal-content li {
  padding-left: 4px;
}

.legal-content a:not(.btn) {
  color: var(--blue-500);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:not(.btn):hover {
  color: var(--purple-500);
}

.legal-content strong {
  color: var(--text-primary);
  font-weight: 650;
}

.legal-address {
  font-style: normal;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Vom Betreiber auszufüllende Angaben – im Text sofort sichtbar markiert. */
.legal-placeholder {
  background: rgba(255, 193, 7, 0.18);
  border-bottom: 1px dashed #C79100;
  border-radius: 3px;
  padding: 1px 5px;
  font-weight: 600;
  color: #7A5A00;
}

.legal-note {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--blue-500);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 20px 0;
  font-size: 0.94rem;
}

.legal-note p:last-child {
  margin-bottom: 0;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 18px 0 22px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 560px;
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: top;
}

.legal-table th {
  background: var(--gray-50);
  font-weight: 650;
  color: var(--text-primary);
  white-space: nowrap;
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--blue-500);
}

.legal-back:hover {
  color: var(--purple-500);
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .legal-toc {
    position: static;
    border-left: none;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    padding: 20px 0;
  }

  .legal-toc ol {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 20px;
  }
}

@media (max-width: 600px) {
  .legal-hero {
    padding: 130px 0 48px;
  }

  .legal-main {
    padding: 44px 0 72px;
  }
}

/* ===========================
   ENTWICKLUNGS-HINWEIS (Banner)
   =========================== */
.dev-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  min-height: var(--dev-banner-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 16px;
  background: #0A0E23;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.92);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.dev-banner strong {
  color: #FFD60A;
  font-weight: 700;
}

.dev-banner-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFD60A;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* Mobil: kompakte Ein-Zeilen-Variante des Banners */
.dev-banner-short {
  display: none;
}

@media (max-width: 560px) {
  .dev-banner {
    font-size: 0.75rem;
    padding: 5px 12px;
  }

  .dev-banner-long {
    display: none;
  }

  .dev-banner-short {
    display: inline;
  }
}

/* Deaktivierte Store-Buttons (App noch nicht verfügbar) */
.store-btn-disabled,
.store-btn-disabled:hover {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  background: rgba(255,255,255,0.08);
}

.download-note {
  margin-top: 28px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}

.download-note a {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pricing-preview-note {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-style: italic;
}

.footer-privacy-hint {
  margin-top: 8px;
  font-size: 0.78rem;
  opacity: 0.65;
}
