/* NetMailer Website – Startseite
   Farben und Formen orientieren sich am neuen NetMailer-Backend (Handbuch). */
:root {
  color-scheme: light;
  --brand: #dd1728;
  --brand-dark: #b60c1c;
  --brand-soft: #fff1f2;
  --brand-line: #f5cdd2;
  --ink: #29292e;
  --ink-2: #48484f;
  --muted: #66666e;
  --line: #e7e7eb;
  --line-strong: #d6d6dd;
  --canvas: #f5f5f7;
  --surface: #ffffff;
  --dark: #1c1c21;
  --open: #3f86a8;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(25, 20, 30, .05), 0 1px 1px rgba(25, 20, 30, .03);
  --shadow-md: 0 14px 34px -18px rgba(25, 20, 30, .28);
  --shadow-lg: 0 40px 70px -30px rgba(40, 20, 30, .35), 0 16px 30px -18px rgba(40, 20, 30, .18);
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; }
a { color: var(--brand-dark); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: #ffd8dd; color: #73131e; }
[hidden] { display: none !important; }

.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.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; }
.skip-link { position: fixed; z-index: 100; top: -80px; left: 16px; padding: 10px 18px; background: #fff; border: 2px solid var(--brand); border-radius: 8px; color: var(--ink); font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* Typografie */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--brand-dark); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; }
.eyebrow .mark { width: 16px; height: 16px; color: var(--brand); flex: none; }
.eyebrow-light { color: rgba(255, 255, 255, .82); }
.eyebrow-light .mark { color: #fff; --cross-fg: var(--brand); }
h1 { font-size: clamp(40px, 4.6vw, 62px); font-weight: 700; line-height: 1.03; letter-spacing: -.035em; }
h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
.dot { color: var(--brand); }
.section-lead { margin-top: 20px; color: var(--muted); font-size: 18.5px; line-height: 1.65; max-width: 640px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-dark); font-weight: 600; text-decoration: none; }
.text-link .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.text-link:hover .icon { transform: translateX(3px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 22px; border: 1px solid transparent; border-radius: 9px; font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px rgba(221, 23, 40, .75); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: #b9b9c2; background: #fcfcfd; }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: 15px; box-shadow: none; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.6) blur(12px); } }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0, 0, 0, .25); }
.header-inner { display: flex; align-items: center; gap: 28px; max-width: 1240px; height: var(--header-h); margin: 0 auto; padding: 0 32px; }
.brand { display: block; flex: none; }
.brand img { display: block; width: 156px; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 8px; color: var(--ink-2); font-size: 15.5px; font-weight: 600; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.main-nav a:hover { background: var(--canvas); color: var(--ink); }
.main-nav .nav-manual { margin-left: 8px; padding-left: 20px; border-left: 1px solid var(--line); border-radius: 0 8px 8px 0; color: var(--muted); font-weight: 500; }
.main-nav .nav-manual .icon, .main-nav .nav-phone .icon { width: 17px; height: 17px; color: var(--brand); }
.main-nav .nav-phone { display: none; }
.header-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 15.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.header-phone .icon { width: 18px; height: 18px; color: var(--brand); }
.nav-toggle { display: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 9px; background: #fff; cursor: pointer; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Hero */
.hero { position: relative; padding: 56px 0 88px; overflow: hidden; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hero-lead { margin-top: 26px; max-width: 540px; color: var(--muted); font-size: 20px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 34px; color: var(--ink-2); font-size: 15px; }
.hero-facts li { display: flex; align-items: center; gap: 10px; }
.hero-facts .icon, .checklist .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); stroke-width: 2.4; }

.hero-visual { position: relative; padding: 36px 0 64px 44px; }
.hero-visual::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: -50vw; border-radius: 28px 0 0 28px; background: var(--canvas); }

.app-frame { position: relative; isolation: isolate; overflow: hidden; border: 1px solid #e0e0e6; border-radius: 12px; background: #fff; box-shadow: var(--shadow-md); }
.app-frame img { display: block; width: 100%; }
.app-frame-bar { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fafafb; color: #7a7a82; font-size: 12px; font-weight: 500; }
.app-frame-bar .dots { display: inline-flex; gap: 6px; }
.app-frame-bar .dots i { width: 8px; height: 8px; border-radius: 50%; background: #dcdce2; }
.hero-app { box-shadow: var(--shadow-lg); }

.kpi-card { position: absolute; top: 12px; right: -14px; width: 214px; padding: 16px 18px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-md); font-size: 13px; }
.kpi-label { margin-bottom: 10px; color: var(--ink); font-weight: 600; }
.kpi-row { display: flex; justify-content: space-between; color: var(--muted); }
.kpi-row strong { color: var(--ink); font-size: 14px; }
.kpi-bar { height: 5px; margin: 6px 0 12px; border-radius: 5px; background: #ececf0; overflow: hidden; }
.kpi-bar i { display: block; height: 100%; border-radius: inherit; background: var(--open); }
.kpi-bar-red i { background: var(--brand); }
.kpi-note { color: #9a9aa2; font-size: 11px; }

.inbox-card { position: absolute; left: 0; bottom: 18px; width: 39%; max-width: 250px; overflow: hidden; border: 1px solid #dedee4; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); }
.inbox-head { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.3; }
.inbox-head strong { display: block; font-size: 12.5px; }
.inbox-head small { color: var(--muted); font-size: 11.5px; }
.inbox-avatar { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; }
.inbox-body { height: 250px; overflow: hidden; background: #f4f4f4; }
.inbox-body img { display: block; width: 100%; animation: inbox-scroll 28s ease-in-out 1.5s infinite alternate; }
@keyframes inbox-scroll { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(calc(-100% + 250px)); } }

/* Referenzen */
.logos { padding: 8px 0 72px; }
.logos-title { margin: 0 auto 30px; max-width: 640px; color: var(--muted); font-size: 15px; font-weight: 600; letter-spacing: 0; line-height: 1.5; text-align: center; }
.logo-row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 20px 32px; align-items: center; }
.logo-row li { display: flex; align-items: center; justify-content: center; height: 64px; }
.logo-row img { max-height: 46px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .62; mix-blend-mode: multiply; transition: filter .25s ease, opacity .25s ease; }
.logo-row li:hover img { filter: none; opacity: 1; }
.logos-link { margin-top: 26px; text-align: center; font-size: 15px; }

/* Sektionen */
.section { padding: 112px 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-center .section-lead { margin-left: auto; margin-right: auto; }
.section-head-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: end; max-width: none; }
.section-head-split .section-lead { margin-top: 0; }

/* Funktionen */
#funktionen { padding-top: 96px; border-top: 1px solid var(--line); }
.features-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; align-items: start; }
.features-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.features-intro .text-link { margin-top: 28px; }
.feature-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feature { padding: 28px 28px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.feature:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); }
.feature-icon .icon { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 8px; font-size: 18.5px; font-weight: 700; letter-spacing: -.01em; }
.feature p { color: var(--muted); font-size: 15.5px; line-height: 1.65; }

/* Produkttour */
.tour-section { background: var(--canvas); }
.tour-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.tour-tab { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink-2); font-size: 16px; font-weight: 600; text-align: left; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.tour-tab:hover { border-color: var(--line-strong); }
.tab-no { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 7px; background: var(--canvas); color: var(--muted); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tour-tab[aria-selected="true"] { border-color: var(--brand-line); background: var(--brand-soft); color: var(--brand-dark); }
.tour-tab[aria-selected="true"] .tab-no { background: var(--brand); color: #fff; }
.tour-panels { display: grid; gap: 20px; }
.tour-panel { display: grid; grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); gap: 48px; align-items: center; padding: 44px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.tour-panel:focus-visible { outline-offset: 6px; border-radius: 20px; }
.tour.is-enhanced .tour-panel { animation: panel-in .35s ease both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tour-copy .panel-kicker { margin-bottom: 10px; color: var(--brand-dark); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tour-copy h3 { margin-bottom: 14px; font-size: 28px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.tour-copy > p { color: var(--muted); font-size: 16.5px; }
.checklist { display: grid; gap: 12px; margin-top: 24px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.checklist .icon { margin-top: 0; }

/* Designs */
.hover-hint { display: inline; }
@media (hover: none) { .hover-hint { display: none; } }
.design-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
.design-card a { display: block; color: inherit; text-decoration: none; border-radius: 16px; }
.design-frame { --frame-h: 480px; position: relative; display: block; height: var(--frame-h); overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #f1f1f3; box-shadow: var(--shadow-sm); transition: box-shadow .25s ease, border-color .25s ease; }
.design-frame::after { content: ""; position: absolute; inset: auto 0 0; height: 90px; background: linear-gradient(to top, rgba(28, 28, 33, .18), rgba(28, 28, 33, 0)); opacity: .9; transition: opacity .3s ease; pointer-events: none; }
.design-frame img { display: block; width: 100%; transition: transform 1.2s cubic-bezier(.45, 0, .2, 1); }
.design-card a:hover .design-frame, .design-card a:focus-visible .design-frame { border-color: var(--line-strong); box-shadow: var(--shadow-lg); }
.design-card a:hover .design-frame::after, .design-card a:focus-visible .design-frame::after { opacity: 0; }
.design-card a:hover img, .design-card a:focus-visible img { transform: translateY(calc(-100% + var(--frame-h))); transition-duration: 9s; transition-timing-function: cubic-bezier(.35, 0, .4, 1); }
.design-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 0 4px; font-size: 15px; }
.design-meta strong { font-size: 16.5px; }
.design-meta span { color: var(--muted); }

/* Pakete */
.plans-section { padding-top: 40px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1060px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; padding: 40px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.plan-featured { border: 2px solid var(--brand); box-shadow: 0 34px 60px -36px rgba(221, 23, 40, .5); }
.plan-badge { position: absolute; top: -14px; left: 38px; padding: 4px 13px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.plan-name { color: var(--brand-dark); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.plan h3 { margin-top: 10px; font-size: 21px; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; }
.plan-price { display: grid; gap: 2px; margin: 28px 0 4px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan-price-label { color: var(--muted); font-size: 14px; }
.plan-amount { font-size: 36px; font-weight: 700; letter-spacing: -.03em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.plan-amount s { margin-right: 6px; color: #9d9da5; font-size: 22px; font-weight: 500; text-decoration-thickness: 2px; }
.plan .checklist { margin-bottom: 34px; }
.plan .btn { margin-top: auto; }
@media (min-width: 681px) {
  @supports (grid-template-rows: subgrid) {
    .plan { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
    .plan .btn { align-self: end; }
  }
}
.included { max-width: 1060px; margin: 24px auto 0; padding: 32px 36px 36px; border-radius: 20px; background: var(--canvas); }
.included-price { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line-strong); }
.included-label { color: var(--muted); font-size: 14px; }
.included-amount { font-size: 30px; font-weight: 700; letter-spacing: -.025em; line-height: 1.25; }
.included-amount span { color: var(--muted); font-size: 18px; font-weight: 500; letter-spacing: 0; }
.included-text { margin-top: 4px; color: var(--muted); font-size: 15px; max-width: 620px; }
.included-title { margin: 26px 0 16px; font-size: 16px; font-weight: 700; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); font-size: 14px; line-height: 1.35; }
.chip-list li::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--brand); }

/* Vertrauen */
.trust { position: relative; padding: 104px 0; overflow: hidden; background: var(--dark); color: #cfcfd6; }
.trust::before { content: ""; position: absolute; top: -260px; left: -200px; width: 700px; height: 700px; background: radial-gradient(closest-side, rgba(221, 23, 40, .28), rgba(221, 23, 40, 0)); pointer-events: none; }
.trust .container { position: relative; }
.trust h2 { color: #fff; }
.trust .section-lead { color: #b9b9c2; }
.trust-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.trust-labels { display: flex; gap: 20px; flex: none; border-radius: 8px; }
.trust-labels img { width: 92px; height: auto; display: block; }
.trust-points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin-top: 64px; padding-top: 44px; border-top: 1px solid rgba(255, 255, 255, .12); }
.trust-points .icon { width: 26px; height: 26px; margin-bottom: 18px; color: #ff5a68; }
.trust-points h3 { margin-bottom: 8px; color: #fff; font-size: 17.5px; font-weight: 700; }
.trust-points p { font-size: 15px; line-height: 1.65; }
.trust-points a { color: #fff; }

/* Branchen */
.branchen-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 72px; align-items: center; }
.branchen-copy { position: relative; }
.branchen-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.branchen-tiles a { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font-size: 16.5px; font-weight: 600; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.branchen-tiles a:hover { border-color: var(--brand-line); background: #fffafa; box-shadow: var(--shadow-md); }
.tile-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }
.tile-arrow { width: 18px; height: 18px; margin-left: auto; color: #b0b0b8; transition: transform .2s ease, color .2s ease; }
.branchen-tiles a:hover .tile-arrow { color: var(--brand); transform: translateX(3px); }

/* Demo */
.demo-section { padding: 24px 0 96px; }
.demo-panel { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 72px; overflow: hidden; border-radius: 28px; background: var(--brand); color: #fff; }
.demo-mark { position: absolute; right: -90px; bottom: -110px; width: 420px; height: 420px; color: rgba(255, 255, 255, .08); --cross-fg: transparent; transform: rotate(-12deg); pointer-events: none; }
.demo-copy, .demo-form { position: relative; }
.demo-copy h2 { color: #fff; font-size: clamp(30px, 3.1vw, 42px); text-wrap: pretty; }
.demo-copy > p:not(.eyebrow) { margin-top: 18px; color: rgba(255, 255, 255, .88); font-size: 18.5px; max-width: 480px; }
.demo-points { display: grid; gap: 10px; margin-top: 24px; font-size: 16px; }
.demo-points li { display: flex; align-items: center; gap: 12px; }
.demo-points .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(255, 255, 255, .18); stroke-width: 2.4; }
.contact-card { display: flex; align-items: center; gap: 20px; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .22); }
.contact-card img { width: 84px; height: 84px; flex: none; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .35); }
.contact-card img, .support-card-head img { object-fit: cover; object-position: center 15%; }
.contact-card p { color: rgba(255, 255, 255, .88); font-size: 15px; line-height: 1.5; }
.contact-card a { display: block; color: #fff; text-decoration: none; }
.contact-phone { margin-top: 4px; font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
.contact-mail { font-size: 15px; opacity: .9; }
.contact-card a:hover { text-decoration: underline; }

.demo-form { padding: 36px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 40px 60px -30px rgba(80, 0, 10, .55); }
.demo-form h3 { margin-bottom: 22px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.field-row .field { margin-bottom: 4px; }
.field label { color: var(--ink-2); font-size: 14.5px; font-weight: 600; }
.field label span { color: var(--brand); }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; font-size: 16px; transition: border-color .15s ease, box-shadow .15s ease; }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(221, 23, 40, .12); }
.field-hint { margin: 0 0 16px; color: var(--muted); font-size: 13.5px; }
.field-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.demo-form .btn { margin-top: 6px; }
.form-note { margin-top: 14px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.form-status:not(:empty) { margin-top: 14px; padding: 12px 14px; border-radius: 8px; background: #edf6f2; color: #24634f; font-size: 14.5px; line-height: 1.5; }

/* Footer */
.site-footer { padding: 72px 0 32px; border-top: 1px solid var(--line); background: #fbfbfc; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.25fr; gap: 48px; }
.footer-brand img { width: 150px; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); }
.footer-brand address { margin-top: 18px; font-style: normal; color: var(--ink-2); line-height: 1.75; }
.site-footer h2 { margin-bottom: 16px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--brand-dark); text-decoration: underline; }
.footer-projects li { line-height: 1.4; }
.footer-projects a { font-weight: 600; }
.footer-projects span { display: block; color: var(--muted); font-size: 13.5px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-social a { margin-left: 12px; }

/* Responsive */
@media (max-width: 1180px) {
  .main-nav .nav-manual { display: none; }
  .logo-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 40px; }
}

@media (max-width: 1060px) {
  .nav-toggle { display: grid; }
  .header-inner { gap: 16px; }
  .main-nav { position: absolute; top: var(--header-h); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 20px 30px -24px rgba(0, 0, 0, .3); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 14px; font-size: 17px; }
  .main-nav .nav-phone { display: inline-flex; color: var(--ink); }
  .main-nav .nav-manual { display: inline-flex; margin: 8px 0 0; padding-left: 14px; border-left: 0; border-top: 1px solid var(--line); border-radius: 0; padding-top: 18px; }
  .no-js .header-inner { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 8px; }
  .no-js .main-nav { position: static; order: 3; display: flex; flex-direction: row; width: 100%; padding: 0; border: 0; box-shadow: none; overflow-x: auto; }
  .no-js .main-nav a { padding: 8px 12px; font-size: 15px; white-space: nowrap; }

  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-copy { max-width: 680px; }
  .hero-visual { padding: 32px 0 56px 32px; }
  .hero-visual::before { border-radius: 24px 0 0 24px; }
  .kpi-card { right: 16px; }

  .features-grid, .branchen-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .features-intro { position: static; }

  .tour-tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 32px; margin: 0 -32px 20px; padding: 2px 32px 6px; scrollbar-width: none; }
  .tour-tabs::-webkit-scrollbar { display: none; }
  .tour-tab { flex: none; scroll-snap-align: start; min-height: 56px; }
  .tour-panel { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 32px; }

  .section-head-split { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .section-head-split .section-lead { margin-top: 20px; }
  .design-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .trust-head { flex-direction: column; align-items: flex-start; }
  .trust-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .demo-panel { grid-template-columns: minmax(0, 1fr); gap: 44px; padding: 56px 48px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  body { font-size: 16.5px; }
  .container, .header-inner { padding: 0 16px; }
  :root { --header-h: 66px; }
  .brand img { width: 128px; }
  .header-phone span { display: none; }
  .header-phone { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 9px; }
  .header-actions { gap: 8px; }
  .header-actions .btn-sm { padding: 9px 14px; }

  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .section-lead, .hero-lead { font-size: 17.5px; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { padding: 20px 0 128px 16px; }
  .kpi-card { display: none; }
  .inbox-card { left: 0; bottom: 16px; width: 50%; }
  .inbox-body { height: 170px; }
  @keyframes inbox-scroll { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(calc(-100% + 170px)); } }

  .logo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; }
  .logo-row li { height: 52px; }

  .feature-tiles, .branchen-tiles { grid-template-columns: minmax(0, 1fr); }
  .feature { padding: 24px; }
  .tour-tabs { margin: 0 -16px 16px; padding: 2px 16px 6px; scroll-padding-inline: 16px; }
  .tour-panel { padding: 24px 20px; border-radius: 16px; }
  .tour-copy h3 { font-size: 24px; }

  .design-grid { display: flex; gap: 16px; margin: 0 -16px; padding: 0 16px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: thin; }
  .design-card { flex: 0 0 78%; scroll-snap-align: start; }
  .design-frame { --frame-h: 400px; }

  .plans { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .plan { padding: 32px 24px; }
  .plan-badge { left: 24px; }
  .included { padding: 24px 20px 28px; }
  .included-price { flex-direction: column; align-items: flex-start; }

  .trust { padding: 80px 0; }
  .trust-points { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 48px; }
  .trust-labels img { width: 76px; }

  .demo-section { padding-bottom: 80px; }
  .demo-section .container { padding: 0; }
  .demo-panel { padding: 48px 20px 20px; border-radius: 0; }
  .demo-copy { padding: 0 4px; }
  .demo-form { padding: 28px 20px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .contact-card { align-items: flex-start; }
  .contact-card img { width: 64px; height: 64px; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .footer-social a:first-child { margin-left: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .design-frame { overflow-y: auto; }
  .design-card a:hover img, .design-card a:focus-visible img { transform: none; }
}

@media print {
  .site-header, .demo-form, .hero-visual, .tour-tabs { display: none !important; }
  .tour-panels .tour-panel { display: grid !important; break-inside: avoid; }
  .trust, .demo-panel { background: #fff !important; color: var(--ink) !important; }
}

@media (max-width: 420px) {
  .header-phone { display: none; }
}

@media (max-width: 360px) {
  .brand img { width: 108px; }
  .header-inner { gap: 10px; }
  .header-actions .btn-sm { min-height: 40px; padding: 8px 12px; font-size: 14px; }
  .nav-toggle { width: 40px; height: 40px; }
}

/* ==========================================================
   Unterseiten (Funktionen u. a.)
   ========================================================== */
.main-nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-dark); }
.has-subnav { scroll-padding-top: calc(var(--header-h) + 76px); }

/* Seitenkopf */
.page-hero { position: relative; padding: 36px 0 80px; overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.page-hero h1 { font-size: clamp(38px, 4.4vw, 58px); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 30px; color: var(--muted); font-size: 14px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-dark); text-decoration: underline; }
.breadcrumb .icon { width: 14px; height: 14px; color: #b0b0b8; }
.sidebar-visual { padding: 36px 0 36px 40px; }

/* Backend-Seitenleiste als Inhaltsübersicht */
.app-sidebar { position: relative; display: grid; gap: 2px; padding: 0 14px 14px; border: 1px solid #e0e0e6; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg); }
.app-sidebar-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 -14px 10px; padding: 18px 22px 16px; border-bottom: 1px solid var(--line); }
.app-sidebar-head img { width: 118px; }
.app-sidebar-head span { color: var(--muted); font-size: 12.5px; text-align: right; }
.app-sidebar a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 10px; color: var(--ink); text-decoration: none; transition: background-color .15s ease; }
.app-sidebar a:hover { background: var(--brand-soft); }
.side-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--canvas); color: var(--ink-2); transition: background-color .15s ease, color .15s ease; }
.side-icon .icon { width: 19px; height: 19px; }
.app-sidebar a:hover .side-icon { background: #fff; color: var(--brand); }
.side-text { display: grid; line-height: 1.35; }
.side-text strong { font-size: 15.5px; font-weight: 600; }
.side-text small { color: var(--muted); font-size: 13px; }
.app-sidebar a:hover strong { color: var(--brand-dark); }
.side-chevron { width: 16px; height: 16px; margin-left: auto; color: #b0b0b8; }

/* Unternavigation */
.subnav { position: sticky; top: var(--header-h); z-index: 40; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .95); }
@supports (backdrop-filter: blur(8px)) { .subnav { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(12px); } }
.subnav-inner { position: relative; display: flex; gap: 4px; padding-top: 10px; padding-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 8px 14px; border-radius: 8px; color: var(--ink-2); font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
.subnav a span { color: #9a9aa3; font-size: 12px; font-variant-numeric: tabular-nums; }
.subnav a:hover { background: var(--canvas); }
.subnav a.is-active { background: var(--brand-soft); color: var(--brand-dark); }
.subnav a.is-active span { color: var(--brand); }

/* Kapitel */
.chapter { padding: 104px 0; }
.chapter-alt { background: var(--canvas); }
.chapter-head { max-width: 780px; margin-bottom: 52px; }
.chapter-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.chapter-head-center .section-lead { margin-left: auto; margin-right: auto; }
.chapter-no { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 6px; background: var(--brand); color: #fff; font-size: 11.5px; letter-spacing: .04em; }
.eyebrow-light .chapter-no { background: #fff; color: var(--brand); }
.chapter-body { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: 56px; align-items: center; }
.chapter-body-reverse { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
.chapter-body-reverse .chapter-shot { order: 2; }
.chapter-shot { box-shadow: var(--shadow-lg); }
.highlights { display: grid; gap: 28px; }
.highlights li { display: flex; align-items: flex-start; gap: 18px; }
.highlights .feature-icon { flex: none; margin-bottom: 0; }
.highlights h3 { margin-bottom: 4px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.highlights p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }

.more { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.chapter-alt .more { border-top-color: var(--line-strong); }
.more-title { margin-bottom: 24px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.more-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 32px; }
.more-grid li { display: flex; align-items: flex-start; gap: 12px; }
.more-grid .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--brand); }
.more-grid strong { display: block; font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.more-grid span { display: block; margin-top: 2px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* Premium- und Light-Design */
.design-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 96px; }
.design-option { display: grid; grid-template-rows: auto 1fr; gap: 28px; padding: 36px 36px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, #fff 0%, #fff 50%, var(--canvas) 100%); }
.option-tag { margin-bottom: 8px; color: var(--brand-dark); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.design-option h3 { margin-bottom: 10px; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.design-option-copy p:not(.option-tag) { color: var(--muted); font-size: 16px; }
.design-option-visual { align-self: end; display: block; margin-bottom: -1px; }
.design-option .app-frame { height: 334px; border-bottom: 0; border-radius: 12px 12px 0 0; box-shadow: var(--shadow-md); }
.design-option .app-frame img { width: 165%; max-width: none; margin: -46px 0 0 -30%; }
.design-peek { border-radius: 12px 12px 0 0; }
.design-peek .design-frame { --frame-h: 334px; border-bottom: 0; border-radius: 12px 12px 0 0; box-shadow: var(--shadow-md); }
.design-peek:hover img, .design-peek:focus-visible img { transform: translateY(calc(-100% + var(--frame-h))); transition-duration: 9s; transition-timing-function: cubic-bezier(.35, 0, .4, 1); }
.design-peek:hover .design-frame::after, .design-peek:focus-visible .design-frame::after { opacity: 0; }

/* Service */
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.service-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.service-card h3 { margin-bottom: 8px; font-size: 17.5px; font-weight: 700; letter-spacing: -.01em; }
.service-card p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.service-card .text-link { margin-top: auto; padding-top: 18px; font-size: 15px; }
.service-card .text-link .icon { width: 16px; height: 16px; }

/* Vergleichstabelle */
.compare-wrap { position: relative; max-width: 980px; margin: 0 auto; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.compare { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.compare th, .compare td { padding: 18px 24px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { padding-top: 24px; padding-bottom: 16px; color: var(--brand-dark); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.compare tbody th { width: 34%; color: var(--ink); font-weight: 600; }
.compare td { width: 33%; color: var(--ink-2); }
.compare .compare-featured { background: #fff8f8; }
.compare .icon-yes { display: block; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); stroke-width: 2.4; }
.compare s { margin-right: 4px; color: #9d9da5; }
.compare-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; max-width: 980px; margin: 20px auto 0; color: var(--muted); font-size: 15px; }

.trust-points-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 48px; }

@media (max-width: 1060px) {
  .page-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sidebar-visual { max-width: 620px; }
  .chapter-body, .chapter-body-reverse { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .chapter-body-reverse .chapter-shot { order: 0; }
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .design-split { grid-template-columns: minmax(0, 1fr); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-points-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .page-hero { padding: 20px 0 48px; }
  .breadcrumb { margin-bottom: 22px; }
  .sidebar-visual { padding: 20px 0 20px 16px; }
  .app-sidebar-head span { display: none; }
  .chapter { padding: 72px 0; }
  .chapter-head { margin-bottom: 36px; }
  .more { margin-top: 44px; padding-top: 32px; }
  .more-grid, .service-grid, .trust-points-6 { grid-template-columns: minmax(0, 1fr); }
  .design-split { margin-bottom: 64px; }
  .design-option { padding: 26px 20px 0; }
  .design-option h3 { font-size: 21px; }
  .design-option .app-frame { height: 254px; }
  .design-option .app-frame img { width: 190%; margin: -40px 0 0 -35%; }
  .design-peek .design-frame { --frame-h: 254px; }
  .subnav-inner { padding-top: 8px; padding-bottom: 8px; }
  .compare { min-width: 540px; font-size: 14.5px; }
  .compare th, .compare td { padding: 14px 16px; }
  .compare-note { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .design-peek .design-frame { overflow-y: auto; }
  .design-peek:hover img, .design-peek:focus-visible img { transform: none; }
}

@media (max-width: 360px) {
  .page-hero h1 { font-size: 32px; }
}

/* ==========================================================
   Preise
   ========================================================== */
.section-tint { background: var(--canvas); }

/* Preisrechner */
.calc { position: relative; overflow: hidden; border: 1px solid #e0e0e6; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg); }
.calc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.calc-title { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; }
.calc-title .icon { width: 19px; height: 19px; color: var(--brand); }
.calc-hint { color: var(--muted); font-size: 13px; }
.calc-body { padding: 24px 24px 22px; }
.calc-label { display: block; color: var(--muted); font-size: 14px; }
.calc-tier { margin: 2px 0 12px; font-size: 26px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc-range { --p: 0%; -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 8px; margin: 10px 0 0; border-radius: 8px; background: linear-gradient(var(--brand), var(--brand)) 0 0 / var(--p) 100% no-repeat, #e7e7eb; cursor: pointer; }
.calc-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border: 3px solid var(--brand); border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(40, 0, 10, .25); }
.calc-range::-moz-range-thumb { width: 20px; height: 20px; border: 3px solid var(--brand); border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(40, 0, 10, .25); }
.calc-range:focus { outline: none; }
.calc-range:focus-visible { outline: 3px solid var(--brand); outline-offset: 8px; }
.calc-scale { display: flex; justify-content: space-between; margin-top: 8px; color: #9a9aa3; font-size: 12px; }
.calc-result { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 20px; padding: 18px 20px; border-radius: 12px; background: var(--brand-soft); }
.calc-price { color: var(--brand-dark); font-size: 40px; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc-unit { color: #8a5a62; font-size: 15px; }
.calc-facts { display: grid; gap: 8px; margin-top: 18px; color: var(--ink-2); font-size: 14.5px; }
.calc-facts li { display: flex; align-items: center; gap: 10px; }
.calc-facts .icon { width: 18px; height: 18px; color: var(--brand); stroke-width: 2.4; }
.calc-setup { display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 14px 24px 16px; border-top: 1px solid var(--line); background: #fafafb; color: var(--muted); font-size: 14px; }
.calc-setup span:first-child { width: 100%; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.calc-setup strong { margin-right: 4px; color: var(--ink); }

/* Kostenaufbau */
.cost-band { padding: 0 0 8px; }
.cost-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.cost-steps li { display: flex; align-items: flex-start; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.cost-steps .tab-no { background: var(--brand); color: #fff; }
.cost-steps h3 { margin-bottom: 4px; font-size: 17px; font-weight: 700; }
.cost-steps p { color: var(--muted); font-size: 15px; line-height: 1.55; }

.plan-price-note { margin-top: 2px; color: var(--muted); font-size: 14px; }

/* Preistabelle */
.tier-card { padding: 4px 16px 10px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.tier-card-head { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; border-bottom: 1px solid var(--line-strong); }
.tier-card-head div { display: flex; justify-content: space-between; padding: 16px 12px 12px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tier-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(15, auto); grid-auto-flow: column; column-gap: 48px; margin: 0; }
.tier-list > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 13px 12px; border-bottom: 1px solid var(--line); border-radius: 8px; transition: background-color .2s ease; }
.tier-list > div:nth-child(15n) { border-bottom-color: transparent; }
.tier-list dt { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tier-list dd { margin: 0; color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.tier-list > div.is-current { border-bottom-color: transparent; background: var(--brand-soft); }
.tier-list > div.is-current dt, .tier-list > div.is-current dd { color: var(--brand-dark); }
.tier-notes { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 24px; color: var(--muted); font-size: 14.5px; }
.tier-notes li { display: flex; align-items: center; gap: 10px; }
.tier-notes .icon { width: 18px; height: 18px; color: var(--brand); }

/* Vollständiger Vergleich */
.compare-full tbody th, .compare-full td { padding-top: 14px; padding-bottom: 14px; }
.compare .compare-group th { padding: 22px 24px 10px; border-bottom: 1px solid var(--line); background: var(--canvas); color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* Zusatzleistungen */
.addon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.addon { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.addon h3 { margin-bottom: 4px; font-size: 17.5px; font-weight: 700; letter-spacing: -.01em; }
.addon .addon-price { margin-bottom: 10px; color: var(--brand-dark); font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.addon p:not(.addon-price) { color: var(--muted); font-size: 15px; line-height: 1.6; }
.addon-note { margin-top: 20px; color: var(--muted); font-size: 14px; }

/* Fragen */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-intro .text-link { margin-top: 24px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; font-size: 17.5px; font-weight: 600; line-height: 1.4; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--brand-dark); }
.faq-list summary .icon { width: 20px; height: 20px; color: var(--muted); transform: rotate(90deg); transition: transform .2s ease, color .2s ease; }
.faq-list details[open] summary .icon { color: var(--brand); transform: rotate(-90deg); }
.faq-list details > div { max-width: 680px; padding: 0 4px 24px; color: var(--ink-2); font-size: 16px; }

@media (max-width: 1060px) {
  .tier-card-head, .tier-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tier-card-head div:nth-child(3) { display: none; }
  .tier-list { grid-template-rows: repeat(22, auto); }
  .tier-list > div:nth-child(15n) { border-bottom-color: var(--line); }
  .tier-list > div:nth-child(22n) { border-bottom-color: transparent; }
  .addon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq-intro { position: static; }
}

@media (max-width: 760px) {
  .cost-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cost-steps li { padding: 20px; }
}

@media (max-width: 680px) {
  .calc-body { padding: 20px 18px; }
  .calc-head, .calc-setup { padding-left: 18px; padding-right: 18px; }
  .calc-price { font-size: 34px; }
  .tier-card { padding: 0 6px 6px; }
  .tier-card-head, .tier-list { grid-template-columns: minmax(0, 1fr); }
  .tier-card-head div:nth-child(2) { display: none; }
  .tier-list { grid-template-rows: none; grid-auto-flow: row; }
  .tier-list > div:nth-child(22n) { border-bottom-color: var(--line); }
  .tier-list > div:last-child { border-bottom-color: transparent; }
  .tier-notes { flex-direction: column; }
  .tier-notes li { align-items: flex-start; }
  .addon-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-list summary { font-size: 16.5px; }
}

/* ==========================================================
   Referenzen
   ========================================================== */
.logo-card { position: relative; padding: 24px 24px 28px; border: 1px solid #e0e0e6; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg); }
.logo-card-title { margin-bottom: 8px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.logo-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.logo-card-grid li { display: flex; align-items: center; justify-content: center; height: 96px; padding: 14px; border-bottom: 1px solid var(--line); }
.logo-card-grid li:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.logo-card-grid li:nth-last-child(-n+3) { border-bottom: 0; }
.logo-card-grid img, .logo-wall img { width: auto; max-width: 100%; max-height: 52px; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1); opacity: .72; transition: filter .25s ease, opacity .25s ease; }
.logo-card-grid li:hover img, .logo-wall li:hover img { filter: none; opacity: 1; }

/* Projekte */
.project-row { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; margin-bottom: 48px; padding: 48px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.project-row-reverse .project-visual { order: 2; }
.project-visual img { display: block; width: 100%; }
.project-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.project-kicker img { width: auto; max-width: 120px; height: 30px; object-fit: contain; object-position: left center; mix-blend-mode: multiply; }
.project-kicker span { padding-left: 14px; border-left: 1px solid var(--line-strong); }
.project-copy h3, .project-card h3 { margin-bottom: 12px; font-size: 26px; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.project-copy > p { color: var(--muted); font-size: 16.5px; }
.project-copy .checklist { margin-bottom: 26px; }

.fact-card { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--canvas); }
.project-visual .fact-logo { width: 170px; height: auto; margin-bottom: 20px; mix-blend-mode: multiply; }
.fact-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.fact-list > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.fact-list dt { color: var(--muted); font-size: 13px; line-height: 1.4; }
.fact-list dd { margin: 0; color: var(--ink); font-size: 28px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.fact-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.fact-tags li { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); font-size: 13.5px; }

.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.project-card { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.project-card-visual { display: grid; place-items: center; min-height: 260px; margin: -8px -8px 24px; border-radius: 14px; background: linear-gradient(180deg, var(--canvas), #fff); }
.project-card-visual img { display: block; width: 100%; max-width: 460px; }
.project-card h3 { font-size: 22px; }
.project-card > p:not(.project-kicker) { color: var(--muted); font-size: 16px; }
.project-card .text-link { margin-top: auto; padding-top: 18px; }

/* Ablaufgrafik */
.project-card-flow { padding: 24px; }
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; width: 100%; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.flow li { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; }
.flow li:not(:last-child)::after { content: ""; position: absolute; top: 34px; left: calc(50% + 46px); width: calc(100% - 92px + 28px); height: 2px; background: repeating-linear-gradient(90deg, var(--brand) 0 6px, transparent 6px 11px); }
.flow-node { display: grid; place-items: center; width: 92px; height: 68px; border: 1px solid var(--line-strong); border-radius: 14px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 700; box-shadow: var(--shadow-sm); }
.flow-node-brand { border-color: var(--brand); background: var(--brand); color: #fff; box-shadow: 0 12px 24px -12px rgba(221, 23, 40, .7); }
.flow-label { max-width: 140px; color: var(--muted); font-size: 13px; line-height: 1.4; }

/* Kundenstimmen */
.quotes { columns: 2 320px; column-gap: 20px; }
.quote { display: inline-block; width: 100%; margin: 0 0 20px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: #fff; break-inside: avoid; }
.quote-logo { display: block; width: auto; max-width: 160px; height: 40px; margin-bottom: 20px; object-fit: contain; object-position: left center; mix-blend-mode: multiply; }
.quote blockquote { margin: 0; }
.quote blockquote p { color: var(--ink-2); font-size: 16.5px; line-height: 1.65; }
.quote figcaption { display: grid; gap: 2px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.45; }
.quote figcaption span { color: var(--muted); }
.quote-featured { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 16px 48px; align-items: start; margin-bottom: 20px; padding: 44px 48px; border-color: var(--brand-line); background: linear-gradient(135deg, #fff 0%, var(--brand-soft) 100%); }
.quote-featured .quote-logo { grid-row: span 2; max-width: 200px; height: 64px; margin: 4px 0 0; }
.quote-featured blockquote p { color: var(--ink); font-size: 21px; line-height: 1.55; letter-spacing: -.005em; }
.quote-featured figcaption { margin-top: 8px; }

/* Logowand */
.logo-wall { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.logo-wall li { display: flex; align-items: center; justify-content: center; height: 96px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.logo-wall img { max-height: 48px; }

@media (max-width: 1060px) {
  .project-row { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 36px; }
  .project-row-reverse .project-visual { order: 0; }
  .project-grid { grid-template-columns: minmax(0, 1fr); }
  .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .logo-card { padding: 18px 16px 20px; }
  .logo-card-grid li { height: 76px; padding: 10px; }
  .logo-card-grid img { max-height: 40px; }
  .project-row { margin-bottom: 24px; padding: 24px 20px; border-radius: 18px; }
  .project-copy h3, .project-card h3 { font-size: 22px; }
  .project-card { padding: 24px 20px; }
  .project-card-visual { min-height: 0; margin: -4px -4px 20px; }
  .fact-card { padding: 20px; }
  .fact-list { grid-template-columns: minmax(0, 1fr); }
  .fact-list > div { flex-direction: row-reverse; align-items: baseline; justify-content: space-between; }
  .fact-list dd { font-size: 22px; }
  .flow { gap: 12px; }
  .flow li:not(:last-child)::after { top: 26px; left: calc(50% + 34px); width: calc(100% - 68px + 12px); }
  .flow-node { width: 68px; height: 52px; font-size: 13px; }
  .flow-node-brand { font-size: 11.5px; }
  .flow-label { font-size: 12px; }
  .quote { padding: 22px 20px; }
  .quote-featured { grid-template-columns: minmax(0, 1fr); padding: 26px 20px; }
  .quote-featured .quote-logo { grid-row: auto; height: 48px; }
  .quote-featured blockquote p { font-size: 18px; }
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .logo-wall li { height: 80px; }
}

/* ==========================================================
   FAQ
   ========================================================== */
.faq-search { position: relative; display: flex; align-items: center; max-width: 540px; margin-top: 34px; }
.faq-search .icon { position: absolute; left: 17px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.faq-search input { width: 100%; min-height: 56px; padding: 12px 18px 12px 48px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; font-size: 16.5px; box-shadow: var(--shadow-sm); transition: border-color .15s ease, box-shadow .15s ease; }
.faq-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(221, 23, 40, .12); }
.faq-search-status { min-height: 1.5em; margin-top: 10px; color: var(--muted); font-size: 14px; }

.support-card { position: relative; overflow: hidden; border: 1px solid #e0e0e6; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg); }
.support-card-head { display: flex; align-items: center; gap: 18px; padding: 24px; border-bottom: 1px solid var(--line); }
.support-card-head img { width: 76px; height: 76px; flex: none; border-radius: 50%; }
.support-card-label { color: var(--brand-dark); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.support-card-phone { display: block; color: var(--ink); font-size: 28px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; text-decoration: none; }
.support-card-phone:hover { color: var(--brand-dark); }
.support-card-hours { color: var(--muted); font-size: 14px; }
.support-card-list { display: grid; gap: 12px; padding: 20px 24px 24px; color: var(--ink-2); font-size: 15px; }
.support-card-list li { display: flex; align-items: center; gap: 12px; }
.support-card-list .icon { width: 19px; height: 19px; color: var(--brand); }

.faq-page { padding-top: 32px; }
.faq-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; }
.faq-nav { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 2px; }
.faq-nav-title { margin: 0 12px 10px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.faq-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.faq-nav a .icon { width: 18px; height: 18px; color: #9a9aa3; }
.faq-nav a span { min-width: 24px; margin-left: auto; padding: 1px 7px; border-radius: 999px; background: var(--canvas); color: var(--muted); font-size: 12px; text-align: center; }
.faq-nav a:hover { background: var(--canvas); }
.faq-nav a.is-active { background: var(--brand-soft); color: var(--brand-dark); }
.faq-nav a.is-active .icon { color: var(--brand); }
.faq-nav a.is-active span { background: #fff; color: var(--brand-dark); }
.faq-groups { display: grid; gap: 56px; }
.faq-group h2 { margin-bottom: 8px; font-size: 24px; letter-spacing: -.02em; }
.faq-list details > div p + p { margin-top: 12px; }
.faq-list details:target summary { color: var(--brand-dark); }
.faq-empty { padding: 36px 28px; border: 1px dashed var(--line-strong); border-radius: 16px; text-align: center; }
.faq-empty h2 { margin-bottom: 8px; font-size: 22px; }
.faq-empty p { color: var(--muted); }

@media (max-width: 1060px) {
  .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq-nav { position: static; display: flex; gap: 8px; margin: 0 -32px; padding: 0 32px 4px; overflow-x: auto; scrollbar-width: none; }
  .faq-nav::-webkit-scrollbar { display: none; }
  .faq-nav-title { display: none; }
  .faq-nav a { flex: none; border: 1px solid var(--line); white-space: nowrap; }
}

@media (max-width: 680px) {
  .faq-page { padding-top: 8px; }
  .faq-nav { margin: 0 -16px; padding: 0 16px 4px; }
  .faq-groups { gap: 44px; }
  .faq-group h2 { font-size: 21px; }
  .support-card-head { padding: 20px 18px; }
  .support-card-head img { width: 60px; height: 60px; }
  .support-card-phone { font-size: 24px; }
  .support-card-list { padding: 18px 18px 20px; }
}

/* ==========================================================
   Blog
   ========================================================== */
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--muted); font-size: 13.5px; }
.post-cat { display: inline-flex; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* Übersicht */
.featured-post { position: relative; display: block; overflow: hidden; border: 1px solid #e0e0e6; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg); color: inherit; text-decoration: none; }
.featured-post-label { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 5px 12px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.featured-post .blog-card-title { font-size: 21px; }
.featured-post:hover .blog-card-title { color: var(--brand-dark); }
.blog-list { padding-top: 40px; }
.blog-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: 32px; }
.blog-toolbar h2 { font-size: clamp(28px, 3vw, 40px); }
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-filter { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); font-size: 14.5px; font-weight: 600; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.blog-filter span { color: var(--muted); font-size: 12px; }
.blog-filter:hover { border-color: var(--line-strong); }
.blog-filter[aria-pressed="true"] { border-color: var(--brand-line); background: var(--brand-soft); color: var(--brand-dark); }
.blog-filter[aria-pressed="true"] span { color: var(--brand-dark); }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.blog-card a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: inherit; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.blog-card a:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--canvas); }
.blog-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .5s ease; }
.blog-card a:hover .blog-card-img img, .featured-post:hover .blog-card-img img { transform: scale(1.03); }
.blog-card-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.blog-card-title { display: block; margin: 0; color: var(--ink); font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; transition: color .15s ease; }
.blog-card a:hover .blog-card-title { color: var(--brand-dark); }
.blog-card-text { color: var(--muted); font-size: 15px; line-height: 1.6; }
.blog-card .text-link, .featured-post .text-link { margin-top: auto; padding-top: 6px; font-size: 15px; }
.blog-card[hidden] { display: none; }

/* Artikel */
.post-hero { padding: 36px 0 64px; }
.post-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.post-hero .breadcrumb { margin-bottom: 24px; }
.post-hero h1 { margin: 16px 0 18px; font-size: clamp(32px, 3.8vw, 50px); line-height: 1.1; letter-spacing: -.03em; }
.post-lead { color: var(--muted); font-size: 19.5px; line-height: 1.6; }
.post-cover { margin: 0; }
.post-cover img { display: block; width: auto; max-width: 100%; height: auto; margin-left: auto; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-md); }

.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; align-items: start; padding-bottom: 104px; }
.post-body { max-width: 740px; color: #3b3b42; font-size: 18px; line-height: 1.75; }
.post-body > * + * { margin-top: 1.1em; }
.post-body h2 { margin-top: 2em; color: var(--ink); font-size: 30px; line-height: 1.22; letter-spacing: -.02em; }
.post-body h3 { margin-top: 1.8em; color: var(--ink); font-size: 22px; line-height: 1.3; letter-spacing: -.01em; }
.post-body h4 { margin-top: 1.5em; color: var(--ink); font-size: 18.5px; line-height: 1.4; }
.post-body > :first-child { margin-top: 0; }
.post-body h2 + *, .post-body h3 + *, .post-body h4 + * { margin-top: .6em; }
.post-body strong { color: var(--ink); }
.post-body a:not(.btn) { color: var(--brand-dark); text-decoration-thickness: 1px; }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body ul { list-style: disc; }
.post-body li + li { margin-top: .45em; }
.post-body li::marker { color: var(--brand); }
.post-body table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.post-body td, .post-body th { padding: 10px 14px; border: 1px solid var(--line); vertical-align: top; }
.post-body tr:first-child td { background: var(--canvas); color: var(--ink); font-weight: 600; }
.table-wrap { position: relative; overflow-x: auto; }
.table-wrap table { min-width: 520px; }
.article-figure { margin: 2em 0; }
.article-figure img { display: block; max-width: 100%; height: auto; margin: 0 auto; border: 1px solid var(--line); border-radius: 14px; }
.article-highlight { padding: 20px 24px; border-left: 4px solid var(--brand); border-radius: 0 12px 12px 0; background: var(--brand-soft); color: var(--ink); font-weight: 500; }
.article-cta { margin: 1.8em 0; }
.video-embed { position: relative; aspect-ratio: 16 / 9; overflow: hidden; margin: 2em 0; border-radius: 14px; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-body .article-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 2em 0; padding: 0; list-style: none; }
.article-gallery li + li { margin-top: 0; }
.article-gallery a { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink-2); text-decoration: none; }
.article-gallery img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; }
.article-gallery span { display: block; padding: 8px 12px; font-size: 14px; font-weight: 600; line-height: 1.4; }
.article-contact { margin-top: 2.5em; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--canvas); }
.article-contact h3 { margin-top: 0; }
.article-contact p:last-child { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.post-aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 20px; }
.post-toc { padding: 18px 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.post-toc-links { display: grid; gap: 2px; max-height: calc(100vh - var(--header-h) - 340px); overflow-y: auto; scrollbar-width: thin; }
.post-toc-title { display: flex; align-items: center; justify-content: space-between; margin: 0 10px 8px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; list-style: none; cursor: pointer; }
.post-toc-title::-webkit-details-marker { display: none; }
.post-toc-title .icon { width: 16px; height: 16px; transform: rotate(-90deg); transition: transform .2s ease; }
.post-toc:not([open]) .post-toc-title { margin-bottom: 0; }
.post-toc:not([open]) .post-toc-title .icon { transform: rotate(90deg); }
.post-toc a { padding: 7px 10px; border-radius: 8px; color: var(--ink-2); font-size: 14.5px; line-height: 1.4; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.post-toc a:hover { background: var(--canvas); }
.post-toc a.is-active { background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }
.post-cta { padding: 24px; border-radius: 16px; background: var(--dark); color: #c9c9d0; font-size: 14.5px; line-height: 1.6; }
.post-cta-title { margin-bottom: 6px; color: #fff; font-size: 18px; font-weight: 700; }
.post-cta .btn { margin-top: 16px; }

@media (max-width: 1060px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .post-cover img { margin-left: 0; }
  .post-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .post-aside { position: static; order: -1; }
  .post-toc-links { max-height: none; }
  .post-cta { display: none; }
}

@media (max-width: 680px) {
  .blog-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .blog-card-body { padding: 20px; }
  .blog-filters { flex-wrap: nowrap; width: calc(100% + 32px); margin: 0 -16px; padding: 0 16px 4px; overflow-x: auto; scrollbar-width: none; }
  .blog-filters::-webkit-scrollbar { display: none; }
  .blog-filter { flex: none; }
  .post-hero { padding: 20px 0 40px; }
  .post-hero .breadcrumb span[aria-current], .post-hero .breadcrumb .icon:last-of-type { display: none; }
  .post-lead { font-size: 17.5px; }
  .post-body { font-size: 17px; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
  .post-hero h1, .blog-card-title { -webkit-hyphens: auto; hyphens: auto; }
  .post-body h2 { font-size: 25px; }
  .post-body h3 { font-size: 20px; }
  .post-body .article-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-layout { padding-bottom: 72px; }
  .post-toc a { padding: 6px 8px; }
}

/* ==========================================================
   Rechtliches (Datenschutz, Auftragsdatenverarbeitung)
   ========================================================== */
.legal-hero { padding-bottom: 48px; }
.legal-hero h1 { -webkit-hyphens: manual; hyphens: manual; }
.legal-section { padding: 8px 0 104px; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; align-items: start; }
.legal-body { min-width: 0; max-width: 800px; color: #3b3b42; font-size: 17px; line-height: 1.7; }
.legal-prose > * + * { margin-top: 1.1em; }
.legal-prose h2 { color: var(--ink); font-size: 28px; line-height: 1.25; letter-spacing: -.02em; }
.legal-prose .btn { margin-top: 12px; }
.legal-body .btn .icon, .download-card .btn .icon { width: 18px; height: 18px; }
.legal-note { padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); }
.legal-aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 16px; }
.legal-card, .legal-links { padding: 22px 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; font-size: 15px; }
.legal-card-title { margin-bottom: 10px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.legal-card address { color: var(--ink-2); font-style: normal; line-height: 1.7; }
.legal-card a { color: var(--brand-dark); }
.legal-links { display: grid; gap: 2px; padding-left: 12px; padding-right: 12px; }
.legal-links .legal-card-title { margin-left: 10px; }
.legal-links a { display: flex; align-items: flex-start; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--ink-2); line-height: 1.4; text-decoration: none; transition: background-color .15s ease; }
.legal-links a:hover { background: var(--canvas); color: var(--ink); }
.legal-links .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--brand); }

.download-card { position: relative; padding: 32px 28px 28px; border: 1px solid #e0e0e6; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg); }
.download-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); }
.download-icon .icon { width: 28px; height: 28px; }
.download-title { color: var(--ink); font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.download-meta { margin: 4px 0 22px; color: var(--muted); font-size: 14.5px; }

@media (max-width: 1060px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .legal-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .legal-section { padding-bottom: 72px; }
  .legal-aside { grid-template-columns: minmax(0, 1fr); }
  .legal-prose h2 { font-size: 23px; }
  .download-card { padding: 24px 20px 20px; }
}

/* PrivacyBee-Widget an das NetMailer-Design anpassen (Akzentfarbe ist im Widget inline als altes Grün gesetzt) */
privacybee-widget { display: block; overflow-wrap: anywhere; }
privacybee-widget .prx_h1 { display: none; }
privacybee-widget .prx_expandableImage { background-color: var(--brand-soft) !important; }
privacybee-widget .prx_expandableImage [fill="#A6C532" i] { fill: var(--brand-soft); }
privacybee-widget .prx_expandableTag, privacybee-widget .prx_expandableTagMobile { background-color: var(--brand-soft) !important; color: var(--brand-dark) !important; }
privacybee-widget .prx_link { color: var(--brand-dark); }

/* 404-Seite */
.error-links { display: grid; gap: 2px; }

/* Funktionsbereich Startseite: Links untereinander */
.features-intro .text-link { display: flex; width: fit-content; }
.features-intro .text-link + .text-link { margin-top: 12px; }

/* Demoformular: Status, Fehler, gesendet */
.form-status.is-error:not(:empty) { background: var(--brand-soft); color: var(--brand-dark); }
.demo-form [aria-invalid="true"] { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(221, 23, 40, .14); }
.demo-form.is-sending .btn { opacity: .7; cursor: progress; }
.demo-form.is-sent .field, .demo-form.is-sent .field-row, .demo-form.is-sent .field-hint, .demo-form.is-sent .btn, .demo-form.is-sent .form-note { display: none; }
.demo-form.is-sent .form-status { margin-top: 0; font-size: 16px; }
.demo-form .form-status:focus { outline: none; }
