/* public/css/start.css – Vollständige Startseite mit korrigiertem Header-Button-Hover und Footer-Logo */
/* ================================================================
   1. RESET & BASIS (nur startseitenspezifisch)
   ================================================================ */
:root {
    --primary: #4361ee;
    --primary-dark: #2d4ae0;
    --primary-light: #5b7bf5;
    --primary-bg: #eef1fd;
    --secondary: #3a0ca3;
    --gradient: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    --orange: #ea8c00;
    --orange-bg: #fffbeb;
    --success: #2d9d78;
    --warning: #d97706;
    --danger: #e03e3e;
    --gray: #4e555e;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #565656;
    --gray-600: #4e555e;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --light: #f5f7fa;
    --white: #ffffff;
    --dark: #1a1a2e;
    --muted: #4e555e;
    --border: #e9ecef;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.12);
    --font-family:
        "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================================================
   2. HEADER (mit korrigiertem Button-Hover)
   ================================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
    padding: 0 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 16px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    text-decoration: none;
    flex-shrink: 0;
}

.logo .logo-svg-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.logo svg {
    width: 28px;
    height: 28px;
}

.logo:hover {
    text-decoration: none;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

.nav a {
    color: var(--gray-700);
    text-decoration: none;
    transition: color 0.15s;
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.nav a:hover {
    color: var(--primary);
    text-decoration: none;
}

.nav a:hover::after {
    transform: scaleX(1);
}

/* Header CTA Group – 🔥 KORRIGIERTER BUTTON-HOVER */
.header-cta-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* ─── Basis-Button-Styles für Header ─── */
.header-cta-group .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 20px;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
    white-space: nowrap;
    line-height: 1.2;
}

/* ─── PRIMARY BUTTON (Registrieren) – 🔥 KORRIGIERT ─── */
.header-cta-group .btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(67, 97, 238, 0.25);
}

.header-cta-group .btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.35);
    text-decoration: none;
}

.header-cta-group .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(67, 97, 238, 0.2);
}

/* ─── OUTLINE BUTTON (Login, Portal) ─── */
.header-cta-group .btn-outline {
    background: transparent;
    color: var(--gray-700);
    border: 1.5px solid var(--gray-300);
}

.header-cta-group .btn-outline:hover {
    background: var(--gray-50);
    color: var(--gray-900);
    border-color: var(--gray-400);
    transform: translateY(-1px);
    text-decoration: none;
}

/* ─── Spezialfall: Portal-Button mit Primärfarbe ─── */
.header-cta-group .btn-outline[style*="border-color: var(--primary)"] {
    border-color: var(--primary);
    color: var(--primary);
}

.header-cta-group .btn-outline[style*="border-color: var(--primary)"]:hover {
    background: var(--primary-bg);
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background 0.15s;
}

.nav-toggle:hover {
    background: var(--gray-100);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: all 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 12px 24px 20px;
    background: var(--white);
    border-top: 1px solid var(--border);
}

.nav-mobile.open {
    display: flex;
}

.nav-mobile a {
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    transition:
        background 0.15s,
        color 0.15s;
}

.nav-mobile a:hover {
    background: var(--gray-50);
    color: var(--primary);
    text-decoration: none;
}

.nav-mobile .btn {
    margin-top: 8px;
    justify-content: center;
}

/* ================================================================
   3. HERO
   ================================================================ */
.hero {
    padding: 120px 0 60px;
    background: linear-gradient(180deg, #e6ecfd 0%, #f8faff 55%, #ffffff 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: var(--primary-bg);
    padding: 4px 14px 4px 10px;
    border-radius: 99px;
    width: fit-content;
}

.hero-eyebrow-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--gray-900);
    letter-spacing: -0.025em;
}

.hero h1 br {
    display: block;
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 520px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.hero-ctas .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
}

.hero-ctas .btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.hero-ctas .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

.hero-ctas .btn-ghost-white {
    background: transparent;
    color: var(--gray-700);
    border: 1.5px solid var(--gray-300);
}

.hero-ctas .btn-ghost-white:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: var(--gray-400);
    transform: translateY(-1px);
    text-decoration: none;
}

.hero-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 8px;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--gray-600);
}

.hero-meta-item i {
    color: var(--primary);
    font-size: 0.875rem;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.db-wrap {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.db-chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--gray-100);
    border-bottom: 1px solid var(--border);
}

.db-chrome-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e03e3e;
}

.db-chrome-dot:nth-child(2) {
    background: #f9c74f;
}

.db-chrome-dot:nth-child(3) {
    background: #2d9d78;
}

.db-chrome-url {
    margin-left: 10px;
    font-size: 0.7rem;
    color: var(--gray-600);
    background: var(--white);
    padding: 2px 12px;
    border-radius: 99px;
    font-weight: 500;
}

.db-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border);
}

.db-brand {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--secondary);
}

.db-tabs {
    display: flex;
    gap: 4px;
}

.db-tab {
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-600);
}

.db-tab.on {
    background: var(--primary-bg);
    color: var(--primary);
}

.db-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    background: #fafcff;
}

.db-kpi {
    text-align: center;
}

.db-kpi-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gray-600);
}

.db-kpi-val {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--gray-800);
}

.db-kpi-val.c-red {
    color: var(--danger);
}

.db-kpi-val.c-green {
    color: var(--success);
}

.db-kpi-sub {
    font-size: 0.625rem;
    color: var(--gray-600);
}

.db-list {
    padding: 10px 18px 16px;
}

.db-head {
    display: flex;
    gap: 12px;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gray-600);
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
}

.db-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 8px 0;
    font-size: 0.8125rem;
    border-bottom: 1px solid var(--gray-100);
    align-items: center;
}

.db-row:last-child {
    border-bottom: none;
}

.db-name {
    font-weight: 500;
    color: var(--gray-800);
}

.db-amt {
    font-weight: 600;
}

.db-status {
    justify-self: end;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: 99px;
    font-size: 0.625rem;
    font-weight: 600;
}

.pill-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
}

.pill-darkred {
    background: #fde8e8;
    color: var(--danger);
}

.pill-orange {
    background: #fef3c7;
    color: var(--warning);
}

.pill-blue {
    background: var(--primary-bg);
    color: var(--primary);
}

.pill-green {
    background: #dcfce7;
    color: var(--success);
}

.db-foot {
    display: flex;
    gap: 16px;
    padding: 10px 18px;
    border-top: 1px solid var(--border);
    background: #fafcff;
}

.db-foot-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.6875rem;
    color: var(--gray-600);
}

.chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

/* ================================================================
   4. TRUST BAR
   ================================================================ */
.trust-bar {
    background: var(--gray-50);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.trust-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-600);
}

.trust-item i {
    color: var(--primary);
    font-size: 0.875rem;
}

/* ================================================================
   5. SECTIONS (generisch)
   ================================================================ */
.section {
    padding: 72px 0;
}

.section-sm {
    padding: 48px 0;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.section-header .label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: var(--primary-bg);
    padding: 3px 14px;
    border-radius: 99px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-header .intro-text {
    font-size: 1.0625rem;
    color: var(--gray-600);
    line-height: 1.7;
    max-width: 560px;
    margin: 12px auto 0;
}

/* ================================================================
   6. PROBLEM
   ================================================================ */
.problem {
    background: var(--white);
}

.prob-roi {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--primary-bg);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    margin-bottom: 40px;
}

.prob-roi-stat {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    flex-shrink: 0;
}

.prob-roi-divider {
    width: 2px;
    height: 48px;
    background: rgba(67, 97, 238, 0.2);
    flex-shrink: 0;
}

.prob-roi-content h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--gray-900);
}

.prob-roi-content p {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-top: 2px;
}

.problem-grid-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.prob-card-v2 {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.prob-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.prob-card-v2 .icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.icon-box-orange {
    background: #fef3c7;
    color: #d97706;
}

.icon-box-red {
    background: #fde8e8;
    color: #e03e3e;
}

.icon-box-blue {
    background: var(--primary-bg);
    color: var(--primary);
}

.icon-box-green {
    background: #dcfce7;
    color: var(--success);
}

.prob-card-v2 h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.prob-card-v2 p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ================================================================
   7. LÖSUNG
   ================================================================ */
.solution-v2 {
    background: var(--gray-50);
}

.sol-rows {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sol-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.sol-row.flip {
    direction: rtl;
}

.sol-row.flip .sol-row-content {
    direction: ltr;
}

.sol-row.flip .sol-row-visual {
    direction: ltr;
}

.sol-row-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sol-row-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px 8px 12px;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--gray-300);
    background: var(--gray-50);
}

/* Farbige Akzentbalken + Label-Farbe pro Abschnitt */
.sol-row-head.head-blue {
    border-left-color: var(--primary);
    background: var(--primary-bg);
}
.sol-row-head.head-orange {
    border-left-color: var(--warning);
    background: var(--warning-bg);
}
.sol-row-head.head-green {
    border-left-color: var(--success);
    background: var(--success-bg);
}

.sol-row-num {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
}

.sol-row-num.num-blue {
    color: var(--primary);
}
.sol-row-num.num-orange {
    color: var(--warning);
}
.sol-row-num.num-green {
    color: var(--success);
}

.sol-row-content h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--gray-900);
}

.sol-row-content p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.sol-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}

.sol-list-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--gray-700);
    padding: 4px 0;
}

.sol-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: 50%;
    font-size: 0.625rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.sol-row-visual {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

/* Email Mini */
.email-mini-header {
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-bottom: 12px;
}

.email-mini-field {
    display: flex;
    gap: 8px;
    font-size: 0.75rem;
}

.email-mini-key {
    color: var(--gray-600);
}

.email-mini-val {
    color: var(--gray-700);
}

.email-mini-body {
    padding: 0 4px;
}

.email-mini-greeting {
    font-size: 0.8125rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.email-mini-hl {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary-bg);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    margin: 12px 0;
}

.email-mini-hl-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--gray-600);
}

.email-mini-hl-val {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--primary);
}

.email-mini-btn {
    background: var(--primary);
    color: #fff;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: default;
    display: inline-block;
}

/* Mahnstufen Timeline */
.mt-wrap {
    padding: 4px 0;
}

.mt-row {
    display: flex;
    gap: 14px;
    padding: 6px 0;
    align-items: flex-start;
}

.mt-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.mt-dot.ok {
    background: #dcfce7;
    color: var(--success);
}

.mt-dot.info {
    background: var(--primary-bg);
    color: var(--primary);
}

.mt-dot.warn {
    background: #fef3c7;
    color: var(--warning);
}

.mt-dot.crit {
    background: #fde8e8;
    color: var(--danger);
}

.mt-dot.dim {
    background: var(--gray-100);
    color: var(--gray-600);
}

.mt-body {
    flex: 1;
}

.mt-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-800);
}

.mt-date {
    font-size: 0.6875rem;
    color: var(--gray-600);
}

.mt-badge {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 99px;
    font-size: 0.625rem;
    font-weight: 500;
    margin-top: 2px;
}

/* Tasks Widget */
.tasks-widget {
    background: var(--white);
    border-radius: var(--radius-md);
}

.tasks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 12px;
}

.tasks-title {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--gray-800);
}

.tasks-tabs {
    display: flex;
    gap: 4px;
}

.tasks-tab {
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 500;
    cursor: default;
    color: var(--gray-600);
}

.tasks-tab.active {
    background: var(--primary-bg);
    color: var(--primary);
}

.task-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
}

.task-item:last-child {
    border-bottom: none;
}

.task-check {
    padding-top: 2px;
}

.task-check input {
    accent-color: var(--primary);
}

.task-content {
    flex: 1;
}

.task-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-800);
}

.task-meta {
    display: flex;
    gap: 12px;
    font-size: 0.6875rem;
    color: var(--gray-600);
}

.task-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.task-badge {
    display: inline-block;
    padding: 1px 10px;
    border-radius: 99px;
    font-size: 0.625rem;
    font-weight: 500;
    background: var(--gray-100);
    color: var(--gray-600);
}

.task-badge.overdue {
    background: #fde8e8;
    color: var(--danger);
}

.task-badge.today {
    background: #fef3c7;
    color: var(--warning);
}

.task-action {
    display: flex;
    gap: 4px;
}

.task-action button {
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.625rem;
    font-weight: 500;
    border: 1px solid var(--border);
    background: var(--white);
    cursor: default;
    color: var(--gray-600);
}

.task-action button.primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ================================================================
   8. SHOWCASE (Dashboard Preview)
   ================================================================ */
.showcase {
    background: #fff;
}

.showcase-wrap {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.sc-chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--gray-100);
    border-bottom: 1px solid var(--border);
}

.sc-chrome-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e03e3e;
}

.sc-chrome-dot:nth-child(2) {
    background: #f9c74f;
}

.sc-chrome-dot:nth-child(3) {
    background: #2d9d78;
}

.sc-chrome-url {
    margin-left: 10px;
    font-size: 0.7rem;
    color: var(--gray-600);
    background: var(--white);
    padding: 2px 12px;
    border-radius: 99px;
    font-weight: 500;
}

.sc-main {
    padding: 16px 20px 20px;
}

.sc-kpi-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.sc-kpi-card {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    text-align: center;
}

.sc-kpi-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gray-600);
}

.sc-kpi-val {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--gray-800);
}

.sc-kpi-val.c-red {
    color: var(--danger);
}

.sc-kpi-val.c-green {
    color: var(--success);
}

.sc-kpi-sub {
    font-size: 0.625rem;
    color: var(--gray-600);
}

.sc-charts-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}

.sc-chart-card {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: 16px 18px;
}

.sc-chart-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.sc-chart-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-700);
}

.sc-line-wrap {
    width: 100%;
}

.sc-line-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.6rem;
    color: var(--gray-600);
    margin-top: 4px;
}

.sc-line-label {
    flex: 1;
    text-align: center;
}

.donut-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 8px 0;
}

.donut {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: conic-gradient(
        #16a34a 0% 60%,
        #ea8c00 60% 86.7%,
        #dc2626 86.7% 100%
    );
    flex-shrink: 0;
}

.donut-legend {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.donut-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--gray-700);
}

.donut-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}

.donut-legend-percent {
    font-size: 0.625rem;
    color: var(--gray-600);
}

.sc-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}

.sc-two-cols:last-child {
    margin-bottom: 0;
}

.sc-table-card {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: 16px 18px;
}

.sc-table-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.sc-table-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-700);
}

.sc-tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
}

.sc-tbl th {
    text-align: left;
    font-weight: 500;
    color: var(--gray-600);
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border);
}

.sc-tbl td {
    padding: 4px 0;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
}

.sc-tbl .amt {
    text-align: right;
    font-weight: 600;
}

.sc-bar-chart {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 120px;
    padding: 8px 0 0;
}

.sc-bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.sc-bar {
    width: 32px;
    border-radius: 4px 4px 0 0;
    min-height: 8px;
    transition: height 0.3s ease;
}

.sc-bar-lbl {
    font-size: 0.55rem;
    text-align: center;
    color: var(--gray-600);
    line-height: 1.3;
}

.sc-bar-lbl strong {
    display: block;
    font-size: 0.6rem;
}

.cf-week-row {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 100px;
    padding: 8px 0 0;
}

.cf-week {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.cf-bars {
    display: flex;
    gap: 4px;
    align-items: flex-end;
    height: 80px;
}

.cf-bar {
    width: 18px;
    border-radius: 3px 3px 0 0;
    background: var(--primary);
    min-height: 4px;
}

.cf-bar.expected {
    background: #a5c1ff;
}

.cf-label {
    font-size: 0.55rem;
    color: var(--gray-600);
}

.cf-legend {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 8px;
    font-size: 0.65rem;
    color: var(--gray-600);
}

.cf-legend span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.cf-legend span i {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    display: inline-block;
}

.cf-legend span i.expected {
    background: #a5c1ff;
}

.sc-overdue-badge {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 99px;
    font-size: 0.6rem;
    font-weight: 600;
    background: #fde8e8;
    color: var(--danger);
}

/* ================================================================
   9. PORTAL
   ================================================================ */
.portal {
    background: var(--white);
}

.portal-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
}

.portal-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.portal-content .label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: var(--primary-bg);
    padding: 3px 14px;
    border-radius: 99px;
    width: fit-content;
}

.portal-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.portal-content p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.feat-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.feat-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.feat-item .icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.feat-text h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-800);
}

.feat-text p {
    font-size: 0.8125rem;
    color: var(--gray-600);
}

.portal-full-wrap {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.pfm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border);
    background: var(--gray-50);
}

.pfm-logo {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.pfm-signout {
    font-size: 0.7rem;
    color: var(--gray-600);
}

.pfm-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    background: #fafcff;
}

.pfm-kpi {
    text-align: center;
}

.pfm-kpi-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.pfm-kpi-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.pfm-kpi-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    color: var(--gray-600);
}

.pfm-kpi-val {
    font-size: 1.0625rem;
    font-weight: 700;
}

.pfm-kpi-sub {
    font-size: 0.6rem;
    color: var(--gray-600);
}

.pfm-invoices {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px;
}

.pfm-invoice {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
}

.pfm-inv-bar {
    height: 3px;
    background: var(--primary);
}

.pfm-inv-body {
    padding: 14px 16px;
}

.pfm-inv-row1 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.pfm-inv-nr {
    font-size: 0.7rem;
    color: var(--gray-600);
}

.pfm-inv-amt {
    font-size: 1.125rem;
    font-weight: 700;
}

.pfm-inv-amt.overdue {
    color: var(--danger);
}

.pfm-inv-amt.open {
    color: var(--primary);
}

.pfm-overdue-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 99px;
    font-size: 0.6rem;
    font-weight: 600;
}

.pfm-inv-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 8px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 8px 0;
}

.pfm-meta-col {
    text-align: center;
}

.pfm-meta-label {
    font-size: 0.55rem;
    text-transform: uppercase;
    color: var(--gray-600);
}

.pfm-meta-val {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-700);
}

.pfm-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.pfm-btn {
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 500;
    cursor: default;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--gray-600);
}

.pfm-btn-pay {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.pfm-btn-sec {
    background: var(--gray-50);
}

.pfm-btn-warn {
    border-color: var(--danger);
    color: var(--danger);
}

/* ================================================================
   10. SMART FEATURES
   ================================================================ */
.smart {
    background: var(--white);
}

.smart-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}

.smart-block {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    border: 1px solid var(--border);
}

.smart-block .icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.smart-block h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.smart-block p {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.7;
}

.smart-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.smart-tag {
    padding: 2px 12px;
    border-radius: 99px;
    font-size: 0.625rem;
    font-weight: 500;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--gray-600);
}

/* Mahnstufen-Wrap */
.mahnstufen-wrap {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
}

.msm-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--gray-50);
}

.msm-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.msm-title {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--gray-800);
    display: flex;
    align-items: center;
    gap: 8px;
}

.msm-close {
    font-size: 0.875rem;
    color: var(--gray-600);
    cursor: default;
}

.msm-sub {
    font-size: 0.7rem;
    color: var(--gray-600);
    margin-top: 2px;
}

.msm-table-wrap {
    overflow-x: auto;
    padding: 12px 16px;
}

.msm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
}

.msm-table th {
    text-align: left;
    padding: 8px 6px;
    font-weight: 500;
    color: var(--gray-600);
}

.msm-table td {
    padding: 6px;
    border-bottom: 1px solid var(--gray-100);
}

.msm-stage-head {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 99px;
    font-size: 0.6rem;
    font-weight: 600;
}

.msm-cat {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 99px;
    font-size: 0.65rem;
    font-weight: 600;
}

.msm-cat.green {
    background: #dcfce7;
    color: var(--success);
}

.msm-cat.blue {
    background: var(--primary-bg);
    color: var(--primary);
}

.msm-cat.red {
    background: #fde8e8;
    color: var(--danger);
}

.msm-input {
    width: 100%;
    max-width: 80px;
    padding: 4px 6px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-family: var(--font-mono, monospace);
    background: var(--gray-50);
    text-align: center;
}

.msm-legend {
    display: flex;
    gap: 12px;
    padding: 8px 16px 12px;
    font-size: 0.65rem;
    color: var(--gray-600);
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.msm-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-top: 1px solid var(--border);
    background: var(--gray-50);
    flex-wrap: wrap;
    gap: 8px;
}

.msm-footer-info {
    font-size: 0.7rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 4px;
}

.msm-footer-btns {
    display: flex;
    gap: 8px;
}

.msm-btn-reset {
    padding: 4px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 500;
    cursor: default;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--gray-600);
}

.msm-btn-save {
    padding: 4px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
    cursor: default;
    background: var(--primary);
    color: #fff;
    border: none;
}

/* ================================================================
   11. INTEGRATIONEN
   ================================================================ */
.integrations {
    background: var(--gray-50);
}

.int-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.int-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.int-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.int-card .icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.int-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.int-card p {
    font-size: 0.8125rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.status-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: 99px;
    font-size: 0.625rem;
    font-weight: 500;
    margin-top: 8px;
}

.tag-live {
    background: #dcfce7;
    color: var(--success);
}

.tag-live i {
    font-size: 0.4rem;
}

.int-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--primary-bg);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    font-size: 0.8125rem;
    color: var(--gray-600);
}

.int-notice i {
    color: var(--primary);
    font-size: 1rem;
    margin-top: 1px;
}

/* ================================================================
   12. ZIELGRUPPE
   ================================================================ */
.for-whom {
    background: var(--white);
}

.fw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.fw-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.fw-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.fw-card .icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.fw-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.fw-card p {
    font-size: 0.8125rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.fw-card:last-child {
    background: var(--primary-bg);
    border-color: #c7d3fc;
}

/* ================================================================
   13. ABLAUF
   ================================================================ */
.ablauf {
    background: var(--gray-50);
}

.ablauf-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px 28px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.step:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.step-n {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-bg);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.step-body p {
    font-size: 0.8125rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ================================================================
   14. FAQ
   ================================================================ */
.faq {
    background: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.faq-item {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.faq-q {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 6px;
}

.faq-q-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.faq-q h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-800);
}

.faq-item p {
    font-size: 0.8125rem;
    color: var(--gray-600);
    line-height: 1.6;
    padding-left: 36px;
}

/* ================================================================
   15. KONTAKT
   ================================================================ */
.contact-section {
    background: var(--gray-50);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-text .label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: var(--primary-bg);
    padding: 3px 14px;
    border-radius: 99px;
    width: fit-content;
}

.contact-text h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.contact-text p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.contact-perks {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
}

.perk {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.perk .icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.perk-text h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-800);
}

.perk-text p {
    font-size: 0.8125rem;
    color: var(--gray-500);
    line-height: 1.5;
}

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.contact-form-wrap h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.contact-form-wrap .form-sub {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.contact-form-wrap .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-form-wrap .form-group {
    margin-bottom: 14px;
}

.contact-form-wrap .form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 3px;
}

.contact-form-wrap .form-group input,
.contact-form-wrap .form-group select,
.contact-form-wrap .form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-family: var(--font-family);
    outline: none;
    transition:
        border-color 0.15s,
        box-shadow 0.15s;
    background: var(--white);
}

.contact-form-wrap .form-group input:focus,
.contact-form-wrap .form-group select:focus,
.contact-form-wrap .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.contact-form-wrap .form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.contact-form-wrap .form-submit {
    width: 100%;
    padding: 12px 24px;
    font-size: 0.9375rem;
    justify-content: center;
    margin-top: 4px;
}

.contact-form-wrap .form-note {
    font-size: 0.7rem;
    color: var(--gray-400);
    text-align: center;
    margin-top: 12px;
}

/* ================================================================
   16. FOOTER – 🔥 MIT KORRIGIERTEM LOGO
   ================================================================ */
footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 48px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand .logo-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.footer-brand .logo-footer:hover {
    text-decoration: none;
}

/* ─── Footer-Logo: SVG korrigiert ─── */
.footer-brand .logo-footer .logo-svg-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    /* Kein weißer Hintergrund – transparent */
    background: transparent;
}

.footer-brand .logo-footer svg path {
    /* Auf dunklem Hintergrund die Primärfarbe oder Weiß verwenden */
    stroke: #ffffff;
    stroke-width: 5;
    fill: none;
}

/* Alternativ: Primärfarbe für etwas mehr Farbakzent */
.footer-brand .logo-footer svg path {
    stroke: #7c9bff; /* helleres Blau für besseren Kontrast */
}

/* Oder wenn die Primärfarbe beibehalten werden soll, aber kontrastreicher: */
/*
.footer-brand .logo-footer svg path {
    stroke: var(--primary-light);
}
*/

.footer-brand p {
    font-size: 0.8125rem;
    color: var(--gray-500);
    line-height: 1.6;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-300);
    margin-bottom: 12px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 6px;
}

.footer-col ul li a {
    font-size: 0.8125rem;
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-col ul li a:hover {
    color: var(--white);
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    font-size: 0.75rem;
    color: var(--gray-500);
}

.footer-legal {
    display: flex;
    gap: 16px;
}

.footer-legal a {
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-legal a:hover {
    color: var(--white);
    text-decoration: none;
}

/* ================================================================
   16.5 RECHNER & CTA-BAND (aus neuem Design)
   ================================================================ */
/* ── Rechner ── */
.calc-section {
    background: var(--white);
}

.calc-card {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.calc-inputs {
    padding: 40px 44px;
    display: flex;
    flex-direction: column;
    gap: 26px;
    justify-content: center;
}

.calc-field-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
    gap: 12px;
}

.calc-field-top label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-900);
}

.calc-field input[type="number"] {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-md);
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    background: var(--white);
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none;
}

.calc-field input[type="number"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.14);
}

.calc-results {
    background: var(--gradient);
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

.calc-result-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.4;
}

.calc-result-val {
    font-size: 2.125rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-top: 2px;
}

.calc-result-val.highlight {
    color: #d9e2ff;
}

.calc-result-sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 2px;
}

.calc-result-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.14);
}

.calc-cta {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.calc-disclaimer {
    font-size: 0.71875rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-top: 2px;
    line-height: 1.5;
}

/* ── CTA-Band ── */
.cta-band {
    background: var(--gradient);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -80px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.cta-band-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-band-text {
    flex: 1;
    min-width: 280px;
}

.cta-band-text h2 {
    color: var(--white);
    margin-bottom: 8px;
    font-size: 2rem;
}

.cta-band-text p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 620px;
}

.cta-band .btn {
    flex-shrink: 0;
}

/* ================================================================
   17. RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .calc-card {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-inner {
        gap: 40px;
    }

    .portal-inner {
        gap: 48px;
    }

    .contact-inner {
        gap: 32px;
    }

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

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

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

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .calc-inputs {
        padding: 30px 26px;
    }

    .calc-results {
        padding: 30px 26px;
    }

    .nav {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .header-inner {
        height: 60px;
    }

    .header-cta-group .btn {
        padding: 7px 14px;
        font-size: 0.75rem;
    }

    .header-cta-group .btn-primary {
        /* 🔥 KORRIGIERT: auch auf mobil sichtbar bleiben */
        background: var(--primary);
        color: #fff;
    }

    .header-cta-group .btn-primary:hover {
        background: var(--primary-dark);
        color: #fff;
    }

    .hero {
        padding: 90px 0 40px;
        min-height: auto;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .hero-ctas .btn {
        padding: 10px 20px;
        font-size: 0.875rem;
    }

    .hero-visual {
        order: -1;
    }

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

    .trust-bar-inner {
        justify-content: center;
    }

    .section {
        padding: 48px 0;
    }

    .section-header h2 {
        font-size: 1.625rem;
    }

    .problem-grid-v2 {
        grid-template-columns: 1fr;
    }

    .prob-roi {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .prob-roi-divider {
        width: 48px;
        height: 2px;
    }

    .sol-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .sol-row.flip {
        direction: ltr;
    }

    .sc-charts-row {
        grid-template-columns: 1fr;
    }

    .sc-two-cols {
        grid-template-columns: 1fr;
    }

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

    .donut-container {
        flex-direction: column;
    }

    .portal-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .portal-content h2 {
        font-size: 1.5rem;
    }

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

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

    .smart-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .smart-block {
        padding: 24px;
    }

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

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

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-form-wrap {
        padding: 24px 20px;
    }

    .contact-form-wrap .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    .ablauf-steps {
        padding: 0 4px;
    }

    .step {
        padding: 16px 20px;
        flex-direction: column;
        gap: 10px;
    }

    .step-n {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .msm-table-wrap {
        padding: 8px 4px;
    }

    .msm-input {
        max-width: 60px;
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .header-cta-group .btn {
        padding: 6px 12px;
        font-size: 0.7rem;
    }

    .header-cta-group .btn-primary {
        padding: 6px 14px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }

    .db-row {
        grid-template-columns: 1fr 1fr;
        font-size: 0.7rem;
        gap: 4px;
    }

    .db-head {
        grid-template-columns: 1fr 1fr;
        font-size: 0.55rem;
    }

    .db-status {
        justify-self: start;
    }

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

    .faq-item {
        padding: 16px;
    }

    .faq-item p {
        padding-left: 0;
    }

    .msm-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .msm-footer-btns {
        justify-content: stretch;
    }

    .msm-footer-btns .msm-btn-reset,
    .msm-footer-btns .msm-btn-save {
        flex: 1;
        text-align: center;
    }

    .pfm-actions {
        flex-direction: column;
    }

    .pfm-btn {
        text-align: center;
    }
}
