/* =========================================================================
   homepage365.de — Urban-Soft Design-System (Designer-Vorgabe)
   Schrift: NUR Inter (selbst gehostet, Weights 200–800)
   Palette: #393939 (weiches Anthrazit) · #A4B6C2 · #D0D0C4 · #F37A1F · Weiß
   Prinzip: viele weiche Verläufe, keine harten Kästen, feine Animationen.
   ========================================================================= */

/* ---------- Inter (lokal, DSGVO-konform) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;            /* Variable Font */
  font-display: swap;
  src: url("../fonts/inter-variable.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --white: #ffffff;
  --paper: #f6f6f3;        /* weiches Off-White */
  --paper-2: #eef0ee;
  --ink: #393939;          /* weiches Anthrazit, KEIN Schwarz */
  --ink-2: #565651;
  --muted: #8b8d86;
  --bluegray: #a4b6c2;
  --bluegray-soft: #c9d5dd;
  --warmgray: #d0d0c4;
  --warmgray-soft: #e4e4da;
  --accent: #ef7a23;       /* CI Brand Orange */
  --accent-2: #f7a813;     /* CI Goldgelb (Verlauf-Ende) */
  --accent-deep: #d97018;  /* CI Logo-Icon Form 2 (dunkler) */
  --line: rgba(57, 57, 57, 0.10);
  --line-2: rgba(57, 57, 57, 0.16);

  /* weiche Verläufe */
  --grad-hero: radial-gradient(120% 100% at 80% 0%, #eaf0f3 0%, var(--paper) 45%, #f1efe9 100%);
  --grad-soft: linear-gradient(150deg, var(--bluegray-soft) 0%, var(--warmgray-soft) 100%);
  --grad-warm: linear-gradient(150deg, #fbf5ee 0%, #f1e9df 100%);
  --grad-cool: linear-gradient(150deg, #eef3f6 0%, #e4ecf0 100%);
  --grad-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  --grad-ink: linear-gradient(155deg, #43433f 0%, #2f2f2c 100%);

  --shadow-soft: 0 18px 50px -24px rgba(57, 57, 57, 0.30);
  --shadow-card: 0 24px 60px -30px rgba(57, 57, 57, 0.40);
  --r: 16px;
  --r-lg: 26px;
  --r-xl: 36px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 56px);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }
::selection { background: var(--accent); color: #fff; }

/* ---------- Typografie (Inter, Weights gespielt) ---------- */
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); line-height: 1.05; letter-spacing: -0.02em; font-weight: 700; }
.display { font-weight: 800; font-size: clamp(2.8rem, 6.5vw, 5.6rem); line-height: 0.98; letter-spacing: -0.035em; }
.section-title { font-weight: 700; font-size: clamp(2rem, 4.2vw, 3.4rem); letter-spacing: -0.03em; }
.eyebrow {
  display: inline-block; font-weight: 500; font-size: 0.8rem;
  letter-spacing: 0.34em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.2rem;
}
.lead { font-weight: 300; font-size: clamp(1.08rem, 1.5vw, 1.32rem); line-height: 1.55; color: var(--ink-2); max-width: 52ch; }
strong, b { font-weight: 700; }
.thin { font-weight: 200; }
.accent { color: var(--accent); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 920px; }
section { position: relative; }
.section { padding-block: clamp(72px, 10vw, 150px); }
.section-head { max-width: 60ch; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 1.2rem; }
.text-center { text-align: center; }

/* weiche Sektions-Übergänge (Verlauf statt harter Kante) */
.soft-top::before, .soft-bottom::after {
  content: ""; position: absolute; left: 0; right: 0; height: 120px; pointer-events: none; z-index: 0;
}
.soft-top::before { top: -1px; background: linear-gradient(180deg, var(--paper), transparent); }
.soft-bottom::after { bottom: -1px; background: linear-gradient(0deg, var(--paper), transparent); }
.bg-cool { background: var(--grad-cool); }
.bg-warm { background: var(--grad-warm); }
.bg-paper2 { background: var(--paper-2); }

/* ---------- Buttons (mehr CTAs, weich) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-weight: 600; font-size: 0.98rem; line-height: 1; white-space: nowrap;
  padding: 1.05em 1.8em; border-radius: 999px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--grad-accent); color: #fff; box-shadow: 0 14px 30px -12px rgba(239, 122, 35, 0.7); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -14px rgba(239, 122, 35, 0.8); }
.btn-soft { background: #fff; color: var(--ink); box-shadow: var(--shadow-soft); }
.btn-soft:hover { transform: translateY(-3px); color: var(--accent); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.btn-ghost-light { background: rgba(255,255,255,0.12); color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); transform: translateY(-3px); }
.btn-lg { padding: 1.2em 2.1em; font-size: 1.05rem; }

/* ---------- Nav (5 Punkte + Dropdown) ---------- */
.nav { position: sticky; top: 0; z-index: 60; transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s; }
.nav.scrolled { background: rgba(246, 246, 243, 0.85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 8px 30px -20px rgba(57,57,57,0.5); }
.nav .container { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.3rem; color: var(--ink); letter-spacing: -0.03em; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--grad-accent); display: grid; place-items: center; color: #fff; box-shadow: 0 10px 22px -10px rgba(239,122,35,0.8); }
.brand-mark svg { width: 21px; height: 21px; }
.brand b { color: var(--accent); }
.brand picture { display: block; line-height: 0; }
.brand img { height: 44px; width: auto; display: block; }
@media (max-width: 720px) { .brand img { height: 36px; } }

.nav-menu { display: flex; align-items: center; gap: 0.4rem; }
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 500; font-size: 0.97rem; color: var(--ink); padding: 0.7rem 1rem; border-radius: 999px; transition: background 0.25s, color 0.25s; }
.nav-item > a:hover, .nav-item.active > a { color: var(--accent); }
.nav-item .caret { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.nav-item:hover .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 230px; background: #fff; border-radius: var(--r); padding: 8px;
  box-shadow: var(--shadow-card); opacity: 0; visibility: hidden; transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 16px; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 0.9rem; border-radius: 12px; font-weight: 500; font-size: 0.95rem; color: var(--ink); transition: background 0.2s, color 0.2s; }
.dropdown a:hover { background: var(--paper); color: var(--accent); }
.dropdown a .di { width: 30px; height: 30px; border-radius: 9px; background: var(--grad-cool); display: grid; place-items: center; color: var(--accent); flex: none; }
.dropdown a .di svg { width: 16px; height: 16px; }
.nav-cta { display: flex; align-items: center; gap: 0.8rem; }
.nav-toggle { display: none; width: 44px; height: 44px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: var(--grad-hero); overflow: hidden; padding-top: clamp(40px, 6vw, 70px); padding-bottom: clamp(56px, 8vw, 110px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-weight: 800; font-size: clamp(2.8rem, 6.4vw, 5.4rem); line-height: 0.98; letter-spacing: -0.04em; color: var(--ink); }
.hero h1 .thin { font-weight: 200; }
.hero h1 .accent { color: var(--accent); }
.hero .lead { margin-top: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }
.hero-trust { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1.4rem; color: var(--muted); font-weight: 300; font-size: 0.92rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-trust svg { width: 17px; height: 17px; color: var(--accent); }

/* freigestellte Person + weiche Blobs hinter ihr (Parallax) */
.hero-figure { position: relative; min-height: 420px; display: grid; place-items: center; }
.blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: 0.9; will-change: transform; }
.blob.b1 { width: 360px; height: 360px; background: var(--grad-soft); top: 4%; right: 6%; }
.blob.b2 { width: 240px; height: 240px; background: var(--grad-warm); bottom: 6%; left: 4%; opacity: 0.8; }
.blob.b3 { width: 120px; height: 120px; background: var(--grad-accent); top: 20%; left: 14%; opacity: 0.22; filter: blur(2px); }
.float-card {
  position: absolute; z-index: 3; background: rgba(255,255,255,0.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-card); display: flex; align-items: center; gap: 0.7rem; will-change: transform;
}
.float-card .fc-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--grad-accent); color: #fff; display: grid; place-items: center; flex: none; }
.float-card .fc-ic svg { width: 19px; height: 19px; }
.float-card .fc-t { display: block; font-size: 0.7rem; color: var(--muted); line-height: 1.2; }
.float-card .fc-v { display: block; font-weight: 700; color: var(--ink); font-size: 0.98rem; line-height: 1.2; }
.fc-1 { top: 12%; left: -2%; } .fc-2 { bottom: 14%; right: -2%; }

/* ---------- Smartphone-Mockup (Kontakt) ---------- */
.phone-mock { position: relative; z-index: 2; width: clamp(220px, 25vw, 280px); aspect-ratio: 9 / 14; border-radius: 36px; background: #17171a; padding: 11px; box-shadow: 0 40px 70px -28px rgba(57,57,57,0.55), 0 0 0 2px rgba(57,57,57,0.06); will-change: transform; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 27px; background: linear-gradient(165deg, #2a2f3a 0%, #1d2129 60%, #2b2233 130%); display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 30px 18px 24px; color: #fff; overflow: hidden; }
.phone-notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 80px; height: 16px; border-radius: 999px; background: #0c0c0e; }
.phone-top { text-align: center; margin-top: 6px; }
.phone-status { font-family: var(--font); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.phone-status::after { content: " ●"; color: #34c759; animation: blink 1.2s infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.2; } }
.phone-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--grad-accent); display: grid; place-items: center; margin: 12px auto 10px; box-shadow: 0 12px 26px -10px rgba(239,122,35,0.8); }
.phone-avatar svg { width: 34px; height: 34px; color: #fff; }
.phone-name { font-weight: 700; font-size: 1.1rem; }
.phone-number { font-weight: 300; font-size: 0.95rem; color: rgba(255,255,255,0.7); margin-top: 4px; }
.phone-actions { display: flex; gap: 26px; align-items: center; }
.phone-btn { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.phone-btn svg { width: 26px; height: 26px; color: #fff; }
.phone-end { background: #ff3b30; }
.phone-end svg { transform: rotate(135deg); }
.phone-call { background: #34c759; animation: ringpulse 1.5s infinite; transition: transform 0.25s var(--ease); }
.phone-call:hover { transform: scale(1.08); }
@keyframes ringpulse { 0% { box-shadow: 0 0 0 0 rgba(52,199,89,0.55); } 70% { box-shadow: 0 0 0 18px rgba(52,199,89,0); } 100% { box-shadow: 0 0 0 0 rgba(52,199,89,0); } }

/* ---------- Logo-Marquee (Partner/Kunden, links→rechts) ---------- */
.marquee { overflow: hidden; padding-block: clamp(28px, 4vw, 44px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .m-label { text-align: center; font-weight: 500; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.6rem; }
.marquee-track { display: flex; align-items: center; gap: clamp(2.4rem, 5vw, 4.5rem); width: max-content; animation: marquee 40s linear infinite; }
.marquee.rev .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(-50%); } to { transform: translateX(0); } } /* links -> rechts */
.m-logo { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: clamp(1.1rem, 1.8vw, 1.5rem); color: var(--ink); opacity: 0.55; letter-spacing: -0.02em; transition: opacity 0.3s, color 0.3s; }
.m-logo:hover { opacity: 1; color: var(--accent); }
.m-logo svg { width: 26px; height: 26px; }

/* ---------- Soft Cards (keine harten Kästen) ---------- */
.cards { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
.scard {
  position: relative; border-radius: var(--r-lg); padding: clamp(26px, 3vw, 38px);
  background: linear-gradient(160deg, #ffffff 0%, #f7f8f7 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, var(--shadow-soft);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  overflow: hidden;
}
.scard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--grad-cool); opacity: 0; transition: opacity 0.45s var(--ease); z-index: 0; }
.scard:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); }
.scard:hover::after { opacity: 0.5; }
.scard > * { position: relative; z-index: 1; }
.scard .ic { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 1.4rem; background: var(--grad-soft); color: var(--ink); display: grid; place-items: center; transition: background 0.4s, color 0.4s, transform 0.4s; }
.scard:hover .ic { background: var(--grad-accent); color: #fff; transform: rotate(-6deg); }
.scard .ic svg { width: 26px; height: 26px; }
.scard h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.55rem; }
.scard p { font-weight: 300; font-size: 0.99rem; color: var(--ink-2); }
.scard .more { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.2rem; font-weight: 600; font-size: 0.9rem; color: var(--accent); }
.scard .more svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.scard:hover .more svg { transform: translateX(5px); }

/* ---------- Preise-Teaser (dezent, sichtbar) ---------- */
.price-teaser { border-radius: var(--r-xl); overflow: hidden; background: var(--grad-ink); color: #fff; display: grid; grid-template-columns: 1.1fr 0.9fr; }
.price-teaser .pt-l { padding: clamp(34px, 4vw, 56px); }
.price-teaser .pt-l h2 { color: #fff; }
.price-teaser .pt-l p { color: rgba(255,255,255,0.7); font-weight: 300; margin-top: 1rem; }
.price-teaser .pt-r { background: rgba(255,255,255,0.04); padding: clamp(34px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 1.4rem; }
.price-teaser .pt-row .amt { font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.4rem); letter-spacing: -0.03em; color: #fff; }
.price-teaser .pt-row .amt small { font-weight: 300; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.price-teaser .pt-row .lbl { font-weight: 300; font-size: 0.9rem; color: rgba(255,255,255,0.65); }

/* ---------- Pricing (Festpreis-Cards + Wartungs-Tabelle) ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); margin-top: clamp(40px, 5vw, 60px); align-items: stretch; }
.pcard { position: relative; border-radius: var(--r-lg); padding: clamp(28px, 3vw, 40px); background: linear-gradient(160deg, #fff, #f7f8f7); box-shadow: var(--shadow-soft); display: flex; flex-direction: column; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.pcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); }
.pcard.featured { background: var(--grad-ink); color: var(--paper); }
.pcard .ptag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad-accent); color: #fff; font-weight: 600; font-size: 0.75rem; padding: 0.35em 1em; border-radius: 999px; }
.pcard .plan { font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.pcard.featured .plan { color: #fff; }
.pcard .desc { font-weight: 300; font-size: 0.92rem; color: var(--muted); margin-top: 0.4rem; min-height: 2.6em; }
.pcard.featured .desc { color: rgba(255,255,255,0.6); }
.pcard .price { margin: 1.4rem 0 0.3rem; display: flex; align-items: baseline; gap: 0.3rem; }
.pcard .amt { font-weight: 800; font-size: clamp(2.2rem, 3.2vw, 2.8rem); letter-spacing: -0.04em; color: var(--ink); }
.pcard.featured .amt { color: #fff; }
.pcard .per { font-weight: 300; font-size: 0.9rem; color: var(--muted); }
.pcard.featured .per { color: rgba(255,255,255,0.6); }
.pcard .psub { font-weight: 300; font-size: 0.82rem; color: var(--muted); margin-bottom: 1.6rem; }
.pcard.featured .psub { color: rgba(255,255,255,0.55); }
.pcard .btn { margin-bottom: 1.8rem; }
.pfeats { display: grid; gap: 0.8rem; }
.pfeats li { display: flex; gap: 0.6rem; font-weight: 300; font-size: 0.93rem; color: var(--ink-2); }
.pcard.featured .pfeats li { color: rgba(255,255,255,0.85); }
.pfeats .ck { color: var(--accent); flex: none; margin-top: 2px; }
.pcard.featured .pfeats .ck { color: var(--accent-2); }
.pfeats .ck svg { width: 16px; height: 16px; }
.price-foot { text-align: center; margin-top: clamp(28px, 4vw, 40px); font-weight: 300; color: var(--muted); }

.ptable-wrap { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-soft); margin-top: clamp(34px, 5vw, 56px); background: #fff; }
.ptable-scroll { overflow-x: auto; }
.ptable { width: 100%; min-width: 640px; border-collapse: collapse; }
.ptable th, .ptable td { padding: 15px 22px; text-align: center; border-bottom: 1px solid var(--line); }
.ptable th:first-child, .ptable td:first-child { text-align: left; }
.ptable thead th { background: var(--grad-cool); vertical-align: bottom; }
.ptable .tier { font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.ptable .pr { display: block; font-weight: 300; color: var(--accent); margin-top: 4px; font-size: 0.9rem; }
.ptable .grp td { background: var(--paper-2); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; text-align: left; color: var(--ink); }
.ptable .feat { text-align: left; color: var(--ink-2); font-weight: 300; }
.ptable .ck { color: var(--accent); display: inline-flex; } .ptable .ck svg { width: 18px; height: 18px; }
.ptable .no { color: var(--line-2); } .ptable .val { font-weight: 300; }
.ptable .feat-col { background: rgba(239,122,35,0.05); }
@media (max-width: 820px) { .price-grid { grid-template-columns: 1fr; } .pcard.featured { order: -1; } }

/* ---------- Bewertungs-Slider (vertikal, Testimonials-Hero) ---------- */
.rate-col { position: relative; z-index: 2; width: 100%; max-width: 380px; height: clamp(380px, 46vw, 520px); margin-inline: auto; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); }
.rate-track { display: flex; flex-direction: column; gap: 16px; animation: rateScroll 22s linear infinite; will-change: transform; }
.rate-col:hover .rate-track { animation-play-state: paused; }
@keyframes rateScroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.rate-card { background: linear-gradient(160deg, #fff, #f7f8f7); border-radius: var(--r); padding: 16px 20px; box-shadow: var(--shadow-soft); display: flex; align-items: center; gap: 14px; }
.rate-badge { width: 46px; height: 46px; border-radius: 12px; background: var(--grad-cool); display: grid; place-items: center; flex: none; color: var(--accent); }
.rate-badge svg { width: 24px; height: 24px; }
.rate-info { flex: 1; min-width: 0; }
.rate-name { font-weight: 700; color: var(--ink); font-size: 0.98rem; }
.rate-stars { color: var(--accent); letter-spacing: 1px; font-size: 0.85rem; margin-top: 1px; }
.rate-score { text-align: right; flex: none; }
.rate-score b { font-weight: 800; font-size: 1.45rem; color: var(--ink); letter-spacing: -0.02em; display: block; line-height: 1; }
.rate-score small { font-weight: 300; font-size: 0.68rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .rate-track { animation: none; } }

/* ---------- Testimonials (3 sichtbar, soft) ---------- */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.tcard { border-radius: var(--r-lg); padding: clamp(26px, 3vw, 36px); background: #fff; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 1.2rem; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.tcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.tcard .stars { color: var(--accent); letter-spacing: 2px; font-size: 0.95rem; }
.tcard blockquote { font-weight: 300; font-size: 1.05rem; line-height: 1.5; color: var(--ink); }
.tcard .who { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.tcard .av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--grad-soft); flex: none; }
.tcard .nm { font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.tcard .rl { font-weight: 300; font-size: 0.85rem; color: var(--muted); }

/* ---------- CTA-Band (Kostenloses Erstgespräch) ---------- */
.cta-band { border-radius: var(--r-xl); background: var(--grad-accent); color: #fff; padding: clamp(40px, 6vw, 80px); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 120% at 80% 0%, rgba(255,255,255,0.25), transparent 60%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,0.9); font-weight: 300; max-width: 50ch; margin: 1rem auto 0; }
.cta-band .hero-actions { justify-content: center; margin-top: 2rem; }

/* ---------- Footer ---------- */
.footer { background: var(--grad-ink); color: rgba(255,255,255,0.62); padding-top: clamp(56px, 7vw, 90px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 48px; }
.footer .brand { color: #fff; display: inline-block; margin-bottom: 1.1rem; }
.footer .brand img { height: 40px; width: auto; }
.footer h4 { color: #fff; font-size: 0.95rem; font-weight: 600; margin-bottom: 1.2rem; }
.footer p { font-weight: 300; font-size: 0.93rem; margin-top: 1rem; max-width: 34ch; }
.footer ul li { margin-bottom: 0.7rem; }
.footer ul a { font-weight: 300; font-size: 0.93rem; transition: color 0.2s; }
.footer ul a:hover { color: #fff; }
.footer .fc li { display: flex; gap: 0.55rem; align-items: flex-start; font-weight: 300; font-size: 0.92rem; margin-bottom: 0.9rem; }
.footer .fc svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-block: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-weight: 300; font-size: 0.85rem; }
.footer-bottom .legal { display: flex; gap: 1.4rem; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveals + Parallax ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
[data-parallax] { will-change: transform; }

/* ---------- Legal ---------- */
.legal { padding-block: clamp(48px, 7vw, 90px); max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 1.6rem; }
.legal h2 { font-size: 1.3rem; margin: 2.2rem 0 0.8rem; }
.legal p, .legal address { font-weight: 300; margin-bottom: 1rem; font-style: normal; }
.legal a { color: var(--accent); }
.back-link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--accent); margin-bottom: 2rem; }
.back-link svg { width: 18px; height: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: 0; min-height: 300px; }   /* Copy zuerst statt Bild zuerst */
  .cards.c3, .cards.c4, .tst-grid { grid-template-columns: 1fr 1fr; }
  .price-teaser { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-menu { display: none; }
  .nav-cta .btn-primary { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-menu {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; background: var(--paper);
    padding: 10px var(--gutter) 18px; box-shadow: var(--shadow-card);
  }
  .nav.open .nav-item > a { padding: 14px 4px; }
  .nav.open .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; padding: 0 0 8px 14px; min-width: 0; }
  .cards.c3, .cards.c4, .tst-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .hero-actions .btn { flex: 1; }
  /* Mobile: großes Bild ausblenden (Partner-Vorgabe) — Copy bekommt volle Breite,
     die Berlin-Skyline bleibt als atmosphärischer Hintergrund erhalten. */
  .hero-figure { display: none; }
  .hero { padding-top: clamp(24px, 8vw, 48px); padding-bottom: clamp(40px, 10vw, 72px); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
  .hero::after, .hero::before, .blob { animation: none !important; }
  .hero h1 .accent::after { animation: none !important; transform: scaleX(1); }
  * { scroll-behavior: auto !important; }
}

/* ============================================================
   BERLINER HORIZONT — Hero-Tiefe (Skyline + Glow + dezente Bewegung)
   Skyline wird via js/script.js in jede .hero injiziert (data-parallax),
   verschmilzt per mask nach oben in den Hero-Gradient.
   ============================================================ */
.hero-grid { position: relative; z-index: 1; }

/* (Skyline entfernt — war nicht erkennbar Berlin. Neuer Hero-Hingucker folgt.) */

/* (1) Aurora-Mesh: mehrere weiche warme Orbs driften & morphen, verschmelzen in --grad-hero */
.hero::after {
  content: ""; position: absolute; inset: -12%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(38% 44% at 22% 30%, rgba(239,122,35,0.16), transparent 60%),
    radial-gradient(42% 48% at 82% 16%, rgba(255,154,77,0.18), transparent 62%),
    radial-gradient(48% 52% at 64% 84%, rgba(239,122,35,0.10), transparent 64%);
  filter: blur(16px);
  animation: auroraMesh 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes auroraMesh {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(2.5%, -2.5%, 0) scale(1.09); }
  100% { transform: translate3d(-3%, 2%, 0) scale(1.04); }
}

/* (B) Headline-Akzent: Orange-Marker zeichnet sich beim Laden hinter dem Akzentwort ein */
.hero h1 .accent { position: relative; }
.hero h1 .accent::after {
  content: ""; position: absolute; left: -3%; right: -3%; bottom: 0.08em; height: 0.2em;
  background: var(--accent); opacity: 0.24; border-radius: 3px; z-index: -1;
  transform: scaleX(0); transform-origin: left center;
  animation: markerSwipe 0.85s 0.7s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes markerSwipe { to { transform: scaleX(1); } }

/* (3) Feines animiertes Korn — premium „lebt"-Textur, verschmilzt vollständig */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.32; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: grainShift 0.7s steps(4) infinite;
  will-change: transform;
}
@keyframes grainShift {
  0%   { transform: translate(0,0); }
  25%  { transform: translate(-3%,2%); }
  50%  { transform: translate(2%,-3%); }
  75%  { transform: translate(-2%,-2%); }
  100% { transform: translate(0,0); }
}

/* ---------- .hero-figure-Höhe (Sub-Page-Heroes) ---------- */
/* (Alter Index-„HERO-BÜHNE"-/Satelliten-Code entfernt — Index nutzt jetzt
   .hero-home. Diese min-height steuert weiter die Sub-Page-.hero-figure.) */
.hero-figure { min-height: 500px; }

/* Anfragen-Chart-Linie (Index-Badge .hb-chart) */
.chartline { width: 100%; height: auto; overflow: visible; }
.chartline polyline { stroke-dasharray: 320; stroke-dashoffset: 320; animation: chartDraw 1.6s 0.7s cubic-bezier(0.22,1,0.36,1) forwards; }
.chartline circle { opacity: 0; animation: dotPop 0.4s 2.2s forwards; }
@keyframes chartDraw { to { stroke-dashoffset: 0; } }
@keyframes dotPop { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .chartline polyline { animation: none; stroke-dashoffset: 0; }
  .chartline circle { animation: none; opacity: 1; }
}

/* Blobs leben über opacity/filter (NICHT transform — das setzt die Parallax-JS) */
.blob { animation: blobPulse 9s ease-in-out infinite alternate; }
.blob.b2 { animation-duration: 11s; animation-delay: -3s; }
.blob.b3 { animation-duration: 7s; animation-delay: -1.5s; }
@keyframes blobPulse {
  from { opacity: 0.85; filter: blur(8px); }
  to   { opacity: 0.55; filter: blur(14px); }
}

/* Mobile-Trust-Zeile (statt der ausgeblendeten Float-Cards) */
.hero-mobile-stats { display: none; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: 1.8rem; }
.hero-mobile-stats b { color: var(--accent); font-weight: 800; }
.hero-mobile-stats span { display: inline-flex; align-items: baseline; gap: 0.4rem; font-size: 0.9rem; color: var(--ink-2); font-weight: 300; }
@media (max-width: 720px) { .hero-mobile-stats { display: flex; } }

/* ============================================================
   HOME-HERO — Vollbild-Motiv (Devices rechts), Text links lesbar
   Nur Startseite (.hero-home). Sub-Pages behalten den Grid-Hero.
   ============================================================ */
.hero-home {
  position: relative; isolation: isolate; display: flex; align-items: center;
  min-height: min(880px, 94vh); overflow: hidden;
  padding-top: clamp(104px, 13vh, 162px); padding-bottom: clamp(56px, 8vh, 104px);
}
/* Aurora/Grain-Deko auf der Startseite aus — das Bild ist der Star */
.hero-home::before, .hero-home::after { content: none !important; }

.hero-home .hero-bg { position: absolute; inset: 0; z-index: -2; margin: 0; display: block; }
.hero-home .hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: right center;
  opacity: 0; transform: scale(1.045); will-change: transform, opacity;
  animation: heroImgIn 1.5s 0.05s var(--ease) forwards;
}
@keyframes heroImgIn { to { opacity: 1; transform: scale(1); } }

.hero-home .hero-scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(246,246,243,0.96) 0%, rgba(246,246,243,0.84) 24%, rgba(246,246,243,0.36) 48%, rgba(246,246,243,0) 64%),
    linear-gradient(0deg, rgba(246,246,243,0.42) 0%, rgba(246,246,243,0) 26%);
}

.hero-home .hero-inner { position: relative; z-index: 1; width: 100%; }
.hero-home .hero-copy { max-width: 600px; }

/* Schwebende Ergebnis-Badges (über dem Device) */
.hero-home .hb { position: absolute; z-index: 2; }
.hero-home .hb-chart {
  top: 15%; right: 32%; flex-direction: column; align-items: stretch; gap: 6px; width: 158px;
}
.hero-home .hb-chart .sat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
.hero-home .hb-chart .fc-t { max-width: 8ch; line-height: 1.12; }
.hero-home .hb-chart .fc-v { white-space: nowrap; color: var(--accent); }
.hero-home .hb-chart .chartline { width: 100%; height: auto; overflow: visible; }
.hero-home .hb-rating { bottom: 17%; right: 6.5%; }

@media (max-width: 940px) {
  .hero-home {
    display: flex; flex-direction: column; align-items: stretch; min-height: 0;
    padding-top: clamp(92px, 12vh, 128px); padding-bottom: clamp(40px, 8vw, 72px);
    background: var(--grad-hero);
  }
  .hero-home .hero-inner { order: 1; }
  .hero-home .hero-bg {
    order: 2; position: relative; inset: auto; z-index: 0;
    margin-top: clamp(1.6rem, 4vw, 2.4rem); border-radius: var(--r-lg); overflow: hidden;
    box-shadow: var(--shadow-card); aspect-ratio: 16 / 10;
  }
  .hero-home .hero-bg img { object-position: 80% center; animation: none; opacity: 1; transform: none; }
  .hero-home .hero-scrim { display: none; }
  .hero-home .hb { display: none; }
  .hero-home .hero-copy { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-home .hero-bg img { animation: none; opacity: 1; transform: none; }
}

/* ============================================================
   SUB-PAGE-HERO — Motiv-Bild-Card statt Person (zweispaltig)
   ============================================================ */
.hero-shot {
  position: relative; z-index: 2; display: block;
  width: min(100%, 540px); aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  background: var(--paper-2); will-change: transform, opacity;
  animation: shotFade 1s 0.08s var(--ease) both;
}
@keyframes shotFade { from { opacity: 0; } to { opacity: 1; } }
/* Motiv bleibt auf Mobile sichtbar (anders als der alte Personen-Hero) — gestapelt unter der Copy */
@media (max-width: 720px) {
  .hero-figure--shot { display: grid !important; min-height: 0; margin-top: clamp(1.4rem, 5vw, 2rem); }
  .hero-figure--shot .blob, .hero-figure--shot .float-card { display: none; }
  .hero-figure--shot .hero-shot { width: 100%; aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) { .hero-shot { animation: none; opacity: 1; } }
