/* ============================================================
   Farben & Grundwerte
   Aus dem Logo ermittelt: Blau ~#427aae, Silber/Grau ~#8a8a8a.
   Zum Anpassen des gesamten Seitenstils reichen die Werte hier.
   ============================================================ */
:root {
    --color-primary: #2f6690;
    --color-primary-light: #427aae;
    --color-primary-dark: #1f4a6b;
    --color-silver: #8a8a8a;
    --color-silver-light: #d7d9db;
    --color-bg: #ffffff;
    --color-bg-alt: #f4f6f8;
    --color-text: #2b2f33;
    --color-text-muted: #5a5f63;
    --color-border: #dfe2e5;
    --color-success-bg: #e7f3ea;
    --color-success-text: #1f6d3a;
    --color-error-bg: #fbeaea;
    --color-error-text: #a02525;

    --font-base: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --container-width: 1100px;
    --radius: 6px;
    --shadow: 0 2px 10px rgba(31, 74, 107, 0.08);
}

/* ============================================================
   Reset & Grundlagen
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-base);
    color: var(--color-text);
    background: var(--color-bg-alt);
    line-height: 1.6;
}

h1, h2, h3 { line-height: 1.25; color: var(--color-primary-dark); }
h1 { font-size: 2.1rem; margin: 0 0 0.6em; }
h2 { font-size: 1.6rem; margin: 0 0 0.6em; }
h3 { font-size: 1.15rem; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }

a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-light); text-decoration: underline; }

ul { padding-left: 0; list-style: none; }

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   Header & Navigation
   ============================================================ */
.site-header {
    background: var(--color-primary-dark);
    position: sticky;
    top: 0;
    z-index: 10;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.site-header__logo {
    height: 84px;
    width: auto;
    display: block;
}

.site-nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius);
    cursor: pointer;
}

.site-nav__toggle span {
    display: block;
    height: 2px;
    background: #ffffff;
    margin: 0 auto;
    width: 22px;
}

.site-nav__list {
    display: flex;
    gap: 1.75rem;
    margin: 0;
}

.site-nav__list a {
    color: #ffffff;
    font-weight: 700;
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
}

.site-nav__list a:hover,
.site-nav__list a.is-active {
    color: var(--color-silver-light);
    border-bottom-color: #ffffff;
    text-decoration: none;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
    background: var(--color-bg);
    padding: 3.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

.hero__inner {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.hero__content { flex: 1 1 420px; }

.hero__tagline {
    display: inline-block;
    color: var(--color-primary-light);
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 0.5rem;
}

.hero__lead {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 60ch;
}

.hero__visual {
    flex: 1 1 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 220px;
}

.hero__logo {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: block;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.btn:hover {
    background: var(--color-primary-light);
    color: #fff;
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-bg-alt);
    color: var(--color-primary-dark);
}

/* ============================================================
   Sections
   ============================================================ */
.section {
    padding: 3rem 0;
}

.section--alt {
    background: var(--color-bg);
}

.section__intro {
    max-width: 70ch;
    color: var(--color-text-muted);
}

.warum__inner {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.warum__content { flex: 1 1 420px; }

.warum__visual {
    flex: 1 1 220px;
    display: flex;
    justify-content: center;
}

.warum__portrait {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.icon-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.icon-list__item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    box-shadow: var(--shadow);
}

.icon-list--plain .icon-list__item {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0.4rem 0;
}

.icon-list--tinted .icon-list__item {
    background: var(--color-bg-alt);
}

.icon-list__icon {
    flex: none;
    width: 26px;
    height: 26px;
    color: var(--color-primary-light);
}

.icon-list__icon svg { width: 100%; height: 100%; }

.divider-beam {
    width: 240px;
    height: 120px;
    color: var(--color-silver);
    margin: 0 auto 1.5rem;
}

.divider-beam svg { width: 100%; height: 100%; }

.cta-banner {
    text-align: center;
    background: var(--color-primary-dark);
    color: #fff;
    padding: 3rem 1.25rem;
    border-radius: var(--radius);
}

.cta-banner h2 { color: #fff; }
.cta-banner p { color: #dce6ee; }

.cta-banner__btn {
    background: #fff;
    color: var(--color-primary-dark);
}

.cta-banner__btn:hover {
    background: var(--color-bg-alt);
    color: var(--color-primary-dark);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    background: var(--color-primary-dark);
    margin-top: 3rem;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2.5rem 1.25rem;
}

.site-footer h2 { font-size: 1.2rem; color: #ffffff; }
.site-footer h3 { font-size: 1rem; color: var(--color-silver-light); }
.site-footer p { color: #ffffff; }
.site-footer a { color: #ffffff; }
.site-footer a:hover { color: var(--color-silver-light); }

.site-footer__links li { margin-bottom: 0.4rem; }

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1rem 1.25rem;
    font-size: 0.85rem;
    color: var(--color-silver-light);
}

/* ============================================================
   Cookie-Hinweis
   ============================================================ */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background: var(--color-primary-dark);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.18);
}

.cookie-banner__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
}

.cookie-banner p {
    margin: 0;
    color: #ffffff;
    max-width: 70ch;
    font-size: 0.9rem;
}

.cookie-banner a {
    color: var(--color-silver-light);
}

.cookie-banner__btn {
    flex: none;
}

/* ============================================================
   Formular (Kontaktseite)
   ============================================================ */
.form-grid {
    display: grid;
    gap: 1.1rem;
    max-width: 560px;
}

.form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font: inherit;
    color: var(--color-text);
    background: var(--color-bg);
}

.form-field input:focus,
.form-field textarea:focus {
    outline: 2px solid var(--color-primary-light);
    outline-offset: 1px;
}

.form-field--captcha .form-field__question {
    display: inline-block;
    font-weight: 700;
    background: var(--color-bg-alt);
    border: 1px dashed var(--color-silver);
    border-radius: var(--radius);
    padding: 0.5rem 0.85rem;
    margin-bottom: 0.5rem;
}

/* Honeypot: für Menschen unsichtbar, für einfache Bots nicht erkennbar */
.form-field--honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-message {
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    max-width: 560px;
}

.form-message--success {
    background: var(--color-success-bg);
    color: var(--color-success-text);
}

.form-message--error {
    background: var(--color-error-bg);
    color: var(--color-error-text);
}

.form-message ul { margin: 0.4em 0 0; padding-left: 1.2em; list-style: disc; }

/* ============================================================
   E-Mail-Verschleierung
   ============================================================ */
.obfuscated-email__reveal {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
    text-decoration: underline;
    text-decoration-style: dotted;
    cursor: pointer;
}

.obfuscated-email__reveal:hover,
.obfuscated-email__reveal:focus-visible {
    text-decoration-style: solid;
}

/* ============================================================
   Rechtstexte (Impressum/Datenschutz)
   ============================================================ */
.legal-content h2 { margin-top: 1.8em; }
.legal-content p, .legal-content li { color: var(--color-text-muted); }
.legal-content ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 760px) {
    .site-nav__toggle { display: flex; }

    .site-nav__list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-primary-dark);
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        flex-direction: column;
        gap: 0;
        display: none;
        padding: 0.5rem 1.25rem 1rem;
    }

    .site-nav__list.is-open { display: flex; }

    .site-nav__list a { display: block; padding: 0.6rem 0; }
}
