:root {
    /* Farben auf Basis des Logos */
    --blue: #00548a;
    --blue-dark: #00385c;
    --red: #e4262a;
    --red-dark: #b31c20;

    --cream: #f7f7f7;
    --white: #ffffff;
    --text: #1f2933;
    --muted: #6b7280;
    --border: #d1d5db;
    --shadow: 0 18px 50px rgba(15, 23, 42, 0.15);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(10px);
}

.navigation {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    display: block;
    height: 56px;
    width: auto;
}

nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

nav a {
    color: var(--blue);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.nav-button {
    padding: 10px 15px;
    border: 1px solid var(--blue);
}

.hero {
    min-height: 640px;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(0, 56, 92, 0.92) 0%, rgba(0, 56, 92, 0.8) 52%, rgba(0, 56, 92, 0.45) 100%),
        url("assets/hero-handwerk.jpg") center / cover no-repeat,
        var(--blue);
}

.hero-content {
    padding: 90px 0;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: var(--red);
}

h1,
h2,
h3 {
    margin-top: 0;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.1;
}

.hero h1 {
    max-width: 780px;
    margin-bottom: 24px;
    font-size: clamp(44px, 6vw, 78px);
}

.hero-text {
    max-width: 600px;
    margin-bottom: 24px;
    font-size: 20px;
}

.hero-accent-line {
    width: 120px;
    height: 4px;
    margin-bottom: 28px;
    background: var(--red);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    display: inline-block;
    padding: 14px 20px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s ease;
}

.button-primary {
    color: var(--white);
    background: var(--red);
}

.button-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
}

.button-secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.7);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.status-section {
    background: var(--cream);
}

.status-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px 0;
}

.status-box p {
    margin: 0;
}

.status-dot {
    width: 11px;
    height: 11px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--red);
}

.section {
    padding: 100px 0;
}

.section h2 {
    max-width: 680px;
    color: var(--blue-dark);
    font-size: clamp(34px, 4vw, 52px);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 52px;
}

.card {
    padding: 32px;
    border: 1px solid var(--border);
    background: var(--white);
}

.card-icon {
    margin-bottom: 30px;
    color: var(--red);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.card h3 {
    color: var(--blue-dark);
    font-size: 27px;
}

.card p {
    margin-bottom: 0;
    color: var(--muted);
}

.section-dark {
    color: var(--white);
    background: var(--blue);
}

.section-dark h2 {
    color: var(--white);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
}

.text-content {
    color: #d7e0e5;
    font-size: 18px;
}

.text-content p:first-child {
    margin-top: 0;
}

.contact-section {
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 90px;
}

.contact-intro {
    max-width: 390px;
    color: var(--muted);
    font-size: 18px;
}

.form-status {
    margin-top: 16px;
    margin-bottom: 24px;
    padding: 12px 14px;
    border-radius: 4px;
    font-size: 14px;
}

.form-status-success {
    border: 1px solid #16a34a;
    background: #ecfdf3;
    color: #166534;
}

.form-status-error {
    border: 1px solid #b91c1c;
    background: #fef2f2;
    color: #991b1b;
}

.contact-details {
    margin-top: 38px;
}

.contact-details p {
    margin-bottom: 24px;
}

.contact-details strong {
    color: var(--blue-dark);
}

.contact-details a {
    color: var(--red-dark);
    font-weight: 700;
}

.contact-form {
    padding: 36px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.form-row {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 7px;
    color: var(--blue-dark);
    font-size: 14px;
    font-weight: 800;
}

input,
textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-radius: 0;
    color: var(--text);
    font: inherit;
}

input:focus,
textarea:focus {
    outline: 2px solid rgba(228, 38, 42, 0.28);
    border-color: var(--red);
}

textarea {
    resize: vertical;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 24px 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
}

.checkbox-label input {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex: 0 0 auto;
}

.checkbox-label a {
    color: var(--red-dark);
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.footer {
    padding: 25px 0;
    color: #e5e7eb;
    background: #0b1722;
    font-size: 13px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer p {
    margin: 0;
}

.footer a {
    color: var(--white);
}

.legal-page {
    padding: 90px 0;
}

.legal-content {
    max-width: 840px;
}

.legal-content h1 {
    color: var(--blue-dark);
    font-size: 48px;
}

.legal-content h2 {
    margin-top: 38px;
    margin-bottom: 10px;
    color: var(--blue-dark);
    font-size: 25px;
}

.legal-content hr {
    margin: 65px 0;
    border: 0;
    border-top: 1px solid var(--border);
}

.back-link {
    color: var(--red-dark);
    font-weight: 800;
}

@media (max-width: 800px) {
    nav a:not(.nav-button) {
        display: none;
    }

    .hero {
        min-height: 560px;
    }

    .section {
        padding: 70px 0;
    }

    .cards,
    .split-layout,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .split-layout,
    .contact-grid {
        gap: 38px;
    }

    .contact-form {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(100% - 30px, 1120px);
    }

    .navigation {
        min-height: 68px;
    }

    .logo-image {
        height: 46px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-text {
        font-size: 17px;
    }

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