/* delta3 Website - German Design Aesthetic */

/* ==========================================================================
   delta3 Design Tokens — shadcn-Logik in Vanilla CSS (Quelle: DESIGN.md)
   Gilt für delta3-Seiten und die Alino-Produktwelt.
   ========================================================================== */
:root {
    /* Marke */
    --d3-navy: #0c2340;
    --d3-navy-deep: #09223f;
    --d3-navy-mid: #123a66;
    --d3-sky: #418fde;
    --d3-sky-bright: #5aa0e8;
    --d3-sky-deep: #2c7cc9;
    --d3-sky-ink: #256db2;       /* Links im Fließtext auf Hell (≥4.5:1) */
    --d3-sky-soft: #e8f2fc;
    --d3-sky-faint: #ffffff;   /* Flächen weiß (Entscheidung Eckard 20.11.: keine hellblauen Hintergründe) */
    --d3-orange: #ff8200;
    --d3-orange-hover: #ec7800;
    --d3-orange-active: #e67300;
    --d3-orange-text: #e67300;   /* Akzentwort in Überschriften und Icons auf Hell: nah am delta3-Orange, noch ≥3:1 (große Schrift, Icons) */
    --d3-orange-ink: #a85200;    /* Orange als Fließtext/Label auf Hell (≥4.5:1) */
    --d3-orange-soft: #fff1e3;
    --d3-orange-glow: rgba(255, 130, 0, 0.18);
    --d3-warm-mist: #fff9f3;

    /* Semantik (shadcn-Mapping) */
    --background: #ffffff;
    --foreground: var(--d3-navy);
    --canvas: var(--d3-sky-faint);
    --card: #ffffff;
    --card-foreground: var(--d3-navy);
    --popover: #ffffff;
    --popover-foreground: var(--d3-navy);
    --primary: var(--d3-orange);
    --primary-foreground: var(--d3-navy);
    --primary-hover: var(--d3-orange-hover);
    --primary-active: var(--d3-orange-active);
    --secondary: var(--d3-navy);
    --secondary-foreground: #ffffff;
    --secondary-hover: var(--d3-navy-mid);
    --muted: #eef3f9;
    --muted-foreground: #4b5a6b;
    --accent: var(--d3-sky-soft);
    --accent-foreground: var(--d3-navy);
    --border: rgba(12, 35, 64, 0.12);
    --border-strong: rgba(12, 35, 64, 0.22);
    --input: rgba(12, 35, 64, 0.18);
    --ring: var(--d3-sky);
    --ring-on-dark: #ffffff;
    --destructive: #b42318;
    --destructive-foreground: #ffffff;
    --success: #067647;
    --on-dark-muted: rgba(232, 242, 252, 0.78);
    --on-dark-line: rgba(232, 242, 252, 0.14);

    /* Form */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 999px;

    /* Elevation (neutral, navy-getönt, immer mit Offset) */
    --shadow-xs: 0 1px 2px rgba(12, 35, 64, 0.06);
    --shadow-sm: 0 1px 2px rgba(12, 35, 64, 0.06), 0 2px 6px rgba(12, 35, 64, 0.06);
    --shadow-md: 0 2px 4px rgba(12, 35, 64, 0.05), 0 8px 20px -4px rgba(12, 35, 64, 0.12);
    --shadow-lg: 0 4px 8px rgba(12, 35, 64, 0.05), 0 20px 40px -12px rgba(12, 35, 64, 0.18);

    /* Typografie */
    --font-sans: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --text-xs: 0.8125rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: clamp(1.6rem, 2.4vw, 2rem);
    --text-4xl: clamp(1.85rem, 3.2vw, 2.5rem);
    --text-display: clamp(2.25rem, 5vw, 3.75rem);
    --tracking-tight: -0.02em;
    --tracking-display: -0.03em;
    --leading-tight: 1.1;
    --leading-snug: 1.3;
    --leading-normal: 1.6;
    --leading-relaxed: 1.7;

    /* Raum */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --section-y: clamp(3.5rem, 8vw, 6.5rem);
    --container: 1200px;
    --container-wide: 1440px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --header-h: 72px;

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --dur-fast: 150ms;
    --dur-base: 220ms;
    --dur-slow: 450ms;

    /* Legacy-Aliase für ältere Regeln */
    --primary-color: #09223F;
    --primary-dark: #09223F;
    --secondary-color: var(--d3-sky-deep);
    --text-color: var(--d3-navy);
    --accent-color: var(--d3-orange);
    --light-gray: #f8f9fa;
    --border-color: #e0e0e0;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --animation-duration: 0.6s;
}

/* Global Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Utility Classes */
.hidden,
.pagination-hidden {
    display: none !important;
}

/* Nur für Screenreader sichtbar (WCAG 1.3.1, 4.1.2) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    animation: fadeIn var(--animation-duration) ease forwards;
}

.fade-in-up {
    animation: fadeInUp var(--animation-duration) ease forwards;
}

.fade-in-left {
    animation: fadeInLeft var(--animation-duration) ease forwards;
}

.fade-in-right {
    animation: fadeInRight var(--animation-duration) ease forwards;
}

.scale-in {
    animation: scaleIn var(--animation-duration) ease forwards;
}

.slide-down {
    animation: slideDown var(--animation-duration) ease forwards;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
    /* Nur echte Roboto-Schnitte (Light/Regular/Medium) nutzen – kein künstliches Fett/Kursiv */
    font-synthesis: none;
}

::selection {
    background: #ffd8ad;
    color: var(--d3-navy);
}

:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 3px;
}

/* Scroll-nach-oben: unten rechts, ruhig, navy */
.scroll-to-top {
    position: fixed;
    right: clamp(1rem, 2.5vw, 1.75rem);
    bottom: clamp(1rem, 2.5vw, 1.75rem);
    top: auto;
    left: auto;
    z-index: 900;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--d3-navy);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 8px 18px -6px rgba(0, 0, 0, 0.28);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition:
        opacity var(--dur-base) var(--ease-out),
        transform var(--dur-base) var(--ease-out),
        background-color var(--dur-fast) var(--ease-out);
}
.scroll-to-top.scroll-to-top-visible {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}
.scroll-to-top:hover {
    background: var(--d3-navy-mid);
    color: #fff;
}
.scroll-to-top:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 3px;
}
.scroll-to-top .lucide {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    backdrop-filter: blur(14px) saturate(1.4);
    border-bottom: 1px solid var(--border);
    box-shadow: none;
    transition:
        background-color var(--dur-base) var(--ease-out),
        box-shadow var(--dur-base) var(--ease-out);
}

.header.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-xs);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0 var(--gutter);
    max-width: var(--container-wide);
    margin: 0 auto;
    min-height: var(--header-h);
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-item {
    position: relative;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    color: var(--foreground);
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: -0.005em;
    white-space: nowrap;
    text-decoration: none;
    transition: color var(--dur-fast) var(--ease-out);
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.2rem;
    height: 2px;
    border-radius: 2px;
    background: var(--d3-orange);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform var(--dur-base) var(--ease-out);
}

.nav-link:hover,
.nav-item.dropdown:hover > .nav-link,
.nav-item.dropdown:focus-within > .nav-link {
    color: var(--d3-navy);
    transform: none;
}

.nav-link:hover::before,
.nav-item.dropdown:hover > .nav-link::before,
.nav-item.dropdown:focus-within > .nav-link::before {
    transform: scaleX(1);
    background: var(--d3-orange);
}

.nav-link:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 2px;
}

/* Pfeile in der Navigation dauerhaft ausblenden (keine Dropdown-/Toggle-Icons) */
.nav-container .dropdown-arrow,
.nav-container .mobile-toggle-icon {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}
/* Alle Icons in Menüpunkten (Produkte, Wissen, …) ausblenden – wirkt auch bei Cache */
.nav-menu .nav-link .lucide {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    font-size: 0 !important;
    line-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}
/* Jeden Span in Nav-Oberpunkten ausblenden (Pfeile/Icons rechts weg) – auch in minimierter Ansicht */
.nav-menu .nav-item .nav-link span {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}
/* Kein Pseudo-Icon rechts am Nav-Link (::after komplett abschalten) */
.nav-menu .nav-item .nav-link::after {
    display: none !important;
    visibility: hidden !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.dropdown-content {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: var(--popover);
    color: var(--popover-foreground);
    min-width: 220px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity var(--dur-base) var(--ease-out),
        transform var(--dur-base) var(--ease-out),
        visibility var(--dur-base);
    z-index: 1000;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    color: var(--foreground);
    text-decoration: none;
    transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.dropdown-content a:hover {
    background-color: var(--accent);
    color: var(--d3-navy);
}

/* Mega Menu Styles */
.mega-menu {
    min-width: auto;
    width: max-content;
    max-width: min(92vw, 320px);
    min-height: auto;
    align-content: start;
    padding: 0.5rem;
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    z-index: 1001;
}

.dropdown:hover .mega-menu,
.dropdown:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu.one-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.6rem;
    min-width: 240px;
}

.mega-menu.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
}

.mega-menu.three-column {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.6rem;
}

.mega-menu.four-column {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.6rem;
}

.mega-menu.four-column .dropdown-column:nth-child(4) {
    grid-column: 1;
}

.mega-menu.six-column {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 1.6rem;
}

.mega-menu.six-column .dropdown-column {
    min-width: 0;
    width: 100%;
}

.mega-menu.six-column .dropdown-item-main {
    min-width: 0;
    width: 100%;
}

.mega-menu.six-column .dropdown-column:nth-child(4) {
    grid-column: 1;
}

.mega-menu.six-column .dropdown-column:nth-child(5) {
    grid-column: 2;
}

.mega-menu.six-column .dropdown-column:nth-child(6) {
    grid-column: 3;
}

.dropdown-column {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.dropdown-item-main {
    display: block;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: background-color var(--dur-fast) var(--ease-out);
}

.dropdown-item-main h4 {
    margin: 0 0 0.2rem;
    color: var(--foreground);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    transition: color var(--dur-fast) var(--ease-out);
}

.dropdown-item-main p {
    margin: 0;
    color: var(--muted-foreground);
    font-size: 0.8125rem;
    line-height: 1.45;
}

.dropdown-item-main:hover,
.dropdown-item-main:focus-visible {
    background-color: var(--accent);
    box-shadow: none;
    transform: none;
}

.dropdown-item-main:hover h4,
.dropdown-item-main:focus-visible h4 {
    color: var(--d3-sky-deep);
}

.dropdown-item-main:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: -3px;
}

/* Navigation-Dropdowns: einheitliche Einzelspalte */
.mega-menu.nav-dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: auto;
    width: max-content;
    max-width: min(92vw, 320px);
    min-height: auto;
    align-content: start;
    padding: 0.4rem;
}

.mega-menu.nav-dropdown-menu .dropdown-column {
    gap: 0;
}

.mega-menu.nav-dropdown-menu .dropdown-item-main {
    padding: 0.6rem 0.85rem;
}

.mega-menu.nav-dropdown-menu .dropdown-item-main h4 {
    margin: 0 0 0.2rem 0;
}

.wissen-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wissen-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
}

/* Gemeinsame Größe für Suchen, Demo und Leichte Sprache */
.nav-search-wrap .nav-search,
.nav-easy-language,
.nav-cta .cta-button.nav-demo {
    min-height: 40px;
    height: 40px;
    padding: 0 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
}

.nav-search-wrap .nav-search,
.nav-easy-language {
    width: 40px;
    min-width: 40px;
    padding: 0;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.nav-search-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    overflow: visible;
}

.header .nav-container,
.header .nav-actions {
    overflow: visible;
}

/* Kompakte Suche links neben dem Lupen-Symbol */
.nav-search-panel {
    position: absolute;
    right: calc(100% + 0.5rem);
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    max-width: min(280px, calc(100vw - 12rem));
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    pointer-events: none;
    transition:
        width var(--dur-base) var(--ease-out),
        opacity var(--dur-fast) var(--ease-out),
        visibility var(--dur-fast);
    z-index: 1002;
}

.nav-search-wrap.is-open .nav-search-panel {
    width: min(280px, calc(100vw - 12rem));
    min-width: 200px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-search-form {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    height: 40px;
    padding: 0 0.35rem 0 0.75rem;
    background: var(--popover);
    border: 1px solid var(--input);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    box-sizing: border-box;
}

.nav-search-form:focus-within {
    border-color: var(--d3-sky);
    box-shadow: 0 0 0 3px rgba(65, 143, 222, 0.22), var(--shadow-md);
}

.nav-search-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    color: var(--foreground);
    font-size: 0.9rem;
    line-height: 1.4;
    padding: 0.35rem 0;
    outline: none;
}

.nav-search-input::placeholder {
    color: var(--muted-foreground);
}

.nav-search-input::-webkit-search-cancel-button,
.nav-search-input::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.nav-search-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--muted-foreground);
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.nav-search-close:hover {
    background: var(--accent);
    color: var(--d3-navy);
}

.nav-search-close .lucide {
    width: 1rem;
    height: 1rem;
}

.nav-search-close:focus-visible,
.nav-search-input:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .nav-search-panel {
        transition: none;
    }
}

.nav-cta .cta-button.nav-demo {
    padding: 0 1.1rem;
}

/* Icon-Buttons in der Navigation (Suche, Leichte Sprache) */
.nav-search,
.nav-easy-language {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0;
    cursor: pointer;
    color: var(--foreground);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition:
        background-color var(--dur-fast) var(--ease-out),
        border-color var(--dur-fast) var(--ease-out),
        color var(--dur-fast) var(--ease-out);
}

.nav-search:hover,
.nav-easy-language:hover {
    background: var(--accent);
    border-color: var(--border-strong);
    color: var(--d3-navy);
}

.nav-search-wrap.is-open .nav-search {
    background: var(--accent);
    border-color: var(--d3-sky);
    color: var(--d3-sky-deep);
}

.nav-easy-language.is-active {
    background: var(--d3-orange-soft);
    border-color: rgba(255, 130, 0, 0.5);
    color: var(--d3-orange-ink);
}

.nav-easy-language.is-active:hover {
    border-color: var(--d3-orange);
    color: var(--d3-orange-ink);
    background: #ffe6cc;
}

.nav-search:focus-visible,
.nav-easy-language:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 3px;
}

.nav-search .lucide {
    font-size: 1.2rem; width: 1.2rem; height: 1.2rem;
}

.nav-easy-language-icon {
    width: 1.2rem;
    height: 1.2rem;
    display: block;
}

/* Sprachumschalter „DE · EN“ (neben Leichte Sprache, im mobilen Menü als eigener Eintrag) */
.nav-lang {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
    height: 40px;
    padding: 0 0.3rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    flex-shrink: 0;
    font-size: 0.85rem;
    line-height: 1;
}

.nav-lang-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 30px;
    padding: 0 0.3rem;
    border-radius: var(--radius-sm);
    color: var(--muted-foreground);
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.nav-lang-link:hover {
    background: var(--accent);
    color: var(--d3-navy);
}

.nav-lang-link.is-current {
    color: var(--d3-navy);
    font-weight: 700;
}

.nav-lang-link:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 2px;
}

.nav-lang-sep {
    color: var(--muted-foreground);
}

.nav-item--lang {
    display: none;
}

@media (max-width: 1023px) {
    .nav-actions > .nav-lang {
        display: none;
    }

    .header .nav-container .nav-menu .nav-item--lang {
        display: block;
        padding: 1rem 0 0.5rem !important;
        border-bottom: none !important;
    }

    .nav-lang--menu {
        height: 44px;
        margin-top: 0.5rem;
        font-size: 1rem;
    }

    .nav-lang--menu .nav-lang-link {
        min-width: 44px;
        height: 36px;
    }
}

/* Demo-Button in der Nav: Orange – Referenz für alle Primary-CTAs */
.nav-cta .cta-button.primary.nav-demo,
.nav-cta .cta-button.nav-demo {
    background: linear-gradient(145deg, #ff8200 0%, #ff9933 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 18px rgba(255, 130, 0, 0.35);
}

.nav-cta .cta-button.primary.nav-demo:hover,
.nav-cta .cta-button.nav-demo:hover {
    background: linear-gradient(145deg, #ff8200 0%, #ff9933 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(255, 130, 0, 0.45);
}
/* Button Styles - Following PPT Design */
.cta-button {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    transition: left var(--transition-slow);
    pointer-events: none;
    z-index: 1;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
}

.cta-button:active {
    transform: translateY(-1px);
    transition: transform var(--transition-fast);
}

.cta-button.primary {
    background: linear-gradient(145deg, #ff8200 0%, #ff9933 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 18px rgba(255, 130, 0, 0.35);
}

.cta-button.primary:hover {
    background: linear-gradient(145deg, #ff8200 0%, #ff9933 100%);
    color: #fff;
    box-shadow: 0 8px 26px rgba(255, 130, 0, 0.45);
}

.cta-button.secondary {
    background: transparent;
    color: #0c2340;
    border: 2px solid #418FDE;
}

.cta-button.secondary:hover {
    background: #0C2340;
    color: #fff;
    transform: translateY(-2px);
}

.cta-button.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Carousel Section */
.hero-carousel {
    position: relative;
    height: 90vh;
    min-height: 540px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-top: var(--header-h);
    overflow: hidden;
}

.carousel-container {
    height: 100%;
    position: relative;
}

.carousel-slides {
    display: flex;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.6rem;
    width: 100%;
    z-index: 2;
    position: relative;
}

.slide-content.centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.slide-text {
    animation: slideInLeft 1s ease-out;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-subtitle {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1.6rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

.slide-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Carousel Button Styles – wie Nav-Demo */
.hero-carousel .cta-button.primary {
    background: linear-gradient(145deg, #ff8200 0%, #ff9933 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 18px rgba(255, 130, 0, 0.35);
}

.hero-carousel .cta-button.primary:hover {
    background: linear-gradient(145deg, #ff8200 0%, #ff9933 100%);
    color: #fff;
}

.slide-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out;
}

.visual-placeholder {
    background: white;
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #418FDE;
}

.visual-icon {
    font-size: 4rem !important;
    color: #0c2340;
    margin-bottom: 1rem;
    display: block;
}

.visual-placeholder p {
    font-size: 1.25rem;
    font-weight: 500;
    color: #0c2340;
}

/* Carousel Navigation - Modern Swiper Style */
.carousel-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 10;
}

/* Hero/Karussell: Prev/Next ausblenden – nicht die Review-Steuerung (.review-carousel-*) */
.carousel-btn:not(.review-carousel-prev):not(.review-carousel-next) {
    display: none !important;
}

.carousel-indicators {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(65, 143, 222, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.indicator:hover {
    background: rgba(65, 143, 222, 0.6);
    transform: scale(1.2);
}

.indicator.active {
    background: #418FDE;
    width: 32px;
    border-radius: 5px;
    transform: scale(1);
}

.indicator.active:hover {
    transform: scale(1.05);
}

/* Einfache Assistenz Section */
.einfache-assistenz {
    padding: 4.8rem 0 0 0;
    background: #fff;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2.4rem;
    color: #0c2340;
    font-weight: 700;
}

.assistenz-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.lead-text {
    font-size: 1.25rem;
    color: #0c2340;
    margin-bottom: 1.6rem;
    line-height: 1.7;
}

.main-text {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 2.4rem;
    line-height: 1.8;
}

.benefits-preview {
    display: flex;
    justify-content: center;
    gap: 1.6rem;
    margin-bottom: 2.4rem;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #0c2340;
    font-weight: 500;
}

.benefit-item .lucide {
    color: #0c2340;
}

/* Partners Section */
.partners {
    padding: 4.8rem 0;
    background: #fff;
    border-top: 1px solid rgba(12, 35, 64, 0.08);
}

.partners-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: clamp(1.25rem, 3.5vw, 2.5rem);
    align-items: center;
}

.partners-intro {
    max-width: none;
    margin: 0;
    text-align: left;
}

.home-partners-lead {
    max-width: 42rem;
    padding-left: clamp(0.85rem, 2.2vw, 1.35rem);
    border-left: 3px solid var(--accent-color);
}

.partners-intro .section-title {
    margin: 0 0 0.65rem;
    text-align: left;
    color: #0c2340;
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.partners-logo-wall {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: none;
    justify-self: stretch;
}

.partners-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    border-radius: 12px;
    border: 1px solid rgba(12, 35, 64, 0.12);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.07);
    background: #fff;
}

.partners-description {
    max-width: none;
    margin: 0;
    font-size: 1.05rem;
    color: #334155;
    line-height: 1.75;
    text-align: left;
}

@media (max-width: 900px) {
    .partners-inner {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .partners-logo-wall {
        justify-self: center;
        max-width: min(300px, 88vw);
    }

    .partners-image {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Products Section */
.products {
    padding: 4.8rem 0;
    background: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem;
}

.product-card {
    background: #fff;
    border: 2px solid #ffffff;
    border-radius: 15px;
    padding: 1.6rem;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: #418FDE;
    transition: left 0.3s ease;
}

.product-card:hover::before {
    left: 0;
}

.product-card:hover {
    border-color: #418FDE;
    box-shadow: 0 10px 30px rgba(65, 143, 222, 0.15);
    transform: translateY(-5px);
}

.product-icon {
    margin-bottom: 1.5rem;
}

.product-icon .lucide {
    font-size: 3rem !important; width: 3rem !important; height: 3rem !important;
    color: #0c2340;
}

.product-header {
    margin-bottom: 1.5rem;
}

.product-header h3 {
    font-size: 1.5rem;
    color: #0c2340;
    margin-bottom: 0.5rem;
}

.product-badge {
    background: #0C2340;
    color: #fff;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.product-description p {
    margin-bottom: 1.5rem;
    color: #0c2340;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    margin: 1.2rem 0;
    text-align: left;
}

.feature-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: #333;
}

.feature-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0c2340;
    font-weight: bold;
    font-size: 1.1rem;
}

.product-cta {
    margin-top: 2rem;
}

/* Gradient-Typo wie Hero (Warum-Sektion) */
.home-why-title-accent,
.home-why-heading-accent {
    /* Einfarbiges Orange statt Farbverlauf (November 2026) */
    background: none;
    color: var(--d3-orange-text, #e67300);
}

@media (prefers-reduced-motion: no-preference) {
    .home-why-title-accent {
        animation: none;
    }

    .home-why-heading-accent {
        animation: none;
    }
}

@keyframes home-why-title-shimmer {
    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes home-why-heading-shimmer {
    0%,
    100% {
        background-position: 8% 50%;
    }

    50% {
        background-position: 92% 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-why-title-accent,
    .home-why-heading-accent {
        animation: none !important;
    }
}

@media (forced-colors: active) {
    .home-why-title-accent,
    .home-why-heading-accent {
        background: none !important;
        -webkit-background-clip: unset;
        background-clip: unset;
        color: CanvasText;
    }
}

/* Why delta3: gleicher redaktionelle Aufbau wie Mission (ruhige Fläche, Lead mit Akzent, Säulen-Icons) */
.why-delta3 {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(3.5rem, 7vw, 5rem) 0;
    background: #fff;
    border-top: 1px solid rgba(12, 35, 64, 0.08);
}

.why-delta3::before {
    display: none;
}

.why-delta3 .container {
    position: relative;
    z-index: 1;
}

.why-delta3 .home-why-story {
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.why-delta3 .home-why-lead {
    max-width: 42rem;
    padding-left: clamp(0.85rem, 2.2vw, 1.35rem);
    border-left: 3px solid var(--accent-color);
}

.why-delta3 .home-why-title {
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.18;
    color: #0c2340;
    margin: 0 0 1rem;
}

.why-delta3 .home-why-deck {
    margin: 0;
    font-size: clamp(1.05rem, 1.6vw, 1.15rem);
    line-height: 1.75;
    color: #334155;
}

.why-delta3 .home-why-features.why-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(1.25rem, 3vw, 2rem);
    row-gap: clamp(1.35rem, 2.8vw, 1.85rem);
    margin: clamp(1.75rem, 3.2vw, 2.35rem) 0 0;
    padding: clamp(1.65rem, 2.8vw, 2.1rem) 0 0;
    max-width: none;
    width: 100%;
    list-style: none;
    border: none;
    border-radius: 0;
    border-top: 1px solid rgba(12, 35, 64, 0.1);
    background: none;
    box-shadow: none;
}

.why-delta3 .home-why-pillar {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.why-delta3 .home-why-pillar-title {
    margin: 0;
    width: 100%;
    font-size: clamp(1rem, 1.15vw, 1.12rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: #0c2340;
    text-align: center;
}

.why-delta3 .home-why-rule {
    display: block;
    width: 2.75rem;
    height: 3px;
    border-radius: 2px;
    margin: 0.1rem 0 0.35rem;
    flex-shrink: 0;
    background: linear-gradient(90deg, var(--accent-color), rgba(255, 130, 0, 0.35));
}

.why-delta3 .home-why-pillar-points {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    align-self: stretch;
    text-align: left;
}

.why-delta3 .home-why-pillar-points li {
    margin: 0 0 0.5rem;
    font-size: 1.02rem;
    line-height: 1.6;
    color: #334155;
}

.why-delta3 .home-why-pillar-points li:last-child {
    margin-bottom: 0;
}

@media (hover: hover) and (pointer: fine) {
    .why-delta3 .home-why-pillar:hover .home-mission-pillar-icon-wrap {
        border-color: rgba(12, 35, 64, 0.38);
        background: rgba(255, 255, 255, 0.95);
    }
}

.why-delta3 .home-mission-pillar-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    border: 1px solid rgba(12, 35, 64, 0.22);
    background: rgba(255, 255, 255, 0.65);
    color: #0c2340;
    box-shadow: none;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.why-delta3 .home-mission-pillar-icon-wrap .lucide {
    font-size: 1.72rem; width: 1.72rem; height: 1.72rem;
    line-height: 1;
}

/* Reviews Section */
.reviews {
    padding: 4.8rem 0;
    background: white;
    position: relative;
    z-index: 10; /* Ensure reviews section is above other elements */
}

.reviews .section-header {
    text-align: center;
    margin-bottom: 3.2rem;
}

.reviews .section-subtitle {
    max-width: 800px;
    margin: 1.2rem auto 0;
    font-size: 1.1rem;
    color: #0c2340;
    line-height: 1.7;
}

.reviews-carousel {
    position: relative;
    z-index: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.review-slides-container {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 20px;
    min-height: 400px;
}

.review-slide-group {
    --review-gap: 1.6rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--review-gap);
    align-items: stretch;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 1;
    transform: translateX(100%);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
    pointer-events: none;
}

.review-slide-group.is-before {
    transform: translateX(-100%);
}

.review-slide-group.is-after {
    transform: translateX(100%);
}

.review-slide-group.active {
    position: relative;
    transform: translateX(0);
    z-index: 1;
    pointer-events: auto;
}

.review-slides-container.review-slides-reduced-motion .review-slide-group {
    transition: none;
}

/* Eine Karte (Feedback): dieselbe Rasterzelle wie die linke Karte in 2er-Folien (1fr, volle Spaltenbreite) */
.review-slide-group:has(> .review-card:only-child) {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    grid-template-rows: minmax(clamp(21.5rem, 34vh, 26.5rem), auto);
}

.review-slide-group:has(> .review-card:only-child) .review-card {
    grid-column: 1;
    grid-row: 1;
    justify-self: stretch;
    align-self: stretch;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    min-height: clamp(21.5rem, 34vh, 26.5rem);
    height: 100%;
}

.review-card {
    background: white;
    border-radius: 16px;
    padding: 1.6rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    transition:
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        transform 0.35s ease;
    min-height: 0;
    height: 100%;
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Einheitliche Karten in allen Folien (Breite: 1fr/1fr; Höhe: einheitlich) */
.reviews-carousel .review-card {
    min-height: clamp(21.5rem, 34vh, 26.5rem);
    /* Textblock höher, Button bleibt unten */
    padding: 1.25rem 1.6rem 1.6rem;
}

.reviews-carousel .review-card .review-image {
    margin-bottom: 0.4rem;
}

.reviews-carousel .review-content h4 {
    margin: 0 0 0.28rem;
}

.reviews-carousel .review-company {
    margin: 0 0 0.45rem;
}

/* Kein flex-grow im Zitat: Abstand zum Button kommt aus freiem Raum + min. Abstand */
.reviews-carousel .review-card .review-text {
    flex: 0 1 auto;
    margin-bottom: 1.15rem;
}

.reviews-carousel .review-card .review-disclaimer {
    margin-top: 0.35rem;
    margin-bottom: 1rem;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(12, 35, 64, 0.1);
    border: 1px solid rgba(65, 143, 222, 0.12);
}

.review-card.placeholder {
    background: white;
    color: #0c2340;
}

.review-card.placeholder .review-content h4,
.review-card.placeholder .review-company {
    color: #0c2340;
}

.review-card.placeholder .review-text {
    color: #333;
}

/* Feedback-Kachel: gleiche vertikale Logik wie Testimonial-Karten */
.review-card.placeholder .review-image {
    margin-bottom: 0.4rem;
}

.review-card.placeholder .review-company {
    margin-bottom: 0.45rem;
}

.review-card.placeholder .review-text {
    flex: 0 1 auto;
    margin-bottom: 1.15rem;
    line-height: 1.65;
    min-height: 0;
}

.feedback-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background: #0C2340;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.feedback-button:hover {
    background: #09223F;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(12, 35, 64, 0.4);
}

.review-image {
    margin-bottom: 0.65rem;
    flex-shrink: 0;
    align-self: center;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.review-image:hover {
    transform: scale(1.05);
}

.review-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    transform: scale(1);
}

.review-card:hover .review-image img {
    transform: scale(1.1);
}

.review-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(65, 143, 222, 0.1), rgba(44, 124, 201, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.review-card:hover .review-image::before {
    opacity: 1;
}

.placeholder-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #f0f7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e6f2ff;
}

.placeholder-avatar .lucide {
    font-size: 2.5rem; width: 2.5rem; height: 2.5rem;
    color: var(--text-color);
}

.review-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
}

.review-content h4 {
    font-size: 1.3rem;
    color: #0c2340;
    margin: 0 0 0.35rem 0;
    font-weight: 600;
}

.review-company {
    font-size: 1rem;
    color: #0c2340;
    margin: 0 0 0.65rem 0;
    font-weight: 500;
}

.review-text {
    flex: 1 1 auto;
    font-size: 1rem;
    color: #333;
    line-height: 1.7;
    margin: 0;
    min-height: 0;
    font-style: italic;
}

.review-link,
.feedback-button {
    margin-top: auto;
    align-self: flex-start;
}

.review-disclaimer {
    font-size: 0.75rem;
    color: #0c2340;
    line-height: 1.4;
    margin-top: 0.8rem;
    font-style: normal;
    font-weight: 400;
}

.review-nav {
    position: relative;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 3rem;
}

.reviews-carousel .review-nav-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.45rem 0.75rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 999px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

.reviews-carousel .review-nav .carousel-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(15, 23, 42, 0.22);
    background: #fff;
    color: #0c2340;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.reviews-carousel .review-nav .carousel-btn:hover {
    background: #fff;
    transform: scale(1.04);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.12);
}

.reviews-carousel .review-nav .carousel-btn:focus-visible {
    outline: 2px solid #418fde;
    outline-offset: 3px;
}

.reviews-carousel .review-nav .carousel-btn .lucide {
    font-size: 1.35rem; width: 1.35rem; height: 1.35rem;
    pointer-events: none;
}

.review-nav-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    transform: scale(1);
}

.review-nav-btn::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.review-nav-btn.active {
    background: #418FDE;
    transform: scale(1.3);
    box-shadow: 0 3px 10px rgba(65, 143, 222, 0.3);
}

.review-nav-btn.active::before {
    border-color: rgba(65, 143, 222, 0.2);
}

.review-nav-btn:hover {
    background: #418FDE;
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(65, 143, 222, 0.2);
}

.review-nav-btn:hover::before {
    border-color: rgba(65, 143, 222, 0.1);
}

.review-nav-btn:focus {
    outline: 2px solid #418FDE;
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .review-slide-group {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .review-slide-group:has(> .review-card:only-child) {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(clamp(19.5rem, 52vh, 24rem), auto);
        min-height: clamp(19.5rem, 52vh, 24rem);
    }

    .review-slide-group:has(> .review-card:only-child) .review-card {
        grid-column: 1;
        width: 100%;
        max-width: none;
        justify-self: stretch;
        min-height: clamp(19.5rem, 52vh, 24rem);
    }

    .review-card {
        padding: 1.6rem;
    }

    .reviews-carousel .review-card {
        min-height: clamp(19.5rem, 52vh, 24rem);
        padding: 1.1rem 1.5rem 1.5rem;
    }

    .review-image img,
    .placeholder-avatar {
        width: 80px;
        height: 80px;
    }

    .review-content h4 {
        font-size: 1.2rem;
    }

    .review-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .reviews {
        padding: 3.2rem 0;
    }

    .reviews .section-header {
        margin-bottom: 2.4rem;
    }

    .review-card {
        padding: 1.2rem;
    }
}

/* Contact CTA Section */
.contact-cta {
    background: #e9ecef;
    color: #0c2340;
    padding: 4.8rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 1.6rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-cta .cta-button.primary {
    background: linear-gradient(145deg, #ff8200 0%, #ff9933 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 18px rgba(255, 130, 0, 0.35);
}

.contact-cta .cta-button.primary:hover {
    background: linear-gradient(145deg, #ff8200 0%, #ff9933 100%);
    color: #ffffff;
}

.contact-cta .cta-button.secondary {
    background: #0C2340;
    color: #fff;
}

.contact-cta .cta-button.secondary:hover {
    background: #09223F;
    transform: translateY(-2px);
}

/* ==========================================================================
   Footer – Marke + vier Linkgruppen, Legal-Zeile
   ========================================================================== */
.footer {
    position: relative;
    background: var(--d3-navy);
    color: #fff;
    padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2rem);
    border-top: 1px solid rgba(65, 143, 222, 0.35);
}

.footer .container {
    max-width: var(--container);
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}

.footer-brand {
    max-width: 22rem;
}

.footer-wordmark {
    display: inline-flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

.footer-wordmark img {
    height: 30px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    margin: 1rem 0 1.25rem;
    color: var(--on-dark-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-address {
    font-style: normal;
    color: var(--on-dark-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

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

.footer-address a:hover {
    color: var(--d3-sky-bright);
    text-decoration: underline;
}

.footer-section h3 {
    margin: 0 0 0.9rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--d3-orange);
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color var(--dur-fast) var(--ease-out);
}

.footer-section a:hover {
    color: var(--d3-sky-bright);
}

.footer-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--on-dark-line);
    background: rgba(255, 255, 255, 0.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition:
        background-color var(--dur-fast) var(--ease-out),
        border-color var(--dur-fast) var(--ease-out);
}

.social-link svg,
.social-link img,
.social-link .lucide {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
    transform: none;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-top: clamp(2rem, 4vw, 3rem);
    padding-top: 1.5rem;
    padding-right: 4rem;
    border-top: 1px solid var(--on-dark-line);
    text-align: left;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.25rem;
}

.footer-legal span,
.footer-legal a {
    color: var(--on-dark-muted);
    font-size: var(--text-xs);
    text-decoration: none;
}

.footer-legal a:hover {
    color: #fff;
}

.footer a:focus-visible,
.social-link:focus-visible {
    outline: 3px solid var(--ring-on-dark);
    outline-offset: 3px;
    border-radius: 2px;
}

.fue-logo {
    height: 64px;
    width: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 960px) {
    .footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: none;
    }
}

@media (max-width: 520px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

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

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1400px) {
    .nav-container {
        /* Desktop window not full width: more breathing room */
        padding-left: 1.75rem;
        padding-right: 1.75rem;
    }
}

@media (max-width: 1200px) {
    .nav-container {
        max-width: 100%;
        padding: 0.87rem 1.75rem;
    }
    
    .nav-menu {
        gap: 0.88rem;
    }
    
    .nav-link {
        font-size: 0.94rem;
    }
    
    .nav-cta {
        gap: 0.5rem;
    }
}

@media (max-width: 1023px) {
    .nav-container {
        /* More breathing room on mobile/tablet */
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

/* Hide mobile-only elements on desktop */
.mobile-menu-btn,
.mobile-search-btn-header,
.mobile-demo-btn,
.mobile-button-group {
    display: none;
}

@media (max-width: 1023px) {
    .mobile-menu-btn,
    .mobile-search-btn-header,
    .mobile-button-group {
        display: block !important;
    }
    
    /* Style mobile button group */
    .mobile-button-group {
        display: flex !important;
        gap: 0.25rem;
        align-items: center;
    }
    
    /* Position mobile buttons close together */
    .mobile-menu-btn,
    .mobile-search-btn-header {
        display: inline-block !important;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-h);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-h));
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 1.2rem;
        gap: 0.5rem;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        overflow-y: auto;
        /* Scrollbar ausblenden – keine Pfeile/Scroll-Anzeige, kein Scrollen sichtbar */
        scrollbar-width: none;
        -ms-overflow-style: none;
        /* Menü nur bei .mobile-active sichtbar */
        display: none;
        visibility: hidden;
        pointer-events: none;
    }
    .nav-menu::-webkit-scrollbar {
        display: none;
    }
    
    .nav-menu.mobile-active {
        display: flex !important;
        left: 0 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid #eee;
        padding-bottom: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .nav-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }
    
    .nav-link {
        font-size: 1.21rem;
        /* Stronger inset for readability (≈ 1cm) */
        padding: 0.75rem 1cm;
        color: #0c2340;
        font-weight: 500;
        width: 100%;
        display: block;
    }
    
    .nav-link:hover {
        color: var(--accent-color);
    }
    
    /* Hide all dropdown arrows and content in mobile */
    .nav-item.dropdown .dropdown-arrow {
        display: none;
    }
    
    .nav-item.dropdown .dropdown-content,
    .nav-item.dropdown .mega-menu {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    /* Hide desktop demo button; search stays visible */
    .nav-cta {
        display: none;
    }

    .nav-search-wrap.is-open .nav-search-panel {
        position: fixed;
        right: 1rem;
        left: 1rem;
        top: calc(var(--header-h) + 0.35rem);
        width: auto;
        min-width: 0;
        max-width: none;
        transform: none;
    }
    
    /* Add mobile-specific nav items */
    .mobile-nav-items {
        width: 100%;
        border-top: none;
        padding-top: 0.75rem;
        margin-top: 0.75rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .mobile-nav-item {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        /* Match main menu inset */
        padding: 0.5rem 1cm;
        border-bottom: 1px solid #eee;
        color: #0c2340;
        text-decoration: none;
        font-weight: 500;
        font-size: 1rem;
    }
    
    .mobile-nav-item:hover {
        color: #0c2340;
    }
    
    .mobile-nav-item .lucide {
        font-size: 1.1rem; width: 1.1rem; height: 1.1rem;
    }
    
    .mobile-demo-btn {
        background: #0C2340;
        color: white;
        border: none;
        padding: 0.75rem;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        text-decoration: none;
        display: block;
        text-align: center;
        transition: background 0.3s ease;
        margin-bottom: 0.5rem;
    }
    
    .mobile-demo-btn:hover {
        background: #2c7cc9;
    }
}

/* Tablet and Medium Screen Responsive Styles */
@media (max-width: 1023px) {
    .slide-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.6rem;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .slide-actions {
        justify-content: center;
    }
    
    .hero-carousel {
        height: 72vh;
        min-height: 450px;
    }
    
    .benefits-preview {
        flex-direction: column;
        align-items: center;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .carousel-nav {
        bottom: 1rem;
    }
}

/* Mobile Tablet Breakpoint */
@media (max-width: 768px) {
    .why-delta3 {
        padding: 3.2rem 0;
    }

    .why-delta3 .home-why-features.why-features {
        grid-template-columns: 1fr;
    }
}

/* Mobile Phone Breakpoint */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-image img {
        max-width: 350px;
    }

    .about-media img {
        max-width: 320px;
    }
    
    .nav-container {
        /* More space from phone edges */
        padding: 1.16rem 24px;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-carousel {
        height: 63vh;
        min-height: 360px;
    }
    
    .carousel-nav {
        scale: 0.8;
    }
    
    .why-delta3 .home-mission-pillar-icon-wrap {
        margin: 0 auto;
    }

    .why-delta3 .home-why-pillar-title {
        font-size: 1.05rem;
    }

    .why-delta3 .home-why-pillar-points li {
        font-size: 0.95rem;
    }

    .why-delta3 {
        padding: 3rem 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Accessibility Features */
@media (prefers-reduced-motion: reduce) {
    .carousel-slides {
        transition: none;
    }
    
    .carousel-slide {
        transition: none;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .cta-button.primary {
        background: #000;
        color: #fff;
        border: 2px solid #fff;
    }
    
    .cta-button.secondary {
        background: #fff;
        color: #0c2340;
        border: 2px solid #000;
    }
}

/* ==============================================
   ALINO PAGE STYLES
   ============================================== */

/* Alino Hero Section */
.alino-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 500px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.image-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4/3;
    background: #fff;
    border: 2px dashed #418FDE;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #0c2340;
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    background: #f0f7ff;
    border-color: #2c7cc9;
}

.image-placeholder .lucide {
    font-size: 4rem; width: 4rem; height: 4rem;
    margin-bottom: 1rem;
}

.hero-content {
    padding-left: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #0c2340;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: #0c2340;
    margin-bottom: 1.6rem;
    line-height: 1.4;
}

.hero-text {
    margin-bottom: 2.4rem;
}

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
}

/* Alino Features Section */
.alino-features {
    padding: 80px 0;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem;
}

.feature-card {
    text-align: center;
    padding: 1.6rem 1.2rem;
    border-radius: 12px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(65, 143, 222, 0.15);
    background: #fff;
}

.feature-image {
    width: 80px;
    height: 80px;
    background: #ff8200;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-image .lucide {
    font-size: 2.5rem; width: 2.5rem; height: 2.5rem;
    color: #fff;
}

.feature-card:hover .feature-image {
    background: #e67300;
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0c2340;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #0c2340;
    flex-grow: 1;
}

/* Alino About Section */
.alino-about {
    padding: 80px 0;
    background: linear-gradient(135deg, #0c2340 0%, #1a3a5c 100%);
    color: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    padding-right: 2rem;
}

.content-block {
    margin-bottom: 2.4rem;
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-block h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.content-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e9ecef;
}

.about-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-media img {
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.media-upload {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 16/10;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed #418FDE;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
}

.media-upload:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    color: #fff;
}

.media-upload .lucide {
    font-size: 3rem; width: 3rem; height: 3rem;
    margin-bottom: 1rem;
}

.media-upload p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Alino Use Cases Section */
.alino-use-cases {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: #0c2340;
    margin-bottom: 2.4rem;
    line-height: 1.3;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}

.use-case-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.6rem 1.2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(65, 143, 222, 0.2);
}

.case-media {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #418FDE 0%, #2c7cc9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
}

.use-case-card:hover .case-media {
    transform: scale(1.1);
    background: linear-gradient(135deg, #2c7cc9 0%, #1a5a98 100%);
}

.case-media .lucide {
    font-size: 3rem; width: 3rem; height: 3rem;
    color: #fff;
}

.use-case-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #0c2340;
    margin-bottom: 1.6rem;
    line-height: 1.3;
    flex-grow: 1;
}

.use-case-card .cta-button {
    margin-top: auto;
}

.case-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.use-case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Responsive Design for Alino Page */
@media (max-width: 1023px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.4rem;
        text-align: center;
    }
    
    .hero-content {
        padding-left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.4rem;
        text-align: center;
    }
    
    .about-content {
        padding-right: 0;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .alino-hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 1.2rem 0.8rem;
    }
    
    .alino-features,
    .alino-about,
    .alino-use-cases {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.6rem;
    }
}

@media (max-width: 480px) {
    .alino-hero {
        padding: 90px 0 50px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .feature-card,
    .use-case-card {
        padding: 1.2rem 0.8rem;
    }
    
    .content-block h3 {
        font-size: 1.3rem;
    }
    
    .content-block p {
        font-size: 1rem;
    }
}

/* ==============================================
   BLOG PAGE STYLES
   ============================================== */

/* Blog Hero Section */
.blog-hero {
    padding: 120px 0 80px;
    background: #0c2340;
    color: #fff;
    text-align: center;
}

.blog-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero .hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.blog-hero .hero-subtitle {
    font-size: 1.2rem;
    color: #e9ecef;
    line-height: 1.6;
}

/* Blog Filter Section */
.blog-filter {
    padding: 2rem 0;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-tab {
    background: #fff;
    border: 2px solid #e9ecef;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #0c2340;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}



/* Blog Posts Section */
.blog-posts {
    padding: 3.2rem 0;
    background: #fff;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.4rem;
    margin-bottom: 3.2rem;
}

.blog-post-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    width: 100%;
    max-width: 580px;
    margin-inline: auto;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(65, 143, 222, 0.15);
}

.post-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* News pages: crop to faces instead of the top of the photo */
.news-page .post-image {
    height: clamp(210px, 18vw, 260px);
}

.news-page .post-image img {
    object-position: var(--img-focus, 50% 30%);
}

/* Aktuelles: drei Beiträge nebeneinander */
.news-page .posts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.news-page .blog-post-card {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    height: 100%;
    align-items: stretch;
}

.news-page .blog-post-card .post-image {
    flex-shrink: 0;
}

.news-page .blog-post-card .post-content {
    flex: 1 1 auto;
    min-height: 0;
    justify-content: flex-start;
    padding-top: 1rem;
}

.news-page .post-title {
    font-size: 1.15rem;
}

.news-page .post-excerpt {
    font-size: 0.9rem;
    flex: 0 1 auto;
    margin-bottom: 0;
}

.news-page .blog-pagination {
    max-width: none;
    margin-inline: auto;
}

.news-page .pagination-btn {
    border-color: var(--d3-orange, #ff8200);
    color: var(--d3-navy, #0c2340);
    background: #fff;
}

.news-page .pagination-btn:hover {
    border-color: var(--d3-orange-hover, #e67300);
    color: var(--d3-navy, #0c2340);
    background: color-mix(in srgb, var(--d3-orange, #ff8200) 10%, #fff);
}

.news-page .pagination-btn.active {
    background: var(--d3-orange, #ff8200) !important;
    border-color: var(--d3-orange, #ff8200) !important;
    color: #fff !important;
}

.news-page .pagination-btn.active:hover {
    background: var(--d3-orange-hover, #e67300) !important;
    border-color: var(--d3-orange-hover, #e67300) !important;
    color: #fff !important;
}

@media (max-width: 1100px) {
    .news-page .posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .news-page .posts-grid {
        grid-template-columns: 1fr;
    }

    .news-page .post-image {
        height: clamp(200px, 52vw, 280px);
    }
}

.blog-post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #fff;
    color: #0C2340;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.post-badge-neu {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ff8200;
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.6rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #0c2340;
}

.post-date::after {
    content: " • ";
    margin-left: 1rem;
}

.post-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #0c2340;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.post-excerpt {
    flex: 1;
    color: #0c2340;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.read-more-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    color: #0c2340;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: #2c7cc9;
    transform: translateX(3px);
}

/* Blog Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination-btn {
    width: 45px;
    height: 45px;
    border: 2px solid #e9ecef;
    background: #fff;
    color: #0c2340;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover {
    border-color: #418FDE;
    color: #0c2340;
}


/* Blog Newsletter */
.blog-newsletter {
    padding: 3.2rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.newsletter-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #0c2340;
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: #0c2340;
    margin-bottom: 1.6rem;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    border-color: #418FDE;
}

.newsletter-form input:focus-visible {
    box-shadow: 0 0 0 3px rgba(65, 143, 222, 0.35);
}

.newsletter-form button {
    white-space: nowrap;
}

/* Responsive Design for Blog */
@media (max-width: 1023px) {
    .blog-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .blog-post-card {
        max-width: none;
    }
    
    .filter-tabs {
        gap: 0.5rem;
    }
    
    .filter-tab {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 100px 0 60px;
    }
    
    .blog-hero .hero-title {
        font-size: 2rem;
    }
    
    .blog-posts {
        padding: 3rem 0;
    }
    
    .post-content {
        padding: 1.2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 90px 0 50px;
    }
    
    .blog-hero .hero-title {
        font-size: 1.8rem;
    }
    
    .posts-grid {
        gap: 1.5rem;
    }
    
    .blog-post-card {
        margin: 0 1rem;
    }
    
    .filter-tabs {
        flex-direction: column;
        align-items: center;
    }
}

/* ==============================================
   INDIVIDUAL BLOG POST STYLES
   ============================================== */

.blog-post-main {
    padding-top: 80px;
}

/* Fallbeispiel-Detailseiten: Vorteile-Grid stabil halten */
.post-article > div[style*="grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))"] {
    grid-template-columns: repeat(2, minmax(280px, 1fr)) !important;
    justify-content: center;
}

/* If there is an odd number of benefit cards, center the last one */
.post-article > div[style*="grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))"] > div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: 520px;
}

@media (max-width: 768px) {
    .post-article > div[style*="grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))"] {
        grid-template-columns: 1fr !important;
    }

    .post-article > div[style*="grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))"] > div:last-child:nth-child(odd) {
        grid-column: auto;
        justify-self: stretch;
        max-width: none;
    }
}

/* Blog Navigation */
.blog-navigation {
    padding: 2rem 0;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0c2340;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-to-blog:hover {
    color: #2c7cc9;
    transform: translateX(-3px);
}

.back-to-blog .lucide {
    font-size: 1.2rem; width: 1.2rem; height: 1.2rem;
}

/* Blog Post Header */
.blog-post-header {
    padding: 3rem 0;
    background: #fff;
}

.post-header-content {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.post-category-tag {
    display: inline-block;
    background: #0C2340;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.post-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0c2340;
    line-height: 1.3;
    margin-bottom: 1.6rem;
}

.post-meta-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.6rem;
    flex-wrap: wrap;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.author-name {
    font-weight: 600;
    color: #0c2340;
}

.post-publish-date {
    color: #0c2340;
    font-size: 0.9rem;
}

.reading-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #0c2340;
    font-size: 0.9rem;
}

.reading-time .lucide {
    font-size: 1.1rem; width: 1.1rem; height: 1.1rem;
}

.post-featured-image {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Blog Post Content */
.blog-post-content {
    padding: 3.2rem 0;
    background: #fff;
}

.post-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.post-article {
    max-width: none;
}

.post-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.6rem;
    font-weight: 400;
}

.post-article h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #0c2340;
    margin: 2rem 0 0.8rem;
    line-height: 1.4;
}

.post-article p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
}

.post-article ul {
    margin: 1.2rem 0;
    padding-left: 2rem;
}

.post-article li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 0.5rem;
}

.post-article blockquote {
    background: #f8f9fa;
    border-left: 4px solid #418FDE;
    padding: 1.6rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.6;
}

.post-article blockquote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #0c2340;
    font-style: normal;
}

.stats-box {
    background: linear-gradient(135deg, #418FDE 0%, #2c7cc9 100%);
    padding: 3rem 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    text-align: center;
}

.stat-item {
    color: #fff;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.call-to-action-box {
    background: #f8f9fa;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
    border: 1px solid #e9ecef;
}

.call-to-action-box h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #0c2340;
    margin-bottom: 1rem;
}

.call-to-action-box p {
    font-size: 1.1rem;
    color: #0c2340;
    margin-bottom: 1.6rem;
}

/* Post Sidebar */
.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.sidebar-box {
    background: #f8f9fa;
    padding: 1.6rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.sidebar-box h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #0c2340;
    margin-bottom: 1.5rem;
}

.author-bio {
    display: flex;
    gap: 1rem;
}

.author-bio-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-bio-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0c2340;
    margin-bottom: 0.5rem;
}

.author-bio-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #0c2340;
    margin: 0;
}

.related-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-post {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    padding: 1rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.related-post:hover {
    background: #fff;
}

.related-post img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.related-post h4 {
    font-size: 0.95rem;
    font-weight: 500;
    color: #0c2340;
    line-height: 1.4;
    margin: 0;
}

/* Responsive Design for Blog Post */
@media (max-width: 1023px) {
    .post-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }
    
    .post-main-title {
        font-size: 2rem;
    }
    
    .post-meta-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stats-box {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.6rem 1.2rem;
    }
}

@media (max-width: 768px) {
    .blog-post-header {
        padding: 2rem 0;
    }
    
    .blog-post-content {
        padding: 3rem 0;
    }
    
    .post-main-title {
        font-size: 1.8rem;
    }
    
    .post-article h2 {
        font-size: 1.5rem;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .related-post {
        flex-direction: column;
        text-align: center;
    }
    
    .related-post img {
        width: 100%;
        height: 120px;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .post-header-content {
        margin-bottom: 1.6rem;
    }
    
    .post-main-title {
        font-size: 1.6rem;
    }
    
    .sidebar-box {
        padding: 1.2rem;
    }
    
    .call-to-action-box {
        padding: 1.6rem 1.2rem;
    }
}

/* Blog & Whitepaper Styles */
.blog-hero {
    background: #0c2340;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.blog-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.blog-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Whitepaper Hero - 2 Column Layout (heller Hintergrund wie AlinoPlanner) */
.whitepaper-hero {
    background-color: #f0f2f5 !important;
    background-image: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    color: #0c2340 !important;
    padding: 120px 0 80px;
}

.whitepaper-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.whitepaper-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.whitepaper-hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0c2340 !important;
}

.whitepaper-hero-content h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #0c2340 !important;
    line-height: 1.4;
    opacity: 0.9;
}

.whitepaper-hero-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #333 !important;
}

@media (max-width: 1023px) {
    .whitepaper-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .whitepaper-hero-image {
        order: 2;
    }

    .whitepaper-hero-content {
        order: 1;
    }
}

.blog-filters {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-tab {
    background: none;
    border: 2px solid #e0e0e0;
    color: var(--text-color);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.blog-content,
.whitepaper-content {
    padding: 3rem 0;
}

.blog-grid,
.whitepaper-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.6rem;
    margin-bottom: 2.4rem;
}

.blog-card,
.whitepaper-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover,
.whitepaper-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.blog-card-image,
.whitepaper-card-image {
    height: 200px;
    min-height: 200px;
    max-height: 200px;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0c2340;
    position: relative;
    flex-shrink: 0;
}

.pdf-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #dc3545;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-card-content,
.whitepaper-card-content {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta,
.whitepaper-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #0c2340;
}

.whitepaper-card-meta {
    justify-content: space-between;
}

.whitepaper-meta-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.blog-category,
.whitepaper-category {
    background: #0C2340;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.page-count {
    font-size: 0.75rem;
    color: #0c2340;
}

.blog-card h3,
.whitepaper-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.blog-card p,
.whitepaper-card p {
    color: #0c2340;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.whitepaper-card p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 0.75rem;
}

.whitepaper-actions {
    display: flex;
    gap: 0.75rem;
}

.download-btn {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease;
    flex: 1;
    justify-content: center;
}

.download-btn:hover {
    background: var(--primary-dark);
}

.preview-btn {
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.625rem 1.25rem;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.preview-btn:hover {
    background: var(--primary-color);
    color: white;
}

.newsletter-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
    padding: 3rem 0;
    margin-top: 2rem;
}

.newsletter-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 2rem auto 0;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-form input:focus-visible {
    box-shadow: 0 0 0 3px rgba(12, 35, 64, 0.25);
}

.newsletter-form button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

/* Pagination Styles */
.whitepaper-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.pagination-btn {
    background: white;
    border: 2px solid #e0e0e0;
    color: var(--text-color);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover {
    background: #f8f9fa;
    border-color: var(--primary-color);
}

.pagination-btn.active {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
}

/* Fix Active Filter Tab Styling */
.filter-tab.active {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
}

@media (max-width: 768px) {
    .blog-hero h1,
    .whitepaper-hero h1 {
        font-size: 2rem;
    }
    
    .blog-hero p,
    .whitepaper-hero p {
        font-size: 1rem;
    }
    
    .blog-grid,
    .whitepaper-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .filter-tabs {
        gap: 0.5rem;
    }
    
    .filter-tab {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .whitepaper-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
}


/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(12, 35, 64, 0.55);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur-base) var(--ease-out), visibility var(--dur-base);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content,
.search-modal-content {
    background: var(--popover);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(12px) scale(0.98);
    transition: transform var(--dur-slow) var(--ease-out);
}

.modal-overlay.active .modal-content,
.modal-overlay.active .search-modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #0c2340;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.modal-close:hover,
.modal-close:focus {
    background-color: var(--accent);
    color: var(--d3-navy);
    outline: none;
}

.modal-close:focus-visible {
    box-shadow: 0 0 0 3px rgba(65, 143, 222, 0.5);
}

.demo-form .cta-button {
    width: 100%;
    margin-top: 1rem;
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.search-form {
    padding-top: 1.5rem;
}

.search-input-group {
    position: relative;
    margin-bottom: 2rem;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #0c2340;
    font-size: 1.2rem;
}

#search-input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 3rem;
    border: 1px solid var(--input);
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    font-family: var(--font-sans);
    background: var(--background);
    transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

#search-input:focus {
    border-color: var(--d3-sky);
    box-shadow: 0 0 0 3px rgba(65, 143, 222, 0.22);
    outline: none;
}

#search-input:focus-visible {
    box-shadow: 0 0 0 3px rgba(65, 143, 222, 0.35);
}

.suggestion-category {
    margin-bottom: 2rem;
}

.suggestion-category h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.suggestion-tag {
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 0.45rem 0.9rem;
    cursor: pointer;
    transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
    font-size: var(--text-sm);
    color: var(--foreground);
}

.suggestion-tag:hover,
.suggestion-tag:focus {
    background: var(--accent);
    color: var(--d3-navy);
    border-color: var(--d3-sky);
    outline: none;
}

.suggestion-tag:focus-visible {
    box-shadow: 0 0 0 3px rgba(65, 143, 222, 0.4);
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.quick-link:hover,
.quick-link:focus {
    background-color: var(--accent);
    color: var(--d3-navy);
    outline: none;
}

.quick-link:focus-visible {
    box-shadow: 0 0 0 3px rgba(65, 143, 222, 0.35);
}

.quick-link .lucide {
    color: var(--primary-color);
    font-size: 1.2rem; width: 1.2rem; height: 1.2rem;
}

@media (max-width: 600px) {
    .modal-content,
    .search-modal-content {
        padding: 1.5rem;
        border-radius: 12px;
    }

    #search-input {
        font-size: 1rem;
    }
}



.form-feedback {
    margin-top: 16px;
    padding: 16px;
    border-radius: 10px;
    background: #e6f7f1;
    color: #0c2340;
    font-size: 0.95rem;
    border: 1px solid #b7e4d9;
}

.form-feedback.error {
    background: #fdecec;
    border-color: #f5b5b5;
    color: #7a1212;
}

/* =============================================
   GLOBAL LAYOUT SAFEGUARDS
   ============================================= */

/* Prevent horizontal overflow on all devices */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

html.scroll-locked,
body.scroll-locked {
    overflow: hidden !important;
    height: 100vh;
    touch-action: none;
    overscroll-behavior: none;
}

/* Browser-level fallback lock (Chrome/Edge): lock scroll whenever menu/search overlays are open */
html:has(.nav-menu.mobile-active),
body:has(.nav-menu.mobile-active),
html:has(#search-modal .modal-overlay.active),
body:has(#search-modal .modal-overlay.active),
html:has(#search-results-modal),
body:has(#search-results-modal) {
    overflow: hidden !important;
    overscroll-behavior: none !important;
    height: 100dvh !important;
}

* {
    box-sizing: border-box;
}

/* Ensure all elements respect container bounds */
section, div {
    max-width: 100%;
}

.nav-search-wrap .nav-search-panel {
    max-width: min(280px, calc(100vw - 12rem)) !important;
}

/* Mobile dropdown toggle icon - hidden on desktop */
.mobile-toggle-icon {
    display: none;
}


/* =============================================
   SEARCH RESULTS MODAL
   ============================================= */

.search-results-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: block;
}

.search-results-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 35, 64, 0.55);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--dur-base) var(--ease-out);
    padding: 1rem;
}

.search-results-overlay.active {
    opacity: 1;
}

.search-results-content {
    background: var(--popover);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    max-width: 700px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    transform: translateY(12px) scale(0.98);
    transition: transform var(--dur-slow) var(--ease-out);
}

.search-results-overlay.active .search-results-content {
    transform: translateY(0);
}

.search-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.search-results-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #0c2340;
    flex: 1;
}

.search-results-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-results-close:hover {
    background: var(--accent);
}

.search-results-close .lucide {
    font-size: 1.5rem; width: 1.5rem; height: 1.5rem;
    color: #0c2340;
}

.search-results-list {
    overflow-y: auto;
    padding: 1rem;
    flex: 1;
}

.search-result-item {
    display: block;
    padding: 1rem;
    border-radius: var(--radius-lg);
    background: var(--card);
    margin-bottom: 0.5rem;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border);
    transition: border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}

.search-result-item:hover,
.search-result-item:focus-visible {
    background: var(--accent);
    border-color: var(--d3-sky);
}

.search-result-category {
    font-size: var(--text-xs);
    color: var(--muted-foreground);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.search-result-title {
    font-size: 1.1rem;
    color: #0c2340;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.search-result-description {
    font-size: var(--text-sm);
    color: var(--muted-foreground);
    margin: 0;
    line-height: 1.5;
}

.search-result-item mark {
    background: #fff3cd;
    color: #0c2340;
    padding: 0.1rem 0.2rem;
    border-radius: 3px;
    font-weight: 600;
}

.search-no-results {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #0c2340;
}

.search-no-results .lucide {
    font-size: 4rem; width: 4rem; height: 4rem;
    color: #0c2340;
    margin-bottom: 1rem;
}

.search-no-results p {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    color: #0c2340;
    font-weight: 500;
}

.search-no-results small {
    font-size: 0.9rem;
    color: #0c2340;
}

@media (max-width: 768px) {
    .search-results-content {
        max-height: 90vh;
        border-radius: 12px 12px 0 0;
        margin-top: auto;
    }
    
    .search-results-header {
        padding: 1rem;
    }
    
    .search-results-header h3 {
        font-size: 1.1rem;
    }
    
    .search-results-list {
        padding: 0.75rem;
    }
    
    .search-result-item {
        padding: 0.875rem;
    }
    
    .search-result-title {
        font-size: 1rem;
    }
    
    .search-result-description {
        font-size: 0.85rem;
    }
}


/* ==========================================================================
   Mobile Navigation (≤1023px) – ein Block statt gestapelter Overrides
   Desktop ≥1024px: Menü horizontal, Dropdowns per Hover/Fokus (siehe oben)
   ========================================================================== */

/* Leichte Sprache: Sichtbarkeit und Zeilenhöhe */
html.is-leichte-sprache .ls-only-standard {
    display: none !important;
}

html:not(.is-leichte-sprache) .ls-only-easy {
    display: none !important;
}

html.is-leichte-sprache body {
    --ls-line: 1.7;
}

html.is-leichte-sprache .home-was-deck,
html.is-leichte-sprache .home-was-title,
html.is-leichte-sprache .slide-title,
html.is-leichte-sprache .legal-section p,
html.is-leichte-sprache .alino-try-lead {
    line-height: var(--ls-line);
}

/* Pfeile/Icons in Nav-Oberpunkten bleiben ausgeblendet */
.header .nav-container .nav-menu .nav-item > .nav-link > *,
.header .nav-container .nav-menu .nav-link .lucide,
.header .nav-container .nav-menu .nav-link span,
.header .nav-container .nav-menu .nav-link i,
.header .nav-container .dropdown-arrow,
.header .nav-container .mobile-toggle-icon {
    display: none !important;
}

.header .nav-container .nav-menu .nav-link::after {
    content: none !important;
}

/* Hamburger (nur mobil sichtbar) */
.mobile-search-btn-header {
    display: none !important;
}

.mobile-menu-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-md);
    background: transparent;
    border: 1px solid var(--border);
    color: var(--foreground);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background-color var(--dur-fast) var(--ease-out),
        border-color var(--dur-fast) var(--ease-out);
}

.mobile-menu-btn:hover {
    background: var(--accent);
    border-color: var(--border-strong);
}

.mobile-menu-btn:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 3px;
}

.mobile-menu-btn .lucide {
    display: none;
}

.mobile-menu-btn .hamburger-lines {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 14px;
}

.mobile-menu-btn .hamburger-lines span {
    display: block;
    height: 2px;
    width: 100%;
    background: currentColor;
    border-radius: 2px;
    transform-origin: center;
    transition:
        transform var(--dur-base) var(--ease-out),
        opacity var(--dur-fast) var(--ease-out);
}

.nav-menu.mobile-active ~ .mobile-button-group .mobile-menu-btn {
    background: var(--accent);
    border-color: var(--d3-sky);
}

.nav-menu.mobile-active ~ .mobile-button-group .mobile-menu-btn .hamburger-lines span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-menu.mobile-active ~ .mobile-button-group .mobile-menu-btn .hamburger-lines span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-menu.mobile-active ~ .mobile-button-group .mobile-menu-btn .hamburger-lines span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

@media (min-width: 1024px) {
    .mobile-menu-btn,
    .mobile-search-btn-header,
    .mobile-button-group,
    .mobile-toggle-icon,
    .nav-item--cta {
        display: none !important;
    }

    .nav-menu {
        display: flex !important;
        position: static !important;
        flex-direction: row !important;
        left: auto !important;
        transform: none !important;
    }
}

/* iPad Pro / 1024px: kompakter */
@media (min-width: 1024px) and (max-width: 1100px) {
    .nav-menu {
        gap: 0.1rem;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem 0.55rem;
    }

    .nav-cta .cta-button.nav-demo {
        padding: 0 0.9rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 1023px) {
    .mobile-button-group {
        display: flex !important;
        align-items: center;
        gap: 0.5rem;
    }

    .mobile-menu-btn {
        display: inline-flex !important;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .nav-cta {
        display: none;
    }

    /* Menü-Panel unter dem Header */
    .header .nav-container .nav-menu {
        display: none !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: 0;
        scrollbar-width: none;
    }

    .header .nav-container .nav-menu.mobile-active {
        display: flex !important;
        position: fixed !important;
        top: var(--header-h) !important;
        left: 0 !important;
        width: 100% !important;
        height: calc(100dvh - var(--header-h)) !important;
        padding: 0.75rem var(--gutter) 2rem !important;
        background: var(--background) !important;
        border-top: 1px solid var(--border);
        z-index: 999 !important;
        overflow-y: auto !important;
        box-shadow: none !important;
    }

    .header .nav-container .nav-menu::-webkit-scrollbar {
        display: none;
    }

    .header .nav-container .nav-menu .nav-item {
        display: block !important;
        width: 100% !important;
        border-bottom: 1px solid var(--border) !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .header .nav-container .nav-menu .nav-item:last-child {
        border-bottom: none !important;
    }

    .header .nav-container .nav-menu .nav-item > .nav-link {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100% !important;
        padding: 1rem 0.25rem !important;
        font-size: 1.125rem !important;
        font-weight: 500 !important;
        color: var(--foreground) !important;
        border-radius: var(--radius-sm);
        border: none !important;
        background: none !important;
    }

    .header .nav-container .nav-menu .nav-item > .nav-link::before {
        content: none;
    }

    /* Chevron als Aufklapp-Hinweis */
    .header .nav-container .nav-menu .nav-item.dropdown > .nav-link::after {
        content: '' !important;
        display: block !important;
        width: 0.55rem;
        height: 0.55rem;
        margin-left: 0.75rem;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        transition: transform var(--dur-base) var(--ease-out);
        opacity: 0.7;
    }

    .header .nav-container .nav-menu .nav-item.dropdown.mobile-expanded > .nav-link::after {
        transform: rotate(225deg);
    }

    .header .nav-container .nav-menu .nav-item .dropdown-content {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: static !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-shadow: none !important;
        border: none !important;
        pointer-events: none !important;
        transition: none !important;
    }

    .header .nav-container .nav-menu .nav-item.mobile-expanded .dropdown-content {
        display: flex !important;
        flex-direction: column !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        pointer-events: auto !important;
        background: var(--canvas) !important;
        border-radius: var(--radius-lg) !important;
        padding: 0.4rem !important;
        margin: 0 0 0.85rem !important;
    }

    .header .nav-container .nav-menu .nav-item.mobile-expanded .dropdown-column {
        width: 100% !important;
    }

    .header .nav-container .nav-menu .nav-item.mobile-expanded .dropdown-item-main {
        display: block !important;
        padding: 0.7rem 0.85rem !important;
        border-radius: var(--radius-md) !important;
        color: var(--foreground) !important;
        text-decoration: none !important;
    }

    .header .nav-container .nav-menu .nav-item.mobile-expanded .dropdown-item-main h4 {
        margin: 0 !important;
        font-size: 1rem !important;
        font-weight: 500 !important;
    }

    .header .nav-container .nav-menu .nav-item.mobile-expanded .dropdown-item-main p {
        display: none !important;
    }

    .header .nav-container .nav-menu .nav-item.mobile-expanded .dropdown-item-main:hover,
    .header .nav-container .nav-menu .nav-item.mobile-expanded .dropdown-item-main:active {
        background: var(--accent) !important;
    }

    /* Demo-CTA am Ende des Menüs (wird per JS eingefügt) */
    .header .nav-container .nav-menu .nav-item--cta {
        padding: 1rem 0 0 !important;
        border-bottom: none !important;
    }

    .header .nav-container .nav-menu .nav-item--cta .cta-button {
        width: 100%;
    }
}

/* ==========================================================================
   Navigation 5.0 (November 2026): eine Website, Alino im Hauptmenü
   ========================================================================== */
.nav-brand {
    text-decoration: none;
    flex-shrink: 0;
}

.nav-brand:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

.nav-cta {
    gap: 0.5rem;
}

.header .nav-cta .cta-button.nav-login {
    min-height: 40px;
    height: 40px;
    padding: 0 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    background: transparent;
    color: var(--d3-navy);
    border: 1px solid var(--border-strong);
    box-shadow: none;
}

.header .nav-cta .cta-button.nav-login:hover {
    background: var(--accent);
    border-color: var(--d3-sky);
    color: var(--d3-navy);
    transform: none;
}

.header .nav-cta .cta-button.nav-login .lucide {
    width: 1.1rem;
    height: 1.1rem;
    font-size: 1.1rem;
}

.header .nav-cta .cta-button.nav-demo:hover {
    transform: none;
}

/* Aktuelle Seite im Menü */
.nav-link.is-current-section::before,
.nav-link[aria-current="page"]::before {
    transform: scaleX(1);
}

/* Während die Maus auf einem anderen Menüpunkt steht, nur dort unterstreichen:
   Markierung der aktuellen Seite und per Klick geöffnete Menüs treten zurück. */
@media (hover: hover) and (min-width: 1024px) {
    .nav-menu:hover .nav-item:not(:hover) > .nav-link.is-current-section::before,
    .nav-menu:hover .nav-item:not(:hover) > .nav-link[aria-current="page"]::before,
    .nav-menu:hover .nav-item.dropdown:focus-within:not(:hover) > .nav-link::before {
        transform: scaleX(0);
    }

    .nav-menu:hover .nav-item.dropdown:focus-within:not(:hover) .dropdown-content {
        opacity: 0;
        visibility: hidden;
        transform: translateX(-50%) translateY(-6px);
    }
}

.dropdown-item-main[aria-current="page"] {
    background: var(--accent);
}

.dropdown-item-main[aria-current="page"] h4 {
    color: var(--d3-sky-ink);
}

/* Schmaler Desktop: Login nur als Symbol */
@media (min-width: 1024px) and (max-width: 1279px) {
    .header .nav-cta .cta-button.nav-login {
        width: 40px;
        padding: 0;
        justify-content: center;
    }

    .header .nav-cta .cta-button.nav-login .nav-login-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

@media (max-width: 1023px) {
    .header .nav-container .nav-menu .nav-item--cta + .nav-item--cta {
        padding-top: 0.5rem !important;
    }

    .header .nav-container .nav-menu .nav-item--cta .cta-button.secondary {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        gap: 0.4rem;
        background: transparent;
        color: var(--d3-navy);
        border: 1px solid var(--border-strong);
    }
}

/* News: Beiträge zeigen den vollen Text (keine Kürzung, Kachel ist kein Link) */
.news-page .blog-post-card:hover {
    transform: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.news-page .blog-post-card:hover .post-image img {
    transform: none;
}

/* Über die Bildprüfung ausgeblendete Bilder/Logos (js/utils/hiddenAssets.js) */
.is-asset-hidden {
    display: none !important;
}

/* KI-gekennzeichnete Bilder: Label sitzt unten rechts, beim Zuschneiden diese Ecke zeigen */
html img[src*="-AI-"],
html img[src*="-ki/"],
html img[src*="alino-montage-ki"] {
    object-position: 100% 100% !important;
}

/* Englische Rechtsseiten: Hinweis auf die verbindliche deutsche Fassung */
.legal-courtesy-note {
    max-width: 900px;
    margin: 32px auto 0;
    padding: 0 20px;
    box-sizing: border-box;
}

.legal-courtesy-note p {
    margin: 0;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--accent);
    color: var(--d3-navy);
    font-size: 0.95rem;
    line-height: 1.5;
}

.legal-courtesy-note a {
    color: var(--d3-navy);
    font-weight: 600;
    text-decoration: underline;
}

/* ==========================================================================
   Buttons wie in der Alino-App (20.11.2026)
   Eine Form (Pille), eine Höhe, drei Arten:
   - primary:   dunkelblau gefüllt, weiße Schrift (Hauptaktion)
   - secondary: dunkelblau umrandet (Nebenaktion)
   - ghost:     ohne Rand, nur Schrift (leise Aktion)
   Auf dunklen Kopfbildern ist primary weiß mit dunkelblauer Schrift.
   :not(#_) hebt die Spezifität über ältere Einzelregeln der Seiten.
   ========================================================================== */
:root {
    --btn-navy: #0c2340;
    --btn-navy-hover: #08182d;
    --btn-height: 46px;
    --btn-height-lg: 52px;
    --btn-radius: 999px;
}

.cta-button:not(#_),
.submit-btn:not(#_),
.job-apply-btn:not(#_),
.ev-event-cta:not(#_) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: var(--btn-height);
    height: auto;
    padding: 0.55rem 1.5rem;
    border-radius: var(--btn-radius);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: normal;
    text-transform: none;
    text-decoration: none;
    box-shadow: none;
    transform: none;
    cursor: pointer;
    transition: background-color var(--dur-fast, 150ms) ease, color var(--dur-fast, 150ms) ease, border-color var(--dur-fast, 150ms) ease;
}

.cta-button.large:not(#_) {
    min-height: var(--btn-height-lg);
    padding: 0.65rem 1.75rem;
    font-size: 1.0625rem;
}

/* Hauptaktion */
.cta-button.primary:not(#_),
.submit-btn:not(#_),
.job-apply-btn:not(#_),
.ev-event-cta:not(#_),
.nav-cta .cta-button.nav-demo:not(#_) {
    background: var(--btn-navy);
    background-image: none;
    color: #fff;
    border: 1.5px solid var(--btn-navy);
}

.cta-button.primary:not(#_):hover,
.submit-btn:not(#_):hover,
.job-apply-btn:not(#_):hover,
.ev-event-cta:not(#_):hover,
.nav-cta .cta-button.nav-demo:not(#_):hover {
    background: var(--btn-navy-hover);
    border-color: var(--btn-navy-hover);
    color: #fff;
    transform: none;
    box-shadow: none;
}

.submit-btn:not(#_):disabled,
.cta-button:not(#_):disabled {
    opacity: 0.55;
    cursor: default;
}

/* Nebenaktion */
.cta-button.secondary:not(#_) {
    background: transparent;
    background-image: none;
    color: var(--btn-navy);
    border: 1.5px solid color-mix(in srgb, var(--btn-navy) 40%, transparent);
}

.cta-button.secondary:not(#_):hover {
    background: color-mix(in srgb, var(--btn-navy) 7%, transparent);
    border-color: var(--btn-navy);
    color: var(--btn-navy);
    transform: none;
    box-shadow: none;
}

/* Leise Aktion */
.cta-button.ghost:not(#_) {
    background: transparent;
    color: var(--btn-navy);
    border: 1.5px solid transparent;
    padding-left: 0.9rem;
    padding-right: 0.9rem;
}

.cta-button.ghost:not(#_):hover {
    background: color-mix(in srgb, var(--btn-navy) 7%, transparent);
}

/* Kopfzeile: gleiche Form, etwas kompakter */
.nav-cta .cta-button:not(#_) {
    min-height: 40px;
    padding: 0.4rem 1.15rem;
    font-size: 0.9rem;
}

/* Auf dunklen Kopfbildern: weiße Hauptaktion, helle Nebenaktion */
.home-hero-apple .cta-button.primary:not(#_),
.alino-home-hero .cta-button.primary:not(#_) {
    background: #fff;
    color: var(--btn-navy);
    border-color: #fff;
}

.home-hero-apple .cta-button.primary:not(#_):hover,
.alino-home-hero .cta-button.primary:not(#_):hover {
    background: color-mix(in srgb, #fff 88%, var(--d3-sky));
    border-color: transparent;
    color: var(--btn-navy);
}

.home-hero-apple .cta-button.secondary:not(#_),
.alino-home-hero .cta-button.secondary:not(#_) {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
}

.home-hero-apple .cta-button.secondary:not(#_):hover,
.alino-home-hero .cta-button.secondary:not(#_):hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.cta-button:not(#_):focus-visible,
.submit-btn:not(#_):focus-visible,
.job-apply-btn:not(#_):focus-visible,
.ev-event-cta:not(#_):focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 3px;
}

/* ==========================================================================
   Barrierefreiheit: Kontraste und Klickflächen (Prüfung 21.11.2026, axe)
   Orange Flächen mit Schrift: dunkelblaue Schrift (6,3:1 statt 2,5:1).
   Große orange Zahlen/Zitate: --d3-orange-text (≥3:1 für große Schrift).
   ========================================================================== */
.news-page .post-category:not(#_),
.ev-page .ev-event-type:not(#_),
.fr-project-status--active:not(#_),
.alino-faq-cat:not(#_),
.alino-faq-jump a:not(#_),
.alino-try-badge:not(#_),
.alino-accent-word:not(#_),
.alino-brush span:not(#_) {
    color: var(--d3-navy);
}

.fr-project-badge-neu:not(#_) {
    background: var(--d3-orange);
    color: var(--d3-navy);
}

.acase-tablet-btn--next:not(#_) {
    background: var(--d3-navy);
    color: #fff;
}

.acase-tablet-kicker:not(#_),
.acase-metric-name:not(#_) {
    color: var(--d3-navy);
}

.home-trust-stat-value:not(#_),
.bs-approach-quote-text:not(#_) {
    color: var(--d3-orange-text);
}

/* Inaktive Schritte („Unsere Arbeitsweise“): ruhiger, aber lesbar (4,7:1) */
.home-page .home-journey-step:not(.is-active) .home-journey-text:not(#_),
.home-page .home-journey-step:not(.is-active) .home-journey-index:not(#_),
.home-page .home-journey-step:not(.is-active) .home-journey-title:not(#_) {
    color: #64748b;
    opacity: 1;
}

/* Karussell-Punkte: Klickfläche mindestens 24 px (der sichtbare Punkt bleibt klein) */
.home-page .home-hero-apple .carousel-indicators .indicator:not(#_) {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
}
