:root {
  --flxry-content-max: 1140px;
  /* Landing-Farben – Flexary Tech (Cyan / Slate / Indigo) */
  --navy: #f8fafc;
  --navy-mid: #f1f5f9;
  --navy-light: #e2e8f0;
  --slate-900: #0f172a;
  --accent-cyan: #0ea5e9;
  --accent-teal: #06b6d4;
  --accent-indigo: #6366f1;
  --accent-blue: var(--accent-cyan);
  --accent-grad-start: #0ea5e9;
  --accent-grad-end: #6366f1;
  --text-primary: #0f172a;
  --text-light: #0f172a;
  --text-muted: #334155;
  --text-dim: #64748b;
  --white: #ffffff;
  --card-bg: #ffffff;
  --card-border: rgba(15, 23, 42, 0.08);
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-card: 0 4px 32px rgba(15, 23, 42, 0.08);
  --nav-bg: rgba(248, 250, 252, 0.88);
  --footer-bg: #ffffff;
  --flxry-link: #0369a1;
  --flxry-link-hover: #0c4a6e;
  /* Primary-Buttons: Weiß auf ruhigem Cyan (weicher als Schwarz auf Neon) */
  --btn-primary-bg: #0369a1;
  --btn-primary-fg: #ffffff;
  --btn-primary-hover: #0c4a6e;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; color-scheme: light; }

/* Öffentliche Seiten: fester Header — Anker wie Support/Rechtsseiten (.flxry-subpage-first padding-top) */
html.flxry-public-html {
  scroll-padding-top: calc(clamp(5.5rem, 12vw, 7.5rem) + env(safe-area-inset-top, 0px));
}

html[data-theme="dark"] {
  color-scheme: dark;
  --navy: #0b1220;
  --navy-mid: #111827;
  --navy-light: #1e293b;
  --text-primary: #f8fafc;
  --text-light: #f8fafc;
  --text-muted: rgba(226, 232, 240, 0.86);
  --text-dim: rgba(226, 232, 240, 0.68);
  --card-bg: #1e293b;
  --card-border: rgba(148, 163, 184, 0.22);
  --shadow-sm: none;
  --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.5);
  --nav-bg: rgba(2, 6, 23, 0.92);
  --footer-bg: #020617;
  --flxry-link: #67e8f9;
  --flxry-link-hover: #a5f3fc;
  --accent-blue: var(--flxry-link);
  --accent-grad-start: #22d3ee;
  --accent-grad-end: #a5b4fc;
  --btn-primary-bg: #0e7490;
  --btn-primary-fg: #ffffff;
  --btn-primary-hover: #0891b2;
}

body {
  font-family: var(--font-sans);
  background: var(--navy);
  color: var(--text-light);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}

/* Fließtext-Links in <main> (z. B. FAQ „Preise“): Markenfarbe statt Browser-Blau/Violett (:visited) */
body.flxry-php-app:not(.admin-body) main a:not([class]):any-link {
  color: var(--flxry-link);
}
body.flxry-php-app:not(.admin-body) main a:not([class]):hover {
  color: var(--flxry-link-hover);
}

/* ---- NAV (nur öffentliche Seiten; Admin nutzt ebenfalls <nav> für die Sidebar) ---- */
body:not(.admin-body) nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem clamp(1rem, 5vw, 2.5rem);
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.theme-toggle {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: var(--navy-mid);
  color: var(--text-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 0;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.theme-toggle:hover { border-color: rgba(14, 165, 233, 0.45); background: rgba(14, 165, 233, 0.08); }
.theme-toggle:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}
.theme-toggle .theme-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.theme-toggle .theme-icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .theme-icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .theme-icon-sun { display: block; }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: 0 1 auto;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
}
.logo-mark-wrap {
  display: grid;
  grid-template-areas: stack;
  align-items: center;
  line-height: 0;
  flex-shrink: 1;
  min-width: 0;
}
.logo-mark-wrap .logo-mark {
  grid-area: stack;
  height: clamp(44px, 6.5vw, 58px);
  width: auto;
  max-width: min(240px, 62vw);
  object-fit: contain;
  object-position: left center;
  display: block;
}
/* Nur die Kopfzeile: kompakter als Footer / übrige Logos */
body:not(.admin-body) nav .logo-mark-wrap .logo-mark {
  height: clamp(34px, 4.5vw, 44px);
  max-width: min(152px, 28vw);
}
.logo-mark-wrap .logo-on-dark { display: none; }
html[data-theme="dark"] .logo-mark-wrap .logo-on-light { display: none; }
html[data-theme="dark"] .logo-mark-wrap .logo-on-dark { display: block; }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
html[data-theme="dark"] .nav-links a {
  color: rgba(226, 232, 240, 0.86);
}
html[data-theme="dark"] .nav-links a:hover {
  color: #ffffff;
}

/* Desktop: alle Nav-Punkte (Text + Konto-Button) auf einer gemeinsamen Mittellinie */
@media (min-width: 901px) {
  body:not(.admin-body) .nav-links {
    align-items: center;
    flex-wrap: nowrap;
  }
  /* nicht .nav-cta-mobile — sonst überschreibt display:flex das versteckte Mobile-CTA und „Jetzt anfragen“ erscheint doppelt */
  body:not(.admin-body) .nav-links > li:not(.nav-cta-mobile) {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
  body:not(.admin-body) .nav-actions {
    flex-wrap: nowrap;
    align-items: center;
    min-width: 0;
  }
  /* Text-Links wie der Konto-Button vertikal zentrieren (kein „Hochrutschen“ durch Stretch) */
  body:not(.admin-body) .nav-links > li > a:not(.nav-cta):not(.nav-lang-toggle) {
    display: inline-flex;
    align-items: center;
    line-height: 1.25;
  }
}

.nav-cta {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg) !important;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  border: 1px solid transparent;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  background: var(--btn-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(3, 105, 161, 0.35);
}
html[data-theme="dark"] .nav-cta {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg) !important;
}
html[data-theme="dark"] .nav-cta:hover {
  background: var(--btn-primary-hover);
  box-shadow: 0 8px 24px rgba(14, 116, 144, 0.35);
}

/* CTA nur im Hamburger-Menü (Mobile); in der Leiste: Theme links neben Desktop-CTA */
.nav-cta-mobile {
  display: none;
}
.nav-cta--bar {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* ---- Sprachumschalter (Toggle DE ↔ EN) ------------------------------ */
.nav-lang-switch {
  display: inline-flex;
  align-items: center;
  margin-left: 0.5rem;
  line-height: 0;
}
.nav-lang-toggle {
  --lang-pad: 3px;
  position: relative;
  display: inline-grid !important;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  justify-items: stretch;
  box-sizing: border-box;
  width: 88px;
  height: 34px;
  padding: var(--lang-pad);
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--navy-mid);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 0;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.2s, background-color 0.2s;
  overflow: hidden;
}
.nav-lang-toggle:hover {
  border-color: rgba(37, 99, 235, 0.35);
}
.nav-lang-toggle:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}
.nav-lang-toggle__thumb {
  position: absolute;
  top: var(--lang-pad);
  bottom: var(--lang-pad);
  left: var(--lang-pad);
  width: calc((100% - 2 * var(--lang-pad)) / 2);
  border-radius: 999px;
  background: var(--card-bg);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
  transition: transform 0.22s ease;
  pointer-events: none;
  z-index: 0;
}
.nav-lang-toggle.is-en .nav-lang-toggle__thumb {
  transform: translateX(100%);
}
.nav-lang-toggle__opt {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s;
  user-select: none;
}
.nav-lang-toggle.is-de .nav-lang-toggle__opt[data-lang="de"],
.nav-lang-toggle.is-en .nav-lang-toggle__opt[data-lang="en"] {
  color: var(--text-primary);
}
html[data-theme="dark"] .nav-lang-toggle {
  background: var(--navy-light);
}
html[data-theme="dark"] .nav-lang-toggle__thumb {
  background: #1c1c24;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .nav-lang-toggle__opt {
  color: rgba(255, 255, 255, 0.4);
}
html[data-theme="dark"] .nav-lang-toggle.is-de .nav-lang-toggle__opt[data-lang="de"],
html[data-theme="dark"] .nav-lang-toggle.is-en .nav-lang-toggle__opt[data-lang="en"] {
  color: #ffffff;
}
/* Legacy Admin/Login: DE · EN Links weiterhin stilisiert */
.nav-lang-switch .nav-lang-link {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.2rem 0.35rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  transition: color 0.2s, background-color 0.2s;
}
.nav-lang-switch .nav-lang-link:hover {
  color: var(--text-primary);
}
.nav-lang-switch .nav-lang-link.is-active {
  color: var(--text-primary);
  background: rgba(14, 165, 233, 0.12);
}
.nav-lang-switch .nav-lang-sep {
  opacity: 0.45;
  user-select: none;
  line-height: 1;
}
@media (max-width: 900px) {
  .nav-links.open .nav-lang-switch {
    justify-content: center;
    width: 100%;
    margin: 0;
  }
  .nav-links.open .nav-lang-toggle {
    --lang-pad: 4px;
    width: 124px;
    height: 44px;
  }
  .nav-links.open .nav-lang-toggle__opt {
    font-size: 0.82rem;
  }
}

.hamburger {
  --ham-bar: 2px;
  --ham-gap: 5px;
  --ham-shift: calc(var(--ham-bar) + var(--ham-gap));
  display: none;
  position: relative;
  box-sizing: border-box;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  margin: 0 -4px 0 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--ham-gap);
  border-radius: 50%;
  color: var(--text-primary);
  line-height: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.hamburger:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}
.hamburger span {
  display: block;
  width: 20px;
  height: var(--ham-bar);
  background: currentColor;
  margin: 0;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.hamburger.is-open {
  background: var(--navy-mid);
  border: 1px solid var(--card-border);
  color: var(--accent-blue);
}
html[data-theme="dark"] .hamburger.is-open {
  background: var(--navy-light);
  color: #67e8f9;
}
.hamburger.is-open span:nth-child(1) {
  transform: translateY(var(--ham-shift)) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(calc(var(--ham-shift) * -1)) rotate(-45deg);
}

/* Backdrop hinter dem aufgeklappten Mobile-Menü */
.nav-mobile-backdrop {
  display: none;
}
@media (max-width: 900px) {
  .nav-mobile-backdrop:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 99;
    border: none;
    padding: 0;
    margin: 0;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    cursor: pointer;
    animation: flxry-nav-backdrop-in 0.22s ease;
  }
  html[data-theme="dark"] .nav-mobile-backdrop:not([hidden]) {
    background: rgba(0, 0, 0, 0.55);
  }
}
@keyframes flxry-nav-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---- HERO ---- */
.hero {
  position: relative; z-index: 1;
  overflow: hidden;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  text-align: left;
  padding: 8rem 5% 5rem;
  background: var(--navy);
}

/* Diagonal-Split Hero (Mockup) */
.hero.hero--split,
body.flxry-php-app:not(.admin-body) main section.hero.hero--split {
  display: block;
  min-height: 0;
  padding: 0;
  background: #fff;
  color: #fff;
  text-align: left;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100vh - 0px);
  min-height: calc(100dvh - 0px);
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  position: relative;
}

.hero-split__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(6.5rem, 12vh, 8.5rem) clamp(1.5rem, 5vw, 4.5rem) clamp(3rem, 8vh, 5rem) clamp(1.5rem, 5vw, 4rem);
  background: var(--slate-900);
  /* Scharfe Diagonale wie im Mockup */
  clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
}

.hero-split__visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(5rem, 10vh, 7rem) clamp(1rem, 4vw, 3rem) clamp(2rem, 6vh, 4rem);
  background: #ffffff;
  margin-left: -18%;
  overflow: hidden;
}

.hero-illu {
  width: min(100%, 560px);
  height: auto;
  position: relative;
  z-index: 1;
  animation: flxry-illu-in 0.9s ease-out both;
}

.hero-split__glow {
  position: absolute;
  width: min(70%, 28rem);
  height: min(70%, 28rem);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: flxry-glow-breathe 5s ease-in-out infinite;
}

/* Illustration surfaces – Light (helles Hero-Panel) */
.illu-blob { fill: #F1F5F9; }
.illu-blob--b { fill: #EEF2FF; }
.illu-card { fill: #ffffff; stroke: #CBD5E1; }
.illu-chrome { fill: #F8FAFC; }
.illu-bar { fill: #E2E8F0; }
.illu-chip--cyan { fill: #E0F2FE; }
.illu-chip--violet { fill: #EEF2FF; }
.illu-shadow { fill: #E2E8F0; }

/*
 * Dark Mode = Kontrast, nicht Redesign:
 * Gleiche Diagonale (links dunkler, rechts heller), nur Palette angepasst.
 * Rechts bleibt klar heller als links, damit der Split sichtbar bleibt.
 */
html[data-theme="dark"] .hero.hero--split,
html[data-theme="dark"] body.flxry-php-app:not(.admin-body) main section.hero.hero--split {
  background: #334155;
}
html[data-theme="dark"] .hero-split__copy {
  background: #020617;
}
html[data-theme="dark"] .hero-split__visual {
  background: #334155;
}
html[data-theme="dark"] .hero-split__glow {
  background: radial-gradient(circle, rgba(34, 211, 238, 0.2), transparent 70%);
}
html[data-theme="dark"] .hero.hero--split .hero-desc {
  color: rgba(241, 245, 249, 0.92);
}
html[data-theme="dark"] .hero.hero--split .hero__title-line--accent {
  background: linear-gradient(105deg, #67e8f9, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
html[data-theme="dark"] .hero.hero--split .btn-p {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
}
html[data-theme="dark"] .hero.hero--split .btn-p:hover {
  background: var(--btn-primary-hover);
}

html[data-theme="dark"] .illu-blob { fill: #475569; }
html[data-theme="dark"] .illu-blob--b { fill: #3f3a6b; }
html[data-theme="dark"] .illu-card { fill: #1e293b; stroke: #94a3b8; }
html[data-theme="dark"] .illu-chrome { fill: #0f172a; }
html[data-theme="dark"] .illu-bar { fill: #64748b; }
html[data-theme="dark"] .illu-chip--cyan { fill: #0e7490; }
html[data-theme="dark"] .illu-chip--violet { fill: #4c1d95; }
html[data-theme="dark"] .illu-shadow { fill: #1e293b; }

/* Motion – nur Transform/Opacity (GPU) */
@keyframes flxry-illu-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes flxry-glow-breathe {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
@keyframes flxry-float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes flxry-spin {
  to { transform: rotate(360deg); }
}
@keyframes flxry-dash {
  to { stroke-dashoffset: -28; }
}

.illu-float--slow { animation: flxry-float-y 7s ease-in-out infinite; }
.illu-float--mid { animation: flxry-float-y 5.5s ease-in-out infinite 0.4s; }
.illu-float--fast { animation: flxry-float-y 4.2s ease-in-out infinite 0.8s; }
.illu-spin { animation: flxry-spin 18s linear infinite; transform-box: fill-box; transform-origin: center; }
.illu-spin--rev { animation-direction: reverse; animation-duration: 14s; }
.illu-dash { animation: flxry-dash 2.4s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  .hero-illu,
  .hero-split__glow,
  .illu-float,
  .illu-spin,
  .illu-dash,
  .hero.hero--split .btn-p {
    animation: none !important;
  }
}

.hero.hero--split .hero__title,
body.flxry-php-app:not(.admin-body) main section.hero.hero--split .hero__title {
  font-family: var(--font-display), sans-serif;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 1.25rem;
  max-width: 14ch;
  color: #fff;
  text-align: left;
  hyphens: none;
  -webkit-hyphens: none;
}

.hero.hero--split .hero__title-line {
  display: block;
  white-space: normal;
}

.hero.hero--split .hero__title-line--accent {
  background: linear-gradient(105deg, #22d3ee, #a5b4fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero.hero--split .hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 400;
  color: rgba(226, 232, 240, 0.9);
  max-width: 28rem;
  margin: 0 0 2rem;
  line-height: 1.65;
  text-align: left;
}

.hero.hero--split .hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 0;
}

.hero.hero--split .btn-p {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 0.75rem;
  font-family: var(--font-sans), sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  border: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: none;
  animation: flxry-cta-pulse 2.8s ease-in-out infinite;
}

.hero.hero--split .btn-p:hover {
  background: var(--btn-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(3, 105, 161, 0.35);
}

@keyframes flxry-cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); }
  50% { box-shadow: 0 0 0 8px rgba(14, 165, 233, 0.12); }
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-split__copy {
    clip-path: none;
    padding: clamp(5.5rem, 14vw, 7rem) clamp(1.25rem, 5vw, 2rem) 2.5rem;
  }
  .hero-split__visual {
    margin-left: 0;
    padding: 1rem 1.25rem 3rem;
    background: #fff;
  }
  html[data-theme="dark"] .hero-split__visual {
    background: #334155;
  }
  .hero.hero--split .hero__title,
  body.flxry-php-app:not(.admin-body) main section.hero.hero--split .hero__title {
    max-width: 18ch;
    font-size: clamp(1.85rem, 7vw, 2.6rem);
  }
  .hero-illu {
    width: min(100%, 420px);
  }
}

h1 {
  font-family: var(--font-display), sans-serif; font-weight: 700;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  max-width: 800px;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  text-wrap: balance;
}

.flxry-accent-word {
  background: linear-gradient(105deg, var(--accent-grad-start), var(--accent-grad-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
html[data-theme="dark"] .flxry-accent-word {
  background: linear-gradient(105deg, var(--accent-grad-start), var(--accent-grad-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
h1 .gradient-text,
.gradient-text {
  background: linear-gradient(105deg, var(--accent-grad-start), var(--accent-grad-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg); padding: 0.85rem 2rem;
  border-radius: var(--radius-sm); font-weight: 700; font-size: 0.95rem;
  text-decoration: none; display: inline-block;
  transition: transform 0.2s, opacity 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.95;
  background: var(--btn-primary-hover);
  box-shadow: 0 8px 30px rgba(3, 105, 161, 0.35);
}
html[data-theme="dark"] .btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  box-shadow: none;
}
html[data-theme="dark"] .btn-primary:hover {
  background: var(--btn-primary-hover);
  box-shadow: 0 8px 28px rgba(14, 116, 144, 0.28);
}

.btn-ghost {
  color: var(--text-primary); padding: 0.85rem 2rem;
  border-radius: var(--radius-sm); font-weight: 500; font-size: 0.95rem;
  text-decoration: none; display: inline-block;
  border: 1px solid var(--card-border);
  transition: border-color 0.2s, background 0.2s;
  background: var(--white);
}
.btn-ghost:hover { border-color: rgba(14, 165, 233,0.35); background: var(--navy-mid); }

html[data-theme="dark"] .btn-ghost {
  color: var(--text-light);
  background: transparent;
  border-color: var(--card-border);
}
html[data-theme="dark"] .btn-ghost:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
}

/* ---- BRANCHEN (Raster) ---- */
.flxry-branchen-section {
  background: var(--navy-mid);
  border-top: 1px solid var(--card-border);
}

.flxry-scroll-strip {
  background: var(--navy-light);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 1.15rem 0;
  overflow: hidden;
}

/* Lauftext unten im Hero (volle Breite, leicht abgesetzter Streifen) */
.flxry-scroll-strip--hero {
  background: rgba(15, 23, 42, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.05rem 0;
}

html[data-theme="dark"] .flxry-scroll-strip--hero {
  background: rgba(11, 18, 32, 0.95);
}

.flxry-scroll-strip--hero .flxry-scroll-strip__item {
  color: rgba(226, 232, 240, 0.72);
}

html:not([data-theme="dark"]) .flxry-scroll-strip--hero .flxry-scroll-strip__item {
  color: rgba(226, 232, 240, 0.72);
}

.flxry-scroll-strip__track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  width: max-content;
  animation: flxry-strip-scroll 28s linear infinite;
}

.flxry-scroll-strip:hover .flxry-scroll-strip__track {
  animation-play-state: paused;
}

@keyframes flxry-strip-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.flxry-scroll-strip__item {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.flxry-scroll-strip__item::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--accent-blue);
  border-radius: 50%;
  flex-shrink: 0;
}

html[data-theme="dark"] .flxry-scroll-strip__item::before {
  background: var(--flxry-link);
}

.flxry-branchen-block {
  padding-top: 0;
}

/* 10 Kacheln: 2×5 mobil/tablet, 5×2 ab Desktop (Teiler von 10) */
.flxry-branchen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(2.25rem, 4vw, 3rem);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card-border);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 900px) {
  .flxry-branchen-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.flxry-branchen-card {
  background: var(--card-bg);
  padding: 1.35rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 100%;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.flxry-branchen-card:hover {
  background: var(--navy-mid);
  box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.12);
}

html[data-theme="dark"] .flxry-branchen-card:hover {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.2);
}

/* Branchen-Kachel-Icons (analog Leistungs-Section-Icons), etwas kompakter */
.flxry-branchen-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--flxry-link);
  flex-shrink: 0;
}

.flxry-branchen-ico svg {
  width: 20px;
  height: 20px;
  display: block;
}

html[data-theme="dark"] .flxry-branchen-ico {
  background: rgba(34, 211, 238, 0.14);
  border-color: rgba(103, 232, 249, 0.35);
  color: #67e8f9;
}

.flxry-branchen-name {
  font-family: var(--font-display), sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.flxry-branchen-desc {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  .flxry-scroll-strip__track {
    animation: none;
  }
}

/* ---- SECTIONS ---- */
section { position: relative; z-index: 1; padding: 6rem 5%; }

/* Öffentliche Flxry-Seiten: Sektion volle Breite (Hintergrund/Bänder), Inhalt begrenzt */
body.flxry-php-app:not(.admin-body) main section {
  padding-left: clamp(1rem, 5vw, 2.5rem);
  padding-right: clamp(1rem, 5vw, 2.5rem);
}

body.flxry-php-app:not(.admin-body) main section > * {
  max-width: var(--flxry-content-max);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Hero: Diagonal-Split – volle Breite, kein Content-Max-Cap */
body.flxry-php-app:not(.admin-body) main section.hero.hero--split {
  display: block;
  min-height: 0;
  padding: 0;
  background: #fff;
}

body.flxry-php-app:not(.admin-body) main section.hero.hero--split > .hero-split {
  max-width: none;
  width: 100%;
  margin: 0;
}

body.flxry-php-app:not(.admin-body) main section.hero:not(.hero--compact):not(.hero--split) {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: 8rem;
  padding-bottom: 0;
  background-color: var(--navy);
}

body.flxry-php-app:not(.admin-body) main section.hero:not(.hero--compact):not(.hero--split) .hero__content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  width: 100%;
  max-width: var(--flxry-content-max);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding-bottom: clamp(2rem, 5vw, 3.25rem);
}

body.flxry-php-app:not(.admin-body) main section.hero:not(.hero--compact) > .flxry-scroll-strip {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  max-width: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  box-sizing: border-box;
}

/* Wie contact-wrap / restore-wrap: gleiche zentrierte Content-Spalte, Text linksbündig */
body.flxry-php-app:not(.admin-body) main section > .section-intro {
  max-width: var(--flxry-content-max);
  text-align: left;
}

body.flxry-php-app:not(.admin-body) main section > .section-intro h2 {
  text-align: left;
}

body.flxry-php-app:not(.admin-body) main section > .section-intro p {
  text-align: left;
  max-width: 42rem;
}

/* Anker auf Intro-Kopf / Kontakt: Abstand nur über html scroll-padding-top (wie Unterseiten), kein Extra-Margin */
body.flxry-php-app:not(.admin-body) main .section-intro[id],
body.flxry-php-app:not(.admin-body) main .contact-wrap#kontakt {
  scroll-margin-top: 0;
  outline: none;
}

/* Desktop: #bereiche direkt nach Hero — etwas mehr Luft unter der vollen Nav-Leiste */
@media (min-width: 901px) {
  body.flxry-php-app:not(.admin-body) main #bereiche.section-intro {
    scroll-margin-top: 1.25rem;
  }
}

/* Lauftext: bündig unter Nav — scroll-padding wie Unterseiten, negativer Ausgleich mit gemessener Nav-Höhe (JS: --flxry-nav-offset) */
body.flxry-php-app:not(.admin-body) main #branchen.flxry-scroll-strip--hero {
  scroll-margin-top: calc(var(--flxry-nav-offset, 4.75rem) - clamp(5.5rem, 12vw, 7.5rem));
  outline: none;
}

body.flxry-php-app:not(.admin-body) main section > .faq-list {
  max-width: var(--flxry-content-max);
}

body.flxry-php-app:not(.admin-body) main section.hero.hero--split .hero__title {
  max-width: 14ch;
  margin-left: 0;
  margin-right: 0;
}

body.flxry-php-app:not(.admin-body) main section.hero.hero--split .hero-desc {
  max-width: 28rem;
  margin-left: 0;
  margin-right: 0;
}

.section-intro-lead {
  color: var(--text-muted);
  margin-top: 1rem;
  font-size: 1.02rem;
  line-height: 1.65;
}

/* ---- Showroom (nur Startseite, Anker #showroom am Intro) ---- */
/* Anker + Band im Wechsel mit #leistungen / #preise (s. LANDING-BANDS unten) */
.flxry-section-showroom {
  background: var(--navy-mid);
  border-top: 1px solid var(--card-border);
}

.flxry-section-showroom .flxry-showroom-block:first-of-type {
  margin-top: clamp(2rem, 4vw, 3rem);
}

/* 2 Referenz-Karten: 2 nebeneinander oder 1 Spalte */
.ref-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: stretch;
}

@media (max-width: 720px) {
  .ref-showcase-grid {
    grid-template-columns: 1fr;
  }
}

.ref-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.ref-card:hover {
  border-color: rgba(14, 165, 233, 0.28);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.ref-card--has-media {
  padding: 0;
}

.ref-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 160px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--card-border);
  text-decoration: none;
  transition: opacity 0.2s;
}

.ref-card__media:hover {
  opacity: 0.94;
}

.ref-card__media:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

.ref-card__body {
  padding: 1.35rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
}

.ref-card__body--cta {
  padding-top: 1.5rem;
}

.ref-card--cta {
  background: var(--card-bg);
}

html[data-theme="dark"] .ref-card--cta {
  background: var(--card-bg);
}

.ref-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.ref-card__pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  background: rgba(14, 165, 233, 0.12);
  color: var(--flxry-link);
  border: 1px solid rgba(14, 165, 233, 0.22);
}

.ref-card__pill--muted {
  background: var(--navy-mid);
  color: var(--text-dim);
  border-color: var(--card-border);
}

html[data-theme="dark"] .ref-card__pill--muted {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.ref-card__title {
  font-family: var(--font-display), sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.25;
}

.ref-card__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.ref-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.15rem;
}

.ref-card__tags span {
  font-size: 0.75rem;
  color: var(--text-dim);
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--navy-mid);
}

html[data-theme="dark"] .ref-card__tags span {
  background: rgba(255, 255, 255, 0.04);
}

.ref-card__footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ref-card__footer--stack {
  border-top: none;
  padding-top: 0.35rem;
  gap: 0.75rem;
}

.ref-card__result {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.ref-card__result strong {
  color: var(--text-primary);
  font-weight: 600;
}

.ref-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
}

.ref-card__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--flxry-link);
  text-decoration: none;
  transition: color 0.2s;
}

.ref-card__link:hover {
  color: var(--flxry-link-hover);
  text-decoration: underline;
}

.ref-card__link--primary {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--navy-mid);
  color: var(--text-primary);
  text-decoration: none;
}

.ref-card__link--primary:hover {
  border-color: rgba(14, 165, 233, 0.35);
  color: var(--flxry-link);
  text-decoration: none;
}

html[data-theme="dark"] .ref-card__link--primary {
  background: rgba(255, 255, 255, 0.04);
}

.ref-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--btn-primary-fg);
  background: var(--btn-primary-bg);
  box-shadow: none;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s, background 0.2s;
  width: fit-content;
}

html[data-theme="dark"] .ref-card__cta {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  box-shadow: none;
}

.ref-card__cta:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(14, 165, 233, 0.3);
}

html[data-theme="dark"] .ref-card__cta:hover {
  box-shadow: 0 6px 22px rgba(34, 211, 238, 0.28);
}

.section-tag {
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--flxry-link);
  margin-bottom: 0.75rem;
}

h2 {
  font-family: var(--font-display), sans-serif; font-weight: 700;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  color: var(--text-primary); letter-spacing: -0.5px;
  line-height: 1.18;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  text-wrap: balance;
}

.section-intro { max-width: 600px; }
.section-intro p { color: var(--text-muted); margin-top: 1rem; font-size: 1.05rem; }

/* ---- SERVICE-NAV (Startseite #bereiche) – 4er-Karten wie Mockup ---- */
.flxry-section-service-nav {
  background: #ffffff;
  border-top: none;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

html[data-theme="dark"] .flxry-section-service-nav {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.flxry-section-service-nav .section-intro-lead {
  display: none;
}

.section-intro--center {
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

body.flxry-php-app:not(.admin-body) main section > .section-intro.section-intro--center,
body.flxry-php-app:not(.admin-body) main section > .section-intro.section-intro--center h2,
body.flxry-php-app:not(.admin-body) main section > .section-intro.section-intro--center p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.flxry-section-service-nav .flxry-service-link-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.flxry-section-service-nav .flxry-service-link-grid > li {
  flex: none;
  max-width: none;
  list-style: none;
}

.flxry-section-service-nav .flxry-service-link-card {
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 1.35rem;
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  height: 100%;
  min-height: 100%;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.flxry-section-service-nav .flxry-service-link-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
}

.flxry-section-service-nav .flxry-service-link-card__price {
  margin-top: auto;
  padding-top: 1rem;
}

.flxry-section-service-nav .flxry-service-link-card:hover {
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: 0 16px 40px rgba(14, 165, 233, 0.12);
  transform: translateY(-4px);
}

html[data-theme="dark"] .flxry-section-service-nav .flxry-service-link-card {
  background: #1e293b;
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .flxry-section-service-nav .flxry-service-link-card:hover {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 14px 36px rgba(34, 211, 238, 0.12);
}

html[data-theme="dark"] .flxry-section-service-nav .flxry-service-link-card__title {
  color: #f8fafc;
}

html[data-theme="dark"] .flxry-section-service-nav .flxry-service-link-card__teaser {
  color: rgba(226, 232, 240, 0.78);
}

html[data-theme="dark"] .flxry-section-service-nav .flxry-service-link-card__price {
  color: #67e8f9;
}

.flxry-section-service-nav .flxry-service-link-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  transition: transform 0.25s ease;
}

.flxry-section-service-nav .flxry-service-link-card:hover .flxry-service-link-card__icon {
  transform: scale(1.06);
}

.flxry-section-service-nav .flxry-service-link-card__arrow {
  display: none;
}

.flxry-section-service-nav .flxry-service-link-card__title {
  font-size: 1.05rem;
  text-transform: none;
}

@media (max-width: 1000px) {
  .flxry-section-service-nav .flxry-service-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .flxry-section-service-nav .flxry-service-link-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    border: none;
    background: transparent;
    box-shadow: none;
  }
  .flxry-section-service-nav .flxry-service-link-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  }
  html[data-theme="dark"] .flxry-section-service-nav .flxry-service-link-card {
    border-color: rgba(148, 163, 184, 0.22);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }
}

/* ---- WARUM FLEXARY / Trust ---- */
.flxry-section-leistungen {
  background: var(--navy-mid);
  border-top: 1px solid var(--card-border);
}

.flxry-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-top: 0;
  width: 100%;
}

.flxry-trust__visual {
  display: flex;
  justify-content: center;
}

.trust-illu {
  width: min(100%, 440px);
  height: auto;
}

.flxry-trust__lead {
  color: var(--text-muted);
  margin: 1rem 0 1.75rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

.flxry-trust__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
}

.flxry-trust__list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.flxry-trust__check {
  flex-shrink: 0;
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.12);
  color: var(--accent-cyan);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
  padding: 0;
  line-height: 0;
  overflow: hidden;
  font-size: 0;
}

html[data-theme="dark"] .flxry-trust__check {
  background: rgba(34, 211, 238, 0.18);
  color: #67e8f9;
}

html[data-theme="dark"] .flxry-trust__lead,
html[data-theme="dark"] .flxry-trust__list li > div > span {
  color: rgba(226, 232, 240, 0.8);
}

html[data-theme="dark"] .flxry-trust__list strong {
  color: #f8fafc;
}

.flxry-trust__check svg {
  width: 14px;
  height: 14px;
  display: block;
  flex-shrink: 0;
  margin: 0;
}

.flxry-trust__list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

/* Nur Fließtext – nicht .flxry-trust__check (sonst display:block → Haken oben links) */
.flxry-trust__list li > div > span {
  display: block;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 860px) {
  .flxry-trust {
    grid-template-columns: 1fr;
  }
  .flxry-trust__visual {
    order: -1;
  }
}

/* Legacy services-list (falls noch genutzt) */
.flxry-section-leistungen .flxry-services-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--card-border);
}

/* Touch: Pfeil als Tap-Hinweis sichtbar (nicht nur bei Hover) */
@media (hover: none) {
  .flxry-service-link-card__arrow {
    opacity: 0.45;
    transform: none;
  }

  .flxry-service-link-card:active .flxry-service-link-card__arrow {
    opacity: 0.85;
  }
}

@media (max-width: 640px) {
  .flxry-section-service-nav .flxry-service-link-grid {
    margin-top: 1.5rem;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    border: none;
    background: transparent;
    box-shadow: none;
  }

  .flxry-section-service-nav .flxry-service-link-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.15rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  }

  .flxry-section-service-nav .flxry-service-link-card__arrow {
    display: none;
  }
}

/* ---- SERVICES ---- */
/*
 * Startseite (main): Bänder im Wechsel --navy / --navy-mid, jeweils volle Breite.
 * Trennung: border-top zwischen unterschiedlichen Flächen (kein doppelter Rand unten).
 */
/* Trust-Sektion (#zusammenarbeit) behält navy-mid aus Block darüber */
.flxry-section-leistungen:not(:has(.flxry-trust)) {
  background: var(--navy);
  border-top: 1px solid var(--card-border);
}

/* Leistungen: Editorial-Liste ohne Kacheln — 3 Spalten / schmal untereinander */
.flxry-section-leistungen .flxry-services-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--card-border);
}

.flxry-section-leistungen .flxry-service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  margin: 0;
  transition: opacity 0.25s ease;
}

.flxry-section-leistungen .flxry-service-item:hover {
  opacity: 0.95;
}

.flxry-section-leistungen .flxry-service-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  display: grid;
  place-items: center;
  color: var(--flxry-link);
  flex-shrink: 0;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.flxry-section-leistungen .flxry-service-item:hover .flxry-service-item__icon {
  border-color: rgba(14, 165, 233, 0.35);
  background: rgba(14, 165, 233, 0.14);
}

html[data-theme="dark"] .flxry-section-leistungen .flxry-service-item__icon {
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(103, 232, 249, 0.3);
  color: #67e8f9;
}

html[data-theme="dark"] .flxry-section-leistungen .flxry-service-item:hover .flxry-service-item__icon {
  border-color: rgba(103, 232, 249, 0.45);
  background: rgba(34, 211, 238, 0.16);
}

.flxry-section-leistungen .flxry-service-item__icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.flxry-section-leistungen .flxry-service-item__body h3 {
  font-family: var(--font-display), sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.flxry-section-leistungen .flxry-service-item__body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

@media (max-width: 960px) {
  .flxry-section-leistungen .flxry-services-list {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 2.25rem;
    padding-top: 2rem;
  }

  .flxry-section-leistungen .flxry-service-item {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.25rem;
    padding-bottom: 1.75rem;
  }

  .flxry-section-leistungen .flxry-service-item:not(:last-child) {
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 1.75rem;
  }
}

/* ---- ARBEITSWEISE (entfernt) ---- */
.flxry-section-arbeitsweise {
  background: var(--navy-mid);
  border-top: 1px solid var(--card-border);
}

/* ---- MODELS ---- */
/* Bandwechsel: nach #showroom (navy-mid) wieder --navy; Trennung nur nach oben */
.flxry-section-preise {
  background: var(--navy);
  border-top: 1px solid var(--card-border);
}

/* Preis-Karten: Features mit flex:1, Festpreis-Band unten */
.flxry-section-preise .offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
  align-items: stretch;
}

@media (max-width: 1100px) {
  .flxry-section-preise .offers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .flxry-section-preise .offers-grid {
    grid-template-columns: 1fr;
  }
}

.flxry-section-preise .offer-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.flxry-section-preise .offer-card:hover {
  border-color: rgba(14, 165, 233, 0.45);
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.2), var(--shadow-card);
}

html[data-theme="dark"] .flxry-section-preise .offer-card:hover {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.25), 0 8px 32px rgba(0, 0, 0, 0.35);
}

.flxry-section-preise .offer-card--feat {
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.25), inset 0 0 80px rgba(14, 165, 233, 0.06);
}

html[data-theme="dark"] .flxry-section-preise .offer-card--feat {
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.3), inset 0 0 100px rgba(34, 211, 238, 0.07);
}

.flxry-section-preise .offer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.flxry-section-preise .offer-icon {
  width: 48px;
  height: 48px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.22);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--flxry-link);
}

html[data-theme="dark"] .flxry-section-preise .offer-icon {
  background: rgba(34, 211, 238, 0.14);
  border-color: rgba(103, 232, 249, 0.35);
  color: #67e8f9;
}

.flxry-section-preise .offer-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.flxry-section-preise .pop-badge {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  line-height: 1.2;
}

html[data-theme="dark"] .flxry-section-preise .pop-badge {
  background: #22d3ee;
  color: #0a0f1a;
}

.flxry-section-preise .offer-title {
  font-family: var(--font-display), sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.flxry-section-preise .offer-sub {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.flxry-section-preise .offer-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
  margin-bottom: 2rem;
  min-height: 0;
}

.flxry-section-preise .offer-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.855rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.flxry-section-preise .offer-features .chk {
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  background: rgba(14, 165, 233, 0.18);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.2em;
  color: var(--flxry-link);
  line-height: 0;
  overflow: hidden;
}

html[data-theme="dark"] .flxry-section-preise .offer-features .chk {
  background: rgba(34, 211, 238, 0.22);
  color: #67e8f9;
}

.flxry-section-preise .offer-features .chk svg {
  width: 10px;
  height: 10px;
  display: block;
  flex-shrink: 0;
}

.flxry-section-preise .offer-features .chk.chk--plus {
  background: transparent;
  border: 1.5px solid rgba(14, 165, 233, 0.45);
  box-sizing: border-box;
}

html[data-theme="dark"] .flxry-section-preise .offer-features .chk.chk--plus {
  border-color: rgba(103, 232, 249, 0.55);
  background: transparent;
}

.flxry-section-preise .offer-features .chk.chk--plus svg {
  width: 11px;
  height: 11px;
}

/* Block statt flex auf dem li: verhindert, dass die beiden Zeilen nebeneinander landen
   (generisches .offer-features li ist display:flex → Standard flex-direction: row). */
.flxry-section-preise .offer-features--wartung > li.offer-features__stack {
  display: block;
  width: 100%;
  min-width: 0;
}

.flxry-section-preise .offer-features--wartung .offer-features__stack-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.855rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.flxry-section-preise .offer-features--wartung .offer-features__stack-row + .offer-features__stack-row {
  margin-top: 0.45rem;
}

.flxry-section-preise .offer-features--wartung .offer-features__stack-row--extra {
  color: var(--text-dim);
  font-size: 0.82rem;
}

.flxry-section-preise .offer-price {
  border-top: 1px solid var(--card-border);
  padding-top: 1.5rem;
  margin-top: auto;
}

.flxry-section-preise .offer-price__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.3rem;
}

.flxry-section-preise .offer-price__row {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
}

.flxry-section-preise .offer-price__amt {
  font-family: var(--font-display), sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--flxry-link);
}

html[data-theme="dark"] .flxry-section-preise .offer-price__amt {
  color: #22d3ee;
}

.flxry-section-preise .offer-price__meta {
  font-size: 0.72rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.flxry-section-preise .offer-cta {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: 100px;
  font-family: var(--font-sans), sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: none;
}

.flxry-section-preise .offer-cta:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(14, 165, 233, 0.28);
}

html[data-theme="dark"] .flxry-section-preise .offer-cta {
  background: #22d3ee;
  color: #0a0f1a;
  box-shadow: none;
}

html[data-theme="dark"] .flxry-section-preise .offer-cta:hover {
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.28);
}

/* Wartung & Hosting: gleiche Karten-Sprache wie die Festpreis-Pakete */
.flxry-section-preise .offer-card--wartung {
  margin-top: 1.25rem;
}

/* Wie die Festpreis-Karten: unterhalb 901px (= gleicher Break wie offers-grid) Icon | Optional, darunter Titel + Lead. Ab 901px (2-spaltiges Raster): Text rechts neben Icon, Optional oben rechts. */
.flxry-section-preise .offer-wartung-intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  row-gap: 1.5rem;
}

.flxry-section-preise .offer-wartung-intro .offer-icon {
  flex-shrink: 0;
}

.flxry-section-preise .offer-wartung-intro .pop-badge {
  flex-shrink: 0;
}

.flxry-section-preise .offer-wartung-intro__copy {
  flex: 1 0 100%;
  min-width: 0;
}

@media (min-width: 901px) {
  .flxry-section-preise .offer-wartung-intro {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    column-gap: 1.25rem;
    row-gap: 0;
  }

  .flxry-section-preise .offer-wartung-intro .offer-icon {
    grid-column: 1;
    grid-row: 1;
  }

  .flxry-section-preise .offer-wartung-intro__copy {
    grid-column: 2;
    grid-row: 1;
    flex: unset;
  }

  .flxry-section-preise .offer-wartung-intro .pop-badge {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
}

.flxry-section-preise .pop-badge--optional {
  background: rgba(14, 165, 233, 0.12);
  color: var(--flxry-link);
  border: 1px solid rgba(14, 165, 233, 0.28);
  box-shadow: none;
}

html[data-theme="dark"] .flxry-section-preise .pop-badge--optional {
  background: rgba(34, 211, 238, 0.12);
  color: #67e8f9;
  border-color: rgba(103, 232, 249, 0.35);
}

.flxry-section-preise .offer-features--wartung {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  flex: 1;
  margin-bottom: 2rem;
  min-height: 0;
}

@media (min-width: 901px) {
  .flxry-section-preise .offer-features--wartung {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem;
  }
}

.flxry-section-preise .flxry-preise-subheading {
  margin: 2.5rem 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.flxry-section-preise .flxry-preise-subheading + .offers-grid {
  margin-top: 1.25rem;
}

.flxry-section-preise .flxry-preise-subheading + .offer-card--wartung {
  margin-top: 1.25rem;
}

.flxry-section-preise .offer-card--wartung .offer-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--card-border);
}

@media (min-width: 901px) {
  .flxry-section-preise .offer-card--wartung .offer-price {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .flxry-section-preise .offer-card--wartung .offer-cta {
    margin-left: auto;
  }
}

.flxry-section-preise .price-note {
  margin-top: 2rem;
  color: var(--text-dim);
  font-size: 0.82rem;
  text-align: center;
}

.flxry-section-preise .price-note + .price-note {
  margin-top: 0.65rem;
}

.flxry-section-preise .flxry-preise-aside {
  margin-top: 2rem;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 0.85rem;
}

.flxry-section-preise .flxry-preise-aside__note {
  margin: 0;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
  background: color-mix(in srgb, var(--card-bg) 88%, var(--navy-mid));
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.flxry-section-preise .flxry-preise-aside__note--care {
  font-size: 0.84rem;
  color: var(--text-dim);
  border-style: dashed;
  background: transparent;
}


/* ---- PROCESS ---- */
#ablauf {
  background: var(--navy-mid);
  border-top: 1px solid var(--card-border);
}
.process-steps {
  display: grid; gap: 0;
  margin-top: 3.5rem; max-width: 680px;
}

/* Ablauf: überall wie zuvor nur mobil — eine Spalte, Timeline, keine Karten */
#ablauf .process-steps {
  width: 100%;
  max-width: var(--flxry-content-max);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: clamp(2.25rem, 4vw, 3rem);
  padding: 0;
}

#ablauf .process-steps .step {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  position: relative;
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0 0 1.1rem;
  margin-bottom: 0;
  transition: none;
}

#ablauf .process-steps .step::before {
  display: none;
}

#ablauf .process-steps .step:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

#ablauf .process-steps .step:last-child {
  padding-bottom: 0;
}

#ablauf .step-content {
  min-width: 0;
  flex: 1;
  overflow-wrap: break-word;
}

#ablauf .step-content h3 {
  font-size: 1.02rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

#ablauf .step-content p {
  font-size: 0.86rem;
  line-height: 1.5;
}

#ablauf .step-num {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  width: 36px;
  height: 36px;
  font-size: 0.78rem;
}

#ablauf .step {
  gap: 0.85rem;
}

#ablauf .step:not(:last-child) .step-line {
  display: block;
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: 0;
  width: 3px;
  border-radius: 2px;
  background: rgba(59, 130, 246, 0.45);
}

html[data-theme='dark'] #ablauf .step:not(:last-child) .step-line {
  background: rgba(34, 211, 238, 0.45);
}

.step {
  display: flex; gap: 1.5rem;
  padding-bottom: 2.5rem;
  position: relative;
}
.step:not(:last-child) .step-line {
  position: absolute; left: 19px; top: 40px; bottom: 0;
  width: 2px;
  background: rgba(14, 165, 233, 0.35);
}
html[data-theme="dark"] .step:not(:last-child) .step-line {
  background: rgba(34, 211, 238, 0.4);
}
.step-num {
  flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(14, 165, 233,0.15);
  border: 1px solid rgba(14, 165, 233,0.3);
  color: var(--flxry-link); font-size: 0.85rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.step-content h3 {
  font-family: var(--font-display), sans-serif; font-weight: 700;
  color: var(--text-primary); margin-bottom: 0.4rem;
}
.step-content p { color: var(--text-muted); font-size: 0.92rem; }

/* ---- PITCH FEATURE ---- */
#pitch.flxry-section-pitch {
  border-top: 1px solid var(--card-border);
  background:
    radial-gradient(ellipse 70% 55% at 12% 20%, rgba(14, 165, 233, 0.1), transparent 55%),
    radial-gradient(ellipse 55% 45% at 88% 80%, rgba(6, 182, 212, 0.08), transparent 50%),
    var(--navy);
}
.pitch-wrap {
  max-width: var(--flxry-content-max, 1140px);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.25rem, 4vw, 2rem);
}
.pitch-wrap .section-tag { margin-bottom: 0.85rem; }
.pitch-wrap h2 {
  font-family: var(--font-display), sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  letter-spacing: -0.02em;
  color: var(--text-primary);
  max-width: 18ch;
  line-height: 1.15;
}
.pitch-lead {
  color: var(--text-muted);
  margin-top: 1rem;
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 40rem;
}
.pitch-list {
  list-style: none;
  margin: 1.75rem 0 0;
  max-width: 36rem;
  padding: 0;
}
.pitch-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--card-border);
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.pitch-list li:last-child { border-bottom: none; }
.pitch-list .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 0.45rem;
  flex-shrink: 0;
  background: var(--accent-cyan, #0ea5e9);
}
.pitch-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.75rem;
}
.pitch-cta-divider {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.pitch-cta-secondary {
  color: var(--flxry-link);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--flxry-link) 35%, transparent);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.pitch-cta-secondary:hover {
  color: var(--flxry-link-hover);
  border-bottom-color: var(--flxry-link-hover);
}
.pitch-cta-secondary:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

/* ---- RESTORE ---- */
#restaurierung {
  background: var(--navy);
  border-top: 1px solid var(--card-border);
}

/* Fließtext-Link: wie Absatzfarbe, kein Akzent-Violett im Ruhezustand */
.restore-intro {
  color: var(--text-muted);
  margin-top: 1rem;
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 42rem;
}
.restore-intro a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--text-muted) 50%, transparent);
  text-underline-offset: 0.2em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.restore-intro a:hover {
  color: var(--flxry-link);
  text-decoration-color: var(--flxry-link);
}
html[data-theme="dark"] .restore-intro a {
  text-decoration-color: rgba(255, 255, 255, 0.28);
}
html[data-theme="dark"] .restore-intro a:hover {
  color: var(--flxry-link-hover);
  text-decoration-color: var(--flxry-link-hover);
}

.restore-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}
.restore-list { list-style: none; margin-top: 1.5rem; }
.restore-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--card-border);
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  min-width: 0;
}
.restore-list li:last-child { border-bottom: none; }
.restore-list li .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-blue);
  flex-shrink: 0;
  margin-top: 0.45em;
}
html[data-theme="dark"] .restore-list li .dot {
  background: #22d3ee;
}

.restore-cta-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  column-gap: 1.25rem;
  row-gap: 1rem;
  margin-top: 2rem;
}
.restore-cta-row .btn-primary,
.restore-cta-secondary {
  min-height: 48px;
  width: min(100%, 320px);
  justify-content: center;
  white-space: nowrap;
}
.restore-cta-row .btn-primary {
  display: inline-flex;
  align-items: center;
}
.restore-cta-divider {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dim);
  line-height: 1;
}
.restore-cta-secondary {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.35rem 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--flxry-link);
  text-decoration: none;
  line-height: 1.2;
  padding: 0.78rem 1rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--flxry-link) 40%, transparent);
  background: color-mix(in srgb, var(--flxry-link) 8%, transparent);
  box-shadow: none;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
.restore-cta-secondary:hover {
  color: var(--flxry-link-hover);
  background: color-mix(in srgb, var(--flxry-link) 14%, transparent);
  border-color: color-mix(in srgb, var(--flxry-link) 55%, transparent);
  box-shadow: none;
  transform: translateY(-1px);
}
.restore-cta-secondary:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.65);
  outline-offset: 3px;
}
html[data-theme="dark"] .restore-cta-secondary {
  color: #22d3ee;
  border-color: rgba(34, 211, 238, 0.26);
  background: rgba(34, 211, 238, 0.06);
  box-shadow: none;
}
html[data-theme="dark"] .restore-cta-divider {
  color: #9aa7c6;
}
html[data-theme="dark"] .restore-cta-secondary:hover {
  color: #67e8f9;
  border-color: rgba(103, 232, 249, 0.5);
  background: rgba(34, 211, 238, 0.12);
  box-shadow: none;
}

/* Live-Check Widget */
.restore-visual {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.restore-bar {
  background: rgba(14, 165, 233,0.12);
  border-bottom: 1px solid var(--card-border);
  padding: 0.75rem 1rem;
  display: flex; gap: 6px; align-items: center;
}
.dot-red   { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; }
.dot-yellow{ width: 10px; height: 10px; border-radius: 50%; background: #f59e0b; }
.dot-green { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; }
.restore-bar-title {
  margin-left: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
html[data-theme="dark"] .restore-bar-title {
  color: #c8d4eb;
}
.restore-content { padding: 1.25rem 1.5rem; }

/* input row */
.rc-input-row {
  display: flex; gap: 8px; margin-bottom: 1rem;
}
.rc-input {
  flex: 1; background: var(--navy);
  border: 1px solid var(--card-border); border-radius: 50px;
  color: var(--text-primary); padding: 0.6rem 1rem;
  font-family: var(--font-sans), sans-serif; font-size: 0.85rem;
  outline: none; transition: border-color 0.2s;
  min-width: 0;
}
.rc-input:focus { border-color: rgba(14, 165, 233,0.5); }
.rc-input::placeholder { color: var(--text-dim); }
html[data-theme="dark"] .rc-input {
  background: rgba(255,255,255,0.06);
  color: var(--text-light);
}
html[data-theme="dark"] .rc-input::placeholder {
  color: #94a3c8;
}
.rc-btn {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg); border: none; border-radius: 50px;
  padding: 0.6rem 1.1rem; font-weight: 600; font-size: 0.82rem;
  cursor: pointer; white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: none;
}
.rc-btn:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  background: var(--btn-primary-hover);
  box-shadow: 0 6px 20px rgba(3, 105, 161, 0.3);
}
html[data-theme="dark"] .rc-btn {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
}
html[data-theme="dark"] .rc-btn:hover {
  background: var(--btn-primary-hover);
  box-shadow: 0 6px 20px rgba(14, 116, 144, 0.28);
}
.rc-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

/* idle state */
.rc-idle {
  text-align: center; padding: 1.25rem 0 0.5rem;
  color: var(--text-dim); font-size: 0.82rem; line-height: 1.6;
}
html[data-theme="dark"] .rc-idle {
  color: #b4c0d9;
}

/* loading */
.rc-loading { display: none; text-align: center; padding: 1.5rem 0; }
.rc-loading.show { display: block; }
.rc-spinner {
  width: 32px; height: 32px;
  border: 2px solid var(--card-border);
  border-top-color: var(--accent-blue);
  border-radius: 50%;
  animation: rcSpin 0.7s linear infinite;
  margin: 0 auto 0.75rem;
}
@keyframes rcSpin { to { transform: rotate(360deg); } }
.rc-loading-label { font-size: 0.8rem; color: var(--text-muted); }
html[data-theme="dark"] .rc-loading-label {
  color: #b4c0d9;
}

/* result rows */
.rc-results { display: none; }
.rc-results.show { display: block; }
.rc-section-label {
  font-size: 0.7rem; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
html[data-theme="dark"] .rc-section-label {
  color: #9aa8c4;
}
.restore-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.55rem 0; border-bottom: 1px solid var(--card-border);
  font-size: 0.85rem;
}
.restore-row:last-child { border-bottom: none; }
.restore-row .label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
}
.rc-row-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-dim);
}
.rc-row-ic svg {
  width: 16px;
  height: 16px;
  display: block;
}
html[data-theme="dark"] .restore-row .label {
  color: #a8b5d0;
}
html[data-theme="dark"] .rc-row-ic {
  color: #7d8aa3;
}
.status-bad  { color: #f87171; font-weight: 500; }
.status-ok   { color: #fbbf24; font-weight: 500; }
.status-good { color: #4ade80; font-weight: 500; }

.rc-score-row {
  display: flex; gap: 8px; margin: 1rem 0 0.25rem; flex-wrap: wrap;
}
.rc-score-pill {
  flex: 1; min-width: 70px; text-align: center;
  background: var(--navy-mid);
  border: 1px solid var(--card-border);
  border-radius: 10px; padding: 0.6rem 0.4rem;
}
.rc-score-pill .sp-num {
  font-family: var(--font-display), sans-serif; font-weight: 700;
  font-size: 1.3rem; color: var(--text-primary);
  display: block;
}
.rc-score-pill .sp-lbl {
  font-size: 0.65rem; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.5px;
  display: block; margin-top: 2px;
}
html[data-theme="dark"] .rc-score-pill .sp-lbl {
  color: #8b9ab8;
}
.rc-score-pill.good { border-color: rgba(74,222,128,0.3); }
.rc-score-pill.ok   { border-color: rgba(251,191,36,0.3);  }
.rc-score-pill.bad  { border-color: rgba(248,113,113,0.3); }
.rc-score-pill.good .sp-num { color: #4ade80; }
.rc-score-pill.ok   .sp-num { color: #fbbf24; }
.rc-score-pill.bad  .sp-num { color: #f87171; }

.rc-cta {
  margin-top: 1rem; text-align: center;
  font-size: 0.8rem; color: var(--text-dim);
}
.rc-cta a {
  color: var(--flxry-link);
  text-decoration: none;
  font-weight: 500;
}
.rc-cta a:hover {
  color: var(--flxry-link-hover);
  text-decoration: underline;
}
html[data-theme="dark"] .rc-cta {
  color: #b4c0d9;
}

.rc-error {
  display: none; font-size: 0.8rem; color: #f87171;
  background: rgba(248,113,113,0.08); border: 1px solid rgba(248,113,113,0.2);
  border-radius: 6px; padding: 0.6rem 0.85rem; margin-top: 0.5rem;
}
.rc-error.show { display: block; }

@media (max-width: 1200px) {
  .restore-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .restore-visual {
    width: min(100%, 720px);
  }
}

/* ---- ÜBER MICH (Onepager) ---- */
.flxry-home-about.page-about-body {
  background: var(--navy-mid);
  border-top: 1px solid var(--card-border);
  /* etwas weniger Luft als Standard-Section: Anker sitzt auf #ueber-mich (Intro) */
  padding-top: clamp(3rem, 6vw, 4.75rem);
}

.flxry-home-about.page-about-body .about-me-layout {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 4vw, 2.25rem);
  margin-top: clamp(2rem, 4vw, 3rem);
  align-items: flex-start;
}

/* Bild etwas kompakter als volle Spalte, aber gut lesbar; Höhe nach oben begrenzt */
.flxry-home-about.page-about-body .about-me-text {
  flex: 1 1 min(0, 38rem);
  min-width: 0;
}

.flxry-home-about.page-about-body .about-me-image {
  flex: 0 0 auto;
  max-width: min(100%, 17rem);
  margin-left: auto;
  margin-right: auto;
}

.flxry-home-about.page-about-body .about-me-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: clamp(17rem, 40vh, 26rem);
  object-fit: cover;
  object-position: center 18%;
}

@media (min-width: 769px) {
  .flxry-home-about.page-about-body .about-me-layout {
    flex-direction: row;
    gap: clamp(2rem, 5vw, 3.5rem);
  }

  .flxry-home-about.page-about-body .about-me-image {
    margin-left: 0;
    margin-right: 0;
    max-width: min(100%, 18rem);
  }

  .flxry-home-about.page-about-body .about-me-image img {
    max-height: clamp(20rem, 46vh, 30rem);
  }
}

.flxry-home-about.page-about-body .about-me-text h3 {
  font-family: var(--font-display), sans-serif;
  font-weight: 700;
  color: var(--text-primary);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin: 0 0 1rem;
}

/* ---- FAQ ---- */
/* Wie ursprünglich: Liste mit Unterstrichen, kein Karten-Look */
.flxry-section-faq {
  background: var(--navy);
  border-top: 1px solid var(--card-border);
}
.faq-list {
  margin-top: 3rem;
  max-width: 700px;
}
.faq-item {
  border-bottom: 1px solid var(--card-border);
  padding: 1.25rem 0;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: var(--text-primary);
  font-weight: 500;
  gap: 1rem;
  appearance: none;
  -webkit-appearance: none;
}
.faq-q > span:first-of-type {
  flex: 1;
  min-width: 0;
}
.faq-q:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
  border-radius: 4px;
}
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.15);
  color: var(--flxry-link);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: transform 0.3s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-a {
  /* Lesbarkeit: Größe und Zeilenabstand wie Fließtext, optimale Zeilenlänge */
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.78;
  letter-spacing: 0.01em;
  max-width: 62ch;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
.faq-a strong {
  color: var(--text-primary);
  font-weight: 600;
}
.faq-a-intro {
  margin: 0 0 0.65rem;
  max-width: 62ch;
}
.faq-a-list {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
  max-width: 62ch;
  list-style: disc;
}
.faq-a-list li {
  margin: 0.4rem 0;
  padding-left: 0.25rem;
}
.faq-a-list li::marker {
  color: var(--flxry-link);
}
.faq-a-list__sub {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9em;
  color: var(--text-dim);
  font-weight: 400;
  line-height: 1.5;
}
.faq-a-list li.faq-a-list__extra {
  color: var(--text-dim);
  font-size: 0.9em;
}
.faq-a-list li.faq-a-list__extra .faq-a-list__sub {
  margin-top: 0;
}
.faq-a-extra {
  margin: 0.55rem 0 0;
  max-width: 62ch;
}
.faq-a-extra:last-child {
  margin-bottom: 0;
}
.faq-a-muted {
  color: var(--text-dim);
  font-weight: 400;
}
html[data-theme="dark"] .flxry-section-faq .faq-a-muted {
  color: #8b9bb8;
}
html[data-theme="dark"] .flxry-section-faq .faq-a {
  /* Etwas heller als Standard-muted, damit längere Absätze nicht ermüden */
  color: #b9c6dc;
}
.faq-item.open .faq-a {
  max-height: 3200px;
  padding-top: 1rem;
  padding-bottom: 0.15rem;
}

/* ---- CONTACT ---- */
.flxry-section-kontakt {
  background: var(--navy);
  border-top: 1px solid var(--card-border);
}
.contact-wrap {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: stretch;
  margin-top: 3.5rem;
}
.contact-wrap__message {
  margin-bottom: 0;
}
.contact-head {
  text-align: left;
}
.contact-head h2 {
  font-family: var(--font-display), sans-serif;
  font-weight: 700;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
  margin: 0.5rem 0 0;
}
.contact-head__lead {
  color: var(--text-muted);
  margin: 1rem 0 0;
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 42rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
.contact-aside__intro {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0 0 2rem;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.c-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  transition: border-color 0.2s ease;
  min-width: 0;
}
.c-method > div:last-child {
  flex: 1 1 auto;
  min-width: 0;
}
.c-method--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.c-method--link:hover .c-val {
  color: var(--flxry-link);
}
.c-ic--wa {
  background: rgba(37, 211, 102, 0.14);
  border-color: rgba(37, 211, 102, 0.28);
  color: #16a34a;
}
html[data-theme="dark"] .c-ic--wa {
  color: #4ade80;
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(74, 222, 128, 0.28);
}
.flxry-wa-fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 40;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
}
.flxry-wa-fab svg {
  width: 1.5rem;
  height: 1.5rem;
}
.flxry-wa-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.34);
  color: #fff;
}
.flxry-wa-fab.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
}
@media (max-width: 900px) {
  .flxry-wa-fab {
    display: inline-flex;
  }
}
.c-ic {
  width: 40px;
  height: 40px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.22);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--flxry-link);
  flex-shrink: 0;
}
html[data-theme="dark"] .c-ic {
  background: rgba(34, 211, 238, 0.14);
  border-color: rgba(103, 232, 249, 0.28);
  color: #67e8f9;
}
.c-ic svg {
  width: 18px;
  height: 18px;
  display: block;
}
.c-lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.c-val {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.c-val a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-all;
}
.c-val a:hover {
  color: var(--flxry-link);
}

.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: none;
}
.contact-form .form-group {
  margin-bottom: 0;
}
.contact-form .contact-form__hcaptcha {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 0.35rem;
}
.contact-form .contact-form__hcaptcha .h-captcha {
  display: flex;
  justify-content: center;
}
.contact-form .contact-form__hcaptcha iframe {
  max-width: 100%;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.fg {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.fg label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.fg input,
.fg select,
.fg textarea {
  width: 100%;
  background: var(--navy-mid);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  font-family: var(--font-sans), sans-serif;
  font-size: 0.875rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  resize: vertical;
  appearance: none;
  -webkit-appearance: none;
}
html[data-theme="dark"] .fg input,
html[data-theme="dark"] .fg select,
html[data-theme="dark"] .fg textarea {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-light);
}
.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  border-color: var(--flxry-link);
  background: var(--card-bg);
}
html[data-theme="dark"] .fg input:focus,
html[data-theme="dark"] .fg select:focus,
html[data-theme="dark"] .fg textarea:focus {
  background: rgba(255, 255, 255, 0.08);
}
.fg input::placeholder,
.fg textarea::placeholder {
  color: var(--text-dim);
  opacity: 1;
}
.fg select {
  color: var(--text-muted);
}
.fg select option {
  background: var(--card-bg);
  color: var(--text-primary);
}
html[data-theme="dark"] .fg select option {
  background: var(--navy-mid);
  color: #e8ecf4;
}

.contact-form__submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  padding: 0.75rem 1.6rem;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans), sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: none;
}
.contact-form__submit:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  background: var(--btn-primary-hover);
  box-shadow: 0 6px 24px rgba(3, 105, 161, 0.3);
}
html[data-theme="dark"] .contact-form__submit {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  box-shadow: none;
}
html[data-theme="dark"] .contact-form__submit:hover {
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.28);
}

.contact-form .form-note {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.6;
  margin: 0;
}
.contact-form .form-note a {
  color: var(--flxry-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-form .form-note a:hover {
  color: var(--flxry-link-hover);
}

/* Unterseiten (Rechtstexte, Support, …) */
.contact-info { text-align: left; }
.contact-info p { color: var(--text-muted); margin: 1rem 0 1.75rem; font-size: 1rem; line-height: 1.65; }
.contact-detail {
  display: flex; align-items: center; gap: 12px;
  padding: 1rem 0; border-bottom: 1px solid var(--card-border);
  color: var(--text-muted); font-size: 0.9rem;
}
.contact-detail a {
  color: var(--flxry-link);
  text-decoration: none;
}
.contact-detail a:hover {
  color: var(--flxry-link-hover);
  text-decoration: underline;
}
.contact-detail-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(14, 165, 233,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-size: 0.8rem; font-weight: 500;
  color: var(--text-muted); margin-bottom: 0.5rem; letter-spacing: 0.5px;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: var(--navy);
  border: 1px solid var(--card-border); border-radius: var(--radius-sm);
  color: var(--text-primary); padding: 0.75rem 1rem;
  font-family: var(--font-sans), sans-serif; font-size: 0.95rem;
  transition: border-color 0.2s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: rgba(14, 165, 233,0.5);
}
.form-group select option { background: var(--white); color: var(--text-primary); }
html[data-theme="dark"] .form-group input,
html[data-theme="dark"] .form-group select,
html[data-theme="dark"] .form-group textarea {
  background: rgba(255,255,255,0.06);
  color: var(--text-light);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
  opacity: 1;
}
html[data-theme="dark"] .form-group input::placeholder,
html[data-theme="dark"] .form-group textarea::placeholder {
  color: var(--text-dim);
  opacity: 1;
}
html[data-theme="dark"] .form-group select option {
  background: var(--navy-mid);
  color: #e8ecf4;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%; padding: 0.9rem;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg); border: none; border-radius: var(--radius-sm);
  font-family: var(--font-sans), sans-serif; font-weight: 700; font-size: 1rem;
  cursor: pointer; transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: none;
}
.form-submit:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  background: var(--btn-primary-hover);
  box-shadow: 0 6px 24px rgba(3, 105, 161, 0.35);
}
html[data-theme="dark"] .form-submit {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  box-shadow: none;
}
html[data-theme="dark"] .form-submit:hover {
  box-shadow: 0 6px 22px rgba(34, 211, 238, 0.28);
}
.form-note { font-size: 0.78rem; color: var(--text-dim); text-align: center; margin-top: 0.75rem; }

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ---- FOOTER ---- */
footer {
  position: relative;
  z-index: 1;
  background: var(--footer-bg);
  border-top: 1px solid var(--card-border);
  padding: 2.5rem 5%;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

/* Volle Breite wie der Header; nur seitlicher Innenabstand */
body.flxry-php-app:not(.admin-body) footer {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: clamp(1rem, 5vw, 2.5rem);
  padding-right: clamp(1rem, 5vw, 2.5rem);
  box-sizing: border-box;
}
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a {
  color: var(--text-dim);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--flxry-link); }
.footer-copy { color: var(--text-muted); font-size: 0.8rem; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  body:not(.admin-body) nav { padding: 0.75rem clamp(1rem, 4vw, 2rem); }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
  }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 101;
    margin-top: 0;
    background: var(--navy-mid);
    padding: 0;
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    max-height: calc(100dvh - 4.5rem - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    animation: flxry-nav-panel-in 0.24s ease;
  }
  html[data-theme="dark"] .nav-links.open {
    background: #0f172a;
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  }
  @keyframes flxry-nav-panel-in {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  body:not(.admin-body) nav .logo-mark-wrap .logo-mark {
    max-width: min(152px, calc(100vw - 7.5rem));
  }
  .hamburger { display: inline-flex; }
  .nav-links.open > li:not(.nav-cta-mobile):not(.nav-lang-switch) {
    border-bottom: 1px solid var(--card-border);
  }
  .nav-links.open > li:not(.nav-cta-mobile):not(.nav-lang-switch) > a:not(.nav-lang-toggle),
  .nav-links.open > li.nav-account-wrap > .nav-account-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    padding: 0.85rem 5%;
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: background-color 0.15s ease, color 0.15s ease;
  }
  html[data-theme="dark"] .nav-links.open > li:not(.nav-cta-mobile):not(.nav-lang-switch) > a:not(.nav-lang-toggle),
  html[data-theme="dark"] .nav-links.open > li.nav-account-wrap > .nav-account-toggle {
    color: rgba(255, 255, 255, 0.88);
  }
  .nav-links.open > li:not(.nav-cta-mobile):not(.nav-lang-switch) > a:not(.nav-lang-toggle):active,
  .nav-links.open > li.nav-account-wrap > .nav-account-toggle:active {
    background: rgba(14, 165, 233, 0.1);
  }
  html[data-theme="dark"] .nav-links.open > li:not(.nav-cta-mobile):not(.nav-lang-switch) > a:not(.nav-lang-toggle):active,
  html[data-theme="dark"] .nav-links.open > li.nav-account-wrap > .nav-account-toggle:active {
    background: rgba(34, 211, 238, 0.12);
  }
  .nav-links.open .nav-cta-mobile {
    padding: 1rem 5% 0.85rem;
    border-bottom: none;
  }
  .nav-links.open .nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0.75rem 1.25rem;
    min-height: 48px;
    font-size: 0.95rem !important;
  }
  .nav-links.open .nav-lang-switch {
    padding: 0.85rem 5% calc(1rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--card-border);
    background: var(--navy);
  }
  .nav-actions { gap: 0.75rem; }
  .nav-cta-mobile {
    display: list-item;
  }
  .nav-cta--bar {
    display: none;
  }
  .restore-cta-row {
    flex-direction: column;
    align-items: center;
  }
  .restore-cta-row .btn-primary,
  .restore-cta-secondary {
    width: 100%;
    max-width: 520px;
  }
  .restore-cta-divider {
    margin: -0.15rem 0;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .restore-wrap { grid-template-columns: 1fr; }
  .restore-content {
    padding: 1rem;
  }
  .rc-input-row {
    flex-direction: column;
  }
  .rc-btn {
    width: 100%;
    min-height: 44px;
  }
  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    justify-items: center;
    gap: 0.65rem 1.35rem;
    width: 100%;
    max-width: 22rem;
  }
  .footer-links a {
    font-size: 0.82rem;
    white-space: nowrap;
  }
  /* Bei 3 Links: letzter Eintrag zentriert über beide Spalten (kein einsamer Rest in Zeile 2) */
  .footer-links a:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .footer-copy {
    font-size: 0.78rem;
    line-height: 1.55;
    max-width: 26rem;
    margin: 0;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-wrap: nowrap;
    gap: 0.6rem;
    width: 100%;
  }
  .hero .btn-p,
  .hero .btn-g {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.75rem 0.75rem;
    font-size: 0.85rem;
    text-align: center;
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  .hero .btn-p,
  .hero .btn-g {
    padding: 0.7rem 0.5rem;
    font-size: 0.8rem;
    gap: 0.3rem;
  }
}

@media (max-width: 480px) {
  .restore-list li {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  .restore-bar {
    padding: 0.65rem 0.8rem;
  }
}

/* ---- MOBILE: durchgängige Schriftumbrüche & Kachel-Optimierung ---- */
@media (max-width: 600px) {
  /* Lange Wörter umbrechen – ohne aggressives Mid-Word-Break */
  body.flxry-php-app h1,
  body.flxry-php-app h2,
  body.flxry-php-app h3,
  body.flxry-php-app p,
  body.flxry-php-app li,
  body.flxry-php-app a {
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
    -webkit-hyphens: manual;
  }
  .restore-list li,
  .flxry-section-preise .offer-features li,
  .flxry-trust__list li {
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: none;
    -webkit-hyphens: none;
  }
  body.flxry-php-app:not(.admin-body) main section {
    padding: 4rem 1.1rem;
  }

  /* Hero: Headline und Tagline besser lesbar */
  .hero:not(.hero--compact) h1,
  .hero:not(.hero--compact) h1.hero__title,
  body.flxry-php-app:not(.admin-body) main section.hero:not(.hero--compact) h1 {
    font-size: clamp(1.85rem, 7vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    hyphens: none;
    -webkit-hyphens: none;
    word-break: normal;
  }
  .hero-desc {
    font-size: 1rem;
    line-height: 1.65;
  }

  /* Branchen-Kacheln: ruhigeres Padding, kein Stauchen */
  .flxry-branchen-card {
    padding: 1.05rem 0.85rem;
    gap: 0.35rem;
  }
  .flxry-branchen-name {
    font-size: 0.83rem;
    line-height: 1.25;
  }
  .flxry-branchen-desc {
    font-size: 0.72rem;
    line-height: 1.45;
  }
  .flxry-branchen-ico {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }
  .flxry-branchen-ico svg {
    width: 18px;
    height: 18px;
  }

  /* Leistungen (Vorteile): Icon nicht zu groß, Text klarer */
  .flxry-section-leistungen .flxry-services-list {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
  }
  .flxry-section-leistungen .flxry-service-item {
    gap: 1rem;
    padding-bottom: 1.5rem;
  }
  .flxry-section-leistungen .flxry-service-item__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .flxry-section-leistungen .flxry-service-item__icon svg {
    width: 18px;
    height: 18px;
  }
  .flxry-section-leistungen .flxry-service-item__body h3 {
    font-size: 1rem;
  }
  .flxry-section-leistungen .flxry-service-item__body p {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  /* Honorar-Karten kompakter */
  .flxry-section-preise .offers-grid {
    margin-top: 2rem;
    gap: 1rem;
  }
  .flxry-section-preise .offer-card {
    padding: 1.4rem 1.15rem;
  }
  .flxry-section-preise .offer-title {
    font-size: 1.15rem;
  }
  .flxry-section-preise .offer-sub {
    margin-bottom: 1.15rem;
  }
  .flxry-section-preise .offer-features {
    gap: 0.5rem;
    margin-bottom: 1.4rem;
  }
  .flxry-section-preise .offer-features li,
  .flxry-section-preise .offer-features--wartung .offer-features__stack-row {
    font-size: 0.84rem;
    line-height: 1.5;
  }
  .flxry-section-preise .offer-price {
    padding-top: 1.15rem;
  }
  .flxry-section-preise .offer-price__amt {
    font-size: 1.75rem;
  }
  .flxry-section-preise .offer-cta {
    padding: 0.7rem 1.1rem;
    font-size: 0.85rem;
  }
  .flxry-section-preise .offer-top {
    margin-bottom: 1.15rem;
  }
  .flxry-section-preise .offer-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .flxry-section-preise .offer-icon svg {
    width: 18px;
    height: 18px;
  }
  .flxry-section-preise .offer-wartung-intro__copy .offer-title {
    font-size: 1.1rem;
  }

  /* Ablauf-Steps: Nummer kompakter, kein Stauchen */
  #ablauf .process-steps .step {
    gap: 0.9rem;
  }
  #ablauf .process-steps .step-content h3 {
    font-size: 1rem;
    line-height: 1.3;
  }
  #ablauf .process-steps .step-content p {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  /* Restore (Bestandsanalyse) */
  .restore-cta-row {
    flex-direction: column;
    align-items: stretch;
    column-gap: 0;
    row-gap: 0.75rem;
  }
  .restore-cta-row .btn-primary,
  .restore-cta-secondary {
    width: 100%;
    max-width: none;
  }
  .restore-cta-divider {
    text-align: center;
    margin: 0;
  }
  .restore-content {
    padding: 1rem 1.1rem;
  }
  .rc-input-row {
    flex-direction: column;
  }
  .rc-btn {
    width: 100%;
  }

  /* About-Me: Bild flexibel statt fest 560px */
  .flxry-home-about.page-about-body .about-me-image img {
    width: 100%;
    height: auto;
    max-width: 360px;
    display: block;
    margin: 0 auto;
  }

  /* FAQ: Trigger nicht zu eng, Antwort lesbar */
  .faq-list {
    margin-top: 2rem;
  }
  .faq-item {
    padding: 1rem 0;
  }
  .faq-q {
    gap: 0.75rem;
    font-size: 0.95rem;
  }
  .faq-a {
    font-size: 0.92rem;
    line-height: 1.7;
  }
  .faq-a-list {
    padding-left: 1rem;
  }

  /* Section-Intro: H2 nicht zu groß */
  body.flxry-php-app:not(.admin-body) main section .section-intro h2 {
    font-size: clamp(1.55rem, 6vw, 2.1rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
  }

  /* Kontakt: Boxen kompakter, ragen nicht mehr rechts raus */
  .flxry-section-kontakt .contact-wrap {
    gap: 1.75rem;
    margin-top: 2rem;
  }
  .flxry-section-kontakt .contact-grid {
    gap: 1.5rem;
  }
  .flxry-section-kontakt .c-method {
    padding: 0.9rem 1rem;
    gap: 0.85rem;
  }
  .flxry-section-kontakt .c-ic {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }
  .flxry-section-kontakt .c-ic svg {
    width: 16px;
    height: 16px;
  }
  .flxry-section-kontakt .c-lbl {
    font-size: 0.7rem;
  }
  .flxry-section-kontakt .c-val {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  .flxry-section-kontakt .contact-aside__intro {
    font-size: 0.85rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
  }
  .flxry-section-kontakt .contact-form {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-sm);
  }
  .flxry-section-kontakt .form-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

/* ---- SCROLL ANIMATION ---- */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Ablauf-Sektion: Abstände (Intro, Timeline, Schritte) */
#ablauf .section-intro .section-tag {
  margin-bottom: clamp(0.85rem, 1.8vw, 1.05rem);
}
#ablauf .section-intro h2 {
  line-height: 1.22;
}
#ablauf .section-intro .section-intro-lead {
  margin-top: clamp(1rem, 2.5vw, 1.35rem);
  line-height: 1.68;
  max-width: 40rem;
}
#ablauf .process-steps {
  margin-top: clamp(2.25rem, 4.5vw, 3.25rem);
}
#ablauf .process-steps .step {
  gap: clamp(1.15rem, 2.5vw, 1.45rem);
  padding-bottom: clamp(2rem, 3.5vw, 2.65rem);
}
#ablauf .process-steps .step-content h3 {
  margin-bottom: 0.65rem;
  line-height: 1.32;
  letter-spacing: -0.02em;
}
#ablauf .process-steps .step-content p {
  font-size: 0.88rem;
  line-height: 1.65;
}
#ablauf .step-num {
  width: 40px;
  height: 40px;
  font-size: 0.8rem;
  margin-top: 0.12rem;
}
#ablauf .step:not(:last-child) .step-line {
  left: 19px;
  top: 40px;
}
@media (max-width: 600px) {
  #ablauf .process-steps {
    margin-top: clamp(1.85rem, 5vw, 2.35rem);
  }
  #ablauf .process-steps .step {
    gap: 1.1rem;
    padding-bottom: clamp(1.75rem, 4.5vw, 2.15rem);
  }
  #ablauf .process-steps .step-content h3 {
    font-size: 1rem;
    line-height: 1.32;
    margin-bottom: 0.55rem;
  }
  #ablauf .process-steps .step-content p {
    font-size: 0.88rem;
    line-height: 1.62;
  }
}

/* Leistungsseiten: Festpreis-Orientierung */
.flxry-service-pricing {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid var(--card-border);
}

.flxry-service-pricing .section-intro {
  max-width: 42rem;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.flxry-service-pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: stretch;
}

.flxry-service-pricing__card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 3vw, 1.75rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.flxry-service-pricing__card h3 {
  font-family: var(--font-display), sans-serif;
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-primary);
  margin: 0;
  line-height: 1.25;
}

.flxry-service-pricing__card > p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  flex: 1;
}

.flxry-service-pricing__price {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.flxry-service-pricing__amt {
  font-family: var(--font-display), sans-serif;
  font-weight: 800;
  font-size: clamp(1.65rem, 3vw, 2rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--flxry-link);
}

html[data-theme="dark"] .flxry-service-pricing__amt {
  color: #22d3ee;
}

.flxry-service-pricing__meta {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.45;
}

.flxry-service-pricing__note {
  margin: 1.25rem 0 0;
  max-width: 42rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.55;
}

@media (max-width: 720px) {
  .flxry-service-pricing__grid {
    grid-template-columns: 1fr;
  }
}

/* Leistungsseiten: FAQ → Related ohne Doppel-Linie */
.flxry-service-faq .faq-item--details:last-child {
  border-bottom: none;
}

/* Service-Karten: verlinkte Kernleistungen (Startseite + Leistungsseiten).
   Basis-Layout muss auch im eingeloggten Zustand greifen, da dann statt
   flxry-public.min.css die Einzeldateien geladen werden. */
.flxry-service-link-grid {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2.5rem 0 0;
  padding: 0;
}

.flxry-service-link-grid > li {
  flex: 1 1 calc(33.333% - 0.85rem);
  min-width: min(100%, 280px);
  max-width: calc(33.333% - 0.67rem);
  display: flex;
}

@media (max-width: 960px) {
  .flxry-service-link-grid > li {
    flex: 1 1 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
  }
}

@media (max-width: 560px) {
  .flxry-service-link-grid > li {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.flxry-service-page .flxry-service-related .flxry-service-link-grid {
  margin-top: 1.25rem;
}

.flxry-service-link-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  min-height: 100%;
  padding: 1.25rem 1.2rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--card-bg);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.flxry-service-link-card:hover {
  border-color: rgba(14, 165, 233, 0.45);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.flxry-service-link-card:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

.flxry-service-link-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  display: grid;
  place-items: center;
  color: var(--flxry-link);
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}

.flxry-service-link-card:hover .flxry-service-link-card__icon {
  border-color: rgba(14, 165, 233, 0.4);
  background: rgba(14, 165, 233, 0.16);
}

html[data-theme="dark"] .flxry-service-link-card__icon {
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.28);
  color: #67e8f9;
}

.flxry-service-link-card__icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.flxry-service-link-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  min-height: 0;
  align-self: stretch;
}

.flxry-service-link-card__title {
  display: block;
  font-family: var(--font-display), sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.flxry-service-link-card__teaser {
  display: block;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.flxry-service-link-card__arrow {
  flex-shrink: 0;
  align-self: center;
  color: var(--flxry-link);
  font-size: 1.1rem;
  line-height: 1;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s, transform 0.2s;
}

.flxry-service-link-card:hover .flxry-service-link-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Service-Karten: Orientierungspreis – unten links, eine Linie bei gleicher Kartenhöhe */
.flxry-service-link-card__price {
  display: block;
  margin-top: auto;
  padding-top: 0.75rem;
  font-family: var(--font-display), sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--flxry-link);
}

html[data-theme="dark"] .flxry-service-link-card__price {
  color: #22d3ee;
}

.flxry-service-link-card__price--hint {
  font-family: inherit;
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--text-dim);
}

html[data-theme="dark"] .flxry-service-link-card__price--hint {
  color: var(--text-muted);
}

.flxry-service-pricing-ref {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid var(--card-border);
  max-width: 42rem;
}

.flxry-service-pricing-ref__heading {
  font-family: var(--font-display), sans-serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0 0 1rem;
}

.flxry-service-pricing-ref__lead {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.flxry-service-pricing-ref__summary {
  margin: 0 0 1rem;
  font-family: var(--font-display), sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--flxry-link);
}

html[data-theme="dark"] .flxry-service-pricing-ref__summary {
  color: #22d3ee;
}

.flxry-service-pricing-ref__link {
  font-weight: 600;
  color: var(--flxry-link);
  text-decoration: none;
}

.flxry-service-pricing-ref__link:hover {
  color: var(--flxry-link-hover);
  text-decoration: underline;
}

.flxry-service-overview {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid var(--card-border);
}

.flxry-service-overview .section-intro {
  max-width: 42rem;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.flxry-service-overview .flxry-service-link-grid {
  margin-top: 0;
}

.flxry-service-contact-note {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-top: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid var(--card-border);
  max-width: 42rem;
}

.flxry-service-contact-note__heading {
  font-family: var(--font-display), sans-serif;
  font-weight: 700;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: var(--text-primary);
  margin: 0 0 0.75rem;
  line-height: 1.25;
}

.flxry-service-contact-note p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.flxry-service-contact-note__action {
  margin: 1.25rem 0 0;
}

/* ---- Rechtstexte (Impressum / AGB / Datenschutz) ----
   Lean-Public-CSS lädt kein flxry-php-app.css — Styles deshalb hier. */
body.flxry-php-app .content-section.legal-text.flxry-legal-section {
  background: var(--navy-mid);
  padding-left: clamp(1.1rem, 4.5vw, 2.5rem);
  padding-right: clamp(1.1rem, 4.5vw, 2.5rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

body.flxry-php-app .flxry-legal-section .flxry-subpage-intro--left {
  margin-bottom: 1.75rem;
  max-width: 40rem;
}

body.flxry-php-app .flxry-legal-section .flxry-subpage-intro--left h1 {
  font-size: clamp(1.55rem, 6.2vw, 2.4rem);
  line-height: 1.18;
  hyphens: manual;
  -webkit-hyphens: manual;
  overflow-wrap: break-word;
  word-break: normal;
  text-wrap: balance;
}

.flxry-legal-lead {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.flxry-legal-notice {
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  max-width: 40rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--card-border);
  border-radius: 10px;
}

html[data-theme="dark"] .flxry-legal-notice {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.flxry-legal-prose {
  max-width: 40rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.flxry-legal-prose > *:first-child {
  margin-top: 0;
}

body.flxry-php-app .flxry-legal-section .flxry-legal-prose h2 {
  font-family: var(--font-display), sans-serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 3.8vw, 1.35rem);
  color: var(--text-primary);
  margin: 1.75rem 0 0.55rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  hyphens: manual;
  -webkit-hyphens: manual;
  overflow-wrap: break-word;
  word-break: normal;
}

body.flxry-php-app .flxry-legal-section .flxry-legal-prose h3 {
  font-family: var(--font-sans), sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 3.2vw, 1.08rem);
  color: var(--text-primary);
  margin: 1.25rem 0 0.4rem;
  line-height: 1.35;
  hyphens: manual;
  -webkit-hyphens: manual;
}

body.flxry-php-app .flxry-legal-section .flxry-legal-prose p {
  margin: 0 0 0.9rem;
  color: var(--text-muted);
  font-size: clamp(0.95rem, 3.3vw, 1.02rem);
  line-height: 1.65;
}

body.flxry-php-app .flxry-legal-section .flxry-legal-prose strong {
  color: var(--text-primary);
  font-weight: 600;
}

body.flxry-php-app .flxry-legal-section .flxry-legal-prose a {
  color: var(--flxry-link);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.flxry-php-app .flxry-legal-section .flxry-legal-prose a:hover {
  color: var(--flxry-link-hover);
}

body.flxry-php-app .flxry-legal-section .flxry-legal-prose ul,
body.flxry-php-app .flxry-legal-section .flxry-legal-prose ol {
  margin: 0 0 1rem;
  padding-left: 0;
  list-style: none;
}

body.flxry-php-app .flxry-legal-section .flxry-legal-prose ol {
  counter-reset: flxry-legal;
}

body.flxry-php-app .flxry-legal-section .flxry-legal-prose li {
  position: relative;
  margin: 0.5rem 0;
  padding-left: 1.4rem;
  color: var(--text-muted);
  font-size: clamp(0.95rem, 3.3vw, 1.02rem);
  line-height: 1.65;
}

body.flxry-php-app .flxry-legal-section .flxry-legal-prose ul > li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.55em;
  width: 0.38em;
  height: 0.38em;
  border-radius: 50%;
  background: var(--flxry-link);
}

body.flxry-php-app .flxry-legal-section .flxry-legal-prose ol > li {
  counter-increment: flxry-legal;
}

body.flxry-php-app .flxry-legal-section .flxry-legal-prose ol > li::before {
  content: counter(flxry-legal) ".";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.15rem;
  color: var(--flxry-link);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 600px) {
  body.flxry-php-app:not(.admin-body) .content-section.legal-text.flxry-subpage-first {
    padding-top: clamp(6.75rem, 20vw, 8.5rem);
  }

  body.flxry-php-app .flxry-legal-section .flxry-legal-prose ul > li,
  body.flxry-php-app .flxry-legal-section .flxry-legal-prose ol > li {
    padding-left: 1.35rem;
  }

  body.flxry-php-app .flxry-legal-section .flxry-legal-prose h2 {
    margin-top: 1.5rem;
  }
}
