﻿:root {
    --primary: #123b63;
    --primary-dark: #0d2b47;
    --secondary: #2c5f8c;
    --secondary-dark: #1e4667;
    --light: #f4f7fa;
    --white: #ffffff;
    --text: #1f2933;
    --muted: #5b6875;
    --border: #d9e2ec;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-soft: 0 6px 18px rgba(15, 23, 42, 0.05);
    --radius: 14px;
    --container: 1200px;
    --transition: 0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

    a:hover {
        color: var(--primary);
    }

.container {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.section-light {
    background: var(--light);
}

.section-dark {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
    color: var(--white);
}

.section h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 14px;
    color: var(--primary);
}

.section-dark h2 {
    color: var(--white);
}

.section-text {
    max-width: 780px;
    color: var(--muted);
    margin-bottom: 36px;
}

.section-dark p,
.section-dark li {
    color: rgba(255, 255, 255, 0.92);
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(18, 59, 99, 0.10);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    min-height: 88px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

    .logo img {
        height: 64px;
        width: auto;
        display: block;
    }

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 26px;
}

.main-nav a {
    position: relative;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text);
}

    .main-nav a:hover {
        color: var(--secondary);
    }

    .main-nav a:not(.nav-button)::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -6px;
        width: 0;
        height: 2px;
        background: var(--secondary);
        transition: width var(--transition);
    }

    .main-nav a:not(.nav-button):hover::after {
        width: 100%;
    }

.nav-button {
    display: inline-block;
    padding: 11px 18px;
    border-radius: 10px;
    background: var(--secondary);
    color: var(--white) !important;
    box-shadow: 0 6px 18px rgba(44, 95, 140, 0.18);
}

    .nav-button:hover {
        background: var(--secondary-dark);
        color: var(--white) !important;
        transform: translateY(-1px);
    }

/* Hero */

.hero {
    min-height: 640px;
    display: flex;
    align-items: center;
    background: linear-gradient( 90deg, rgba(13, 43, 71, 0.84) 0%, rgba(18, 59, 99, 0.74) 42%, rgba(18, 59, 99, 0.38) 100% ), url("images/hero-it.jpg");
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.hero-text {
    max-width: 760px;
    margin-left: auto;
    margin-right: 90px;
    padding: 100px 0 90px;
}

.hero h1 {
    font-size: clamp(2.7rem, 5vw, 4.4rem);
    line-height: 1.08;
    margin-bottom: 22px;
    color: var(--white);
}

.hero p {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 680px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.93);
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Buttons */

.btn {
    display: inline-block;
    padding: 13px 22px;
    border-radius: 10px;
    font-weight: 700;
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
}

    .btn.primary,
    .btn-primary {
        background: var(--secondary);
        color: var(--white);
        border: none;
    }

        .btn.primary:hover,
        .btn-primary:hover {
            background: var(--secondary-dark);
            color: var(--white);
            transform: translateY(-1px);
        }

    .btn.secondary,
    .btn-secondary {
        background: transparent;
        color: var(--white);
        border: 1px solid rgba(255, 255, 255, 0.55);
    }

        .btn.secondary:hover,
        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.10);
            color: var(--white);
        }

/* Intro */

.intro-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 10px;
}

.info-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 26px;
}

    .info-box h3 {
        color: var(--primary);
        margin-bottom: 10px;
        font-size: 1.15rem;
    }

/* Services */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
    }

    .service-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

.service-content {
    padding: 24px;
}

    .service-content h3 {
        color: var(--primary);
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .service-content p {
        color: var(--muted);
    }

/* Features */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    padding: 22px 18px;
    text-align: center;
    font-weight: 700;
    color: var(--primary);
}

/* Gutachten */

/* Hintergrund der gesamten Sektion */

.section-dark {
    background: linear-gradient(135deg, #1b4f7a, #0e2c47);
    color: #ffffff;
}



/* Hauptbox */

.gutachten-box {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    gap: 34px;
    align-items: center;
    padding: 48px;
    border-radius: 24px;
    background: radial-gradient(circle at 85% 20%, rgba(255,255,255,0.18), transparent 45%), linear-gradient(135deg, #1b4f7a 0%, #153f63 50%, #0f2f4b 100%);
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
    position: relative;
    overflow: hidden;
}



    /* linke Akzentkante */

    .gutachten-box::after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 8px;
        height: 100%;
        background: linear-gradient(180deg, #8fd0ff, #ffffff);
    }



/* Badge */

.gutachten-badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}



/* Überschrift */

.gutachten-text h2 {
    font-size: 2.3rem;
    line-height: 1.2;
    margin-bottom: 18px;
}



/* Beschreibung */

.gutachten-text p {
    margin-bottom: 28px;
    max-width: 650px;
}



/* Liste */

.gutachten-text ul {
    list-style: none;
    padding: 0;
}

.gutachten-text li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}



    /* Check-Symbol */

    .gutachten-text li::before {
        content: "✓";
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: rgba(255,255,255,0.95);
        color: #1b4f7a;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 2px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }



/* rechte Visual-Box */

.gutachten-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}



.gutachten-icon-box {
    padding: 32px;
    border-radius: 20px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}



/* Kreis */

.gutachten-icon-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff, #cfe8ff);
    color: #0e2c47;
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}



/* Liniengrafik */

.gutachten-lines span {
    display: block;
    height: 8px;
    border-radius: 100px;
    margin-bottom: 10px;
    background: rgba(255,255,255,0.8);
}

    .gutachten-lines span:nth-child(2) {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .gutachten-lines span:nth-child(3) {
        width: 60%;
        margin-left: auto;
        margin-right: auto;
    }



/* Responsive */

@media (max-width: 900px) {

    .gutachten-box {
        grid-template-columns: 1fr;
        padding: 36px;
    }
}

/* Kontakt */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.contact-box {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid #e3e6ea;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    padding: 30px;
}

    .contact-box h3 {
        color: var(--primary);
        margin-bottom: 18px;
    }

    .contact-box p {
        margin-bottom: 10px;
        color: var(--text);
    }

/* Google Maps */

.contact-map {
    margin-top: 24px;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

    .contact-map iframe {
        width: 100%;
        height: 320px;
        border: 0;
        display: block;
    }

/* Formular */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        padding: 14px 16px;
        border-radius: 8px;
        border: 1px solid #d8dde3;
        background: #f8fafc;
        font-size: 15px;
        font-family: inherit;
        transition: all 0.2s ease;
    }

        .contact-form input:focus,
        .contact-form textarea:focus {
            border-color: #2c5f8c;
            background: #ffffff;
            outline: none;
            box-shadow: 0 0 0 3px rgba(44,95,140,0.08);
        }

    .contact-form textarea {
        min-height: 160px;
        resize: vertical;
    }

/* Checkbox */

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 4px;
}

    .checkbox input {
        width: 18px;
        height: 18px;
        margin-top: 3px;
        flex-shrink: 0;
        accent-color: #2c5f8c;
        cursor: pointer;
    }

    .checkbox label {
        cursor: pointer;
        color: #4b5563;
    }

/* Senden Button */

.contact-form button,
.btn-primary {
    display: inline-block;
    width: 100%;
    margin-top: 10px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #ffffff;
    background: #2c5f8c;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .contact-form button:hover,
    .btn-primary:hover {
        background: #214c70;
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    }

/* Rechtliches */

.legal-page {
    max-width: 900px;
}

    .legal-page h1 {
        font-size: 2.4rem;
        color: var(--primary);
        margin-bottom: 30px;
    }

    .legal-page h2 {
        font-size: 1.2rem;
        color: var(--primary);
        margin-top: 32px;
        margin-bottom: 10px;
    }

    .legal-page p,
    .legal-page li {
        color: var(--text);
        line-height: 1.7;
    }

    .legal-page ul {
        margin: 10px 0 14px 22px;
    }

/* Footer */

.site-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.88);
    padding: 24px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

    .footer-links a {
        color: var(--white);
    }

        .footer-links a:hover {
            color: #d7e8f7;
        }

/* Responsive */

@media (max-width: 1100px) {
    .services-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-text {
        margin-right: 30px;
    }
}

@media (max-width: 900px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 16px 0;
        min-height: auto;
    }

    .main-nav ul {
        flex-wrap: wrap;
        gap: 14px 18px;
    }

    .intro-boxes,
    .contact-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        min-height: 560px;
    }

    .hero-text {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 2.9rem;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 65px 0;
    }

    .logo img {
        height: 56px;
    }

    .main-nav ul {
        gap: 12px 14px;
    }

    .main-nav a {
        font-size: 0.94rem;
    }

    .nav-button {
        padding: 10px 14px;
    }

    .hero {
        min-height: 500px;
        background: linear-gradient( 180deg, rgba(13, 43, 71, 0.84) 0%, rgba(18, 59, 99, 0.72) 100% ), url("images/hero-it.jpg");
        background-size: cover;
        background-position: center;
    }

    .hero-text {
        padding: 70px 0 60px;
    }

    .hero h1 {
        font-size: 2.15rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .service-card img {
        height: 210px;
    }

    .contact-map iframe {
        height: 280px;
    }

    .contact-box {
        padding: 22px;
    }
}

@media (max-width: 900px) {
    .gutachten-box {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .gutachten-text h2 {
        font-size: 1.9rem;
    }

    .gutachten-icon-box {
        max-width: 100%;
        min-height: 220px;
    }
}
