.static-page .header {
    background-color: var(--body-color);
    position: fixed;
    top: 0;
    transition: none;
}

.static-page .nav__logo {
    top: 0.75rem;
    left: 1.5rem;
    transform: scale(1);
}

.static-section {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 4rem;
    color: var(--text-color);
}

.static-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--container-color);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.static-title {
    font-family: 'Playfair Display', serif;
    font-size: var(--h1-font-size);
    color: var(--title-color);
    text-align: center;
    margin-bottom: 1rem;
}

.static-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: var(--normal-font-size);
    color: var(--text-color-light);
}

.static-section h2 {
    font-family: 'Playfair Display', serif;
    color: var(--title-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.static-section p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Contact Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-family: 'Poppins', sans-serif;
    color: var(--title-color);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
    background-color: var(--body-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    color: var(--text-color);
    font-size: var(--normal-font-size);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--first-color);
    box-shadow: 0 0 10px var(--first-color-light);
}

.form-button {
    background-color: var(--first-color);
    border: none;
    border-radius: 10px;
    padding: 1rem;
    color: black;
    font-size: var(--normal-font-size);
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.form-button:hover {
    background-color: var(--first-color-alt);
    transform: translateY(-2px);
}

.form-status {
    min-height: 1.2em;
    margin: 0.75rem 0 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
}

/* Contact Alternatives */
.contact-alternatives {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.contact-alternatives p {
    margin-bottom: 1.5rem;
    color: var(--text-color-light);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: var(--normal-font-size);
    transition: color 0.3s;
}

.contact-link i {
    font-size: 1.2rem;
    color: var(--first-color);
}

.contact-link:hover {
    color: var(--first-color);
}


body.static-page {
    background-color: var(--body-color);
    color: var(--text-color);
    font-family: var(--body-font);
}

/*
 * NOTE: an earlier iteration of this file center-aligned `.static-section`
 * via flex + `text-align: center`, treating it as a hero panel. That made
 * the long-form policy/impressum text unreadable — long German GDPR
 * paragraphs centered at narrow phone widths read like ransom notes.
 * The static-section base rules higher in this file (left-aligned, 800px
 * container, 2rem padding) are the authoritative layout. The block below
 * only carries forward the headings/links/btn styling that the hero-style
 * block contributed, plus mobile-first overrides so the text reflows
 * cleanly on phones.
 */

.static-section h3 {
    font-family: 'Playfair Display', serif;
    color: var(--title-color);
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.static-section a {
    color: var(--first-color);
    text-decoration: underline;
    transition: color 0.3s;
    /* GDPR pages link to long URLs (Google CDPA, Vertex AI terms). Without
       overflow-wrap they punch out of the container on narrow screens. */
    overflow-wrap: anywhere;
    word-break: break-word;
}

.static-section a:hover {
    color: var(--first-color-alt);
}

.static-section ul,
.static-section ol {
    margin: 0 0 1.25rem 1.25rem;
    line-height: 1.7;
}

.static-section li {
    margin-bottom: 0.4rem;
}

.btn {
    display: inline-block;
    background-color: var(--first-color);
    color: black;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 1.5rem;
    transition: background-color 0.3s, transform 0.3s;
}

.btn:hover {
    background-color: var(--first-color-alt);
    transform: translateY(-2px);
}

.static-page .footer {
    position: relative;
    bottom: 0;
    width: 100%;
}

/* ── Mobile (≤ 768px) ─────────────────────────────────────────────────────
   The default 2rem padding + 4rem top padding crowds the viewport on
   phones; the fixed header sits ~70px tall so we still need clearance for
   it but nowhere near 4rem. Container shrinks edge-to-edge with 1rem of
   breathing room and a softer 14px corner so it doesn't look like a
   floating card on a 360px-wide screen. */
@media (max-width: 768px) {
    .static-section {
        padding-top: calc(var(--header-height) + 1.5rem);
        padding-bottom: 2.5rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .static-container {
        padding: 1.5rem 1.25rem;
        border-radius: 14px;
    }

    .static-title {
        font-size: 1.6rem;
        margin-bottom: 1.25rem;
    }

    .static-section h2 {
        font-size: 1.15rem;
        margin-top: 1.5rem;
    }

    .static-section h3 {
        font-size: 1rem;
        margin-top: 1rem;
    }

    .static-section p {
        line-height: 1.7;
        margin-bottom: 1rem;
        /* Mixed-language policy text (DE + EN) on narrow widths needs
           overflow-wrap so long compound words and URLs don't overflow. */
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}

/* ── Small phones (≤ 380px) ──────────────────────────────────────────────
   Tight padding for iPhone SE-class widths so the text body claims the
   full available column. */
@media (max-width: 380px) {
    .static-section {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .static-container {
        padding: 1.25rem 1rem;
    }

    .static-title {
        font-size: 1.4rem;
    }
}
