﻿html {
    scroll-behavior: smooth;
}

:root {
    --bg-dark: #ffffff;
    /* Pure white representing the new "bright" base */
    --text-primary: #0f172a;
    /* Dark slate for high contrast readability */
    --text-secondary: #475569;
    /* Medium slate for subtitles */

    --accent-1: #2563eb;
    --accent-2: #0284c7;
    /* Darker cyan/blue */
    --accent-3: #10b981;
    --accent-glow: rgba(37, 99, 235, 0.2);

    --glass-bg: rgba(255, 255, 255, 0.85);
    /* Light glass */
    --glass-border: rgba(0, 0, 0, 0.08);
    /* Darker border for light glass */

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* V7: Smoother "Apple-like" Spring Easing */
    --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.15);
    /* Elastic bounce */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Base interactive elements â€” cursor-hover class reserved for future use */

/* Typography Selection */
::selection {
    background: var(--accent-1);
    color: white;
}

/* Text Overrides for V3 readability */
.brand-subtitle {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    max-width: 100%;
    /* FIX: Entirely readable */
    line-height: 1.6;
    font-weight: 400;
}

.sub-heading {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 500;
}


/* Background Noise Texture */
.bg-noise {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.03;
    pointer-events: none;
    z-index: 10;
}

/* Custom Cursor - Desktop Only */
@media (hover: hover) {

    .cursor-dot,
    .cursor-ring {
        position: fixed;
        top: 0;
        left: 0;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        z-index: 100000;
        pointer-events: none;
        mix-blend-mode: difference;
    }
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: white;
    transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
}

.cursor-ring {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

/* Cursor Hover State */
.cursor-ring.hovered {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: transparent;
}

.cursor-dot.hovered {
    width: 12px;
    height: 12px;
}

/* Dynamic Mesh Gradient Background */
.mesh-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    background: var(--bg-dark);
}

.mesh-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.6;
    animation: float 25s infinite ease-in-out alternate;
}

.orb-1 {
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
    top: -20%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(6vw, -6vh) scale(1.05);
    }
}

/* Split Layout Architecture */
.split-layout {
    display: flex;
    min-height: calc(100vh - 120px);
    /* Leave room for ticker */
    width: 100%;
    position: relative;
    z-index: 20;
}

/* Left Side: Hero Section */
.hero-section {
    flex: 1;
    padding: 4vw 6vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.brand {
    margin-bottom: 2rem;
}

/* Ultra Large Logo */
.logo-wrapper {
    display: inline-flex;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04), inset 0 0 0 1px rgba(255, 255, 255, 1);
    border: 1px solid var(--glass-border);
}

.logo-large {
    max-width: clamp(320px, 50vw, 750px);
    /* Even larger as requested */
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.hero-content {
    margin: auto 0;
    max-width: 650px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-2);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 var(--accent-glow);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(6, 182, 212, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(6, 182, 212, 0);
    }
}

h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5.5vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

.hero-footer {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 0.9rem;
    color: #475569;
}

/* Right Side: Information Panel */
.info-section {
    flex: 0 0 650px;
    /* Widened to fit form and team */
    padding: 4vw;
    display: flex;
    align-items: flex-start;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 1);
    max-height: 85vh;
    /* Ensure it stays tight */
    overflow-y: auto;
    /* Scrollable if screen is small */
}

.glass-panel::-webkit-scrollbar {
    width: 4px;
}

.glass-panel::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.panel-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

/* Team Grid V3 - Dense, beautiful layout */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.team-member {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    transition: background 0.2s, transform 0.2s;
    position: relative;
}

.team-member:hover {
    background: rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.3);
}

.team-icon {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    color: var(--accent-1);
    opacity: 0.2;
    transition: opacity 0.3s, transform 0.3s var(--ease-spring);
}

.team-member:hover .team-icon {
    opacity: 0.8;
    transform: scale(1.1);
}

.team-icon i {
    width: 18px;
    height: 18px;
}

.team-name {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.team-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-1);
    margin-bottom: 0.25rem;
}

.team-role {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 0.4rem;
}

.team-email {
    display: inline-block;
    color: var(--accent-2);
    font-size: 0.82rem;
    text-decoration: none;
    transition: filter 0.2s;
    margin-top: 0.2rem;
}

.team-email:hover {
    filter: brightness(1.2);
    text-decoration: underline;
}

/* Modern Contact Form V3 */
.contact-form-block {
    margin-bottom: 1rem;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group.row {
    display: flex;
    gap: 1rem;
}

.form-group.row>* {
    flex: 1;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-1);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.btn-primary {
    position: relative;
    overflow: hidden;
    background: var(--accent-1);
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    border: none;
    color: white;
    padding: 0.9rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    /*
    /* Premium custom cursor */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(6, 182, 212, 0.3);
}

.icon-small {
    width: 16px;
    height: 16px;
}

.panel-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    margin: 2rem 0;
}

/* General Contacts & Map Grid */
.contact-general {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.pin-icon {
    color: var(--accent-2);
    width: 18px;
    height: 18px;
    margin-top: 0.25rem;
}

.contact-row .value {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.mt-4 {
    margin-top: 1.5rem;
}

.map-wrapper {
    width: 100%;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    position: relative;
    /* Removed typical dark mode invert to match light theme */
    transition: filter 0.5s ease;
}

.map-wrapper:hover {
    filter: brightness(0.95);
}

.google-map {
    width: 101%;
    height: 101%;
    margin: -1px;
}

/* MARQUEE TICKER BANNER (Projekt-Bilder) */
.project-ticker-section {
    position: relative;
    width: 100%;
    height: 130px;
    /* Slightly taller */
    background: #ffffff;
    /* Brighter background */
    border-top: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 50;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.02);
    /* Slight shadow to lift it */
}

.ticker-overlay-left,
.ticker-overlay-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.ticker-overlay-left {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);

    pointer-events: none;
}

.ticker-overlay-right {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: scroll-left 2400s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
    /* Pause on hover */
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 0 1.5rem;
}

.marquee-content span {
    font-family: var(--font-heading);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}

.ticker-img {
    height: 90px;
    width: auto;
    border-radius: 6px;
    object-fit: contain;
    filter: grayscale(80%) contrast(1.1);
    /* Make older photos blend into the modern theme */
    transition: filter 0.4s, transform 0.4s;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    /* Slight depth */
}

/* V13 Hover Captions container */
.ticker-item {
    position: relative;
    display: inline-block;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
}

.ticker-item:hover .ticker-img {
    filter: grayscale(0%) contrast(1.1);
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.ticker-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 10px 12px 10px;
    /* More top padding for a softer gradient fade, tighter side padding */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 100%);
    /* Stronger background for text */
    color: white;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    /* Slightly smaller for long names */
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.3px;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.15);
    /* Springy entrance */
    white-space: normal;
    /* Allow long titles to wrap within the image bound */
    line-height: 1.3;
    pointer-events: none;
    /* Let clicks pass to the image */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    /* Drop shadow on text to improve contrast against bright images */
}

.ticker-item:hover .ticker-caption {
    transform: translateY(0);
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

    /* The trick is to duplicate the content via JS to loop seamlessly */
}

/* --- Footer Redesign V10 --- */
.site-footer {
    position: relative;
    z-index: 100;
    background: #ffffff;
    border-top: 1px solid var(--glass-border);
    padding: 2rem 4rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-left p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.footer-center {
    display: flex;
    justify-content: center;
}

.footer-right {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 2rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        justify-content: center;
    }
}

/* Footer Buttons */
.link-styled {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.link-styled::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-primary);
    transition: width 0.3s var(--ease-smooth);
}

.link-styled:hover {
    color: var(--text-primary);
}

.link-styled:hover::after {
    width: 100%;
}

/* 3D Tilt Panels */
.tilt-panel {
    transform-style: preserve-3d;
    transform: perspective(1000px);
    transition: transform 0.1s ease-out;
    /* Fast transition for mouse following */
    will-change: transform;
}

/* Floating Labels */
.form-floating {
    position: relative;
    width: 100%;
}

.form-floating .form-input {
    padding-top: 1.6rem;
    padding-bottom: 0.6rem;
}

.form-floating .form-input::placeholder {
    color: transparent;
}

.form-floating label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.95rem;
    color: rgba(15, 23, 42, 0.5);
    pointer-events: none;
    transition: 0.2s ease all;
}

.form-floating .form-input:focus~label,
.form-floating .form-input:not(:placeholder-shown)~label {
    top: 0.45rem;
    font-size: 0.75rem;
    color: var(--accent-1);
    font-weight: 600;
}

/* Ripple Effect */
.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-anim 600ms linear;
    pointer-events: none;
}

@keyframes ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-body);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-primary);
    text-align: center;
    padding: 0 2rem;
}

.preloader-brand {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 8vw, 6rem);
    font-weight: 800;
    letter-spacing: 5px;
    animation: preloader-pulse 1.5s ease-in-out infinite alternate;
}

.preloader-separator {
    width: 60px;
    height: 3px;
    background-color: var(--accent-1);
    border-radius: 2px;
}

.preloader-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

@keyframes preloader-pulse {
    from {
        opacity: 0.3;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1.05);
    }
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Stagger Entry Animation */
.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animations Trigger Classes */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Modal Styling */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-smooth);
}

.modal-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: #ffffff;
    width: 100%;
    max-width: 650px;
    max-height: 85vh;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.4s var(--ease-smooth);
}

.modal-backdrop.open .modal-box {
    transform: translateY(0) scale(1);
}

.modal-close-wrapper {
    display: flex;
    justify-content: flex-end;
    padding: 1.5rem 1.5rem 0;
}

.btn-close {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.modal-scroll-area {
    padding: 0 3rem 3rem;
    overflow-y: auto;
}

.modal-scroll-area::-webkit-scrollbar {
    width: 6px;
}

.modal-scroll-area::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.modal-heading {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.modal-segment {
    margin-bottom: 2rem;
}

.modal-segment h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-2);
    margin-bottom: 0.8rem;
}

.modal-segment p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.modal-segment strong {
    color: var(--text-primary);
    font-weight: 500;
}

.modal-segment.privacy p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ========================================= */
/* V6: Scroll-Progress Bar                   */
/* ========================================= */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 9999;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    box-shadow: 0 0 10px var(--accent-1);
    transition: width 0.1s;
}

/* ========================================= */
/* V6: AI Signature Badge                    */
/* ========================================= */
.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--accent-1);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: default;
}

.ai-badge .ai-icon {
    width: 14px;
    height: 14px;
    color: var(--accent-1);
    animation: pulseGlow 2s infinite alternate;
}

.ai-badge:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

@keyframes pulseGlow {
    0% {
        filter: drop-shadow(0 0 2px var(--accent-1));
    }

    100% {
        filter: drop-shadow(0 0 6px var(--accent-1));
    }
}

/* ========================================= */
/* V6: Lightbox Modal                        */
/* ========================================= */
.lightbox-backdrop {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    /* Let clicks pass through container */
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    pointer-events: auto;
    /* Catch clicks on image itself */
    animation: lightboxZoomIn 0.5s var(--ease-spring) forwards;
}

.lightbox-close-wrapper {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 10;
}

.lightbox-close-wrapper .btn-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.lightbox-close-wrapper .btn-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

@keyframes lightboxZoomIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ========================================= */
/* V10: Inline News Section                  */
/* ========================================= */
.inline-news-section {
    padding: 3rem 4rem;
    background: #fafafa;
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 55;
    overflow: hidden;
}

.inline-news-header {
    margin-bottom: 2rem;
    text-align: center;
}

.inline-news-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.inline-news-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.inline-news-track-container {
    width: 100%;
    overflow: hidden;
    padding-bottom: 1.5rem;
    position: relative;
}

.news-overlay-left,
.news-overlay-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.news-overlay-left {
    left: 0;
    background: linear-gradient(to right, #fafafa, transparent);
}

.news-overlay-right {
    right: 0;
    background: linear-gradient(to left, #fafafa, transparent);
}

.inline-news-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    padding: 0.5rem;
    animation: scroll-left-news 120s linear infinite;
}

.inline-news-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-left-news {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.news-card {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    width: 380px;
    /* slightly wider to comfortably fit the icon */
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s var(--ease-spring);
    display: flex;
    flex-direction: row;
    /* Icon on left, text on right */
    align-items: flex-start;
    gap: 1.25rem;
    flex-shrink: 0;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(37, 99, 235, 0.3);
}

.news-icon-wrapper {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.08);
    /* Light blue accent background */
    color: var(--accent-1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-spring);
}

.news-icon-wrapper i {
    width: 22px;
    height: 22px;
}

.news-card:hover .news-icon-wrapper {
    background: var(--accent-1);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.news-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-source {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-1);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    flex-grow: 1;
}

.news-readmore {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.news-readmore i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--ease-spring);
}

.news-card:hover .news-readmore {
    color: var(--accent-2);
}

.news-card:hover .news-readmore i {
    transform: translateX(5px);
}

/* ========================================= */
/* V15: Sticky Glass Navigation              */
/* ========================================= */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 3rem;
    /* schlank: nur 0.4rem oben/unten */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60vw;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s var(--ease-spring);
    position: relative;
    /*
    /* For the custom cursor */
}

.nav-links a:hover {
    color: var(--accent-1);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-1);
    transition: width 0.3s var(--ease-spring);
}

.nav-links a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .glass-nav {
        padding: 0.4rem 1rem;
    }

    .nav-brand {
        font-size: 0.8rem;
        max-width: 75vw;
    }

    .nav-links {
        display: none;
    }
}

/* ========================================= */
/* V15: Trust Counter                        */
/* ========================================= */
.trust-counter-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 244, 255, 0.5));
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    z-index: 55;
    text-align: center;
}

.counter-container {
    display: flex;
    justify-content: center;
    gap: 6rem;
    max-width: 1000px;
    margin: 0 auto;
}

.counter-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.counter-box i {
    width: 32px;
    height: 32px;
    color: var(--accent-1);
    margin-bottom: 0.5rem;
}

.counter-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.counter-number::after {
    content: '+';
    color: var(--accent-1);
}

.counter-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .counter-container {
        flex-direction: column;
        gap: 2.5rem;
    }
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .info-section {
        flex: 0 0 550px;
    }

    .hero-section {
        padding: 3vw;
    }
}

/* V13 Hover Caption Mobile Fix */
@media (max-width: 768px) {
    .ticker-caption {
        /* On mobile, permanently show a highly readable background caption since there is no hover */
        transform: translateY(0) !important;
        background: rgba(0, 0, 0, 0.7) !important;
        padding: 8px !important;
        font-size: 0.75rem !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        /* Allow interactions if needed later */
    }

    .ticker-item:hover .ticker-img,
    .ticker-item:active .ticker-img {
        transform: scale(1) !important;
        /* disable scale on mobile entirely */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
    }

    .project-ticker-section {
        height: 110px;
        /* Adjust height slightly for mobile */
    }
}

@media (max-width: 992px) {

    /* Kompensiert die fixed Nav-HÃ¶he (~65px) */
    .split-layout {
        flex-direction: column;
        display: block;
        padding-top: 70px;
    }

    .hero-section {
        min-height: 50vh;
        padding: 2rem 2rem 4rem;
    }

    .hero-content {
        margin: 2rem 0;
    }

    .info-section {
        width: 100%;
        flex: none;
        padding: 0 2rem 4rem;
    }

    .glass-panel {
        padding: 2rem;
        max-height: none;
        overflow: visible;
    }

    .form-group.row {
        flex-direction: column;
        gap: 1rem;
    }

    /* Logo auf Mobile etwas kleiner */
    .logo-large {
        max-width: clamp(220px, 80vw, 500px);
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2.8rem;
    }

    .hero-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .glass-panel {
        padding: 1.5rem;
    }
}

/* ========================================= */
/* ========================================= */
/* V16: Endless Marquee Ticker Hover CSS     */
/* ========================================= */
.v16-hover {
    position: relative;
    cursor: default;
    /* Information is on hover, not clickable anymore */
    border-radius: 8px;
    overflow: hidden;
}

.ticker-caption-hover {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 47, 0.85);
    /* Deep dark blue overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.4s var(--ease-spring);
    text-align: center;
    pointer-events: none;
    /* Let the parent handle the hover */
}

.v16-hover:hover .ticker-caption-hover {
    opacity: 1;
}

.hover-title {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transform: translateY(10px);
    transition: transform 0.4s var(--ease-spring);
}

.v16-hover:hover .hover-title {
    transform: translateY(0);
}

.hover-desc {
    color: var(--primary-light);
    font-size: 0.85rem;
    transform: translateY(10px);
    transition: transform 0.4s var(--ease-spring);
    transition-delay: 0.05s;
}

.v16-hover:hover .hover-desc {
    transform: translateY(0);
}

.v16-hover:hover .ticker-img {
    transform: scale(1.05);
    /* Slight zoom on hover, image takes it */
    filter: grayscale(0%);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-overlay i,
.portfolio-item:hover .portfolio-title-hint {
    transform: translateY(0);
}

/* ========================================= */
/* V16: Services Accordion                   */
/* ========================================= */
.services-section {
    padding: 5rem 6vw;
    background: #fafafa;
    position: relative;
    z-index: 55;
    border-top: 1px solid var(--glass-border);
}

.services-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(37, 99, 235, 0.08);
    color: var(--accent-1);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-badge i {
    width: 14px;
    height: 14px;
}

.services-header h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--text-primary);
}

.accordion-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: box-shadow 0.3s, border-color 0.3s;
}

.accordion-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border-color: rgba(37, 99, 235, 0.2);
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s;
}

.accordion-header:hover,
.accordion-item.active .accordion-header {
    color: var(--accent-1);
}

.accordion-icon {
    width: 20px;
    height: 20px;
    transition: opacity 0.3s, transform 0.3s;
    color: var(--accent-1);
}

.minus-icon {
    display: none;
}

.accordion-item.active .plus-icon {
    display: none;
}

.accordion-item.active .minus-icon {
    display: block;
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-smooth), opacity 0.4s var(--ease-smooth);
}

.accordion-item.active .accordion-content {
    /* max-height and opacity are set dynamically via JS */
    display: block;
}

.services-list {
    list-style: none;
    padding: 0 2rem 1.5rem 2rem;
    margin: 0;
}

.services-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.services-list li:last-child {
    border-bottom: none;
}

.services-list i {
    width: 18px;
    height: 18px;
    color: var(--accent-3);
    /* Green checkmark */
    margin-top: 3px;
    flex-shrink: 0;
}

/* ========================================= */
/* V16: Back to Top Button                   */
/* ========================================= */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--accent-1);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-spring);
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    background: var(--accent-1);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.3);
}

/* Enhancing Lightbox Modal for Portfolio text */
.lightbox-text-panel {
    background: #ffffff;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    display: none;
    /* hidden by default, shown via JS if data exists */
    flex-direction: column;
    justify-content: center;
    border-radius: 0 8px 8px 0;
}

.lightbox-content.has-text {
    flex-direction: row;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

.lightbox-content.has-text img {
    border-radius: 8px 0 0 8px;
    max-width: 65vw;
}

.lightbox-portfolio-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.lightbox-portfolio-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .lightbox-content.has-text {
        flex-direction: column;
    }

    .lightbox-content.has-text img {
        border-radius: 8px 8px 0 0;
        max-width: 90vw;
        max-height: 60vh;
    }

    .lightbox-text-panel {
        max-width: 100%;
        border-radius: 0 0 8px 8px;
        padding: 1.5rem;
    }
}

/* ========================================= */
/* V16 Part 2: Services Grid & Modals        */
/* ========================================= */
.services-grid-section {
    padding: 5rem 6vw;
    background: #fafafa;
    position: relative;
    z-index: 55;
    border-top: 1px solid var(--glass-border);
}

.services-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid-v16 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card-v16 {
    background: #fff;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.service-card-v16:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: rgba(37, 99, 235, 0.3);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-1);
    transition: background 0.3s, color 0.3s, transform 0.3s;
}

.service-icon-wrapper svg,
.service-icon-wrapper i {
    width: 28px;
    height: 28px;
}

.service-card-v16:hover .service-icon-wrapper {
    background: var(--accent-1);
    color: white;
    transform: scale(1.1);
}

.service-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card-reveal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--accent-1);
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.7;
    transition: opacity 0.3s;
    width: 100%;
}

.service-card-v16:hover .service-card-reveal {
    opacity: 1;
}

/* Service Modals */
.service-modal-v16 {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.4s, opacity 0.4s;
}

.service-modal-v16.active {
    visibility: visible;
    opacity: 1;
}

.service-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(5px);
}

.service-modal-content {
    background: #fff;
    width: 90%;
    max-width: 650px;
    max-height: 85vh;
    border-radius: 16px;
    position: relative;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    transform: translateY(30px);
    transition: transform 0.4s var(--ease-spring);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.service-modal-v16.active .service-modal-content {
    transform: translateY(0);
}

.close-service-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: background 0.3s, color 0.3s;
    z-index: 2;
}

.close-service-modal:hover {
    background: #ef4444;
    color: white;
}

.service-modal-header {
    padding: 2rem 5rem 1.5rem 2rem;
    border-bottom: 1px solid var(--glass-border);
    background: #f8fafc;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
}

.service-modal-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--accent-1);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-modal-icon svg,
.service-modal-icon i {
    width: 24px;
    height: 24px;
}

.service-modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 0;
}

.service-modal-body {
    padding: 2rem;
    overflow-y: auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.service-modal-body p {
    margin-bottom: 1.2rem;
}

.service-modal-body p:last-child {
    margin-bottom: 0;
}

.services-list-detail {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.services-list-detail li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.services-list-detail li i {
    color: var(--accent-1);
    min-width: 16px;
    width: 16px;
    height: 16px;
    margin-top: 4px;
}

/* Ticker Caption In-Photo */
.v16-caption-in-photo {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.v16-caption-in-photo .ticker-img {
    transition: transform 0.6s var(--ease-spring), filter 0.4s;
    filter: brightness(0.8);
}

.v16-caption-in-photo:hover .ticker-img {
    transform: scale(1.05);
    filter: brightness(0.95);
}

.ticker-caption-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    color: white;
    padding: 2rem 1rem 1rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    line-height: 1.3;
    pointer-events: none;
}

/* ========================================= */
/* V16 Part 2: Services Grid & Modals        */
/* ========================================= */
.services-grid-section {
    padding: 5rem 6vw;
    background: #fafafa;
    position: relative;
    z-index: 55;
    border-top: 1px solid var(--glass-border);
}

.services-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid-v16 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card-v16 {
    background: #fff;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.service-card-v16:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: rgba(37, 99, 235, 0.3);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-1);
    transition: background 0.3s, color 0.3s, transform 0.3s;
}

.service-icon-wrapper svg,
.service-icon-wrapper i {
    width: 28px;
    height: 28px;
}

.service-card-v16:hover .service-icon-wrapper {
    background: var(--accent-1);
    color: white;
    transform: scale(1.1);
}

.service-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card-reveal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--accent-1);
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.7;
    transition: opacity 0.3s;
    width: 100%;
}

.service-card-v16:hover .service-card-reveal {
    opacity: 1;
}

/* Service Modals */
.service-modal-v16 {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.4s, opacity 0.4s;
}

.service-modal-v16.active {
    visibility: visible;
    opacity: 1;
}

.service-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(5px);
}

.service-modal-content {
    background: #fff;
    width: 90%;
    max-width: 650px;
    max-height: 85vh;
    border-radius: 16px;
    position: relative;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    transform: translateY(30px);
    transition: transform 0.4s var(--ease-spring);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.service-modal-v16.active .service-modal-content {
    transform: translateY(0);
}

.close-service-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: background 0.3s, color 0.3s;
    z-index: 2;
}

.close-service-modal:hover {
    background: #ef4444;
    color: white;
}

.service-modal-header {
    padding: 2rem 5rem 1.5rem 2rem;
    border-bottom: 1px solid var(--glass-border);
    background: #f8fafc;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
}

.service-modal-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--accent-1);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-modal-icon svg,
.service-modal-icon i {
    width: 24px;
    height: 24px;
}

.service-modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 0;
}

.service-modal-body {
    padding: 2rem;
    overflow-y: auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.service-modal-body p {
    margin-bottom: 1.2rem;
}

.service-modal-body p:last-child {
    margin-bottom: 0;
}

.services-list-detail {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.services-list-detail li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.services-list-detail li i {
    color: var(--accent-1);
    min-width: 16px;
    width: 16px;
    height: 16px;
    margin-top: 4px;
}

/* Ticker Caption In-Photo */
.v16-caption-in-photo {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.v16-caption-in-photo .ticker-img {
    transition: transform 0.6s var(--ease-spring), filter 0.4s;
    filter: brightness(0.8);
}

.v16-caption-in-photo:hover .ticker-img {
    transform: scale(1.05);
    filter: brightness(0.95);
}

.ticker-caption-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    color: white;
    padding: 2rem 1rem 1rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    line-height: 1.3;
    pointer-events: none;
}

/* V16 Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 15, 25, 0.95);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-modal.open {
    opacity: 1;
}

.lightbox-content-wrapper {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 100000;
    transition: transform 0.3s ease;
    padding: 10px;
}

.lightbox-close:hover {
    transform: scale(1.1);
}

.lightbox-trigger {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
}

.lightbox-trigger .ticker-img {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s;
}

.lightbox-trigger:hover .ticker-img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* ========================================= */
/* V15: Trust Counter Section                */
/* ========================================= */
.trust-counter-section {
    position: relative;
    z-index: 55;
    padding: 4rem 6vw;
    background: #f8fafc;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.counter-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.counter-box {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2.5rem 2rem;
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
    text-align: center;
}

.counter-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.2);
}

.counter-box>i,
.counter-box>svg {
    width: 32px;
    height: 32px;
    color: var(--accent-1);
    opacity: 0.7;
}

.counter-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.counter-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

@media (max-width: 600px) {
    .counter-container {
        flex-direction: column;
        align-items: center;
    }

    .counter-box {
        width: 100%;
        max-width: 300px;
    }
}

/* ========================================= */
/* COOKIE CONSENT BANNER                     */
/* ========================================= */

/* --- Banner (bottom bar) --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(37, 99, 235, 0.15);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

.cookie-banner.cookie-hidden {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
}

.cookie-banner-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-1);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.2rem;
}

.cookie-banner-text {
    flex: 1;
    min-width: 260px;
}

.cookie-banner-text p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.cookie-link {
    color: var(--accent-1);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-link-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-size: inherit;
    font-family: inherit;
    color: var(--accent-1);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    line-height: inherit;
}

.cookie-link-btn:hover {
    opacity: 0.8;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    flex-wrap: wrap;
    align-items: center;
}

/* --- Shared button styles --- */
.cookie-btn {
    padding: 0.6rem 1.25rem;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.cookie-btn-settings {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
}

.cookie-btn-settings:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-primary);
    border-color: rgba(0, 0, 0, 0.15);
}

.cookie-btn-necessary {
    background: rgba(37, 99, 235, 0.08);
    color: var(--accent-1);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.cookie-btn-necessary:hover {
    background: rgba(37, 99, 235, 0.15);
    transform: translateY(-1px);
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

/* --- Settings Modal --- */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-modal.cookie-modal-open {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.cookie-modal-content {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 20px;
    padding: 2.5rem;
    width: 90%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: scale(0.95) translateY(10px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-modal.cookie-modal-open .cookie-modal-content {
    transform: scale(1) translateY(0);
}

.cookie-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.06);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: background 0.2s ease, color 0.2s ease;
}

.cookie-modal-close:hover {
    background: rgba(0, 0, 0, 0.12);
    color: var(--text-primary);
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.cookie-modal-icon {
    font-size: 1.6rem;
}

.cookie-modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.cookie-modal-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* --- Category rows --- */
.cookie-category {
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    background: rgba(248, 250, 255, 0.7);
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-category-name {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.cookie-category-desc {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.cookie-toggle-always {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-3, #16a34a);
    background: rgba(22, 163, 74, 0.08);
    border: 1px solid rgba(22, 163, 74, 0.2);
    border-radius: 20px;
    padding: 0.3rem 0.75rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* --- Toggle switch --- */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.cookie-switch-slider {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 26px;
    cursor: pointer;
    transition: background 0.25s ease;
}

.cookie-switch-slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-switch input:checked+.cookie-switch-slider {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
}

.cookie-switch input:checked+.cookie-switch-slider::before {
    transform: translateX(20px);
}

/* --- Modal footer --- */
.cookie-modal-footer {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 1rem;
    }

    .cookie-banner-inner {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .cookie-banner-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .cookie-modal-content {
        padding: 1.5rem;
    }

    .cookie-modal-footer {
        justify-content: stretch;
    }

    .cookie-modal-footer .cookie-btn {
        flex: 1;
        text-align: center;
    }
}

/* DatenschutzerklÃ¤rung â€“ Leerzeilen zwischen Abschnitten */
.privacy-full h3 {
    margin-top: 1.75rem;
    margin-bottom: 0.4rem;
}

.privacy-full h2.modal-heading {
    margin-bottom: 1.25rem;
}

.privacy-full p,
.privacy-full ul {
    margin-bottom: 0.75rem;
}

/* ========================================= */
/* SCROLL-NAV: Kompakter Header beim Scrollen */
/* ========================================= */
.glass-nav {
    transition: padding 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.glass-nav.nav-scrolled {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* ========================================= */
/* FLOATING PHONE BUTTON                      */
/* ========================================= */
.float-tel-btn {
    display: none;
    /* Desktop: hidden */
}

@media (max-width: 768px) {
    .float-tel-btn {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        position: fixed;
        bottom: 28px;
        left: 20px;
        z-index: 1100;
        background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
        color: #fff;
        border: none;
        border-radius: 50px;
        padding: 0.75rem 1.25rem;
        font-family: var(--font-body);
        font-size: 0.9rem;
        font-weight: 600;
        text-decoration: none;
        box-shadow: 0 6px 24px rgba(37, 99, 235, 0.35);
        cursor: pointer;
        animation: telBtnIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
        animation-delay: 0.8s;
        opacity: 0;
    }

    .float-tel-btn svg {
        flex-shrink: 0;
    }

    .float-tel-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
    }

    @keyframes telBtnIn {
        from {
            opacity: 0;
            transform: translateY(30px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* ========================================= */
/* HAMBURGER BUTTON                           */
/* ========================================= */
.nav-hamburger {
    display: none;
}

@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }

    .nav-hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px;
        z-index: 10001;
        flex-shrink: 0;
    }

    .nav-hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--text-primary);
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease;
        transform-origin: center;
    }

    .nav-hamburger.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-hamburger.is-open span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .nav-hamburger.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* ========================================= */
/* MOBILE SLIDE-IN PANEL                      */
/* ========================================= */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.mobile-nav-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    z-index: 9999;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
}

.mobile-nav-panel.is-open {
    transform: translateX(0);
}

.mobile-nav-close {
    align-self: flex-end;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.mobile-nav-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

.mobile-nav-brand {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--glass-border);
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mobile-nav-links li a {
    display: block;
    padding: 1rem 0;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--glass-border);
    transition: color 0.2s, padding-left 0.2s;
}

.mobile-nav-links li a:hover {
    color: var(--accent-1);
    padding-left: 0.5rem;
}

.mobile-nav-tel {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 2rem;
    padding: 0.9rem 1.25rem;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}

.mobile-nav-tel:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

/* ========================================= */
/* TYPEWRITER EFFECT                          */
/* ========================================= */
.typewriter-bar {
    display: flex;
    align-items: center;
    margin: 0.4rem 0 1rem;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    min-height: 1.6em;
}

.typewriter-prefix {
    color: var(--text-secondary);
    font-weight: 400;
}

.typewriter-text {
    color: var(--accent-1);
    font-weight: 700;
}

.typewriter-cursor {
    color: var(--accent-1);
    margin-left: 1px;
    animation: cursorBlink 0.8s step-end infinite;
}

/* Letzte Zeilen von style.css manuell neu schreiben */
@keyframes cursorBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Senior Polish: Hide long nav subtitle on mobile for better density */
@media (max-width: 480px) {
    .nav-brand span {
        display: none !important;
    }
}
