/* FolienFlow – Landingpage
   Farben: Graphit + Folien-Orange, kühles Werkstattgrau. Motiv: Folienmuster & Schnittlinien. */

:root {
  --graphite: #14161B;
  --graphite-2: #1F232B;
  --graphite-3: #2B303A;
  --orange: #E4572E;
  --orange-deep: #B5401C;
  --orange-soft: #FBE3DA;
  --shop: #EEF0F3;
  --paper: #FFFFFF;
  --steel: #545B68;
  --steel-light: #8C93A0;
  --line: #D8DCE2;
  --line-dark: #343944;
  --ok: #1F7A4D;
  --ok-soft: #DDF1E6;

  /* Folienmuster */
  --f-satin-black: #1C1D21;
  --f-nardo: #8E9398;
  --f-orange: #E4572E;
  --f-purple: #3B2E6B;
  --f-green: #1E4F3B;
  --f-pearl: #ECE9E2;
  --f-blue: #2563A6;
  --f-sand: #B49A72;

  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--graphite);
  background: var(--shop);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--graphite); color: #fff; padding: 10px 16px; border-radius: var(--radius-s);
  text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; font-size: 1rem; text-decoration: none; letter-spacing: -0.005em;
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--orange); color: var(--graphite); }
.btn--primary:hover { background: #EE6A43; }
.btn--ghost { border-color: var(--graphite); color: var(--graphite); background: transparent; }
.btn--ghost:hover { background: var(--graphite); color: #fff; }
.btn--light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--light:hover { background: #fff; color: var(--graphite); border-color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(238, 240, 243, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.03em; }
.brand svg { width: 32px; height: 32px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px; color: var(--graphite-3); }
.nav a:hover { color: var(--graphite); background: rgba(20,22,27,.06); }
.nav .btn { padding: 8px 18px; min-height: 40px; font-size: .95rem; margin-left: 6px; border-radius: 999px; color: var(--graphite); }
.nav .btn:hover { background: #EE6A43; }
.nav .nav-login { color: var(--graphite); font-weight: 700; }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent;
  border-radius: 10px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2px; background: var(--graphite); border-radius: 2px; position: relative; content: "";
  transition: transform .2s, background-color .2s;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 20px; background: var(--shop); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 8px; font-size: 1.05rem; }
  .nav .btn { margin: 10px 0 0; min-height: 48px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  line-height: 1.0; letter-spacing: -0.045em;
  max-width: 11ch;
}
.cutline { display: block; width: min(100%, 460px); height: 34px; margin: 18px 0 22px; overflow: visible; }
.cutline .cut-path {
  fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 8 7;
}
.cutline .cut-mask { fill: none; stroke: var(--shop); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 640; stroke-dashoffset: 0; }
.cutline .blade { fill: var(--graphite); }
@media (prefers-reduced-motion: no-preference) {
  .cutline .cut-mask { animation: cut 1.5s .35s cubic-bezier(.6,.05,.3,1) forwards; }
  .cutline .blade { offset-path: path("M2 24 C 90 6, 170 30, 250 16 S 400 8, 456 20"); offset-rotate: auto; offset-distance: 0%; animation: blade 1.5s .35s cubic-bezier(.6,.05,.3,1) forwards; }
}
@keyframes cut { to { stroke-dashoffset: -640; } }
@keyframes blade { to { offset-distance: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .cutline .cut-mask { display: none; }
  .cutline .blade { transform: translate(456px, 20px); }
}
.hero-lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--steel); max-width: 34em; }
.hero-lead strong { color: var(--graphite); font-weight: 700; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 16px; font-size: .92rem; color: var(--steel); }

.trades { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; padding: 0; list-style: none; }
.trades li {
  font-size: .88rem; font-weight: 700; padding: 6px 12px 6px 8px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 8px;
}
.trades li i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.t1 { background: var(--f-satin-black); }
.t2 { background: linear-gradient(135deg, #4a5160, #20242c); }
.t3 { background: linear-gradient(135deg, #f4f6f8, #c8ced6); border: 1px solid #b8bec7; }
.t4 { background: var(--f-orange); }

/* Hero visual: Farbfächer + Browser + Handy */
.hero-visual { position: relative; min-height: 520px; }
.fan { position: absolute; right: -6%; top: -4%; width: 78%; aspect-ratio: 1; pointer-events: none; }
.fan span {
  position: absolute; left: 50%; bottom: 8%; width: 17%; height: 86%;
  border-radius: 10px 10px 6px 6px; transform-origin: 50% 96%;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 24px -14px rgba(20,22,27,.5);
}
.fan span::after {
  content: ""; position: absolute; left: 50%; bottom: 4%; width: 10px; height: 10px; margin-left: -5px;
  border-radius: 50%; background: var(--shop); box-shadow: inset 0 1px 2px rgba(0,0,0,.4);
}
.fan span:nth-child(1) { background: var(--f-pearl); transform: translateX(-50%) rotate(-58deg); }
.fan span:nth-child(2) { background: var(--f-sand); transform: translateX(-50%) rotate(-42deg); }
.fan span:nth-child(3) { background: var(--f-green); transform: translateX(-50%) rotate(-26deg); }
.fan span:nth-child(4) { background: var(--f-blue); transform: translateX(-50%) rotate(-10deg); }
.fan span:nth-child(5) { background: var(--f-purple); transform: translateX(-50%) rotate(6deg); }
.fan span:nth-child(6) { background: var(--f-nardo); transform: translateX(-50%) rotate(22deg); }
.fan span:nth-child(7) { background: var(--f-orange); transform: translateX(-50%) rotate(38deg); }
.fan span:nth-child(8) { background: var(--f-satin-black); transform: translateX(-50%) rotate(54deg); }

.browser {
  position: relative; z-index: 2; margin-top: 70px; margin-right: 8%;
  background: var(--paper); border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(20,22,27,.55), 0 0 0 1px rgba(20,22,27,.08);
}
.browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #E3E6EA; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #C3C8CF; }
.browser-bar b {
  margin-left: 12px; flex: 1; max-width: 260px; height: 20px; border-radius: 6px; background: #fff;
  font-size: 11px; font-weight: 600; color: var(--steel); line-height: 20px; padding-left: 10px; overflow: hidden; white-space: nowrap;
}
.app { display: grid; grid-template-columns: 130px 1fr; min-height: 330px; font-size: 11px; }
.app-side { background: var(--graphite); color: #C9CED6; padding: 12px 8px; display: flex; flex-direction: column; gap: 2px; }
.app-side .app-logo { display: flex; align-items: center; gap: 6px; color: #fff; font-weight: 800; font-size: 12px; padding: 2px 6px 12px; }
.app-side .app-logo svg { width: 18px; height: 18px; }
.app-side span { padding: 6px 8px; border-radius: 6px; font-weight: 600; }
.app-side span.on { background: var(--graphite-3); color: #fff; box-shadow: inset 3px 0 0 var(--orange); }
.app-main { padding: 14px 16px; background: #F7F8FA; }
.app-main .app-title { font-size: 14px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.tile { background: #fff; border: 1px solid #E6E9ED; border-radius: 8px; padding: 8px 10px; }
.tile small { display: block; color: var(--steel); font-size: 10px; font-weight: 600; }
.tile strong { font-size: 16px; letter-spacing: -0.02em; }
.tile.boss { border-color: var(--orange); }
.jobs { background: #fff; border: 1px solid #E6E9ED; border-radius: 8px; }
.job { display: grid; grid-template-columns: 8px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-top: 1px solid #EEF0F2; }
.job:first-child { border-top: 0; }
.job i { width: 8px; height: 26px; border-radius: 3px; }
.job b { display: block; font-size: 11px; }
.job small { color: var(--steel); font-size: 10px; }
.chip { font-size: 9.5px; font-weight: 700; padding: 3px 7px; border-radius: 999px; white-space: nowrap; background: #EEF0F3; color: var(--graphite-3); }
.chip--orange { background: var(--orange-soft); color: var(--orange-deep); }
.chip--ok { background: var(--ok-soft); color: var(--ok); }

.phone {
  position: absolute; z-index: 3; right: 0; bottom: -40px; width: 196px;
  background: var(--graphite); border-radius: 30px; padding: 8px;
  box-shadow: 0 30px 50px -24px rgba(20,22,27,.6), 0 0 0 1px rgba(255,255,255,.06) inset;
}
.phone-screen { background: #fff; border-radius: 23px; overflow: hidden; font-size: 10px; position: relative; }
.phone-notch { width: 64px; height: 16px; background: var(--graphite); border-radius: 0 0 10px 10px; margin: 0 auto; }
.phone-head { padding: 8px 12px 6px; }
.phone-head small { color: var(--steel); font-weight: 600; display: block; font-size: 9px; }
.phone-head b { font-size: 12.5px; letter-spacing: -0.02em; }
.plate { display: inline-block; margin-top: 4px; border: 1.5px solid var(--graphite); border-radius: 3px; padding: 0 5px 0 9px; font-weight: 800; font-size: 9.5px; position: relative; letter-spacing: .04em; }
.plate::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: #2a54b8; }
.checks { list-style: none; padding: 4px 12px; display: grid; gap: 4px; }
.checks li { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.checks li::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; flex: none; }
.sketch { margin: 6px 12px; border: 1px dashed var(--line); border-radius: 8px; padding: 6px; }
.sketch svg { width: 100%; height: auto; }
.sign { margin: 4px 12px 0; border-bottom: 1.5px solid var(--graphite); position: relative; height: 40px; }
.sign svg { position: absolute; inset: 2px 6px 0; width: calc(100% - 12px); height: 38px; }
.sign-label { margin: 3px 12px 8px; color: var(--steel); font-size: 8.5px; font-weight: 600; }
.phone-btn { margin: 0 12px 12px; background: var(--orange); color: var(--graphite); border-radius: 999px; text-align: center; font-weight: 800; padding: 7px 0; font-size: 10px; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; max-width: 620px; margin-top: 8px; padding-bottom: 40px; }
  .fan { right: -12%; top: -14%; width: 80%; }
}
@media (max-width: 560px) {
  .app { grid-template-columns: 1fr; min-height: 0; }
  .app-side { display: none; }
  .browser { margin-top: 40px; margin-right: 22%; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tiles .tile:nth-child(3) { display: none; }
  .job small { display: none; }
  .phone { width: 150px; bottom: -10px; border-radius: 24px; padding: 6px; }
  .phone-screen { border-radius: 19px; font-size: 8.5px; }
  .sketch { display: none; }
  .fan { width: 96%; right: -26%; top: -10%; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--white { background: var(--paper); }
.section--dark { background: var(--graphite); color: #E8EBEF; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -0.035em; }
.section-head p { margin-top: 16px; font-size: 1.15rem; color: var(--steel); max-width: 40em; }
.section--dark .section-head p { color: #AEB4BE; }

/* Folienmuster-Leiste als Abschnittstrenner */
.film-strip { display: flex; height: 10px; }
.film-strip span { flex: 1; }
.film-strip span:nth-child(1) { background: var(--f-satin-black); }
.film-strip span:nth-child(2) { background: var(--f-nardo); }
.film-strip span:nth-child(3) { background: var(--f-pearl); }
.film-strip span:nth-child(4) { background: var(--f-sand); }
.film-strip span:nth-child(5) { background: var(--f-green); }
.film-strip span:nth-child(6) { background: var(--f-blue); }
.film-strip span:nth-child(7) { background: var(--f-purple); }
.film-strip span:nth-child(8) { background: var(--f-orange); }

/* ---------- Funktionen ---------- */
.feature-index { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: -24px 0 56px; }
.feature-index a {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: .92rem;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--shop);
}
.feature-index a:hover { border-color: var(--graphite); }

.feat {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px);
  align-items: center; padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line);
}
.feat:first-of-type { border-top: 0; padding-top: 0; }
.feat:last-of-type { padding-bottom: 0; }
.feat:nth-of-type(even) .feat-copy { order: 2; }
.feat h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.03em; }
.feat-copy > p { margin-top: 14px; color: var(--steel); font-size: 1.08rem; }
.ticks { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 10px;
  border-left: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange);
  transform: rotate(-45deg) scale(.8); transform-origin: 30% 60%;
}
.section--dark .ticks li::before { border-color: var(--orange); }

/* Demo-Fläche: Folienmuster mit abgezogener Ecke */
.demo {
  position: relative; background: var(--shop); border-radius: var(--radius-l); padding: clamp(18px, 3vw, 32px);
  overflow: hidden;
}
.demo::after {
  content: ""; position: absolute; right: 0; top: 0; width: 46px; height: 46px;
  background: linear-gradient(225deg, var(--paper) 0 50%, rgba(20,22,27,.14) 50% 56%, var(--peel, var(--orange)) 56%);
  border-bottom-left-radius: 8px;
}
.demo--green { --peel: var(--f-green); }
.demo--blue { --peel: var(--f-blue); }
.demo--purple { --peel: var(--f-purple); }
.demo--sand { --peel: var(--f-sand); }
.demo--black { --peel: var(--f-satin-black); }
.card { background: var(--paper); border-radius: var(--radius-m); border: 1px solid #E2E5EA; font-size: .9rem; }

/* Angebot */
.doc { padding: 20px 22px; max-width: 440px; margin-inline: auto; box-shadow: 0 18px 40px -26px rgba(20,22,27,.45); }
.doc-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px 12px; }
.doc-top b { font-size: 1.05rem; letter-spacing: -0.02em; display: block; }
.doc-top small { color: var(--steel); }
.doc-rows { margin: 16px 0 10px; border-top: 1px solid var(--line); }
.doc-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #EDEFF2; }
.doc-row span:last-child { font-weight: 700; white-space: nowrap; }
.doc-sum { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.05rem; padding-top: 4px; }
.doc-flow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.doc-flow .chip { font-size: .78rem; padding: 5px 10px; }

/* Annahme */
.intake { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; }
.intake .card { padding: 14px; }
.intake h4 { font-size: .95rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.dmg-list { list-style: none; display: grid; gap: 6px; font-size: .84rem; margin-top: 8px; }
.dmg-list li { display: flex; gap: 8px; align-items: center; }
.dmg-list b { width: 20px; height: 20px; border-radius: 50%; background: var(--orange); color: var(--graphite); font-size: .72rem; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 4px; }
.photos span { aspect-ratio: 4/3; border-radius: 6px; background: linear-gradient(160deg, #9aa2ad, #4b525d); position: relative; }
.photos span::after { content: ""; position: absolute; left: 40%; top: 35%; width: 22%; height: 26%; border: 2px solid var(--orange); border-radius: 50%; }
.photos span:nth-child(2) { background: linear-gradient(200deg, #c4c9d0, #6c737e); }
.photos span:nth-child(2)::after { left: 22%; top: 50%; }
.photos span:nth-child(3) { background: linear-gradient(140deg, #2d3139, #6f7783); }
.photos span:nth-child(3)::after { display: none; }
.photos span:nth-child(4) { background: var(--shop); display: flex; align-items: center; justify-content: center; }
.photos span:nth-child(4)::after { display: none; }
.photos span:nth-child(4)::before { content: "+"; font-size: 1.4rem; color: var(--steel); font-weight: 500; }
.sig-card { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 16px; }
.sig-card .sig { flex: 1; border-bottom: 2px solid var(--graphite); height: 54px; }
.sig-card .sig svg { width: 100%; height: 50px; }
.sig-card small { color: var(--steel); display: block; margin-top: 4px; }
.pdf-badge { flex: none; background: var(--graphite); color: #fff; font-weight: 800; font-size: .78rem; border-radius: 8px; padding: 10px 12px; text-align: center; line-height: 1.2; }

/* Terminplaner */
.planner { padding: 14px; overflow: hidden; }
.planner-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 10px; }
.planner-head b { letter-spacing: -0.01em; }
.seg { display: inline-flex; background: var(--shop); border-radius: 999px; padding: 3px; font-size: .75rem; font-weight: 700; }
.seg span { padding: 3px 10px; border-radius: 999px; }
.seg .on { background: var(--graphite); color: #fff; }
.pgrid { display: grid; grid-template-columns: 74px repeat(5, minmax(0, 1fr)); gap: 4px; font-size: .78rem; }
.pgrid .d { text-align: center; color: var(--steel); font-weight: 700; padding-bottom: 2px; }
.pgrid .p { font-weight: 700; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.pgrid .p small { color: var(--steel); font-weight: 600; }
.pgrid .bar { border-radius: 6px; padding: 6px 7px; font-weight: 700; font-size: .72rem; line-height: 1.2; color: #fff; min-height: 38px; overflow: hidden; }
.bar--black { background: var(--f-satin-black); }
.bar--orange { background: var(--orange); color: var(--graphite) !important; }
.bar--blue { background: var(--f-blue); }
.bar--green { background: var(--f-green); }
.bar--purple { background: var(--f-purple); }
.bar--off { background: repeating-linear-gradient(135deg, #E7E9ED 0 6px, #F3F4F6 6px 12px); color: var(--steel) !important; }
.bar--free { background: transparent; border: 1px dashed var(--line); }
.s2 { grid-column: span 2; } .s3 { grid-column: span 3; }
.load { display: flex; gap: 14px; margin-top: 12px; font-size: .78rem; color: var(--steel); font-weight: 600; flex-wrap: wrap; }
.load span { display: inline-flex; align-items: center; gap: 6px; }
.load i { display: inline-block; width: 46px; height: 6px; border-radius: 3px; background: var(--shop); position: relative; overflow: hidden; }
.load i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 50%); background: var(--graphite); border-radius: 3px; }
.load .w90::after { width: 90%; } .load .w70::after { width: 70%; } .load .w40::after { width: 40%; }

/* Mitarbeiter vs. Chef */
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.role { padding: 14px; }
.role-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 800; margin-bottom: 10px; }
.role-tag i { width: 22px; height: 22px; border-radius: 50%; background: var(--graphite); color: #fff; font-style: normal; display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; }
.role--boss .role-tag i { background: var(--orange); color: var(--graphite); }
.role b { display: block; letter-spacing: -0.01em; }
.role small { color: var(--steel); }
.kv { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-top: 1px solid #EDEFF2; font-size: .82rem; }
.kv:first-of-type { margin-top: 10px; }
.kv span:last-child { font-weight: 700; text-align: right; }
.hidden-val { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; color: var(--steel); font-weight: 600 !important; }
.hidden-val svg { width: 12px; height: 12px; }
.mini-task { margin-top: 10px; display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; }
.mini-task .cam { width: 30px; height: 30px; border-radius: 8px; background: var(--graphite); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.mini-task .cam svg { width: 16px; height: 16px; }

/* Buchhaltung */
.books { display: grid; grid-template-columns: .8fr 1.2fr; gap: 14px; align-items: start; }
.receipt { padding: 14px 14px 18px; position: relative; background: #fff;
  -webkit-mask: radial-gradient(circle at 6px 100%, transparent 5px, #000 5.5px) 0 0/12px 100% repeat-x;
  mask: radial-gradient(circle at 6px 100%, transparent 5px, #000 5.5px) 0 0/12px 100% repeat-x;
  border-radius: 10px 10px 0 0; border: 0;
}
.receipt .lines { display: grid; gap: 6px; margin: 10px 0; }
.receipt .lines i { display: block; height: 6px; border-radius: 3px; background: #E3E6EA; }
.receipt .lines i:nth-child(2) { width: 70%; } .receipt .lines i:nth-child(3) { width: 85%; } .receipt .lines i:nth-child(4) { width: 55%; }
.scan { border: 2px solid var(--orange); border-radius: 8px; padding: 6px 8px; font-size: .78rem; }
.scan b { display: block; font-size: .8rem; }
.bank { padding: 6px 0; }
.bank-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 9px 14px; border-top: 1px solid #EDEFF2; font-size: .82rem; }
.bank-row:first-child { border-top: 0; }
.bank-row b { font-weight: 700; }
.bank-row .amt { font-weight: 800; text-align: right; }
.bank-row .amt.neg { color: var(--steel); }
.bank-row .chip { grid-column: 1 / -1; justify-self: start; font-size: .72rem; }
.export { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.export span { font-size: .78rem; font-weight: 800; padding: 6px 10px; border-radius: 8px; background: var(--graphite); color: #fff; }
.export span.alt { background: var(--paper); color: var(--graphite); border: 1px solid var(--line); }

/* Visualisierung (interaktiv) */
.viz { padding: 0; overflow: hidden; }
.viz-stage { position: relative; background: linear-gradient(180deg, #DDE1E7 0%, #F1F3F6 62%, #E1E4E9 62.2%, #EEF0F3 100%); padding: 18px 10px 8px; }
.viz-stage svg { width: 100%; height: auto; }
.viz-stage .viz-caption { position: absolute; left: 14px; top: 12px; font-size: .78rem; font-weight: 700; background: rgba(255,255,255,.85); border-radius: 999px; padding: 4px 10px; }
.car-body { fill: var(--car-body, #E4572E); transition: fill .35s ease; }
.car-rim { fill: var(--car-rim, #B9BFC7); transition: fill .35s ease; }
.car-chrome { stroke: var(--car-chrome, #C9CED5); transition: stroke .35s ease; }
.car-chrome-fill { fill: var(--car-chrome, #C9CED5); transition: fill .35s ease; }
.viz-controls { padding: 14px 16px 16px; display: grid; gap: 12px; }
.parts { display: flex; flex-wrap: wrap; gap: 6px; }
.parts button {
  border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 7px 14px; min-height: 36px;
  font-weight: 700; font-size: .85rem; cursor: pointer;
}
.parts button[aria-pressed="true"] { background: var(--graphite); color: #fff; border-color: var(--graphite); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches button {
  width: 40px; height: 40px; border-radius: 10px; border: 2px solid #fff; cursor: pointer; padding: 0;
  box-shadow: 0 0 0 1px var(--line); position: relative;
}
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--graphite); }
.swatches button[aria-pressed="true"]::after {
  content: ""; position: absolute; left: 50%; bottom: -9px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--graphite);
}
.sw-satin-black { background: var(--f-satin-black); }
.sw-nardo { background: var(--f-nardo); }
.sw-orange { background: var(--f-orange); }
.sw-purple { background: linear-gradient(135deg, #4b3c86, #241a45); }
.sw-green { background: var(--f-green); }
.sw-pearl { background: linear-gradient(135deg, #fbfaf7, #d9d4c9); }
.sw-blue { background: linear-gradient(135deg, #3478c2, #1b4777); }
.sw-sand { background: var(--f-sand); }
.sw-chrome { background: linear-gradient(135deg, #f2f4f6, #9aa1aa 50%, #e6e9ec); }
.swatch-name { font-size: .85rem; color: var(--steel); font-weight: 600; min-height: 1.4em; }
.swatch-name b { color: var(--graphite); }

@media (max-width: 860px) {
  .feat { grid-template-columns: 1fr; }
  .feat:nth-of-type(even) .feat-copy { order: 0; }
}
@media (max-width: 520px) {
  .intake, .roles, .books { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 56px repeat(5, minmax(0, 1fr)); }
  .pgrid .bar { font-size: .64rem; padding: 5px 4px; }
  .pgrid .p small { display: none; }
  .doc { padding: 16px; }
}

/* ---------- Überall dabei ---------- */
.devices { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.device-art { position: relative; max-width: 520px; width: 100%; }
.device-art svg { width: 100%; height: auto; }
.platforms { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.platforms h3 { font-size: 1.2rem; letter-spacing: -0.02em; margin-bottom: 6px; color: #fff; }
.platforms p { color: #AEB4BE; font-size: 1rem; }
.platforms li { border-top: 2px solid var(--line-dark); padding-top: 16px; }
.platforms li:first-child { border-top-color: var(--orange); }
.sync-note { margin-top: 32px; padding: 16px 18px; border-radius: var(--radius-m); background: var(--graphite-2); color: #D6DAE0; display: flex; gap: 14px; align-items: flex-start; }
.sync-note svg { width: 26px; height: 26px; flex: none; color: var(--orange); }
@media (max-width: 860px) {
  .devices { grid-template-columns: 1fr; }
  .device-art { margin-inline: auto; }
}
@media (max-width: 520px) { .platforms { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Ablauf ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; position: relative; }
.steps li { position: relative; padding: 0 28px 0 0; }
.steps .step-num {
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px; font-weight: 800; font-size: 2.6rem; letter-spacing: -0.05em; line-height: 1;
}
.steps .step-num::after { content: ""; flex: 1; border-top: 2.5px dashed var(--line); }
.steps li:last-child .step-num::after { border-top: 0; }
.steps li:first-child .step-num { color: var(--orange-deep); }
.steps h3 { font-size: 1.35rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.steps p { color: var(--steel); }
.steps a { font-weight: 700; color: var(--graphite); }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps li { padding: 0 0 0 64px; }
  .steps .step-num { position: absolute; left: 0; top: -4px; margin: 0; }
  .steps .step-num::after { display: none; }
}

/* ---------- Sicherheit ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.trust li { list-style: none; padding: 28px 24px 8px 0; border-right: 1px solid var(--line); margin-right: 24px; }
.trust li:last-child { border-right: 0; margin-right: 0; }
.trust svg { width: 30px; height: 30px; color: var(--graphite); margin-bottom: 16px; }
.trust h3 { font-size: 1.15rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.trust p { color: var(--steel); font-size: .98rem; }
@media (max-width: 900px) {
  .trust { grid-template-columns: 1fr 1fr; }
  .trust li:nth-child(2) { border-right: 0; margin-right: 0; }
}
@media (max-width: 520px) {
  .trust { grid-template-columns: 1fr; }
  .trust li { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding: 22px 0; }
  .trust li:last-child { border-bottom: 0; }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-grid .section-head { position: sticky; top: 100px; margin-bottom: 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-weight: 800; font-size: 1.12rem; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px;
  border-right: 2.5px solid var(--graphite); border-bottom: 2.5px solid var(--graphite);
  transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; border-color: var(--orange); }
.faq summary:hover { color: var(--orange-deep); }
.faq .answer { padding: 0 0 22px; color: var(--steel); max-width: 62ch; }
.faq .answer p + p { margin-top: 10px; }
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
}

/* ---------- Schluss-CTA ---------- */
.cta { background: var(--graphite); color: #fff; position: relative; overflow: hidden; }
.cta-inner { position: relative; z-index: 1; padding: clamp(72px, 10vw, 128px) 0; max-width: 760px; }
.cta h2 { font-size: clamp(2.2rem, 5.4vw, 4rem); letter-spacing: -0.045em; line-height: 1.02; }
.cta p { margin-top: 18px; color: #C2C7CF; font-size: 1.15rem; max-width: 36em; }
.cta .hero-cta { margin-top: 32px; }
.cta-film { position: absolute; right: -60px; top: 50%; transform: translateY(-50%) rotate(-12deg); display: flex; gap: 10px; opacity: .9; }
.cta-film span { width: 70px; height: 420px; border-radius: 12px; }
.cta-film span:nth-child(1) { background: var(--f-orange); }
.cta-film span:nth-child(2) { background: var(--f-nardo); }
.cta-film span:nth-child(3) { background: var(--f-purple); }
.cta-film span:nth-child(4) { background: var(--f-pearl); }
@media (max-width: 900px) { .cta-film { opacity: .18; right: -120px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--graphite); color: #AEB4BE; border-top: 1px solid var(--line-dark); padding: 36px 0 44px; font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer .brand { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; }
.footer-links a { text-decoration: none; font-weight: 600; color: #D6DAE0; padding: 6px 0; display: inline-block; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-small { width: 100%; font-size: .85rem; color: #8C93A0; }

/* ---------- Rechtstexte ---------- */
.legal { padding: clamp(40px, 7vw, 80px) 0 96px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: -0.04em; margin-bottom: 24px; }
.legal h2 { font-size: 1.4rem; margin: 40px 0 12px; letter-spacing: -0.02em; }
.legal h3 { font-size: 1.1rem; margin: 24px 0 8px; letter-spacing: -0.01em; }
.legal p, .legal ul { margin: 0 0 14px; color: #2F343D; }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--orange-deep); font-weight: 600; }
.ph { background: #FFF1B8; color: #5C4600; padding: 0 4px; border-radius: 3px; font-weight: 700; }
.template-note {
  border: 2px dashed var(--orange); background: var(--orange-soft); border-radius: var(--radius-m);
  padding: 16px 18px; margin-bottom: 32px; color: #5A2412;
}
.template-note strong { display: block; margin-bottom: 4px; }
.back-link { display: inline-block; margin-bottom: 28px; font-weight: 700; text-decoration: none; color: var(--steel); }
.back-link:hover { color: var(--graphite); }
.legal ol { margin: 0 0 14px; padding-left: 1.3em; color: #2F343D; }
.legal h2, .legal h3 { scroll-margin-top: 24px; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0 8px; }
.legal-meta { font-weight: 600; color: var(--steel); }
.legal .toc { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; margin: 8px 0 32px; }
.legal .toc .toc-title { font-size: .85rem; margin: 0 0 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--steel); }
.legal .toc ol { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; }
.legal .toc li { break-inside: avoid; margin-bottom: 6px; }
.legal .toc a { font-weight: 500; text-decoration: none; color: var(--graphite); }
.legal .toc a:hover { color: var(--orange-deep); text-decoration: underline; }
@media (max-width: 640px) { .legal .toc ol { columns: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
