:root {
    --color-text: #414648;
    --color-accent: #F0AC35;
    --color-background: #f7f7f5;
    --color-surface: #ffffff;
    --color-border: #d9dcdd;
    --color-muted: #6f7679;
    --shadow-soft: 0 18px 45px rgba(65, 70, 72, 0.08);
    --radius-large: 22px;
    --radius-small: 10px;
    --content-width: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--color-text);
    background:
        linear-gradient(180deg, rgba(240, 172, 53, 0.06) 0, transparent 270px),
        var(--color-background);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-underline-offset: 0.2em;
}

a:hover {
    color: var(--color-accent);
}

button,
input,
textarea {
    font: inherit;
}

.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    width: min(calc(100% - 40px), var(--content-width));
    margin: 0 auto;
    padding: 34px 0 10px;
    display: flex;
    justify-content: flex-end;
}

.brand-wrap {
    width: clamp(180px, 22vw, 270px);
}

.brand-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
}

main {
    flex: 1;
}

.intro {
    width: min(calc(100% - 40px), var(--content-width));
    margin: 0 auto;
    padding: clamp(64px, 9vw, 118px) 0 clamp(54px, 7vw, 86px);
}

.intro-copy {
    max-width: 760px;
}

.eyebrow,
.section-label {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-accent);
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 24px;
    font-size: clamp(2.3rem, 5.2vw, 4.75rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    font-weight: 650;
}

.intro p {
    max-width: 680px;
    margin-bottom: 12px;
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: var(--color-muted);
}

.contact-section {
    width: min(calc(100% - 40px), var(--content-width));
    margin: 0 auto;
    padding-bottom: clamp(72px, 9vw, 118px);
}

.contact-card {
    background: var(--color-surface);
    border: 1px solid rgba(65, 70, 72, 0.08);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
    padding: clamp(28px, 5vw, 56px);
}

.contact-heading {
    margin-bottom: 32px;
}

.contact-heading h2 {
    margin-bottom: 0;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1.15;
}

.contact-form {
    display: grid;
    gap: 22px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-weight: 600;
    font-size: 0.95rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-small);
    background: #fff;
    color: var(--color-text);
    padding: 14px 15px;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-field textarea {
    min-height: 180px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(240, 172, 53, 0.14);
}

.consent-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    font-size: 0.92rem;
    color: var(--color-muted);
}

.consent-row input {
    margin-top: 0.35rem;
    accent-color: var(--color-accent);
}

.form-actions {
    display: flex;
    justify-content: flex-start;
}

button {
    border: 0;
    border-radius: 999px;
    padding: 14px 24px;
    background: var(--color-accent);
    color: var(--color-text);
    font-weight: 700;
    cursor: pointer;
    transition: transform 150ms ease, box-shadow 150ms ease;
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(240, 172, 53, 0.25);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(240, 172, 53, 0.45);
    outline-offset: 3px;
}

.site-footer {
    border-top: 1px solid rgba(65, 70, 72, 0.1);
    background: rgba(255, 255, 255, 0.45);
}

.footer-inner {
    width: min(calc(100% - 40px), var(--content-width));
    margin: 0 auto;
    padding: 28px 0 34px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-end;
    font-size: 0.92rem;
}

.footer-inner > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: var(--color-muted);
}

.footer-inner strong {
    color: var(--color-text);
}

.footer-inner nav {
    display: flex;
    gap: 18px;
}

@media (max-width: 720px) {
    .site-header {
        justify-content: flex-start;
        padding-top: 24px;
    }

    .brand-wrap {
        width: min(230px, 62vw);
    }

    .intro {
        padding-top: 52px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* Technisches Honeypot-Feld für einfachen Spam-Schutz. */
.form-field-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.text-link {
    font-weight: 600;
}
