:root {
    --blue: #0057a8;
    --blue-dark: #003d77;
    --blue-mid: #0066cc;
    --blue-light: #1a8cff;
    --green: #4cc900;
    --green-light: #6fff3d;
    --white: #ffffff;
    --off-white: #f0f5fa;
    --gray: #5a6a7a;
    --light-gray: #d8e2ec;
    --text: #1a2a3a;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Barlow', sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 70px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-logo-text {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 18pt;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--green-light);
}

.nav-cta {
    background: var(--green);
    color: var(--white);
    padding: 9px 22px;
    border-radius: 4px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--green-light);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.97);
    padding: 20px 5%;
    z-index: 99;
    flex-direction: column;
    gap: 0;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: color 0.2s;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover {
    color: var(--green-light);
}

/* ── HERO ── */
.hero {
    min-height: 100vh;
    background: linear-gradient(145deg, var(--blue-dark) 0%, var(--blue-mid) 55%, #0077dd 100%);
    display: flex;
    align-items: center;
    padding: 120px 5% 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 80% 50%, rgba(76, 201, 0, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse 50% 80% at 10% 80%, rgba(0, 87, 168, 0.4) 0%, transparent 50%);
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.06;
    background-image: linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
    background-size: 48px 48px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    animation: fadeUp 0.9s ease both;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(76, 201, 0, 0.18);
    border: 1px solid rgba(76, 201, 0, 0.4);
    color: var(--green-light);
    padding: 6px 16px;
    border-radius: 100px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.meister-badge {
    background: rgba(255, 215, 0, 0.12);
    border-color: rgba(255, 215, 0, 0.45);
    color: #ffd700;
}

.meister-badge::before {
    content: '🏆';
}

.hero-badge::before {
    content: '⚡';
    font-size: 0.9rem;
}

.hero h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    line-height: 1.05;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
}

.hero h1 span {
    color: var(--green);
}

.hero p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    max-width: 540px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--green);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(76, 201, 0, 0.4);
}

.btn-primary:hover {
    background: var(--green-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(76, 201, 0, 0.5);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    padding: 13px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transition: all 0.2s;
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.hero-stats {
    position: absolute;
    right: 5%;
    bottom: 80px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: fadeUp 1.1s ease 0.2s both;
}

.stat-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border-radius: 8px;
    padding: 18px 28px;
    text-align: center;
    min-width: 160px;
}

.stat-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--green);
    letter-spacing: -0.02em;
    line-height: 1;
}

.stat-label {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 4px;
}

/* ── NORMS STRIP ── */
.norms-strip {
    background: rgba(10, 10, 10, 0.95);
    padding: 18px 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.norm-item {
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    white-space: nowrap;
}

.norm-item:last-child {
    border-right: none;
}

.norm-item strong {
    color: var(--green-light);
}

/* ── SECTION COMMON ── */
section {
    padding: 96px 5%;
}

.section-label {
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 2.8rem);
    text-transform: uppercase;
    color: var(--blue-dark);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.section-title span {
    color: var(--green);
}

.section-sub {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 560px;
    margin-top: 16px;
}

/* ── SERVICES ── */
#leistungen {
    background: var(--off-white);
}

.services-header {
    max-width: 600px;
    margin-bottom: 56px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    padding: 36px 30px;
    border: 1px solid var(--light-gray);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green), var(--green-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 61, 119, 0.12);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(76, 201, 0, 0.12), rgba(76, 201, 0, 0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    border: 1px solid rgba(76, 201, 0, 0.2);
}

.service-card h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--blue-dark);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 16px;
}

.service-norms {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.norm-tag {
    background: rgba(0, 61, 119, 0.07);
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 3px 9px;
    border-radius: 3px;
    text-transform: uppercase;
}

/* ── WHY US ── */
#vorteile {
    background: var(--white);
}

.why-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-visual {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
    border-radius: 16px;
    padding: 52px 40px;
    position: relative;
    overflow: hidden;
}

.why-visual::after {
    content: '✓';
    position: absolute;
    right: -20px;
    bottom: -30px;
    font-size: 180px;
    color: rgba(76, 201, 0, 0.08);
    font-weight: 900;
    line-height: 1;
}

.cert-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    z-index: 1;
}

.cert-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.5;
}

.cert-check {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--green), var(--green-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: white;
    font-weight: 700;
    margin-top: 1px;
}

.why-points {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 36px;
}

.why-point {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.why-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--light-gray);
    line-height: 1;
    min-width: 44px;
}

.why-point h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    color: var(--blue-dark);
    letter-spacing: 0.03em;
    margin-bottom: 6px;
}

.why-point p {
    color: var(--gray);
    font-size: 0.93rem;
    line-height: 1.6;
}

/* ── PROCESS ── */
#ablauf {
    background: var(--off-white);
}

.process-header {
    text-align: center;
    margin-bottom: 60px;
}

.process-header .section-sub {
    margin: 16px auto 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--green), var(--blue));
    z-index: 0;
}

.process-step {
    text-align: center;
    padding: 0 16px;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: var(--blue-dark);
    border: 3px solid var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--white);
    box-shadow: 0 0 0 6px var(--off-white);
}

.process-step:nth-child(2) .step-circle {
    background: var(--green);
    border-color: var(--green);
}

.process-step h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--blue-dark);
    margin-bottom: 8px;
}

.process-step p {
    color: var(--gray);
    font-size: 0.88rem;
    line-height: 1.55;
}

/* ── CONTACT ── */
#kontakt {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
    position: relative;
}

#kontakt::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 70% at 90% 50%, rgba(76, 201, 0, 0.12), transparent);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-info .section-title {
    color: var(--white);
}

.contact-info .section-sub {
    color: rgba(255, 255, 255, 0.65);
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: rgba(76, 201, 0, 0.18);
    border: 1px solid rgba(76, 201, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.4;
}

.contact-item-text a {
    color: var(--white);
    text-decoration: none;
}

.contact-item-text a:hover {
    color: var(--orange);
}

.contact-item-text strong {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 40px 36px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.form-group label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 12px 16px;
    color: var(--white);
    font-family: 'Barlow', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s, background 0.2s;
    outline: none;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group select option {
    background: var(--blue-dark);
    color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green);
    background: rgba(255, 255, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    width: 100%;
    padding: 14px;
    border-radius: 6px;
    background: var(--green);
    color: var(--white);
    border: none;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 16px rgba(76, 201, 0, 0.35);
}

.form-submit:hover {
    background: var(--green-light);
    transform: translateY(-1px);
}

/* ── FOOTER ── */
footer {
    background: rgba(10, 10, 10, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 48px 5% 32px;
}
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 40px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-col h5 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--green-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.82rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-logo-text {
    color: white;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 18pt;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .hero-stats {
        display: none;
    }

    .why-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .process-steps::before {
        display: none;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    section {
        padding: 72px 5%;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .form-row .form-group {
        margin-bottom: 0;
    }

    .form-row .form-group:last-child {
        margin-bottom: 18px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.impressum-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 20px;
}

.impressum-card {
    display: flex;
    flex-direction: column;
}

.datenschutz-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 20px;
}

.datenschutz-card {
    display: flex;
    flex-direction: column;
}

.agb-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 20px;
}

.agb-card {
    display: flex;
    flex-direction: column;
}

.sub-page-body {
    height: 100%; 
    display: flex; 
    flex-direction: column;

    section {
        flex: 1;
    }
}
