/* ============================================================
   Docuty – Farben von docuty.de übernommen (dunkel + Lime-Akzent)
   Schrift: cleaner System-Stack, kein CDN / kein externer Font
   ============================================================ */
:root {
  --bg: #0d0d0d;
  --bg-section: #1a1a1a;
  --bg-card: #1a1a1a;
  --fg: #ffffff;
  --muted: #888888;
  --accent: #b8f000;
  --accent-dark: #9dd100;
  --on-accent: #111111;
  --border: #2a2a2a;

  --radius-card: 8px;
  --radius-btn: 4px;
  --container: 1200px;
  --topbar-h: 72px;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Sticky-Footer: Inhalt füllt die Höhe, Footer sitzt immer unten */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

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

.section-title {
  font-size: clamp(24px, 3vw, 36px);
  margin: 0 0 1.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius-btn);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .08s ease, background-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-lg { padding: 0.95rem 1.8rem; font-size: 1.05rem; }

/* ---------- Topmenü (schmal, sticky) ---------- */
.topbar {
  position: -webkit-sticky; /* altes iOS/Safari */
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--topbar-h);
  background: rgba(13, 13, 13, 0.95);
  -webkit-backdrop-filter: saturate(140%) blur(6px);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--border);
}
/* Fallback: ohne backdrop-filter-Unterstützung undurchsichtiger Balken */
@supports not ((-webkit-backdrop-filter: blur(6px)) or (backdrop-filter: blur(6px))) {
  .topbar { background: #0d0d0d; }
}
.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.topbar-nav {
  display: flex;
  gap: 1.4rem;
  margin-left: auto;
  flex-wrap: wrap;
}
.topbar-nav a { color: var(--fg); font-weight: 500; font-size: 0.98rem; }
.topbar-nav a:hover { color: var(--accent); text-decoration: none; }
.topbar-cta { margin-left: 0.5rem; }

/* ---------- Oberer Block füllt den Viewport ---------- */
.home-top {
  min-height: calc(100vh - var(--topbar-h));
  display: flex;
  flex-direction: column;
}

/* ---------- Big Header / Slideshow ---------- */
.hero {
  position: relative;
  flex: 1 1 auto;
  min-height: 60vh;
  overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-caption {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
}
/* Caption blendet erst ein, nachdem die vorige ausgeblendet ist – kein Text-Overlap */
.hero-slide.is-active .hero-caption {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease .35s, transform .5s ease .35s;
}
.hero-title {
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.1;
  margin: 0 0 1rem;
  max-width: 16ch;
  letter-spacing: -0.02em;
}
.hero-text {
  font-size: clamp(17px, 2vw, 22px);
  color: #d8d8d8;
  margin: 0 0 1.8rem;
  max-width: 44ch;
}
.hero-dots {
  position: absolute;
  bottom: 1.4rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  z-index: 2;
}
.hero-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  padding: 0;
}
.hero-dot.is-active { background: var(--accent); }

/* ---------- Große Navigations-Buttons ---------- */
.mainnav {
  flex: 0 0 auto;
  background: var(--bg);
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border);
}
.mainnav-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.8rem;
}
.navcard {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.2rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  color: var(--fg);
  transition: transform .12s ease, border-color .15s ease, background-color .15s ease;
}
.navcard:hover {
  text-decoration: none;
  transform: translateY(-3px);
  border-color: var(--accent);
  background: #202020;
}
.navcard-title { font-size: 1.05rem; font-weight: 700; line-height: 1.25; overflow-wrap: break-word; hyphens: auto; }
.navcard-text { color: var(--muted); font-size: 0.85rem; line-height: 1.35; }
.navcard-arrow { color: var(--accent); font-size: 1.15rem; margin-top: auto; padding-top: 0.6rem; }

/* Navi-Buttons: eine Reihe; auf kleinen Schirmen horizontal scrollbar statt Umbruch */
@media (max-width: 860px) {
  .mainnav-grid {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
  }
  .navcard { flex: 0 0 60%; scroll-snap-align: start; }
}
@media (max-width: 520px) {
  .navcard { flex-basis: 78%; }
}

/* ---------- Kundenstimmen ---------- */
.testimonials {
  background: var(--bg-section);
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.testimonial {
  margin: 0;
  padding: 1.6rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.testimonial blockquote {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  line-height: 1.5;
}
.testimonial blockquote::before { content: "\201E"; color: var(--accent); font-weight: 700; }
.testimonial-author { display: block; font-weight: 700; }
.testimonial-role { display: block; color: var(--muted); font-size: 0.9rem; }

/* ---------- Beiträge / Inhalte ---------- */
.home-body { padding: 4rem 0; }
.page { padding: 3rem 0 4rem; max-width: 820px; }
.page h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.15; margin-top: 0; }
.meta { color: var(--muted); font-size: 0.9rem; margin-top: -0.5rem; }

.content a { text-decoration: underline; }
.content img { border-radius: var(--radius-card); margin: 1rem 0; }
.content h2, .content h3 { line-height: 1.25; }
.content pre {
  background: #141414;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1rem;
  overflow: auto;
}
.content code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
}
.post-list a { color: var(--fg); font-weight: 600; }
.post-list a:hover { color: var(--accent); text-decoration: none; }
.post-list time { color: var(--muted); font-size: 0.9rem; white-space: nowrap; }

/* ---------- Footer (erst nach Scrollen sichtbar) ---------- */
.site-footer {
  background: #080808;
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}
.footer-brand { font-weight: 800; color: var(--fg); display: flex; align-items: center; }
.footer-brand img { height: 30px; width: auto; display: block; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--accent); text-decoration: none; }
.footer-copy { margin-left: auto; font-size: 0.9rem; }

/* ---------- Mobil ---------- */
@media (max-width: 760px) {
  .topbar { height: auto; }
  .topbar-inner { flex-wrap: wrap; padding: 0.6rem 20px; gap: 0.6rem 1rem; }
  .topbar-nav { width: 100%; order: 3; margin-left: 0; gap: 1rem; }
  .topbar-cta { margin-left: auto; }
  .home-top { min-height: 0; }
  .hero { min-height: 70vh; }
}

/* ===== Barrierefreiheit ===== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: var(--on-accent);
  padding: 0.6rem 1rem;
  font-weight: 700;
  border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ===== Logo ===== */
.brand-logo { display: block; height: 28px; width: auto; }

/* ===== Eyebrow / zentriert ===== */
.eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin: 0 0 0.5rem;
}
.center { text-align: center; }
.section-title.center { margin-left: auto; margin-right: auto; max-width: 24ch; }

/* ===== Button-Variante ===== */
.btn-outline { background: transparent; color: var(--fg); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ===== Kernfunktionen ===== */
.features { padding: 4.5rem 0; border-top: 1px solid var(--border); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.7rem;
  transition: transform .12s ease, border-color .15s ease, background-color .15s ease;
}
.feature-card:hover { transform: translateY(-3px); border-color: var(--accent); background: #202020; }
.feature-icon { margin-bottom: 0.9rem; color: var(--accent); line-height: 0; }
.feature-icon svg { width: 30px; height: 30px; display: block; }
.feature-card h3 { margin: 0.2rem 0 0.4rem; font-size: 1.15rem; }
.feature-card p { color: var(--muted); margin: 0; }

/* ===== Preise ===== */
.pricing { padding: 4.5rem 0; background: var(--bg-section); border-top: 1px solid var(--border); }
.pricing-note { color: var(--muted); max-width: 62ch; margin: 0.5rem auto 0; }
.billing-toggle {
  display: flex;
  gap: 0.25rem;
  justify-content: center;
  margin: 2rem auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem;
  width: max-content;
}
.bt-opt {
  border: 0;
  background: transparent;
  color: var(--fg);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
}
.bt-opt.is-active { background: var(--accent); color: var(--on-accent); }
.bt-badge { font-size: 0.7rem; background: var(--accent); color: var(--on-accent); padding: 0.1rem 0.4rem; border-radius: 999px; margin-left: 0.35rem; }
.bt-opt.is-active .bt-badge { background: rgba(0,0,0,0.18); color: var(--on-accent); }
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem;
}
.plan-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan-badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-name { color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.9rem; margin-bottom: 1rem; }
.plan-price { display: flex; align-items: baseline; gap: 0.1rem; }
.plan-price .cur { font-size: 1.3rem; color: var(--muted); }
.plan-price .amount { font-size: 3rem; font-weight: 800; line-height: 1; }
.plan-price .unit { color: var(--muted); font-size: 0.9rem; margin-left: 0.35rem; }
.plan-sub { color: var(--muted); font-size: 0.9rem; margin-top: 0.5rem; min-height: 1.2em; }
.pricing[data-billing="monthly"] .only-yearly { visibility: hidden; }
.plan-features { list-style: none; padding: 0; margin: 1.3rem 0; display: grid; gap: 0.6rem; }
.plan-features li { position: relative; padding-left: 1.6rem; color: #d8d8d8; }
.plan-features li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
/* Buttons unten in einer Reihe auf gleicher Höhe: margin-top:auto schiebt sie ans Kartenende */
.plan-cta { display: block; text-align: center; margin-top: auto; }

/* ===== CTA-Band ===== */
.cta-band { padding: 4.5rem 0; text-align: center; border-top: 1px solid var(--border); }
.cta-title { font-size: clamp(28px, 4vw, 44px); margin: 0.3rem 0 0.6rem; }
.cta-text { color: var(--muted); margin: 0 auto 1.6rem; max-width: 48ch; }

/* ===== FAQ ===== */
.faq { padding: 4.5rem 0; border-top: 1px solid var(--border); }
.faq-sub { color: var(--muted); margin: 0 0 1.5rem; }
.faq-list { border-top: 1px solid var(--border); max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { color: var(--muted); font-size: 1.4rem; line-height: 1; transition: transform 0.2s ease; flex: none; }
.faq-item[open] .faq-plus { transform: rotate(45deg); color: var(--accent); }
.faq-answer { padding: 0 0 1.2rem; color: var(--muted); max-width: 70ch; }

/* ===== Badges ===== */
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: #202020;
  border: 1px solid var(--border);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  vertical-align: middle;
}
.badge-version { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
a.badge:hover { color: var(--accent); text-decoration: none; }
.post-list-main { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.arrow-link { font-weight: 600; }

/* ===== Kundenstimmen: Hervorhebung ===== */
.testimonial-highlight { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.testimonial-label {
  display: block;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
  margin-bottom: 0.6rem;
}

/* ===== Updates-Teaser ===== */
.updates-teaser { padding: 4.5rem 0; background: var(--bg-section); border-top: 1px solid var(--border); }

/* ===== Visually hidden (a11y) ===== */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ===== Topbar-Suche ===== */
.topbar-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  width: 38px; height: 38px;
  border-radius: 8px;
}
.topbar-search:hover { color: var(--accent); background: var(--bg-card); }

/* ===== Suchseite ===== */
.search-page { max-width: 720px; }
.search-form { margin: 1.5rem 0 0.5rem; }
#search-input {
  width: 100%;
  font-size: 1.1rem;
  padding: 0.9rem 1.1rem;
  color: var(--fg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
#search-input:focus { border-color: var(--accent); outline: none; }
.search-status { color: var(--muted); font-size: 0.9rem; }
.search-results { list-style: none; padding: 0; margin: 1rem 0 0; }
.search-results li { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.search-results a { font-weight: 600; color: var(--fg); }
.search-results a:hover { color: var(--accent); text-decoration: none; }
.search-results p { color: var(--muted); margin: 0.3rem 0 0; font-size: 0.95rem; }

/* ===== Social-Media-Icons ===== */
.footer-social { display: flex; gap: 0.5rem; margin-left: auto; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 8px;
  color: var(--muted);
  border: 1px solid var(--border);
}
.social-link:hover { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.footer-copy { margin-left: 0; }

@media (max-width: 760px) {
  .footer-social { margin-left: 0; }
}

/* ============================================================
   Browser-Kompatibilität (Fallbacks & Vendor-Prefixe)
   ============================================================ */
/* dvh verbessert die Viewport-Höhe auf mobilen Browsern (adressleistensicher) */
@supports (min-height: 100dvh) {
  body { min-height: 100dvh; }
  .home-top { min-height: calc(100dvh - var(--topbar-h)); }
}
/* Native Button-/Input-Optik abschalten (Safari/iOS) */
.btn, .bt-opt, .hero-dot, .social-link, .topbar-search, #search-input {
  -webkit-appearance: none;
  appearance: none;
}
.btn, .bt-opt, .hero-dot { -webkit-tap-highlight-color: transparent; }
/* Flexbox-gap-Fallback für Safari < 14.1: Rand statt gap, wo es auffällt */
@supports not (gap: 1rem) {
  .topbar-nav a { margin-left: 1.4rem; }
  .footer-nav a { margin-right: 1.2rem; }
  .cta-actions .btn { margin: 0 0.4rem 0.4rem 0; }
}
/* Bewegung reduzieren (Barrierefreiheit + ältere Engines) */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ============================================================
   Einsatzbereich-Seiten: Hero, Mockup-Split, Schritte, Vorteile
   ============================================================ */
/* Seiten-Hero (Titel + Lead) */
.page-hero { padding: 3.5rem 0 1rem; }
.page-hero h1 { font-size: clamp(30px, 4.5vw, 48px); line-height: 1.1; margin: 0.3rem 0 1rem; max-width: 20ch; }
.page-hero .lead { font-size: clamp(17px, 2vw, 21px); color: #d8d8d8; max-width: 60ch; margin: 0; }

/* Mockup-Split: Text + Telefon-Attrappe */
.ab-intro { padding: 3.5rem 0; }
.ab-intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.ab-intro .ab-lead { font-size: clamp(17px, 1.8vw, 20px); color: #d8d8d8; margin: 0.5rem 0 0; }
.ab-audience { margin: 1.3rem 0 0; color: var(--muted); }
.ab-audience strong { color: var(--fg); }
@media (max-width: 860px) {
  .ab-intro-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .phone-wrap { order: -1; }
}

/* Telefon-Attrappe (reines CSS, kein Bild) */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: 290px; max-width: 100%;
  background: #111; border: 1px solid #2a2a2a;
  border-radius: 38px; padding: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.phone-screen {
  background: #fff; color: #141414;
  border-radius: 28px; overflow: hidden;
  position: relative; min-height: 560px;
  display: flex; flex-direction: column;
}
.phone-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 18px 16px; font-weight: 700; font-size: 1.05rem;
}
.phone-check {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: var(--accent); color: #111;
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.phone-fields { flex: 1 0 auto; }
.phone-field { padding: 13px 18px; border-top: 1px solid #ededed; color: #2f6b34; font-size: 0.95rem; }
.phone-field.is-placeholder { color: #9aa0a6; display: flex; justify-content: space-between; }
.phone-field.is-placeholder::after { content: "\25BE"; color: #c0c4c8; }
.phone-fab {
  margin: 10px 18px 20px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: #111;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700;
}

/* So funktioniert's – 3 Schritte mit Verbindungslinie */
.steps { padding: 4.5rem 0; border-top: 1px solid var(--border); }
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  margin-top: 2.5rem; position: relative;
}
/* Verbindungslinie hinter den Nummern */
.steps-grid::before {
  content: ""; position: absolute; top: 32px; left: 32px; right: 32px; height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(184, 240, 0, 0.15));
  z-index: 0;
}
.step { position: relative; z-index: 1; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent); color: #111;
  font-weight: 800; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin: 1.1rem 0 0.4rem; font-size: 1.15rem; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 760px) {
  .steps-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .steps-grid::before { display: none; }
}

/* Deine Vorteile – Checkliste */
.benefits { padding: 4.5rem 0; border-top: 1px solid var(--border); }
.benefits-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; max-width: 760px; }
.benefits-list li { display: flex; align-items: flex-start; gap: 0.9rem; color: #d8d8d8; }
.benefit-check {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: #111;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem; margin-top: 2px;
}

/* Einsatzbereiche-Übersicht – Kartengitter */
.ab-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem; margin-top: 2.5rem;
}
.ab-card {
  display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 1.6rem; color: var(--fg);
  transition: transform .12s ease, border-color .15s ease, background-color .15s ease;
}
.ab-card:hover { transform: translateY(-3px); border-color: var(--accent); background: #202020; text-decoration: none; }
.ab-card::before { content: ""; display: block; width: 34px; height: 4px; border-radius: 2px; background: var(--accent); margin-bottom: 1rem; }
.ab-card h2 { margin: 0 0 0.6rem; font-size: 1.15rem; line-height: 1.3; }
.ab-card p { color: var(--muted); margin: 0 0 1.2rem; font-size: 0.97rem; }
.ab-card .arrow-link { margin-top: auto; color: var(--accent); font-weight: 600; }

/* CTA-Band: linksbündig, zwei Buttons, Rechtshinweis */
.cta-band { text-align: left; }
.cta-band .cta-text { margin: 0.3rem 0 1.4rem; max-width: 70ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 0 0 1.2rem; }
.cta-legal { color: var(--muted); font-size: 0.92rem; max-width: 72ch; margin: 0; }

/* Kontaktblock im Footer */
.footer-contact {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.4rem;
  color: var(--muted); font-size: 0.92rem;
  margin-top: 1.5rem; padding-top: 1.3rem; border-top: 1px solid var(--border);
}
.footer-contact a { color: var(--muted); }
.footer-contact a:hover { color: var(--accent); text-decoration: none; }
.footer-tagline { flex-basis: 100%; color: var(--muted); margin: 0; max-width: 52ch; }

/* Datenschutzfreundliche YouTube-Einbettung (Zwei-Klick) */
.yt-privacy {
  position: relative; margin: 1.6rem 0; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--radius-card); background: #111;
}
.yt-privacy__btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  width: 100%; min-height: 240px; aspect-ratio: 16 / 9;
  border: 0; cursor: pointer; color: var(--fg); font: inherit;
  background: radial-gradient(circle at 50% 42%, rgba(184, 240, 0, 0.14), transparent 60%), #0f0f0f;
  -webkit-appearance: none; appearance: none;
}
.yt-privacy__play {
  position: relative; width: 74px; height: 74px; border-radius: 50%;
  background: var(--accent); transition: background-color .15s ease, transform .12s ease;
}
.yt-privacy__play::before {
  content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 15px 0 15px 25px;
  border-color: transparent transparent transparent #111111;
}
.yt-privacy__btn:hover .yt-privacy__play { background: var(--accent-dark); transform: scale(1.05); }
.yt-privacy__title { font-weight: 700; font-size: 1.1rem; }
.yt-privacy__note {
  margin: 0; padding: 0.8rem 1rem; color: var(--muted); font-size: 0.85rem;
  background: #0d0d0d; border-top: 1px solid var(--border);
}
.yt-privacy__note a { color: var(--accent); }
.yt-privacy__frame { position: relative; aspect-ratio: 16 / 9; }
.yt-privacy__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@supports not (aspect-ratio: 16 / 9) {
  .yt-privacy__frame { height: 0; padding-bottom: 56.25%; }
}

/* Kundenlogo-Band */
.logos-band { padding: 2.8rem 0; border-top: 1px solid var(--border); }
.logos-title {
  text-align: center; color: var(--muted); font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 1.4rem;
}
.logos-row {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 1.4rem;
}
.logo-item {
  display: flex; align-items: center; justify-content: center;
  background: #ffffff; border-radius: 8px; padding: 0.85rem 1.4rem; min-height: 64px; min-width: 150px;
}
.logo-item img { max-height: 40px; width: auto; display: block; }
.logo-text { color: #1a1a1a; font-weight: 700; text-align: center; }

/* Einsatzbereiche-Übersicht & Lead */
.ab-overview { padding: 0 0 4.5rem; }
.page-hero .lead-rich { color: #d8d8d8; max-width: 62ch; }
.page-hero .lead-rich p { font-size: clamp(17px, 2vw, 21px); margin: 0; }
.ab-body { padding: 1rem 0 0; }

/* ---- App-Screenshot im Telefonrahmen ---- */
.phone-screen--img { min-height: 0; background: #fff; padding: 0; }
.phone-screen--img img { width: 100%; height: auto; display: block; }

/* ---- App Store / Google Play Badges ---- */
.app-badges { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.6rem; }
.store-badge {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.65rem 1.1rem; border-radius: 12px;
  background: #000; border: 1px solid #333; color: #fff;
  text-decoration: none; line-height: 1.1; transition: border-color 0.15s, transform 0.15s;
}
.store-badge:hover { border-color: var(--accent); transform: translateY(-2px); }
.store-badge svg { flex: none; width: 26px; height: 26px; }
.store-badge .store-badge-sub { display: block; font-size: 0.68rem; opacity: 0.8; }
.store-badge .store-badge-main { display: block; font-size: 1.05rem; font-weight: 700; }

/* ---- Mobile-App-Showcase (Startseite) ---- */
.appsection { padding: 4.5rem 0; border-top: 1px solid var(--border); }
.appsection-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center;
}
.appsection-phones { display: flex; justify-content: center; gap: 1.4rem; }
.phone--sm { width: 220px; }
.phone--sm .phone-screen { min-height: 0; }
.phone--raise { transform: translateY(26px); }
@media (max-width: 860px) {
  .appsection-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .appsection-phones { order: -1; }
  .phone--sm { width: 180px; }
}

/* ---- Backoffice-Galerie (Produktseite) ---- */
.shots {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem; margin: 1.8rem 0 0;
}
.shot { margin: 0; }
.shot img {
  width: 100%; height: auto; display: block; border-radius: 12px;
  border: 1px solid var(--border); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.shot figcaption { margin-top: 0.7rem; color: var(--muted); font-size: 0.92rem; }

/* ---- Lightbox: Bilder per Klick vergrößern ---- */
.is-zoomable { cursor: zoom-in; transition: filter 0.15s, transform 0.15s; }
.is-zoomable:hover { filter: brightness(1.04); }
.is-zoomable:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 4vmin; background: rgba(0, 0, 0, 0.92);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: 96vw; max-height: 92vh; width: auto; height: auto;
  border-radius: 10px; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
  cursor: zoom-out; background: #fff;
}
.lightbox__close {
  position: absolute; top: 16px; right: 20px;
  width: 46px; height: 46px; border-radius: 50%; border: none;
  background: rgba(255, 255, 255, 0.12); color: #fff;
  font-size: 1.9rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox__close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
body.lightbox-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .is-zoomable { transition: none; }
}
