:root {
            --red: #e84420;
            --red-dark: #c4361a;
            --red-deep: #9e2c14;
            --red-glow: rgba(232,68,32,0.15);
            --red-glow2: rgba(232,68,32,0.08);
            --charcoal: #4a4a4a;
            --charcoal-dark: #3a3a3a;
            --black: #1c1c1c;
            --dark: #141414;
            --dark2: #1a1a1a;
            --dark3: #222;
            --white: #ffffff;
            --gray: #999;
            --gray-light: #ccc;
            --text: #e0e0e0;
            --radius: 16px;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background: var(--black);
            color: var(--text);
            line-height: 1.7;
            overflow-x: hidden;
        }

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

        .container { max-width: 1440px; margin: 0 auto; padding: 0 32px; }

        /* TOPBAR */
        .topbar {
            background: var(--red);
            color: var(--white);
            font-size: 0.82rem;
            font-weight: 600;
            padding: 10px 0;
            text-align: center;
            letter-spacing: 0.3px;
        }
        .topbar a { color: var(--white); text-decoration: underline; }

        /* NAV */
        header {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(28,28,28,0.88);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255,255,255,0.06);
        }
        header .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 76px;
        }
        .logo-img { height: 52px; width: auto; }

        nav { display: flex; align-items: center; gap: 6px; }
        nav a {
            color: var(--gray-light);
            text-decoration: none;
            font-size: 0.88rem;
            font-weight: 500;
            padding: 8px 16px;
            border-radius: 8px;
            transition: all 0.25s;
        }
        nav a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
        nav a.nav-cta {
            background: var(--red);
            color: var(--white);
            font-weight: 700;
        }
        nav a.nav-cta:hover { background: var(--red-dark); }

        .nav-toggle {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
        }
        .nav-toggle span {
            display: block;
            width: 24px;
            height: 2px;
            background: var(--white);
            margin: 6px 0;
            border-radius: 2px;
            transition: 0.3s;
        }

        /* HERO */
        .hero {
            min-height: calc(100vh - var(--site-top-height, 116px));
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            position: relative;
            overflow: hidden;
            background: radial-gradient(ellipse at 30% 50%, rgba(232,68,32,0.07) 0%, transparent 60%),
                        radial-gradient(ellipse at 70% 80%, rgba(232,68,32,0.04) 0%, transparent 50%),
                        var(--black);
        }

        .hero-content { position: relative; z-index: 2; max-width: 900px; padding: 0 24px; }
        .hero-logo { height: 100px; width: auto; margin-bottom: 36px; filter: drop-shadow(0 4px 30px rgba(232,68,32,0.3)); }
        .hero-tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(232,68,32,0.12);
            border: 1px solid rgba(232,68,32,0.25);
            color: var(--red);
            padding: 8px 20px;
            border-radius: 50px;
            font-size: 0.82rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 32px;
        }
        .hero h1 {
            font-size: clamp(3.5rem, 9vw, 7rem);
            font-weight: 900;
            color: var(--white);
            line-height: 1.05;
            letter-spacing: -2px;
            margin-bottom: 28px;
        }
        .hero h1 em {
            font-style: normal;
            color: var(--red);
        }
        .hero-sub {
            font-size: clamp(1.05rem, 2vw, 1.3rem);
            color: var(--gray);
            max-width: 600px;
            margin: 0 auto 44px;
            font-weight: 400;
            line-height: 1.7;
        }
        .hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

        /* BUTTONS */
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 16px 36px;
            border-radius: 12px;
            font-weight: 700;
            font-size: 1rem;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
            border: none;
            cursor: pointer;
            letter-spacing: -0.2px;
        }
        .btn-primary {
            background: var(--red);
            color: var(--white);
        }
        .btn-primary:hover {
            background: var(--red-dark);
            transform: translateY(-3px);
            box-shadow: 0 12px 40px rgba(232,68,32,0.35);
        }
        .btn-ghost {
            background: rgba(255,255,255,0.06);
            color: var(--white);
            border: 1px solid rgba(255,255,255,0.12);
        }
        .btn-ghost:hover {
            background: rgba(255,255,255,0.1);
            border-color: rgba(255,255,255,0.25);
        }

        /* SCROLL */
        .scroll-hint {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            color: var(--gray);
            font-size: 0.75rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            animation: float 2s ease-in-out infinite;
        }
        .scroll-line {
            width: 1px;
            height: 40px;
            background: linear-gradient(to bottom, var(--red), transparent);
        }
        @keyframes float {
            0%, 100% { transform: translateX(-50%) translateY(0); }
            50% { transform: translateX(-50%) translateY(8px); }
        }

        /* MARQUEE */
        .marquee-section {
            padding: 50px 0;
            border-top: 1px solid rgba(255,255,255,0.05);
            border-bottom: 1px solid rgba(255,255,255,0.05);
            overflow: hidden;
        }
        .marquee-track {
            display: flex;
            gap: 60px;
            animation: marquee 25s linear infinite;
            width: max-content;
        }
        .marquee-item {
            font-size: clamp(1.2rem, 2.5vw, 1.8rem);
            font-weight: 800;
            white-space: nowrap;
            color: rgba(255,255,255,0.08);
            text-transform: uppercase;
            letter-spacing: 4px;
        }
        .marquee-item span { color: rgba(232,68,32,0.2); }
        @keyframes marquee {
            from { transform: translateX(0); }
            to { transform: translateX(-50%); }
        }

        /* INTRO */
        .intro { padding: 120px 0; text-align: center; }
        .intro h2 {
            font-size: clamp(1.6rem, 3.5vw, 2.6rem);
            font-weight: 800;
            color: var(--white);
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.35;
            letter-spacing: -1px;
        }

        /* CARDS */
        .card-section { padding: 0 0 100px; }
        .cards-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }
        .card {
            background: var(--dark2);
            border-radius: var(--radius);
            overflow: hidden;
            transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s;
            cursor: default;
            border: 1px solid rgba(255,255,255,0.04);
        }
        .card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 60px rgba(0,0,0,0.5);
        }
        .card-visual {
            height: 220px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            position: relative;
            overflow: hidden;
        }
        .card-visual.v1 { background: linear-gradient(135deg, #8b2010, #4a1008); }
        .card-visual.v2 { background: linear-gradient(135deg, #5a3020, #2d1810); }
        .card-visual.v3 { background: linear-gradient(135deg, #4a3a3a, #2d2020); }
        .card-visual.v4 { background: linear-gradient(135deg, #3a2530, #201018); }
        .card-visual.v5 { background: linear-gradient(135deg, #4a3030, #2d1818); }
        .card-visual.v6 { background: linear-gradient(135deg, #3a3530, #201d18); }
        .card-label {
            position: absolute;
            top: 16px;
            left: 16px;
            background: var(--red);
            color: var(--white);
            font-size: 0.7rem;
            font-weight: 700;
            padding: 4px 12px;
            border-radius: 6px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .card-body { padding: 28px 24px; }
        .card-body h3 {
            font-size: 1.15rem;
            color: var(--white);
            font-weight: 700;
            margin-bottom: 8px;
        }
        .card-body p {
            font-size: 0.9rem;
            color: var(--gray);
            line-height: 1.6;
        }
        .card-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: var(--red);
            font-weight: 600;
            font-size: 0.88rem;
            text-decoration: none;
            margin-top: 14px;
            transition: gap 0.3s;
        }
        .card-link:hover { gap: 12px; }

        /* FEATURE */
        .feature { padding: 120px 0; position: relative; }
        .feature-inner {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
        }
        .feature-visual {
            border-radius: var(--radius);
            height: 480px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 6rem;
            position: relative;
            overflow: hidden;
            background: linear-gradient(135deg, var(--dark2), var(--dark3));
            border: 1px solid rgba(255,255,255,0.05);
        }
        .feature-visual::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 160px;
            height: 160px;
            background: var(--red);
            opacity: 0.1;
            border-radius: 100% 0 0 0;
        }
        .feature-tag {
            color: var(--red);
            font-weight: 700;
            font-size: 0.78rem;
            text-transform: uppercase;
            letter-spacing: 3px;
            margin-bottom: 16px;
        }
        .feature-text h2 {
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 900;
            color: var(--white);
            line-height: 1.1;
            letter-spacing: -1.5px;
            margin-bottom: 24px;
        }
        .feature-text p {
            color: var(--gray);
            font-size: 1.05rem;
            margin-bottom: 16px;
            line-height: 1.8;
        }
        .feature-list {
            list-style: none;
            margin: 32px 0;
            display: flex;
            flex-direction: column;
            gap: 14px;
        }
        .feature-list li {
            display: flex;
            align-items: center;
            gap: 14px;
            font-weight: 500;
            color: var(--white);
            font-size: 0.98rem;
        }
        .feature-list li .check {
            width: 32px; height: 32px;
            border-radius: 10px;
            background: var(--red-glow);
            display: flex; align-items: center; justify-content: center;
            color: var(--red);
            font-size: 0.85rem; font-weight: 800; flex-shrink: 0;
        }

        /* STATS */
        .stats-bar {
            padding: 80px 0;
            border-top: 1px solid rgba(255,255,255,0.05);
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 32px;
            text-align: center;
        }
        .stat-num {
            font-size: clamp(2.5rem, 5vw, 3.5rem);
            font-weight: 900;
            color: var(--white);
            line-height: 1;
            letter-spacing: -2px;
        }
        .stat-num span { color: var(--red); }
        .stat-desc {
            font-size: 0.88rem;
            color: var(--gray);
            margin-top: 8px;
            font-weight: 500;
        }

        /* TESTIMONIALS */
        .testimonials { padding: 120px 0; text-align: center; }
        .testimonials .section-tag,
        .team-section .section-tag,
        .projects-section .section-tag,
        .jobs-text .section-tag,
        .kontakt .section-tag {
            color: var(--red);
            font-weight: 700;
            font-size: 0.78rem;
            text-transform: uppercase;
            letter-spacing: 3px;
            margin-bottom: 16px;
        }
        .testimonials h2, .team-section h2, .projects-section h2, .kontakt h2 {
            font-size: clamp(1.8rem, 3.5vw, 2.4rem);
            font-weight: 900;
            color: var(--white);
            margin-bottom: 60px;
            letter-spacing: -1px;
        }
        .testimonial-slider { max-width: 750px; margin: 0 auto; }
        .testimonial-quote {
            font-size: clamp(1.1rem, 2vw, 1.4rem);
            font-weight: 400;
            color: var(--white);
            line-height: 1.7;
            font-style: italic;
            margin-bottom: 28px;
        }
        .testimonial-quote::before {
            content: '\201E';
            color: var(--red);
            font-size: 3rem;
            font-weight: 900;
            line-height: 0;
            vertical-align: -16px;
            margin-right: 4px;
            font-style: normal;
        }
        .testimonial-author { color: var(--gray); font-size: 0.92rem; font-weight: 500; }
        .testimonial-author strong { color: var(--red); }

        /* TEAM */
        .team-section { padding: 120px 0; }
        .team-section .section-tag, .team-section h2 { text-align: center; }
        .team-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }
        .team-card {
            background: var(--dark2);
            border-radius: var(--radius);
            overflow: hidden;
            border: 1px solid rgba(255,255,255,0.04);
            transition: transform 0.4s;
        }
        .team-card:hover { transform: translateY(-6px); }
        .team-photo {
            height: 260px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 5rem;
        }
        .team-photo.t1 { background: linear-gradient(180deg, #6b2010, var(--dark2)); }
        .team-photo.t2 { background: linear-gradient(180deg, #4a3020, var(--dark2)); }
        .team-photo.t3 { background: linear-gradient(180deg, #4a3535, var(--dark2)); }
        .team-info { padding: 28px 24px; text-align: center; }
        .team-info h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 4px; }
        .team-info p { color: var(--gray); font-size: 0.88rem; }

        /* PROJECTS */
        .projects-section { padding: 0 0 120px; }
        .projects-section .section-tag, .projects-section h2 { text-align: center; }
        .projects-section > .container > p {
            text-align: center; color: var(--gray); max-width: 550px; margin: 0 auto 60px;
        }
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }
        .project-card {
            border-radius: var(--radius);
            overflow: hidden;
            position: relative;
            height: 380px;
            cursor: default;
            transition: transform 0.4s;
        }
        .project-card:hover { transform: scale(1.02); }
        .project-card .bg {
            position: absolute; inset: 0;
            transition: transform 0.6s;
        }
        .project-card:hover .bg { transform: scale(1.08); }
        .project-bg1 { background: linear-gradient(135deg, #7a2010 0%, #2a0a05 100%); }
        .project-bg2 { background: linear-gradient(135deg, #4a3020 0%, #1a1008 100%); }
        .project-bg3 { background: linear-gradient(135deg, #5a3a30 0%, #1e1210 100%); }
        .project-overlay {
            position: absolute; inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
            display: flex; flex-direction: column; justify-content: flex-end;
            padding: 32px;
        }
        .project-overlay h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 6px; }
        .project-overlay p { color: var(--gray-light); font-size: 0.88rem; }

        /* JOBS */
        .jobs-cta {
            padding: 100px 0;
            background: var(--dark2);
            border-top: 1px solid rgba(255,255,255,0.04);
            border-bottom: 1px solid rgba(255,255,255,0.04);
        }
        .jobs-inner {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }
        .jobs-text h2 {
            font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 900;
            color: var(--white); margin-bottom: 20px; letter-spacing: -1px;
        }
        .jobs-text p { color: var(--gray); font-size: 1.02rem; margin-bottom: 32px; line-height: 1.8; }
        .perks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
        .perk-item {
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: 12px;
            padding: 24px;
            text-align: center;
            transition: border-color 0.3s;
        }
        .perk-item:hover { border-color: rgba(232,68,32,0.3); }
        .perk-item .icon { font-size: 2rem; margin-bottom: 10px; }
        .perk-icon-svg { margin-bottom: 10px; display:flex; justify-content:center; }
        .perk-item h4 { color: var(--white); font-size: 0.95rem; }

        /* BIG CTA */
        .big-cta {
            padding: 140px 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .big-cta::before {
            content: '';
            position: absolute;
            top: 50%; left: 50%;
            transform: translate(-50%, -50%);
            width: 600px; height: 600px;
            background: radial-gradient(circle, rgba(232,68,32,0.1) 0%, transparent 70%);
            border-radius: 50%;
        }
        .big-cta h2 {
            font-size: clamp(2rem, 4vw, 3.2rem);
            font-weight: 900;
            color: var(--white);
            margin-bottom: 20px;
            letter-spacing: -1.5px;
            position: relative;
        }
        .big-cta p {
            color: var(--gray);
            font-size: 1.1rem;
            margin-bottom: 40px;
            position: relative;
        }

        /* KONTAKT */
        .kontakt {
            padding: 120px 0;
            background: var(--dark2);
            border-top: 1px solid rgba(255,255,255,0.04);
        }
        .kontakt .section-tag, .kontakt h2 { text-align: center; }
        .kontakt-grid {
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            gap: 60px;
        }
        .kontakt-cards-only {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            width: 100%;
        }
        .kontakt-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: 100%; }
        .kontakt-card {
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: var(--radius);
            padding: 36px 32px;
            display: flex;
            flex-direction: column;
            gap: 16px;
            align-items: flex-start;
            transition: border-color 0.3s;
            min-width: 0;
        }
        .kontakt-card:hover { border-color: rgba(232,68,32,0.3); }
        .kontakt-icon {
            width: 48px; height: 48px;
            background: var(--red-glow);
            border-radius: 12px;
            display: flex; align-items: center; justify-content: center;
            font-size: 1.3rem; flex-shrink: 0;
        }
        .kontakt-detail h4 { color: var(--white); margin-bottom: 4px; font-size: 1rem; }
        .kontakt-detail p, .kontakt-detail a {
            color: var(--gray); text-decoration: none; font-size: 0.92rem;
        }
        .kontakt-detail a:hover { color: var(--red); }

        .contact-form input,
        .contact-form textarea,
        .contact-form select {
            width: 100%;
            padding: 16px 20px;
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 12px;
            color: var(--white);
            font-size: 0.95rem;
            font-family: inherit;
            margin-bottom: 14px;
            transition: border-color 0.3s;
        }
        .contact-form input::placeholder,
        .contact-form textarea::placeholder { color: var(--gray); }
        .contact-form input:focus,
        .contact-form textarea:focus,
        .contact-form select:focus {
            outline: none;
            border-color: var(--red);
            background: rgba(232,68,32,0.04);
        }
        .contact-form select { appearance: none; cursor: pointer; }
        .contact-form select option { background: var(--dark2); color: var(--white); }
        .contact-form textarea { height: 130px; resize: vertical; }
        .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

        /* FOOTER */
        footer {
            background: var(--black);
            border-top: 1px solid rgba(255,255,255,0.05);
            padding: 60px 0 0;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1.5fr;
            gap: 40px;
            margin-bottom: 50px;
        }
        .footer-brand p { color: var(--gray); font-size: 0.88rem; margin-top: 16px; line-height: 1.7; }
        .footer-logo { height: 44px; width: auto; margin-bottom: 4px; }
        footer h4 { color: var(--white); margin-bottom: 18px; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
        footer ul { list-style: none; }
        footer li { margin-bottom: 10px; }
        footer a { color: var(--gray); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
        footer a:hover { color: var(--red); }
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.06);
            padding: 24px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
            font-size: 0.82rem;
            color: var(--gray);
        }
        .footer-legal { display: flex; gap: 24px; }

        /* RESPONSIVE */
        @media (max-width: 1024px) {
            .cards-grid, .team-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
            .feature-inner, .jobs-inner, .kontakt-grid { grid-template-columns: 1fr; }
            .feature-visual { height: 350px; }
            .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
            .footer-grid { grid-template-columns: 1fr 1fr; }
        }
        @media (max-width: 650px) {
            .nav-toggle { display: block; }
            nav {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%; left: 0; right: 0;
                background: var(--dark);
                padding: 16px;
                border-bottom: 1px solid rgba(255,255,255,0.06);
            }
            nav.open { display: flex; }
            nav a { padding: 14px 16px; width: 100%; }
            header .container { position: relative; }
            .cards-grid, .team-grid, .projects-grid { grid-template-columns: 1fr; }
            .stats-grid { grid-template-columns: 1fr 1fr; }
            .hero h1 { letter-spacing: -1px; }
            .hero-logo { height: 70px; }
            .form-row { grid-template-columns: 1fr; }
            .perks-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; }
            .footer-bottom { flex-direction: column; text-align: center; }
        }

        /* ─── BRICK WALL ANIMATION ─── */
        .brick-wall {
            position: absolute;
            inset: 0;
            z-index: 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 0 2px;
            overflow: hidden;
        }
        .hero-overlay {
            position: absolute;
            inset: 0;
            z-index: 1;
            background: radial-gradient(ellipse at center, rgba(28,28,28,0.60) 0%, rgba(28,28,28,0.80) 60%, rgba(28,28,28,0.90) 100%);
            pointer-events: none;
        }
        .brick-row {
            display: flex;
            gap: 4px;
            margin-bottom: 4px;
            padding: 0 2px;
        }
        .brick {
            height: clamp(28px, 4.5vh, 48px);
            border-radius: 3px;
            flex-shrink: 0;
            opacity: 0;
            transform: translateY(30px) scale(0.9);
            animation: brickIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
        }
        .brick.w2 { flex: 2; }
        .brick.w3 { flex: 3; }
        .brick.half { flex: 1; }

        /* Brick colors - brighter at center, fading to edges */
        .row-1 .brick { background: rgba(157, 48, 21, 0.15); }
        .row-2 .brick { background: rgba(162, 50, 22, 0.18); }
        .row-3 .brick { background: rgba(167, 52, 23, 0.21); }
        .row-4 .brick { background: rgba(172, 54, 24, 0.24); }
        .row-5 .brick { background: rgba(177, 56, 25, 0.28); }
        .row-6 .brick { background: rgba(182, 58, 26, 0.31); }
        .row-7 .brick { background: rgba(187, 60, 27, 0.34); }
        .row-8 .brick { background: rgba(192, 62, 28, 0.37); }
        .row-9 .brick { background: rgba(197, 64, 29, 0.4); }
        .row-10 .brick { background: rgba(197, 64, 29, 0.4); }
        .row-11 .brick { background: rgba(192, 62, 28, 0.37); }
        .row-12 .brick { background: rgba(187, 60, 27, 0.34); }
        .row-13 .brick { background: rgba(182, 58, 26, 0.31); }
        .row-14 .brick { background: rgba(177, 56, 25, 0.28); }
        .row-15 .brick { background: rgba(172, 54, 24, 0.24); }
        .row-16 .brick { background: rgba(167, 52, 23, 0.21); }
        .row-17 .brick { background: rgba(162, 50, 22, 0.18); }
        .row-18 .brick { background: rgba(157, 48, 21, 0.15); }

        /* Bricks build from center outward */
        .row-1 .brick { animation-delay: calc(0.05s * var(--i) + 1.73s); }
        .row-2 .brick { animation-delay: calc(0.05s * var(--i) + 1.55s); }
        .row-3 .brick { animation-delay: calc(0.05s * var(--i) + 1.37s); }
        .row-4 .brick { animation-delay: calc(0.05s * var(--i) + 1.19s); }
        .row-5 .brick { animation-delay: calc(0.05s * var(--i) + 1.01s); }
        .row-6 .brick { animation-delay: calc(0.05s * var(--i) + 0.83s); }
        .row-7 .brick { animation-delay: calc(0.05s * var(--i) + 0.65s); }
        .row-8 .brick { animation-delay: calc(0.05s * var(--i) + 0.47s); }
        .row-9 .brick { animation-delay: calc(0.05s * var(--i) + 0.29s); }
        .row-10 .brick { animation-delay: calc(0.05s * var(--i) + 0.29s); }
        .row-11 .brick { animation-delay: calc(0.05s * var(--i) + 0.47s); }
        .row-12 .brick { animation-delay: calc(0.05s * var(--i) + 0.65s); }
        .row-13 .brick { animation-delay: calc(0.05s * var(--i) + 0.83s); }
        .row-14 .brick { animation-delay: calc(0.05s * var(--i) + 1.01s); }
        .row-15 .brick { animation-delay: calc(0.05s * var(--i) + 1.19s); }
        .row-16 .brick { animation-delay: calc(0.05s * var(--i) + 1.37s); }
        .row-17 .brick { animation-delay: calc(0.05s * var(--i) + 1.55s); }
        .row-18 .brick { animation-delay: calc(0.05s * var(--i) + 1.73s); }

        /* Per-brick stagger via nth-child */
        .brick:nth-child(1) { --i: 0; }
        .brick:nth-child(2) { --i: 1; }
        .brick:nth-child(3) { --i: 2; }
        .brick:nth-child(4) { --i: 3; }
        .brick:nth-child(5) { --i: 4; }
        .brick:nth-child(6) { --i: 5; }
        .brick:nth-child(7) { --i: 6; }
        .brick:nth-child(8) { --i: 7; }
        .brick:nth-child(9) { --i: 8; }
        .brick:nth-child(10) { --i: 9; }
        .brick:nth-child(11) { --i: 10; }
        .brick:nth-child(12) { --i: 11; }

        @keyframes brickIn {
            0% {
                opacity: 0;
                transform: translateY(30px) scale(0.9);
            }
            60% {
                opacity: 1;
                transform: translateY(-4px) scale(1.02);
            }
            80% {
                transform: translateY(2px) scale(0.99);
            }
            100% {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        /* Subtle mortar glow between bricks */
        .brick-row {
            position: relative;
        }
        .brick-row::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            right: 0;
            height: 4px;
            background: rgba(232, 68, 32, 0.03);
        }

        /* Hero content fade-in after bricks */
        .hero-content {
            animation: contentIn 1s ease-out 1.5s both;
        }
        @keyframes contentIn {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Particle dust effect during build */
        .hero::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 200px;
            background: linear-gradient(to top, rgba(232,68,32,0.06) 0%, transparent 100%);
            z-index: 0;
            animation: dustGlow 3s ease-in-out 0.5s both;
        }
        @keyframes dustGlow {
            0% { opacity: 0; }
            30% { opacity: 1; }
            100% { opacity: 0.3; }
        }

        /* ─── GALERIE ─── */
        .galerie {
            width: 100%;
            padding: 0;
        }
        .galerie-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            grid-template-rows: repeat(2, 360px);
            gap: 0;
        }
        .galerie-item {
            position: relative;
            overflow: hidden;
            cursor: pointer;
        }
        .galerie-img {
            position: absolute;
            inset: 0;
            transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
        }
        .galerie-item:hover .galerie-img {
            transform: scale(1.08);
        }

        /* Foto-Simulationen mit Strukturen und Farben */
        .g1 {
            background:
                repeating-linear-gradient(0deg, rgba(0,0,0,0.15) 0px, rgba(0,0,0,0.15) 1px, transparent 1px, transparent 20px),
                repeating-linear-gradient(90deg, rgba(0,0,0,0.1) 0px, rgba(0,0,0,0.1) 1px, transparent 1px, transparent 60px),
                linear-gradient(160deg, #8B3A22 0%, #5a1e0e 40%, #3a1208 100%);
        }
        .g2 {
            background:
                repeating-linear-gradient(180deg, rgba(0,0,0,0.2) 0px, rgba(0,0,0,0.2) 2px, transparent 2px, transparent 22px),
                repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 80px),
                linear-gradient(140deg, #6B2D1A 0%, #3d180a 50%, #1a0a05 100%);
        }
        .g3 {
            background:
                radial-gradient(ellipse at 30% 70%, rgba(100,60,30,0.6) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(60,30,10,0.5) 0%, transparent 50%),
                linear-gradient(180deg, #1a1208 0%, #2d1e10 50%, #3a2510 100%);
        }
        .g4 {
            background:
                repeating-linear-gradient(135deg, rgba(232,68,32,0.04) 0px, rgba(232,68,32,0.04) 1px, transparent 1px, transparent 30px),
                linear-gradient(160deg, #0f1a2a 0%, #1a2d40 50%, #0a1220 100%);
        }
        .g5 {
            background:
                radial-gradient(ellipse at 60% 40%, rgba(180,60,25,0.4) 0%, transparent 55%),
                linear-gradient(120deg, #4a1e0e 0%, #8b3520 40%, #5a2010 100%);
        }
        .g6 {
            background:
                repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 40px),
                linear-gradient(150deg, #2a1a10 0%, #4a2d1a 40%, #6b3a22 100%);
        }

        /* Overlay on hover */
        .galerie-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
            display: flex;
            align-items: flex-end;
            padding: 28px;
            opacity: 0;
            transition: opacity 0.4s ease;
        }
        .galerie-item:hover .galerie-overlay {
            opacity: 1;
        }
        .galerie-overlay span {
            color: var(--white);
            font-size: 1rem;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        /* Subtle border between cells */
        .galerie-item::after {
            content: '';
            position: absolute;
            inset: 0;
            border: 2px solid rgba(28,28,28,0.8);
            pointer-events: none;
            z-index: 2;
        }

        /* Lightbox */
        .lightbox {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.92);
            z-index: 9000;
            align-items: center;
            justify-content: center;
            cursor: zoom-out;
        }
        .lightbox.active { display: flex; }
        .lightbox-inner {
            max-width: 90vw;
            max-height: 85vh;
            border-radius: 16px;
            overflow: hidden;
            position: relative;
        }
        .lightbox-inner .lb-img {
            width: 800px;
            max-width: 90vw;
            height: 540px;
            max-height: 80vh;
        }
        .lightbox-close {
            position: absolute;
            top: 20px;
            right: 28px;
            color: white;
            font-size: 2rem;
            cursor: pointer;
            background: none;
            border: none;
            z-index: 9001;
            line-height: 1;
            opacity: 0.7;
            transition: opacity 0.2s;
        }
        .lightbox-close:hover { opacity: 1; }

        @media (max-width: 800px) {
            .galerie-grid {
                grid-template-columns: repeat(2, 1fr);
                grid-template-rows: repeat(3, 260px);
            }
        }
        @media (max-width: 480px) {
            .galerie-grid {
                grid-template-columns: 1fr;
                grid-template-rows: repeat(6, 220px);
            }
        }

        .team-silhouette {
            width: 100px;
            height: auto;
            opacity: 0.9;
        }
        .team-photo {
            display: flex;
            align-items: center;
            justify-content: center;
        }
    

/* ============ DROPZONE (Drag & Drop Bildfelder) ============ */
.dropzone { position: relative; cursor: pointer; overflow: hidden;
    background-size: cover; background-position: center; background-repeat: no-repeat; }
.dz-hint { position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 10px; text-align: center;
    padding: 18px; color: var(--gray-light);
    background: rgba(18,18,18,0.62);
    border: 2px dashed rgba(255,255,255,0.20); border-radius: inherit;
    transition: opacity .25s, background .2s, border-color .2s, color .2s;
    font-size: .82rem; font-weight: 600; letter-spacing: .3px; z-index: 2; }
.dz-hint small { font-weight: 500; opacity: .7; font-size: .72rem; }
.dropzone:hover .dz-hint { border-color: var(--red); color: #fff; }
.dropzone.dragover .dz-hint { opacity: 1 !important; background: rgba(232,68,32,0.22);
    border-color: var(--red); color: #fff; }
.dropzone.has-image .dz-hint { opacity: 0; pointer-events: none; }
.dz-icon { width: 34px; height: 34px; opacity: .85; }
.dz-remove { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px;
    border: none; border-radius: 50%; background: rgba(28,28,28,0.72); color: #fff;
    font-size: 1.05rem; line-height: 1; cursor: pointer; display: none;
    align-items: center; justify-content: center; z-index: 3;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s; }
.dropzone.has-image:not(.is-default) .dz-remove { display: flex; }
.dz-remove:hover { background: var(--red); }
.dz-file { display: none; }
/* Voreingestelltes Foto: dezenter Hinweis zum Ersetzen beim Hover */
.dropzone.is-default::after { content: "\270E  Bild ersetzen"; position: absolute; top: 10px; left: 10px;
    z-index: 3; font-size: .72rem; font-weight: 700; letter-spacing: .3px; color: #fff;
    background: rgba(28,28,28,0.72); padding: 6px 10px; border-radius: 20px;
    opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none; }
.dropzone.is-default:hover::after { opacity: 1; transform: translateY(0); }
.dropzone.is-default.dragover::after { opacity: 0; }

/* ============ PAGE HERO (Unterseiten) ============ */
.page-hero { position: relative; padding: 120px 0 70px; text-align: center; overflow: hidden;
    background: radial-gradient(ellipse at 30% 30%, rgba(232,68,32,0.10) 0%, transparent 60%),
                radial-gradient(ellipse at 75% 80%, rgba(232,68,32,0.05) 0%, transparent 55%),
                linear-gradient(180deg, #0d0d0d, var(--black)); }
.page-hero .section-tag { justify-content: center; }
.page-hero h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 800; line-height: 1.05;
    letter-spacing: -1.5px; margin: 14px 0 18px; }
.page-hero h1 em { color: var(--red); font-style: normal; }
.page-hero p { max-width: 640px; margin: 0 auto; color: var(--gray-light); font-size: 1.08rem; }
.breadcrumb { font-size: .8rem; color: var(--gray); margin-top: 26px; }
.breadcrumb a { color: var(--gray-light); text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }

/* ============ SERVICE DETAIL ============ */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
    padding: 60px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.service-row:nth-child(even) .service-media { order: 2; }
.service-media { height: 340px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(135deg, #5a1e10, var(--dark2)); }
.service-copy h2 { font-size: 1.9rem; font-weight: 700; margin-bottom: 14px; letter-spacing: -.5px; }
.service-copy h2 em { color: var(--red); font-style: normal; }
.service-copy p { color: var(--gray-light); margin-bottom: 16px; }
.service-copy .feature-list { margin-top: 8px; }

/* ============ ABOUT / GENERIC ============ */
.prose-section { padding: 80px 0; }
.prose-block { max-width: 780px; margin: 0 auto; }
.prose-block h2 { font-size: 2rem; font-weight: 700; letter-spacing: -.5px; margin: 34px 0 14px; }
.prose-block p { color: var(--gray-light); margin-bottom: 16px; font-size: 1.05rem; }
.about-media { height: 420px; border-radius: var(--radius); margin: 30px 0 10px;
    border: 1px solid rgba(255,255,255,0.08); background: linear-gradient(135deg, #4a2418, var(--dark2)); }

/* Team-Banner (grosses Gruppenfoto) */
.team-banner { height: clamp(280px, 46vw, 520px); border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.08); background: linear-gradient(135deg, #3a2a20, var(--dark2)); }
.team-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .team-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid-3 { grid-template-columns: 1fr; } }

/* ============ PROJEKTE GRID ============ */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 20px 0 10px; }
.proj-item { height: 300px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(135deg, #3a2018, var(--dark2)); position: relative; }
.proj-caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: 40px 20px 18px; border-radius: 0 0 var(--radius) var(--radius);
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.82)); pointer-events: none; }
.proj-caption h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 2px; }
.proj-caption span { font-size: .8rem; color: var(--red); font-weight: 600; }

/* ============ TEAM (grosse Seite) ============ */
.team-page-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 10px 0; }
@media (max-width: 900px) { .team-page-grid { grid-template-columns: repeat(2, 1fr); }
    .service-row { grid-template-columns: 1fr; }
    .service-row:nth-child(even) .service-media { order: 0; }
    .proj-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team-page-grid { grid-template-columns: 1fr; }
    .proj-grid { grid-template-columns: 1fr; } }

/* Bildfeld in Karten / Team / Galerie erhaelt volle Flaeche */
.card-visual.dropzone, .team-photo.dropzone, .galerie-img.dropzone,
.feature-visual.dropzone, .service-media.dropzone, .proj-item.dropzone,
.about-media.dropzone { }
nav a.active { color: #fff; background: rgba(232,68,32,0.16); }

/* ============ PLATZHALTER-BILDER (statisch) ============ */
.img-ph { position: relative; overflow: hidden; }
.img-ph::before { content: ""; position: absolute; inset: 0; z-index: 1;
    background: repeating-linear-gradient(45deg, rgba(255,255,255,0.035) 0 14px, transparent 14px 28px); }
.img-ph-label { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 16px;
    color: rgba(255,255,255,0.55); font-size: .8rem; font-weight: 600; letter-spacing: .4px; }
.img-ph-label svg { width: 34px; height: 34px; opacity: .5; }
.img-ph-label small { font-weight: 500; opacity: .6; font-size: .68rem; letter-spacing: .5px;
    text-transform: uppercase; }

/* =========================================================
   HELLE SECTIONS – mehr Kontrast, insgesamt weniger dunkel
   (nur Startseiten-Bereiche; Cards/Platzhalter bleiben dunkel)
   ========================================================= */
:root { --light: #f4f3f0; --ink: #1b1b1b; --ink-soft: #5f5f5f; }

/* Intro */
.intro { background: var(--light); }
.intro h2 { color: var(--ink); }

/* Leistungen (Startseite) */
.card-section#leistungen { background: var(--light); }

/* Ueber uns */
.feature { background: var(--light); }
.feature-text h2 { color: var(--ink); }
.feature-text p  { color: var(--ink-soft); }
.feature-list li { color: var(--ink); }

/* Stimmen / Testimonials */
.testimonials { background: var(--light); }
.testimonials h2 { color: var(--ink); }
.testimonial-quote { color: var(--ink); }
.testimonial-author { color: var(--ink-soft); }
.testimonial-author strong { color: var(--ink); }

/* Ghost-Buttons auf hellen Sections sichtbar machen */
.intro .btn-ghost,
.feature .btn-ghost,
.card-section#leistungen .btn-ghost {
    background: rgba(0,0,0,0.04);
    color: var(--ink);
    border: 1px solid rgba(0,0,0,0.20);
}
.intro .btn-ghost:hover,
.feature .btn-ghost:hover,
.card-section#leistungen .btn-ghost:hover {
    background: rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.35);
}

/* Leistungs-Cards auf heller Startseite: hell mit Rahmen */
.card-section#leistungen .card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.10);
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}
.card-section#leistungen .card:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}
.card-section#leistungen .card-visual {
    background: #eceae5;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.card-section#leistungen .card-body h3 { color: var(--ink); }
.card-section#leistungen .card-body p  { color: #5f5f5f; }

/* Heller Content-Bereich auf Unterseiten (Intro/Hero bleibt dunkel) */
.section-light { background: var(--light); }
.section-light h1, .section-light h2, .section-light h3, .section-light h4 { color: var(--ink); }
.section-light h2 em { color: var(--red); }
.section-light p,
.section-light .service-copy p,
.section-light .prose-block p { color: var(--ink-soft); }
.section-light .feature-list li { color: var(--ink); }

/* Projekt-Beschreibungstext */
.proj-text { margin-top: 6px; }
.proj-text p { margin-bottom: 12px; }
.proj-text p:last-child { margin-bottom: 0; }

/* Projekt-Bildergalerie (flexible Anzahl) */
.proj-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.proj-gallery .g-item { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius);
    overflow: hidden; border: 1px solid rgba(0,0,0,0.10); background: #eceae5; }
.proj-gallery .g-img { position: absolute; inset: 0; background-size: cover; background-position: center;
    transition: transform .5s cubic-bezier(0.4,0,0.2,1); }
.proj-gallery .g-item:hover .g-img { transform: scale(1.06); }
.proj-gallery .g-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: 28px 16px 14px; color: #fff; font-weight: 600; font-size: .9rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.75)); opacity: 0; transition: opacity .3s; }
.proj-gallery .g-item:hover .g-cap { opacity: 1; }
@media (max-width: 900px) { .proj-gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .proj-gallery { grid-template-columns: 1fr; } }

/* Team-Grid: 3 Spalten (je 1/3) - hoehere Spezifitaet erzwingen */
.team-page-grid.team-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .team-page-grid.team-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-page-grid.team-grid-3 { grid-template-columns: 1fr; } }

/* Fixierter Seitenkopf (Topbar + Navigation) */
#site-top { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }
#site-top header { position: static; }
html { scroll-padding-top: 130px; }

/* Headerbild oberhalb der Startseite (21:9) */
.header-image { width: 100%; aspect-ratio: 21 / 9; position: relative; overflow: hidden;
    background-size: cover; background-position: center; background-color: #eceae5; }

/* Leistungs-Icons deutlich groesser */
.card-section#leistungen .card-visual svg { width: 112px; height: 112px; }

/* Galerie mit 4 Spalten (8 Bilder) */
.proj-gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .proj-gallery.cols-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .proj-gallery.cols-4 { grid-template-columns: 1fr; } }

/* Logo etwas groesser */
.logo-img { height: 64px; }

/* Logo sauber vertikal zentrieren */
.logo-img { display: block; }
header .container { height: 84px; }

/* ============================================================
   RS RANKE BAU – Farbwelt: ueberwiegend WEISS, Rot & Blau als Akzent
   ============================================================ */
:root{
  --red:#e84622; --red-dark:#c93a18; --red-deep:#a83115;
  --red-glow:rgba(232,70,34,0.15); --red-glow2:rgba(232,70,34,0.08);
  --blue:#2359a4; --blue-dark:#1a4685;
  --light:#ffffff; --grey:#eaeaea;
  --ink:#16294a; --ink-soft:#55607a;
}
body{ background:#ffffff; color:var(--ink); }
::selection{ background:var(--red); color:#fff; }

/* Kopf: weiss */
.topbar{ background:#eaeaea; color:var(--ink); }
.topbar a{ color:var(--red); }
header{ background:rgba(255,255,255,0.92); border-bottom:1px solid rgba(0,0,0,0.08); }
nav a{ color:var(--ink); }
nav a:hover{ color:var(--red); background:rgba(0,0,0,0.04); }
nav a.active{ color:var(--red); background:rgba(232,70,34,0.08); }
nav a.nav-cta{ background:var(--red); color:#fff; }
nav a.nav-cta:hover{ background:var(--red-dark); }
.nav-toggle span{ background:var(--ink); }

/* Hero: hell mit dezenter Mauer, dunkler Text */
.hero{ background:linear-gradient(180deg,#ffffff 0%,#f2f4f7 100%); }
.hero-overlay{ background:linear-gradient(180deg, rgba(255,255,255,0.30), rgba(255,255,255,0.55)); }
[class*="row-"] .brick{ background:rgba(35,89,164,0.05) !important; }
.hero h1{ color:var(--ink); }
.hero h1 em{ color:var(--red); }
.hero-sub{ color:var(--ink-soft); }
.hero-tag{ background:rgba(35,89,164,0.10); color:var(--blue); }
.scroll-hint{ color:var(--ink-soft); }
.scroll-line{ background:linear-gradient(var(--ink-soft),transparent); }

/* Marquee + Statistik: helle graue Baender */
.marquee-section{ background:#eaeaea; }
.marquee-item{ color:var(--ink); }
.marquee-item span{ color:var(--red); }
.stats-bar{ background:#eaeaea; border-top:none; border-bottom:none; }
.stat-num{ color:var(--ink); } .stat-num span{ color:var(--red); } .stat-desc{ color:var(--ink-soft); }

/* Inhaltsbereiche */
.intro{ background:#ffffff; } .intro h2{ color:var(--ink); }
.intro p{ max-width:760px; margin:18px auto 0; color:var(--ink-soft); font-size:1.05rem; }
.card-section#leistungen{ background:#eaeaea; }
.feature{ background:#ffffff; }
.section-light{ background:#ffffff; }
.header-image{ background-color:#eaeaea; }

/* Akzente */
.section-tag, .feature-tag{ color:var(--blue); }
h1 em, h2 em{ color:var(--red); }
.card-link{ color:var(--red); }
.feature-list li{ color:var(--ink); }
.feature-list li .check{ background:rgba(35,89,164,0.12); color:var(--blue); }

/* Grosse CTA: einziger kraeftiger Block (Rot) */
.big-cta{ background:linear-gradient(135deg,#e84622,#c93a18); }

/* Kontakt: helles graues Band, weisse Karten */
.kontakt{ background:#eaeaea; border-top:1px solid rgba(0,0,0,0.06); }
.kontakt h2{ color:var(--ink); } .kontakt .section-tag{ color:var(--blue); }
.kontakt-card{ background:#ffffff; border:1px solid rgba(0,0,0,0.08); }
.kontakt-card:hover{ border-color:var(--red); }
.kontakt-icon{ background:rgba(35,89,164,0.10); }
.kontakt-detail h4{ color:var(--ink); } .kontakt-detail p, .kontakt-detail a{ color:var(--ink-soft); }
.kontakt-detail a:hover{ color:var(--red); }

/* Unterseiten-Kopf: helles Band */
.page-hero{ background:#eaeaea; }
.page-hero h1, .page-hero p{ color:var(--ink); }
.page-hero .section-tag{ color:var(--blue); }
.breadcrumb{ color:var(--ink-soft); } .breadcrumb a{ color:var(--red); }

/* Footer: hellgrau mit rotem Akzentstrich */
footer{ background:#eaeaea; color:var(--ink-soft); border-top:3px solid var(--red); }
footer h4{ color:var(--ink); } footer a{ color:var(--ink-soft); } footer a:hover{ color:var(--red); }
.footer-bottom{ border-top-color:rgba(0,0,0,0.10); color:var(--ink-soft); }
.footer-logo{ }

/* Platzhalter als helle graue Flaechen */
.feature-visual.img-ph, .service-media.img-ph, .about-media.img-ph, .proj-item.img-ph, .team-photo.img-ph, .team-banner.img-ph{
  background:#eaeaea !important; }
.feature-visual, .service-media, .about-media, .proj-item, .team-photo, .team-banner{ border:1px solid rgba(0,0,0,0.08); }
.card-section#leistungen .card-visual{ background:#eaeaea; }
.proj-gallery .g-item{ background:#eaeaea; }
.img-ph::before{ background:repeating-linear-gradient(45deg, rgba(0,0,0,0.04) 0 14px, transparent 14px 28px); }
.img-ph-label{ color:#8791a5; }

/* Karten & Team hell */
.team-card{ background:#ffffff; border:1px solid rgba(0,0,0,0.08); }
.team-info h3{ color:var(--ink); } .team-info p{ color:var(--ink-soft); }

/* Buttons */
.btn-primary{ background:var(--red); color:#fff; } .btn-primary:hover{ background:var(--red-dark); }
.hero .btn-ghost{ background:transparent; color:var(--ink); border:1px solid rgba(0,0,0,0.25); }
.hero .btn-ghost:hover{ border-color:var(--red); color:var(--red); }
.feature .btn-ghost, .section-light .btn-ghost, .card-section#leistungen .btn-ghost{
  background:rgba(0,0,0,0.04); color:var(--ink); border:1px solid rgba(0,0,0,0.2); }

/* ============ Leistungen NEU: nummerierte Textkarten (ohne Icons) ============ */
.card-section#leistungen .cards-grid{ counter-reset: leistung; gap:24px; }
.card-section#leistungen .card{
  counter-increment: leistung; background:#ffffff; border:1px solid rgba(0,0,0,0.08);
  border-radius:var(--radius); overflow:hidden; position:relative; transition:transform .35s, box-shadow .35s, border-color .35s; }
.card-section#leistungen .card::before{ content:""; position:absolute; top:0; left:0; width:100%; height:4px; background:var(--red); transform:scaleX(0); transform-origin:left; transition:transform .35s; }
.card-section#leistungen .card:hover{ transform:translateY(-6px); box-shadow:0 18px 44px rgba(0,0,0,0.10); border-color:rgba(0,0,0,0.05); }
.card-section#leistungen .card:hover::before{ transform:scaleX(1); }
.card-section#leistungen .card-body{ padding:38px 32px 32px; }
.card-section#leistungen .card-body::before{
  content: counter(leistung, decimal-leading-zero);
  display:block; font-size:2.4rem; font-weight:800; line-height:1; letter-spacing:-1.5px;
  color:var(--red); margin-bottom:20px; }
.card-section#leistungen .card-body h3{ color:var(--ink); font-size:1.35rem; font-weight:700; margin-bottom:12px; }
.card-section#leistungen .card-body p{ color:var(--ink-soft); margin-bottom:18px; }

/* Leistungsbereich: weisser Hintergrund statt hellgrau */
.card-section#leistungen{ background:#ffffff; }
.card-section#leistungen .card{ box-shadow:0 6px 24px rgba(0,0,0,0.06); }

/* ============ Hero mit Hintergrundbild + Mauer hinter dem Intro ============ */
/* Hero: Hintergrundbild (assets/img/hero.jpg), Fallback dunkelblau, heller Text */
.hero{ background:#16294a url('../img/hero.jpg') center/cover no-repeat; }
.hero-overlay{ background:linear-gradient(180deg, rgba(12,22,44,0.45) 0%, rgba(12,22,44,0.62) 100%); }
.hero h1{ color:#ffffff; } .hero h1 em{ color:var(--red); }
.hero-sub{ color:rgba(255,255,255,0.92); }
.hero-tag{ background:rgba(255,255,255,0.16); color:#ffffff; }
.scroll-hint{ color:rgba(255,255,255,0.85); }
.scroll-line{ background:linear-gradient(rgba(255,255,255,0.85),transparent); }
.hero .btn-ghost{ background:rgba(255,255,255,0.14); color:#fff; border:1px solid rgba(255,255,255,0.45); }
.hero .btn-ghost:hover{ border-color:#fff; color:#fff; background:rgba(255,255,255,0.22); }

/* Intro: Mauer als dezente Textur dahinter */
.intro{ position:relative; overflow:hidden; }
.intro .brick-wall{ z-index:0; }
.intro .container{ position:relative; z-index:2; }
.intro [class*="row-"] .brick{ background:rgba(35,89,164,0.07) !important; }
.intro .brick{ animation:none !important; opacity:1 !important; transform:none !important; }

/* Intro-Mauer: weicher weisser Verlauf nach oben und unten */
.intro::before{ content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0) 22%, rgba(255,255,255,0) 78%, #ffffff 100%); }

/* ============================================================
   RS RANKE BAU – eigenstaendiger Grundaufbau (Motive) + Aufraeumen
   ============================================================ */
/* Intro wieder als schlichter weisser Abschnitt (Mauer entfernt) */
.intro{ position:static; overflow:visible; }
.intro::before{ content:none; }

/* Hero: linksbuendig statt zentriert (Unterschied zu RS Bau) */
.hero{ justify-content:flex-start; text-align:left; }
.hero-content{ text-align:left; width:100%; max-width:1440px; margin:0 auto; padding:0 32px; }
.hero-content h1{ margin-left:0; margin-right:0; }
.hero-content h1::after{ content:""; display:block; width:88px; height:5px; border-radius:3px;
  background:var(--red); margin:24px 0 0; }
.hero-buttons{ justify-content:flex-start; }
.hero-sub{ margin-left:0; }
@media (max-width:600px){ .hero-content{ padding:0 22px; } }

/* Wiedererkennungs-Motiv: kurze Linie vor jedem Section-Tag */
.section-tag{ display:inline-flex; align-items:center; gap:12px; }
.section-tag::before{ content:""; width:26px; height:2px; background:currentColor; display:inline-block; flex:0 0 auto; }
/* zentrierte Tags (Kontakt) bleiben zentriert */
.kontakt .section-tag{ justify-content:center; }

/* Ueber-uns-Bild neben "Tradition seit 1848" */
.feature-visual.photo-ueberuns{
  background:#eaeaea url('../img/ueberuns.jpg') center/cover no-repeat !important;
  border:1px solid rgba(0,0,0,0.08); }

/* Unterer CTA-Bereich mit Planungsfoto */
.big-cta{ background:linear-gradient(135deg, rgba(232,70,34,0.80) 0%, rgba(20,35,70,0.82) 100%), url('../img/cta.jpg') center/cover no-repeat !important; }
.big-cta::before{ display:none; }
.big-cta h2{ color:#ffffff; }
.big-cta p{ color:rgba(255,255,255,0.92); }

/* Leistungen: Bild immer links (kein Wechsel) */
.services-left .service-row:nth-child(even) .service-media{ order:0; }

/* Projekte als 2x2-Textbloecke (ohne Platzhalter) */
.proj-blocks{ display:grid; grid-template-columns:1fr 1fr; gap:26px; }
.proj-block{ background:#ffffff; border:1px solid rgba(0,0,0,0.08); border-radius:var(--radius);
  padding:44px 40px; box-shadow:0 6px 24px rgba(0,0,0,0.05); transition:transform .35s, box-shadow .35s, border-color .35s; }
.proj-block:hover{ transform:translateY(-6px); box-shadow:0 18px 44px rgba(0,0,0,0.10); border-color:var(--red); }
.proj-block h2{ color:var(--ink); font-size:1.7rem; font-weight:800; letter-spacing:-.5px; margin:6px 0 14px; }
.proj-block .proj-text{ color:var(--ink-soft); }
.proj-block .proj-text p{ margin-bottom:0; }
@media (max-width:760px){ .proj-blocks{ grid-template-columns:1fr; } }

/* Ganze Leistungs-Karte klickbar */
.card-section#leistungen a.card{ text-decoration:none; color:inherit; display:block; }
.card-section#leistungen a.card:hover{ text-decoration:none; }

/* Leistungen als Bloecke (2 Spalten, ohne Bild) */
.leistungen-grid{ display:grid; grid-template-columns:1fr 1fr; gap:26px; }
.leistung-block{ background:#ffffff; border:1px solid rgba(0,0,0,0.08); border-radius:var(--radius);
  padding:44px 40px; box-shadow:0 6px 24px rgba(0,0,0,0.05); scroll-margin-top:130px;
  transition:transform .35s, box-shadow .35s, border-color .35s; }
.leistung-block:hover{ transform:translateY(-6px); box-shadow:0 18px 44px rgba(0,0,0,0.10); border-color:var(--red); }
.leistung-block h2{ color:var(--ink); font-size:1.7rem; font-weight:800; letter-spacing:-.5px; margin:6px 0 14px; }
.leistung-block p{ color:var(--ink-soft); margin-bottom:16px; }
.leistung-block:last-child{ grid-column:1 / -1; }
@media (max-width:760px){ .leistungen-grid{ grid-template-columns:1fr; } .leistung-block:last-child{ grid-column:auto; } }

/* Leistungen: Abstand oben, kein Hover */
.leistungen-section{ padding-top:90px; }
.leistung-block{ transition:none; }
.leistung-block:hover{ transform:none; box-shadow:0 6px 24px rgba(0,0,0,0.05); border-color:rgba(0,0,0,0.08); }

/* Projekt-Thumbnails (weitere Bilder) */
.proj-thumbs{ display:flex; gap:12px; margin-top:22px; flex-wrap:wrap; }
.proj-thumb{ width:104px; height:78px; border-radius:10px; background-size:cover; background-position:center;
  border:1px solid rgba(0,0,0,0.08); }

/* Projektbilder ueber aspect-ratio statt fester Hoehe */
.services-left .service-media{ height:auto; aspect-ratio:4 / 3; }
@media (max-width:900px){ .services-left .service-media{ aspect-ratio:16 / 10; } }

/* Unterseiten-Intro mit Hintergrundbild */
.page-hero.has-hero-photo{ background-color:#16294a; background-size:cover; background-position:center; }
.page-hero.has-hero-photo::before{ content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(rgba(16,28,56,0.55) 0%, rgba(16,28,56,0.72) 100%); }
.page-hero.has-hero-photo .container{ position:relative; z-index:2; }
.page-hero.has-hero-photo h1, .page-hero.has-hero-photo p{ color:#ffffff; }
.page-hero.has-hero-photo .section-tag{ color:#cfe0f5; }
.page-hero.has-hero-photo .breadcrumb{ color:rgba(255,255,255,0.82); }
.page-hero.has-hero-photo .breadcrumb a{ color:#ffffff; }

/* Unterseiten-Header 62vh hoch, Inhalt vertikal zentriert */
.page-hero{ min-height:62vh; display:flex; align-items:center; }
.page-hero .container{ width:100%; }

/* Ansprechpartner-Portraits im Format 4:5 */
.team-photo{ aspect-ratio:4 / 5; height:auto; min-height:0; }

/* Team-Ueberschrift auf hellem Grund dunkel */
.team-section h2{ color:var(--ink); }

/* ============ Cookie-Consent (DSGVO) ============ */
.cookie-consent{ position:fixed; left:0; right:0; bottom:0; z-index:3000;
  transform:translateY(115%); transition:transform .45s cubic-bezier(0.4,0,0.2,1);
  background:#ffffff; border-top:3px solid var(--red); box-shadow:0 -12px 44px rgba(0,0,0,0.14); }
.cookie-consent.show{ transform:translateY(0); }
.cc-inner{ max-width:1440px; margin:0 auto; padding:22px 32px; display:flex; gap:30px;
  align-items:center; justify-content:space-between; flex-wrap:wrap; }
.cc-text{ max-width:840px; color:var(--ink-soft); }
.cc-text strong{ display:block; color:var(--ink); font-size:1.05rem; margin-bottom:5px; }
.cc-text p{ margin:0; font-size:.9rem; line-height:1.6; }
.cc-text a{ color:var(--red); }
.cc-actions{ display:flex; gap:12px; flex-shrink:0; }
.cc-actions .btn{ padding:13px 24px; font-size:.92rem; cursor:pointer; }
.cc-decline{ background:rgba(0,0,0,0.05); color:var(--ink); border:1px solid rgba(0,0,0,0.16); }
.cc-decline:hover{ background:rgba(0,0,0,0.09); }
@media (max-width:720px){ .cc-inner{ padding:18px 20px; gap:16px; } .cc-actions{ width:100%; } .cc-actions .btn{ flex:1; } }

/* Rechtsseiten (Impressum / Datenschutz): lesbare, dunkle Schrift auf Weiss */
.prose-section{ background:#ffffff; }
.prose-block h2{ color:var(--ink); }
.prose-block p, .prose-block li{ color:var(--ink-soft); }
.prose-block strong{ color:var(--ink); }
.prose-block a{ color:var(--blue); }
