/* =================================================================
   msy-designs — Stylesheet
   Visuelles System: "Präzision & Wärme"
   Display: Clash Display · Text: Satoshi (selbst gehostet, DSGVO-konform)
   ================================================================= */

/* ---------- Fonts (lokal gehostet) ---------- */
@font-face {
  font-family: 'Clash Display';
  src: url('/fonts/clash-display-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Clash Display';
  src: url('/fonts/clash-display-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Clash Display';
  src: url('/fonts/clash-display-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/satoshi-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/satoshi-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/satoshi-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Design Tokens ---------- */
:root {
  --canvas:      #f6f5f2;
  --surface:     #ffffff;
  --mist:        #eceae4;
  --ink:         #14151a;
  --ink-2:       #56585f;
  --ink-3:       #656770;
  --line:        #e4e2db;
  --line-strong: #d6d3ca;
  --accent:      #ff4d2e;
  --accent-deep: #da3a1b;
  --accent-dark: #bc3015;
  --accent-soft: #ffe9e2;
  --on-dark:     #f6f5f2;
  --on-dark-2:   #a9abb3;
  --wa:          #25d366;

  --display: 'Clash Display', 'Satoshi', system-ui, sans-serif;
  --body: 'Satoshi', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1140px;
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(20,21,26,.05), 0 2px 6px -2px rgba(20,21,26,.06);
  --shadow:    0 2px 4px rgba(20,21,26,.04), 0 12px 28px -10px rgba(20,21,26,.12);
  --shadow-lg: 0 4px 8px rgba(20,21,26,.05), 0 30px 60px -18px rgba(20,21,26,.22);
  --shadow-accent: 0 18px 48px -16px rgba(218,58,27,.42);
  --glow:        0 8px 30px -8px rgba(255,77,46,.7);
  --glow-strong: 0 0 40px -4px rgba(255,77,46,.55);

  --ease: cubic-bezier(.2,.7,.2,1);
  --section-y: clamp(4.5rem, 9vw, 8rem);

  color-scheme: light;
}

/* ---------- Dark Theme ---------- */
html[data-theme="dark"] {
  --canvas:      #0e0f13;
  --surface:     #191b24;
  --mist:        #141620;
  --ink:         #f3f3f5;
  --ink-2:       #b6b9c2;
  --ink-3:       #888b95;
  --line:        #282b35;
  --line-strong: #3a3e4a;
  --accent:      #ff5a3c;
  --accent-deep: #ff6b4d;
  --accent-dark: #ff8569;
  --accent-soft: rgba(255,90,60,.16);

  --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 2px 6px -2px rgba(0,0,0,.5);
  --shadow:    0 2px 4px rgba(0,0,0,.35), 0 12px 28px -10px rgba(0,0,0,.6);
  --shadow-lg: 0 4px 8px rgba(0,0,0,.4), 0 30px 60px -18px rgba(0,0,0,.7);

  color-scheme: dark;
}
html { transition: background-color .35s var(--ease); }

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
  text-wrap: balance;
}

p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
strong { color: var(--ink); font-weight: 700; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 3px solid var(--accent-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px; top: 0;
  background: #fff; color: var(--ink);
  padding: .75rem 1.25rem;
  border-radius: 8px; z-index: 200;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.skip-link:focus { left: 1rem; top: 1rem; }
main:focus { outline: none; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.section { padding-block: var(--section-y); }
.section--mist { background: var(--mist); }
.section--surface { background: var(--surface); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem; height: 2px;
  background: var(--accent);
  display: inline-block;
}
.section-head--center .eyebrow { justify-content: center; }

h2.h-section { font-size: clamp(1.95rem, 3.6vw, 3rem); }
.section-head p {
  margin-top: 1.1rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--ink-2);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--accent-deep);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 1rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  text-align: center;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-accent); }
.btn:active { transform: translateY(0); }

.btn--lg { padding: 1.15rem 2rem; font-size: 1.05rem; }
.btn--sm { padding: .7rem 1.1rem; font-size: .92rem; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
  box-shadow: var(--shadow);
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
}
.btn--light:hover { background: var(--canvas); color: var(--ink); }

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

/* Glühender CTA (Akzent) */
.btn--glow {
  background: var(--accent);
  box-shadow: var(--glow);
  animation: glowPulse 2.6s var(--ease) infinite;
}
.btn--glow:hover { background: var(--accent-deep); box-shadow: 0 12px 38px -8px rgba(255,77,46,.85); }
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 6px 22px -10px rgba(255,77,46,.6), 0 0 0 0 rgba(255,77,46,0); }
  50%      { box-shadow: 0 10px 34px -8px rgba(255,77,46,.85), 0 0 24px 1px rgba(255,77,46,.45); }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  color: var(--ink);
  position: relative;
}
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow::after {
  content: "";
  position: absolute; left: 0; bottom: -3px;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(1); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0; z-index: 50;
  background: var(--canvas);
  background: color-mix(in srgb, var(--canvas) 82%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: var(--canvas);
  background: color-mix(in srgb, var(--canvas) 92%, transparent);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.brand .brand-mark { width: 32px; height: 32px; flex: none; }
.brand b { color: var(--accent-deep); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; padding: 0; }
.nav-links a {
  font-size: .98rem;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  align-items: center; justify-content: center;
  color: var(--ink);
}

/* ---------- Theme-Toggle (Hell/Dunkel) ---------- */
.theme-toggle {
  position: relative;
  flex: none;
  width: 60px; height: 30px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.theme-toggle:hover { border-color: var(--accent); }
.theme-toggle-track {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 8px;
}
.theme-toggle-icon {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  width: 15px; height: 15px;
  transition: color .3s var(--ease);
}
.theme-toggle-icon svg { width: 15px; height: 15px; }
.theme-toggle-sun  { color: #fff; }
.theme-toggle-moon { color: var(--ink-3); }
html[data-theme="dark"] .theme-toggle-sun  { color: var(--ink-3); }
html[data-theme="dark"] .theme-toggle-moon { color: #fff; }
.theme-toggle-thumb {
  position: absolute; top: 2px; left: 2px; z-index: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
  transition: transform .34s cubic-bezier(.34,1.4,.64,1);
}
html[data-theme="dark"] .theme-toggle-thumb { transform: translateX(30px); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(2.5rem, 5vw, 4.5rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: -10%; right: -5%;
  width: 50vw; height: 50vw;
  max-width: 720px; max-height: 720px;
  background: radial-gradient(circle at center, rgba(255,77,46,.16), rgba(255,77,46,0) 62%);
  z-index: 0; pointer-events: none;
}

/* ---------- Hero: animierte Background Paths ---------- */
.hero-paths {
  position: absolute; inset: 0;
  z-index: 0; pointer-events: none;
  overflow: hidden;
  color: var(--accent);
  -webkit-mask-image: radial-gradient(120% 100% at 70% 35%, #000 55%, transparent 100%);
          mask-image: radial-gradient(120% 100% at 70% 35%, #000 55%, transparent 100%);
}
.hero-paths svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero-path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-dasharray: 0.85 0.15;
  animation: heroPathFlow 22s linear infinite;
  will-change: stroke-dashoffset;
}
@keyframes heroPathFlow {
  from { stroke-dashoffset: 1; }
  to   { stroke-dashoffset: 0; }
}

.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  font-weight: 600;
}
.hero h1 .accent { color: var(--accent-deep); }
.hero-sub {
  margin-top: 1.5rem;
  font-size: clamp(1.1rem, 1.55vw, 1.32rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 34rem;
}
.hero-actions {
  margin-top: 2.25rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
}
.hero-microcopy {
  margin-top: 1.2rem;
  font-size: .92rem;
  color: var(--ink-3);
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
}
.hero-microcopy .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

/* Trust strip */
.trust-strip {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: flex; flex-wrap: wrap;
  gap: .8rem 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.trust-item {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .92rem; font-weight: 500; color: var(--ink-2);
}
.trust-item svg { color: var(--accent-deep); flex: none; }

/* ---------- Browser mock (Signature element) ---------- */
.mock-stack { position: relative; }
.browser {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.browser-bar {
  display: flex; align-items: center; gap: .9rem;
  padding: .75rem 1rem;
  background: #fbfaf8;
  border-bottom: 1px solid var(--line);
}
.browser-dots { display: flex; gap: .4rem; }
.browser-dots span { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }
.browser-url {
  flex: 1;
  display: flex; align-items: center; gap: .5rem;
  font-size: .8rem; color: var(--ink-3);
  background: var(--canvas);
  border-radius: 999px;
  padding: .35rem .85rem;
}
.browser-url svg { color: #28c840; flex: none; }

/* Mini website rendered inside the browser */
.mini-site { padding: 1.4rem; background: linear-gradient(180deg, #fff, #faf9f6); }
.mini-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.mini-logo { font-family: var(--display); font-weight: 600; font-size: .95rem; color: var(--ink); }
.mini-logo b { color: var(--accent-deep); }
.mini-menu { display: flex; gap: .6rem; }
.mini-menu i { width: 26px; height: 6px; border-radius: 3px; background: var(--line-strong); display: block; }
.mini-hero-tag { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); }
.mini-hero-title {
  font-family: var(--display); font-weight: 600;
  font-size: 1.45rem; line-height: 1.1; color: var(--ink);
  margin: .4rem 0 .7rem;
}
.mini-lines { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.mini-lines i { height: 7px; border-radius: 4px; background: var(--line); display: block; }
.mini-lines i:nth-child(1) { width: 92%; }
.mini-lines i:nth-child(2) { width: 78%; }
.mini-btn {
  display: inline-flex; align-items: center;
  background: var(--accent-deep); color: #fff;
  font-size: .72rem; font-weight: 700;
  padding: .5rem .9rem; border-radius: 7px;
}
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: 1.2rem; }
.mini-card { background: var(--canvas); border: 1px solid var(--line); border-radius: 10px; padding: .65rem; }
.mini-card .chip { width: 22px; height: 22px; border-radius: 6px; background: var(--accent-soft); margin-bottom: .5rem; }
.mini-card i { display: block; height: 5px; border-radius: 3px; background: var(--line); margin-top: .35rem; }
.mini-card i:nth-child(2) { width: 100%; }
.mini-card i:nth-child(3) { width: 70%; }

/* ---------- Leistungen (kompakt) ---------- */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.leistung {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.leistung:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.leistung .l-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--ink); color: var(--canvas);
  margin-bottom: 1.1rem;
  transition: background-color .3s var(--ease);
}
.leistung:hover .l-icon { background: var(--accent-deep); }
.leistung h3 { font-size: 1.18rem; margin-bottom: .5rem; }
.leistung p { font-size: .95rem; line-height: 1.55; }

/* ---------- Pakete ---------- */
.packages { display: flex; flex-direction: column; gap: 1.5rem; }
.pkg-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
.pkg-or {
  display: flex; align-items: center; justify-content: center;
}
.pkg-or span {
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 600;
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3);
  box-shadow: var(--shadow-sm);
}
.pkg {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.pkg:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.pkg--featured { border-color: var(--accent); box-shadow: var(--glow); }
.pkg--featured:hover { border-color: var(--accent); }
/* Badge in den kleinen Karten schwebt am oberen Rand -> Überschriften bleiben bündig */
.pkg .pkg-badge {
  position: absolute;
  top: -.85rem; left: 50%; transform: translateX(-50%);
  margin: 0; white-space: nowrap;
}
.pkg-name { font-size: 1.5rem; margin-bottom: .25rem; }
.pkg-tagline { font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 1rem; }
.pkg-desc { font-size: .98rem; margin-bottom: 1.4rem; }
.pkg-list { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.pkg-list li { display: flex; gap: .6rem; font-size: .95rem; line-height: 1.4; }
.pkg-list svg { color: var(--accent-deep); flex: none; margin-top: .15rem; }

/* Enterprise (groß, glühend) */
.pkg--enterprise {
  position: relative;
  background: linear-gradient(155deg, #1e2029, #131419);
  border: 1px solid rgba(255,77,46,.45);
  color: var(--on-dark-2);
  box-shadow: var(--shadow-lg), var(--glow-strong);
  padding: clamp(2rem, 4vw, 2.75rem);
  overflow: hidden;
  animation: enterpriseGlow 4s var(--ease) infinite;
}
@keyframes enterpriseGlow {
  0%, 100% { box-shadow: var(--shadow-lg), 0 0 34px -8px rgba(255,77,46,.45); }
  50%      { box-shadow: var(--shadow-lg), 0 0 56px -4px rgba(255,77,46,.6); }
}
.pkg--enterprise::before {
  content: "";
  position: absolute; top: -40%; right: -10%;
  width: 60%; height: 160%;
  background: radial-gradient(circle at center, rgba(255,77,46,.22), transparent 70%);
  pointer-events: none;
}
.pkg--enterprise:hover { transform: translateY(-4px); }
.pkg-ent-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: center; }
.pkg--enterprise .pkg-name { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.pkg--enterprise .pkg-tagline { color: var(--accent); }
.pkg--enterprise .pkg-desc { color: var(--on-dark-2); }
.pkg--enterprise .pkg-list { margin-bottom: 0; }
.pkg--enterprise .pkg-list li { color: #e7e7ea; }
.pkg--enterprise .pkg-list svg { color: var(--accent); }
.pkg-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--accent); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .4rem .85rem; border-radius: 999px;
  margin-bottom: 1.1rem;
  box-shadow: var(--glow);
}
.pkg-ent-note { font-size: .88rem; color: var(--on-dark-2); margin: 1.25rem 0 1.5rem; }
.pkg--enterprise .btn { width: 100%; }

/* ---------- Warum / Vorteile ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem;
}
.value-card .v-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-deep);
  margin-bottom: 1.1rem;
}
.value-card h3 { font-size: 1.25rem; margin-bottom: .55rem; }
.value-card p { font-size: .98rem; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 50rem; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 600; font-size: 1.18rem;
  color: var(--ink);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute;
  background: var(--ink);
  transition: transform .28s var(--ease), background-color .25s var(--ease);
}
.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after { width: 2px; height: 12px; }
.faq-item[open] .faq-icon { background: var(--accent-deep); border-color: var(--accent-deep); }
.faq-item[open] .faq-icon::before { background: #fff; }
.faq-item[open] .faq-icon::after { transform: scaleY(0); background: #fff; }
.faq-answer { padding: 0 0 1.6rem; max-width: 46rem; }
.faq-answer p { color: var(--ink-2); }

/* ---------- Final CTA band ---------- */
.cta-band {
  position: relative;
  background: #14151a;
  color: var(--on-dark-2);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 120% at 85% 10%, rgba(255,77,46,.22), transparent 60%),
    radial-gradient(50% 100% at 0% 100%, rgba(255,77,46,.10), transparent 55%);
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); max-width: 22ch; margin-inline: auto; }
.cta-band p { margin: 1.25rem auto 0; max-width: 40rem; color: var(--on-dark-2); font-size: 1.1rem; }
.cta-band .hero-actions { justify-content: center; margin-top: 2rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0f1014;
  color: var(--on-dark-2);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand .brand b { color: var(--accent); }
.footer-brand p { max-width: 26rem; font-size: .96rem; }
.footer-col h4 { color: #fff; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1.1rem; font-family: var(--body); font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.footer-col a { font-size: .96rem; color: var(--on-dark-2); transition: color .2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: 1.75rem;
  font-size: .88rem; color: var(--on-dark-2);
}
.footer-bottom a { color: var(--on-dark-2); }
.footer-bottom a:hover { color: #fff; }
.footer-made { display: inline-flex; align-items: center; gap: .4rem; }
.footer-made .heart { color: var(--accent); }

/* ---------- Floating Kontakt-Dock ---------- */
.dock {
  position: fixed;
  right: clamp(1rem, 3vw, 1.5rem);
  bottom: clamp(1rem, 3vw, 1.5rem);
  z-index: 70;
  display: flex; flex-direction: column; gap: .7rem;
}
.dock a {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease);
}
.dock a:hover { transform: translateY(-3px) scale(1.06); }
.dock svg { width: 26px; height: 26px; }
.dock-wa { background: var(--wa); }
.dock-call { background: var(--accent-deep); }
.dock-mail { background: #14151a; }
html[data-theme="dark"] .dock-mail { background: var(--line-strong); }
.dock-wa:hover { filter: brightness(1.05); }

/* ---------- Modal ---------- */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 120;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15,16,20,.55);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  animation: fadeIn .2s var(--ease);
}
.modal-card {
  position: relative; z-index: 1;
  width: 100%; max-width: 32rem;
  max-height: 92vh; overflow-y: auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-lg);
  animation: modalIn .28s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-eyebrow { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark); }
.modal-card h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: .4rem 0 .4rem; }
.modal-sub { font-size: .96rem; color: var(--ink-2); margin-bottom: 1.5rem; }
.modal-close {
  position: absolute; top: .9rem; right: .9rem;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--canvas);
  color: var(--ink);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.modal-close:hover { background: var(--ink); color: var(--surface); }

/* ---------- Form ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: .88rem; font-weight: 700; color: var(--ink);
  margin-bottom: .45rem;
}
.field label .req { color: var(--accent-deep); }
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--body); font-size: 1rem;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent-deep);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(218,58,27,.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2356585f' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field-hint { font-size: .85rem; color: var(--ink-3); margin-top: .45rem; line-height: 1.45; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-privacy { font-size: .82rem; color: var(--ink-3); margin-top: 1rem; text-align: center; line-height: 1.5; }
.form-privacy a { color: var(--accent-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.form-success { display: none; text-align: center; padding: 1rem 0; }
.form-success .fs-icon {
  width: 64px; height: 64px; margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: #e9f9ef; color: #1a9b4b;
  display: flex; align-items: center; justify-content: center;
}
.form-success h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.is-sent .form-body { display: none; }
.is-sent .form-success { display: block; }

.form-error {
  color: var(--accent-deep);
  font-size: .9rem;
  margin-top: .85rem;
  text-align: center;
}
.form-error a { color: var(--accent-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Legal pages ---------- */
.legal { padding-block: clamp(3rem, 6vw, 5rem); }
.legal-wrap { max-width: 46rem; margin-inline: auto; }
.legal-wrap h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
.legal-wrap h2 { font-size: 1.4rem; margin-top: 2.5rem; margin-bottom: .75rem; }
.legal-wrap h3 { font-size: 1.1rem; margin-top: 1.5rem; margin-bottom: .5rem; }
.legal-wrap p, .legal-wrap li { color: var(--ink-2); margin-bottom: .85rem; }
.legal-wrap ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.legal-back { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--accent-deep); margin-bottom: 2rem; }
.legal-note {
  background: var(--accent-soft);
  border: 1px solid #f5cdc2;
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  font-size: .9rem; color: #8a3a28;
  margin-bottom: 2rem;
}
.legal-note strong { color: #6e2a1c; }
.ph { background: #fff5cc; border-radius: 4px; padding: 0 .25rem; color: #7a5b00; font-weight: 600; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 1; }
html.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal-d1 { transition-delay: .08s; }
html.js .reveal-d2 { transition-delay: .16s; }
html.js .reveal-d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover, .leistung:hover, .pkg:hover, .value-card:hover, .dock a:hover { transform: none !important; }
  .btn--glow, .pkg--enterprise, .hero-path { animation: none !important; }
  .hero-path { stroke-dasharray: none; }
  .modal-card, .modal-backdrop { animation: none !important; }
  * { animation-duration: .001ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .mock-stack { max-width: 30rem; margin-inline: auto; order: 2; }
  .leistungen-grid { grid-template-columns: repeat(2, 1fr); }
  .pkg-ent-inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: .5rem 0;
  }
  .nav.is-open .nav-links li { width: 100%; }
  .nav.is-open .nav-links a {
    display: block;
    padding: .9rem clamp(1.25rem, 4vw, 2.5rem);
    width: 100%;
    font-size: 1.05rem;
  }
  .nav.is-open .nav-links a::after { display: none; }
  .header-cta { gap: .6rem; }
  .header-cta .btn { padding: .62rem 1rem; font-size: .9rem; }
  .value-grid { grid-template-columns: 1fr; }
  .pkg-pair { grid-template-columns: 1fr; }
  .pkg-or { padding: .25rem 0; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .leistungen-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .dock a { width: 50px; height: 50px; }
  .dock svg { width: 24px; height: 24px; }
}
