/* ==========================================================================
   PoC-Pro Website 1.0 – Designsystem
   Keine externen Fonts, keine CDNs, keine Frameworks.
   ========================================================================== */

:root {
    --ink: #0d1b2a;
    --ink-2: #13263a;
    --ink-3: #22384d;
    --paper: #eef2f6;
    --paper-2: #e3eaf2;
    --white: #fff;
    --text: #16283a;
    --muted: #5b6b7c;
    --signal: #1B6FD1;
    --signal-dark: #0B5FA5;
    --signal-soft: #E8F1FA;
    --teal: #2E86DE;
    --teal-soft: #E8F1FA;
    --line: #d7dee7;
    --line-strong: #c3cedb;
    --line-dark: rgba(255, 255, 255, 0.14);
    --success: #0b5fa5;
    --success-soft: #e8f1fa;
    --warn: #33506b;
    --warn-soft: #E8EEF5;
    --danger: #b42318;
    --danger-soft: #F2E6E4;
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 2px rgba(17, 26, 31, 0.06), 0 2px 8px rgba(17, 26, 31, 0.04);
    --shadow: 0 10px 30px rgba(17, 26, 31, 0.08);
    --shadow-lg: 0 24px 60px rgba(17, 26, 31, 0.14);
    --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    --container: 1200px;
    --header-h: 82px;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
p,
li,
a {
    overflow-wrap: break-word;
}

body.nav-open {
    overflow: hidden;
}

img,
picture,
svg {
    max-width: 100%;
}

img {
    height: auto;
    display: block;
}

picture {
    display: block;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 0.5em;
    color: var(--ink);
    font-weight: 750;
    line-height: 1.1;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.35rem, 5.1vw, 4.15rem);
    letter-spacing: -0.035em;
}

h2 {
    font-size: clamp(1.72rem, 3.1vw, 2.65rem);
}

h3 {
    font-size: clamp(1.12rem, 1.5vw, 1.35rem);
    letter-spacing: -0.015em;
    line-height: 1.25;
}

h4 {
    font-size: 1.02rem;
}

p {
    margin: 0 0 1em;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--signal-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--signal);
}

ul,
ol {
    margin: 0 0 1em;
    padding-left: 1.15em;
}

li {
    margin-bottom: 0.4em;
}

strong,
b {
    font-weight: 700;
    color: var(--ink);
}

small {
    font-size: 0.86em;
}

code,
.mono {
    font-family: var(--mono);
    font-size: 0.88em;
}

hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 32px 0;
}

::selection {
    background: var(--signal);
    color: var(--white);
}

:focus-visible {
    outline: 3px solid rgba(27, 111, 209, 0.45);
    outline-offset: 2px;
    border-radius: 3px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 1000;
    padding: 12px 18px;
    background: var(--ink);
    color: var(--white);
    border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
    left: 0;
    color: var(--white);
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.container--narrow {
    width: min(820px, calc(100% - 48px));
}

/* --------------------------------------------------------------------------
   Topbar und Kopfbereich
   -------------------------------------------------------------------------- */

.topbar {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.79rem;
    letter-spacing: 0.02em;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 38px;
}

.topbar p {
    margin: 0;
}

.topbar a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

.topbar a:hover {
    color: var(--signal);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: saturate(140%) blur(8px);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--ink);
    text-decoration: none;
    flex: 0 0 auto;
}

.brand:hover {
    color: var(--ink);
}

.brand-mark {
    display: block;
    line-height: 0;
    filter: drop-shadow(0 2px 4px rgba(17, 26, 31, 0.18));
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-text strong {
    font-size: 1.28rem;
    letter-spacing: -0.03em;
    font-weight: 800;
    color: var(--ink);
}

.brand-text strong span {
    color: var(--signal);
    padding: 0 1px;
}

.brand-text small {
    margin-top: 4px;
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.site-nav a {
    display: inline-block;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    color: var(--ink-2);
    font-size: 0.94rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.site-nav a:hover {
    background: var(--paper);
    color: var(--ink);
}

.site-nav a.is-active {
    color: var(--signal-dark);
    background: var(--signal-soft);
}

.site-nav .nav-login {
    margin-left: 6px;
    border: 1px solid var(--line-strong);
}

.header-cta {
    flex: 0 0 auto;
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding: 9px 12px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--ink);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle__bars::before {
    top: -6px;
}

.nav-toggle__bars::after {
    top: 6px;
}

/* --------------------------------------------------------------------------
   Typografie-Bausteine
   -------------------------------------------------------------------------- */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--signal-dark);
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 2px;
    background: var(--signal);
}

.lead {
    font-size: clamp(1.04rem, 1.35vw, 1.2rem);
    line-height: 1.6;
    color: var(--muted);
    max-width: 68ch;
}

.section {
    padding: clamp(56px, 7vw, 104px) 0;
}

.section--tight {
    padding: clamp(38px, 4.5vw, 64px) 0;
}

.section--alt {
    background: var(--paper);
}

.section--paper {
    background: var(--paper-2);
}

.section--dark {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.78);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark strong {
    color: var(--white);
}

.section--dark .lead,
.section--dark .muted {
    color: rgba(255, 255, 255, 0.66);
}

.section--dark .eyebrow {
    color: #8FC3F0;
}

.section-head {
    max-width: 760px;
    margin-bottom: clamp(30px, 4vw, 52px);
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

.section-head--center .eyebrow {
    justify-content: center;
}

.section-head--center .lead {
    margin-inline: auto;
}

.section-head h2 {
    margin-bottom: 0.45em;
}

.section-head .lead {
    margin-bottom: 0;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 650;
    color: var(--signal-dark);
    text-decoration: none;
    border-bottom: 1px solid rgba(27, 111, 209, 0.35);
    padding-bottom: 2px;
}

.text-link::after {
    content: "→";
    transition: transform 0.18s ease;
}

.text-link:hover {
    color: var(--signal);
    border-color: var(--signal);
}

.text-link:hover::after {
    transform: translateX(3px);
}

.section--dark .text-link {
    color: #9CCBF5;
    border-color: rgba(156, 203, 245, 0.4);
}

.muted {
    color: var(--muted);
}

.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }

/* --------------------------------------------------------------------------
   Buttons und Badges
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 22px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--ink);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 650;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
    white-space: nowrap;
}

.btn:hover {
    background: var(--paper);
    border-color: var(--ink-3);
    color: var(--ink);
    transform: translateY(-1px);
}

.btn--primary {
    background: var(--signal);
    border-color: var(--signal);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(27, 111, 209, 0.25);
}

.btn--primary:hover {
    background: var(--signal-dark);
    border-color: var(--signal-dark);
    color: var(--white);
}

.btn--dark {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.btn--dark:hover {
    background: var(--ink-2);
    border-color: var(--ink-2);
    color: var(--white);
}

.btn--ghost {
    background: transparent;
    border-color: var(--line-strong);
    color: var(--ink);
}

.btn--light {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.btn--light:hover {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
}

.btn--small {
    padding: 8px 14px;
    font-size: 0.86rem;
}

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

.btn--danger {
    background: var(--danger-soft);
    border-color: #f3c3be;
    color: var(--danger);
}

.btn--danger:hover {
    background: #ecd9d6;
    color: var(--danger);
}

.btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--teal-soft);
    color: var(--teal);
    font-size: 0.76rem;
    font-weight: 650;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.badge--muted {
    background: var(--paper-2);
    color: var(--muted);
}

.badge--warn {
    background: var(--warn-soft);
    color: var(--warn);
}

.badge--signal {
    background: var(--signal-soft);
    color: var(--signal-dark);
}

.badge--light {
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 8%, rgba(27, 111, 209, 0.1), transparent 42%),
        linear-gradient(180deg, var(--paper) 0%, #F4F7FA 100%);
    padding: clamp(44px, 6vw, 92px) 0 clamp(40px, 5vw, 76px);
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
    gap: clamp(32px, 5vw, 68px);
    align-items: center;
}

.hero h1 {
    margin-bottom: 0.35em;
    font-size: clamp(2.3rem, 4.4vw, 3.55rem);
}

.hero h1 .accent {
    color: var(--signal);
    position: relative;
}

.hero .lead {
    font-size: clamp(1.06rem, 1.45vw, 1.25rem);
    max-width: 58ch;
    color: #33465a;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
}

.hero__proof li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
}

.hero__proof .icon {
    width: 17px;
    height: 17px;
    color: var(--signal);
}

.hero__media {
    position: relative;
}

.hero__frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--ink);
}

.hero__frame img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.hero__frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(10, 18, 22, 0.5));
    pointer-events: none;
}

.hero__caption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 1;
    color: var(--white);
    font-size: 0.82rem;
    line-height: 1.45;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.hero__float {
    position: absolute;
    left: -22px;
    bottom: -24px;
    max-width: 250px;
    padding: 16px 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-size: 0.84rem;
    line-height: 1.45;
    color: var(--muted);
}

.hero__float strong {
    display: block;
    margin-bottom: 3px;
    color: var(--ink);
    font-size: 1.02rem;
}

.hero__float .icon {
    width: 22px;
    height: 22px;
    color: var(--teal);
    margin-bottom: 6px;
}

/* Kennzahlenleiste */

.kpi-band {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.kpi {
    padding: 26px 26px 26px 0;
    border-right: 1px solid var(--line);
}

.kpi:last-child {
    border-right: 0;
}

.kpi strong {
    display: block;
    font-size: clamp(1.5rem, 2.6vw, 2.15rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 6px;
}

.kpi span {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.4;
    display: block;
}

.kpi + .kpi {
    padding-left: 26px;
}

/* Seitenkopf für Unterseiten */

.page-hero {
    background:
        radial-gradient(circle at 90% 0, rgba(27, 111, 209, 0.09), transparent 45%),
        var(--paper);
    padding: clamp(38px, 5vw, 72px) 0 clamp(34px, 4vw, 60px);
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    max-width: 22ch;
}

.page-hero .lead {
    max-width: 62ch;
}

.page-hero--dark {
    background: var(--ink);
    border-color: var(--line-dark);
}

.page-hero--dark h1,
.page-hero--dark .lead {
    color: var(--white);
}

.page-hero--dark .lead {
    color: rgba(255, 255, 255, 0.66);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 0.82rem;
}

.breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--signal-dark);
}

.breadcrumbs .sep {
    opacity: 0.5;
}

/* --------------------------------------------------------------------------
   Bildflächen
   -------------------------------------------------------------------------- */

.media {
    margin: 0;
}

.media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--paper-2);
}

.media figcaption {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.4;
}

.media--4x3 img {
    aspect-ratio: 4 / 3;
}

.media--1x1 img {
    aspect-ratio: 1 / 1;
}

.media--tall img {
    aspect-ratio: 4 / 3;
}

.frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--paper-2);
}

.frame img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   Karten und Raster
   -------------------------------------------------------------------------- */

.grid {
    display: grid;
    gap: clamp(18px, 2.4vw, 30px);
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.grid--aside {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    align-items: start;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: clamp(20px, 2.2vw, 30px);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.card > * {
    margin: 0;
}

.card--flush {
    padding: 0;
    overflow: hidden;
}

.card--flush .card__body {
    padding: clamp(20px, 2.2vw, 28px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.card--flush img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.card--dark {
    background: var(--ink-2);
    border-color: var(--line-dark);
    color: rgba(255, 255, 255, 0.76);
}

.card--dark h3,
.card--dark strong {
    color: var(--white);
}

.card--accent {
    background: linear-gradient(150deg, var(--signal) 0%, #08447A 100%);
    border-color: transparent;
    color: rgba(255, 255, 255, 0.9);
}

.card--accent h3,
.card--accent strong {
    color: var(--white);
}

.card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--signal-soft);
    color: var(--signal-dark);
    flex: 0 0 auto;
}

.card__icon .icon {
    width: 24px;
    height: 24px;
}

.card__icon--teal {
    background: var(--teal-soft);
    color: var(--teal);
}

.card__icon--dark {
    background: rgba(255, 255, 255, 0.1);
    color: #9CCBF5;
}

.card h3 {
    margin: 0;
}

.card p {
    color: var(--muted);
    font-size: 0.95rem;
}

.card--dark p,
.card--accent p {
    color: inherit;
}

.card .text-link {
    margin-top: auto;
    align-self: flex-start;
    font-size: 0.9rem;
}

/* Vorteilskacheln mit Bild */

.usp-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.usp {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.usp img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.usp__body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.usp__body .icon {
    width: 22px;
    height: 22px;
    color: var(--signal);
    margin-bottom: 2px;
}

.usp h3 {
    font-size: 1.02rem;
    margin: 0;
}

.usp p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* Zielgruppenkarten */

.group-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.group-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.group-card__media {
    position: relative;
    overflow: hidden;
}

.group-card__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.group-card:hover .group-card__media img {
    transform: scale(1.03);
}

.group-card__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(17, 26, 31, 0.82);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.group-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 22px 24px;
    flex: 1;
}

.group-card__body h3 {
    margin: 0;
}

.group-card__body p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.group-card__body .text-link {
    margin-top: auto;
    padding-top: 10px;
    font-size: 0.88rem;
}

/* --------------------------------------------------------------------------
   Split- und Feature-Layouts
   -------------------------------------------------------------------------- */

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

.split--wide {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.split--reverse .split__media {
    order: -1;
}

.split__media {
    position: relative;
}

.split__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.split__badge {
    position: absolute;
    right: -14px;
    top: 18px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 650;
    box-shadow: var(--shadow);
}

.feature-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    padding: clamp(34px, 5vw, 64px) 0;
    border-top: 1px solid var(--line);
}

.feature-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.feature-row:last-child {
    padding-bottom: 0;
}

.feature-row--reverse .feature-row__media {
    order: 2;
}

.feature-row__media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.feature-row__body .eyebrow {
    margin-bottom: 10px;
}

.feature-row__body h2,
.feature-row__body h3 {
    margin-bottom: 0.4em;
}

.feature-row__body p {
    color: var(--muted);
}

.feature-row__body .icon-list {
    margin-top: 18px;
}

.icon-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font-size: 0.95rem;
}

.icon-list .icon {
    width: 18px;
    height: 18px;
    color: var(--teal);
    flex: 0 0 auto;
    margin-top: 3px;
}

.checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.5;
}

.checklist .icon {
    width: 20px;
    height: 20px;
    color: var(--teal);
    flex: 0 0 auto;
    margin-top: 2px;
}

.section--dark .checklist .icon {
    color: #7FC7FF;
}

/* --------------------------------------------------------------------------
   Kennzahlen und Zitate
   -------------------------------------------------------------------------- */

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.stat {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.stat strong {
    display: block;
    font-size: clamp(1.55rem, 2.6vw, 2.1rem);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}

.stat span {
    color: var(--muted);
    font-size: 0.86rem;
  }

.quote {
    margin: 0;
    padding: 26px 30px;
    border-left: 3px solid var(--signal);
    background: var(--paper);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--ink-2);
}

.quote footer {
    margin-top: 14px;
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Galerie und Slider
   -------------------------------------------------------------------------- */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--paper-2);
    border: 1px solid var(--line);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.035);
}

.gallery-item figcaption {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 14px;
    font-size: 0.8rem;
    color: var(--muted);
    background: var(--white);
}

.gallery-item figcaption strong {
    color: var(--ink);
    font-size: 0.84rem;
}

.gallery-item figcaption span {
    white-space: nowrap;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--signal-dark);
    font-weight: 650;
}

.gallery-item--wide {
    grid-column: span 2;
}

.gallery-item--wide img {
    aspect-ratio: 16 / 9;
}

.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.gallery-filter button {
    padding: 7px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--white);
    color: var(--muted);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
}

.gallery-filter button:hover {
    border-color: var(--ink-3);
    color: var(--ink);
}

.gallery-filter button.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.slider {
    display: flex;
    gap: 18px;
    margin: 0 calc(50% - 50vw);
    padding: 4px max(24px, calc((100vw - var(--container)) / 2)) 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.slider > * {
    flex: 0 0 min(360px, 82vw);
    scroll-snap-align: start;
}

.slider::-webkit-scrollbar {
    height: 8px;
}

.slider::-webkit-scrollbar-thumb {
    background: var(--line-strong);
    border-radius: 4px;
}

.slider__hint {
    margin-top: 10px;
    font-size: 0.78rem;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   Preise
   -------------------------------------------------------------------------- */

.price-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.price-card {
    display: flex;
    flex-direction: column;
    padding: 30px 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.price-card--featured {
    border-color: var(--ink);
    box-shadow: var(--shadow);
    position: relative;
}

.price-card--featured::before {
    content: "Empfohlen";
    position: absolute;
    top: -12px;
    left: 28px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--signal);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.price-card h3 {
    margin: 0 0 4px;
    font-size: 1.25rem;
}

.price-card__for {
    color: var(--muted);
    font-size: 0.88rem;
    margin-bottom: 18px;
}

.price-card__price {
    font-size: 1.9rem;
    font-weight: 750;
    letter-spacing: -0.03em;
    color: var(--ink);
    line-height: 1.1;
}

.price-card__price small {
    display: block;
    margin-top: 4px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0;
}

.price-card ul {
    margin: 20px 0 24px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.price-card li {
    display: flex;
    gap: 9px;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
}

.price-card li::before {
    content: "✓";
    color: var(--teal);
    font-weight: 700;
}

.price-card .btn {
    margin-top: auto;
}

.price-note {
    margin-top: 26px;
    padding: 18px 22px;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid var(--line);
    font-size: 0.87rem;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   Ablauf / Schritte
   -------------------------------------------------------------------------- */

.steps {
    counter-reset: step;
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.step {
    counter-increment: step;
    position: relative;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 18px;
    padding: 20px 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.step::before {
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--white);
    font-weight: 750;
    font-size: 1.05rem;
}

.step h3 {
    margin: 0 0 4px;
    font-size: 1.05rem;
}

.step p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.step__meta {
    display: block;
    margin-top: 8px;
    font-size: 0.78rem;
    color: var(--teal);
    font-weight: 650;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.steps--compact .step {
    padding: 16px 18px;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
    display: grid;
    gap: 12px;
}

.faq details {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0 22px;
}

.faq details[open] {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-sm);
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0;
    font-weight: 650;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    font-size: 1.4rem;
    line-height: 1;
    color: var(--signal);
    font-weight: 400;
    transition: transform 0.18s ease;
}

.faq details[open] summary::after {
    transform: rotate(45deg);
}

.faq details > p,
.faq details > div {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 0.95rem;
    max-width: 78ch;
}

/* --------------------------------------------------------------------------
   Formulare
   -------------------------------------------------------------------------- */

.form {
    display: grid;
    gap: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

label {
    display: block;
    font-size: 0.88rem;
    font-weight: 650;
    color: var(--ink);
}

label .hint {
    display: block;
    margin-top: 4px;
    font-weight: 400;
    font-size: 0.78rem;
    color: var(--muted);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="number"],
input[type="search"],
select,
textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 11px 13px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--ink);
    font: inherit;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--signal);
    box-shadow: 0 0 0 3px rgba(27, 111, 209, 0.14);
    outline: none;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 500;
    font-size: 0.88rem;
}

.checkbox input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--signal);
    flex: 0 0 auto;
}

fieldset {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
}

legend {
    padding: 0 8px;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--ink);
}

.form-note {
    font-size: 0.8rem;
    color: var(--muted);
}

.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--paper);
    font-size: 0.9rem;
}

.alert--success {
    background: var(--success-soft);
    border-color: #bfe3cc;
    color: #0b5fa5;
}

.alert--error {
    background: var(--danger-soft);
    border-color: #f3c3be;
    color: var(--danger);
}

.alert--info {
    background: var(--teal-soft);
    border-color: #c3ded9;
    color: var(--teal);
}

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.contact-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.contact-card .icon {
    width: 24px;
    height: 24px;
    color: var(--signal);
    margin-bottom: 12px;
}

.contact-card h2,
.contact-card h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
}

.contact-card p {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 0.9rem;
}

.contact-card a {
    font-weight: 650;
    word-break: break-word;
}

.contact-address {
    font-style: normal;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Hinweisband / CTA */

.cta-band {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.5fr);
    gap: 30px;
    align-items: center;
    padding: clamp(30px, 4.5vw, 56px);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--ink) 0%, #23343c 100%);
    color: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow);
}

.cta-band h2 {
    color: var(--white);
    margin-bottom: 0.35em;
}

.cta-band p {
    margin: 0;
    max-width: 62ch;
}

.cta-band .btn-row {
    justify-content: flex-end;
}

.cta-band--signal {
    background: linear-gradient(135deg, var(--signal) 0%, #08447A 100%);
}

/* --------------------------------------------------------------------------
   Hinweisboxen
   -------------------------------------------------------------------------- */

.callout {
    padding: 18px 22px;
    border-left: 3px solid var(--signal);
    background: var(--signal-soft);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.92rem;
    color: #24405c;
}

.callout strong {
    color: var(--signal-dark);
}

.callout--teal {
    border-color: var(--teal);
    background: var(--teal-soft);
    color: #24405c;
}

.callout + .callout {
    margin-top: 12px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.62);
    padding: clamp(44px, 6vw, 72px) 0 24px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.45fr 1.15fr repeat(3, minmax(0, 0.72fr));
    gap: 34px;
    padding-bottom: 44px;
}

.footer-brand .brand {
    margin-bottom: 18px;
}

.brand--light .brand-text strong {
    color: var(--white);
}

.brand--light .brand-text small {
    color: rgba(255, 255, 255, 0.55);
}

.footer-claim {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.88rem;
    line-height: 1.6;
    max-width: 40ch;
}

.footer-onboarding {
    margin-top: 14px;
}

.site-footer .text-link {
    color: #9CCBF5;
    border-color: rgba(156, 203, 245, 0.35);
}

.footer-contact h3,
.footer-links h3 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-contact address {
    font-style: normal;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-contact a,
.footer-links a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
}

.footer-contact a:hover,
.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-links a {
    display: block;
    padding: 4px 0;
    font-size: 0.88rem;
}

.footer-mails {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.footer-mails li {
    margin: 0;
    font-size: 0.85rem;
}

.footer-mails span {
    display: block;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.42);
    letter-spacing: 0.03em;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding-top: 22px;
    border-top: 1px solid var(--line-dark);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom nav {
    display: flex;
    gap: 18px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* --------------------------------------------------------------------------
   Consent
   -------------------------------------------------------------------------- */

.consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    padding: 14px;
    background: rgba(17, 26, 31, 0.5);
    backdrop-filter: blur(3px);
}

.consent[hidden] {
    display: none;
}

.consent__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
    width: min(1100px, 100%);
    margin: 0 auto;
    padding: 20px 24px;
    background: var(--ink);
    color: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.consent__text {
    flex: 1 1 520px;
    min-width: 240px;
}

.consent__text strong {
    display: block;
    margin-bottom: 4px;
    color: var(--white);
    font-size: 0.98rem;
}

.consent__text p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.55;
}

.consent__text a {
    color: #9CCBF5;
    white-space: nowrap;
}

.consent__actions {
    flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   Kundenportal
   -------------------------------------------------------------------------- */

.portal-body {
    background: var(--paper);
    min-height: 100vh;
}

.portal-shell {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    min-height: 100vh;
}

.portal-side {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.7);
    padding: 26px 20px;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.portal-side .brand-text strong {
    color: var(--white);
}

.portal-side .brand-text small {
    color: rgba(255, 255, 255, 0.5);
}

.portal-nav {
    display: grid;
    gap: 3px;
}

.portal-nav a {
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.portal-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.portal-nav a.is-active {
    background: var(--signal);
    color: var(--white);
}

.portal-side__foot {
    margin-top: auto;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.5;
}

.portal-side__foot a {
    color: rgba(255, 255, 255, 0.7);
}

.portal-main {
    padding: 28px clamp(20px, 4vw, 48px) 60px;
    min-width: 0;
}

.portal-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 30px;
}

.portal-top h1 {
    margin: 0;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

.portal-top p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.portal-user {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--muted);
}

.portal-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.portal-card + .portal-card {
    margin-top: 18px;
}

.portal-card h2 {
    font-size: 1.25rem;
    margin-bottom: 14px;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.release-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.release-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.release-card h3 {
    margin: 0;
    font-size: 1.05rem;
}

.release-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.release-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--muted);
}

.release-meta span {
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--paper-2);
}

.release-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

.empty-state {
    padding: 40px 24px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    text-align: center;
    color: var(--muted);
    background: var(--white);
}

.portal-login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 32px 20px;
    background:
        radial-gradient(circle at 85% 10%, rgba(27, 111, 209, 0.12), transparent 40%),
        var(--paper);
}

.portal-login__box {
    width: min(440px, 100%);
    padding: 34px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.portal-login__box .brand {
    margin-bottom: 22px;
}

.portal-login__box h1 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.portal-login__box .lead {
    font-size: 0.9rem;
    margin-bottom: 22px;
}

.portal-login__foot {
    margin-top: 18px;
    font-size: 0.8rem;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Rechtstexte
   -------------------------------------------------------------------------- */

.legal {
    max-width: 820px;
}

.legal h2 {
    margin-top: 2em;
    font-size: 1.35rem;
}

.legal h3 {
    margin-top: 1.5em;
    font-size: 1.05rem;
}

.legal p,
.legal li {
    font-size: 0.95rem;
    color: #33434a;
}

.legal address {
    font-style: normal;
    margin-bottom: 1em;
    line-height: 1.7;
}

.legal ul {
    padding-left: 1.2em;
}

/* --------------------------------------------------------------------------
   Tabellen
   -------------------------------------------------------------------------- */

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background: var(--white);
}

th,
td {
    padding: 13px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

th {
    background: var(--paper);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
}

tr:last-child td {
    border-bottom: 0;
}

/* --------------------------------------------------------------------------
   Hilfsklassen
   -------------------------------------------------------------------------- */

.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;
}

.divider {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 40px 0;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.pill-row li {
    margin: 0;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--paper-2);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1140px) {
    .site-nav a {
        padding: 8px 9px;
        font-size: 0.9rem;
    }

    .header-cta {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr repeat(2, minmax(0, 0.8fr));
    }

    .footer-grid > :last-child {
        grid-column: 2 / -1;
    }
}

@media (max-width: 1000px) {
    .hero__grid,
    .split,
    .split--wide,
    .feature-row {
        grid-template-columns: 1fr;
    }

    .split--reverse .split__media,
    .feature-row--reverse .feature-row__media {
        order: 0;
    }

    .hero__float {
        position: static;
        margin: 14px 0 0;
        max-width: none;
    }

    .grid--4,
    .usp-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid--3,
    .gallery-grid,
    .price-grid,
    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .price-card--featured {
        grid-column: span 1;
    }

    .kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .kpi:nth-child(2) {
        border-right: 0;
    }

    .kpi:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }

    .cta-band {
        grid-template-columns: 1fr;
    }

    .cta-band .btn-row {
        justify-content: flex-start;
    }

    .portal-shell {
        grid-template-columns: 1fr;
    }

    .portal-side {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        padding: 14px 18px;
        gap: 14px;
    }

    .portal-side .portal-nav {
        grid-auto-flow: column;
        overflow-x: auto;
        margin-left: auto;
    }

    .portal-side__foot {
        display: none;
    }
}

@media (max-width: 860px) {
    :root {
        --header-h: 68px;
    }

    .topbar {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        position: fixed;
        inset: var(--header-h) 0 0 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 20px 24px 40px;
        background: var(--white);
        overflow-y: auto;
        z-index: 55;
    }

    body.nav-open .site-nav {
        display: flex;
    }

    .site-nav a {
        padding: 14px 12px;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
    }

    .site-nav .nav-login {
        margin-left: 0;
        border: 1px solid var(--line-strong);
        border-radius: var(--radius-sm);
        margin-top: 10px;
        text-align: center;
        justify-content: center;
    }

    .header-inner {
        gap: 12px;
    }

    .brand-text strong {
        font-size: 1.15rem;
    }

    .grid--2,
    .grid--3,
    .grid--4,
    .usp-grid,
    .gallery-grid,
    .price-grid,
    .contact-grid,
    .stat-grid,
    .form-grid,
    .grid--aside,
    .portal-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item--wide {
        grid-column: span 1;
    }

    .kpi-grid {
        grid-template-columns: 1fr;
    }

    .kpi,
    .kpi + .kpi {
        padding: 20px 0;
        border-right: 0;
        border-top: 1px solid var(--line);
    }

    .kpi:first-child {
        border-top: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand,
    .footer-contact {
        grid-column: span 2;
    }

    .footer-grid > :last-child {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .consent__inner {
        padding: 18px;
    }

    .consent__actions {
        width: 100%;
    }

    .consent__actions .btn {
        width: 100%;
    }

    .portal-side {
        flex-direction: column;
        align-items: flex-start;
    }

    .portal-side .portal-nav {
        grid-auto-flow: row;
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 560px) {
    body {
        font-size: 16px;
    }

    .container,
    .container--narrow {
        width: calc(100% - 36px);
    }

    .hero {
        padding-top: 34px;
    }

    .hero h1 {
        font-size: clamp(1.9rem, 7.8vw, 2.5rem);
    }

    h1 {
        font-size: clamp(1.85rem, 7.4vw, 2.35rem);
    }

    .btn {
        width: 100%;
    }

    .btn-row .btn,
    .hero__actions .btn {
        width: 100%;
    }

    .hero__actions {
        gap: 10px;
    }

    .step {
        grid-template-columns: 38px 1fr;
        gap: 14px;
        padding: 16px;
    }

    .step::before {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .slider {
        margin-inline: -18px;
        padding-inline: 18px;
    }
}

/* --------------------------------------------------------------------------
   Ergänzungen: Reveal, Prüfsummen, Rundungen
   -------------------------------------------------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.round {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hash-details {
    margin-top: 10px;
    font-size: 0.78rem;
    color: var(--muted);
}

.hash-details summary {
    cursor: pointer;
    color: var(--muted);
}

.hash-details code {
    display: block;
    margin: 6px 0;
    padding: 8px 10px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    word-break: break-all;
}

.hash-details .btn {
    margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Bewegung / Druck
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    .site-header,
    .topbar,
    .site-footer,
    .consent,
    .skip-link,
    .no-print {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
        font-size: 11pt;
    }

    a {
        color: #000;
    }

    .section,
    .page-hero {
        padding: 12pt 0;
    }

    .step,
    .card {
        break-inside: avoid;
        box-shadow: none;
    }

    .container,
    .container--narrow {
        width: 100%;
    }
}

.page-hero .split--wide {
    align-items: center;
}

.page-hero__media img {
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 1000px) {
    .page-hero__media {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Zerlegte Bildkacheln
   -------------------------------------------------------------------------- */

.tile-img {
    display: grid;
    grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
    grid-template-rows: repeat(var(--rows, 3), minmax(0, 1fr));
    width: 100%;
    overflow: hidden;
    background: var(--paper-2);
    user-select: none;
    -webkit-user-select: none;
    border-radius: var(--radius);
}

.tile-img picture {
    display: block;
    width: calc(100% + 1.2px);
    height: calc(100% + 1.2px);
    overflow: hidden;
    margin: -0.6px;
}

.tile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.hero__frame .tile-img,
.usp .tile-img,
.group-card__media .tile-img,
.split__media .tile-img,
.feature-row__media .tile-img {
    border-radius: 0;
}

/* --------------------------------------------------------------------------
   Redaktionelle Bildeinbindung
   -------------------------------------------------------------------------- */

.editorial-media {
    margin: 0 0 24px;
    max-width: 520px;
}

.editorial-media--right {
    float: right;
    width: min(46%, 520px);
    margin-left: clamp(20px, 4vw, 44px);
}

.editorial-media--left {
    float: left;
    width: min(46%, 520px);
    margin-right: clamp(20px, 4vw, 44px);
}

.editorial-media--full {
    float: none;
    width: 100%;
    max-width: none;
    margin: 30px 0;
}

.editorial-media figcaption {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

.editorial-clear {
    clear: both;
}

.case {
    padding: clamp(28px, 4vw, 52px) 0;
    border-top: 1px solid var(--line);
}

.case:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.case h2 {
    margin-bottom: 0.4em;
}

@media (max-width: 820px) {
    .editorial-media--right,
    .editorial-media--left {
        float: none;
        width: 100%;
        max-width: none;
        margin: 0 0 22px;
    }
}

/* Kacheln niemals einzeln abrunden oder schatten */
.tile-img img {
    border-radius: 0 !important;
    box-shadow: none !important;
    aspect-ratio: auto !important;
}

.group-card__tag--plain {
    position: static;
    display: inline-flex;
    width: fit-content;
    margin-bottom: 6px;
    background: var(--signal-soft);
    color: var(--signal-dark);
    backdrop-filter: none;
}
