/* ==========================================================================
   EDIGOODS – Global reset & variables
   ========================================================================== */
:root {
    --purple-dark: #2a1a5e;
    --purple: #4b2e9e;
    --green: #6bbf3f;
    --green-dark: #4a9628;
    --ink: #1a1a2e;
    --grey: #5c5c70;
    --bg-light: #ffffff;
    --bg-soft: #f7f6fb;
    --footer-navy: #0a1145;
    --radius: 10px;
    --max-width: 1240px;
    --transition: 0.25s ease;
    --nav-height: 88px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Poppins', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    background: #ffffff;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
img {
    max-width: 100%;
    display: block;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--purple-dark);
    color: #fff;
}
.btn-primary:hover {
    background: var(--purple);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(75, 46, 158, 0.35);
}
.btn-secondary {
    background: #fff;
    color: var(--ink);
    border: 1px solid #d8d6e6;
}
.btn-secondary:hover {
    border-color: var(--purple);
    color: var(--purple);
    transform: translateY(-2px);
}
.btn-icon {
    flex-shrink: 0;
}
/* ==========================================================================
   Navigation — fully transparent by default (over the hero image),
   becomes solid white only after scrolling (script.js toggles .scrolled)
   ========================================================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
    z-index: 1000;
}
nav.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 2px 20px rgba(26, 20, 60, 0.1);
}
.logo {
    display: flex;
    align-items: center;
}
.logo-img {
    height: 52px;
    width: auto;
    display: block;
}
.footer-brand .logo-img {
    height: 42px;
    width: auto;
}
.footer-logo-badge {
    display: inline-flex;
    align-items: center;
    background: #e6f6f5;
    padding: 10px 16px;
    border-radius: 10px;
}
.nav-links {
    display: flex;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}
.nav-links a {
    position: relative;
    color: var(--ink);
    transition: color var(--transition);
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--green);
    transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--purple-dark);
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.language-switcher {
    display: flex;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--grey);
}
.language-switcher a {
    transition: color var(--transition);
}
.language-switcher a:hover {
    color: var(--purple-dark);
}
.language-switcher a.active {
    color: var(--green-dark);
    font-weight: 700;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--ink);
}
/* ==========================================================================
   Hero
   ========================================================================== */
.hero-wrap {
    position: relative;
    width: 100%;
    min-height: 600px;
    background-image: url('../images/hero-bg-clean.webp');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-color: #e2edfc;
}
.hero {
    position: relative;
    z-index: 2;
    padding: calc(var(--nav-height) + 24px) 5% 90px;
}
.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
}
.eyebrow {
    color: #a99bdf;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.hero h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--purple-dark);
    margin-bottom: 20px;
}
.highlight-green {
    color: var(--green-dark);
}
.subheading {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 16px;
}
.hero-text {
    color: var(--grey);
    font-size: 1rem;
    max-width: 480px;
    margin-bottom: 32px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: var(--purple);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color var(--transition);
}
.hero-contact-link svg {
    flex-shrink: 0;
}
.hero-contact-link:hover {
    color: var(--purple-dark);
}
/* ==========================================================================
   Features — floats on the seam between hero and footer.
   .features-band is a zero-height anchor placed exactly on that seam,
   so hero-wrap and footer always touch with no gap, at any card height.
   ========================================================================== */
.features-band {
    position: relative;
    height: 0;
    z-index: 5;
}
.features {
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1160px;
    background: #e6f6f5;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(26, 20, 60, 0.2);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding: 44px 4%;
}
.feature {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(75, 46, 158, 0.08);
    color: var(--purple);
    margin-bottom: 12px;
}
.feature:nth-child(even) .feature-icon {
    background: rgba(107, 191, 63, 0.14);
    color: var(--green-dark);
}
.feature h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
}
.feature p {
    font-size: 0.9rem;
    color: var(--grey);
}
/* ==========================================================================
   Footer — starts immediately after the hero (zero gap, no white strip).
   padding-top gives the floating features card room before footer content.
   ========================================================================== */
footer {
    position: relative;
    background-image: url('../images/footer-bg.webp');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-color: var(--footer-navy);
    color: #d9d5f0;
    padding: 210px 5% 0;
}
.footer-top {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-brand p {
    margin: 16px 0;
    font-size: 0.9rem;
    color: #c3bce6;
    max-width: 280px;
}
.footer-col h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--green);
    display: inline-block;
}
.footer-col ul li {
    margin-bottom: 10px;
    font-size: 0.9rem;
}
.footer-col ul li a {
    color: #c3bce6;
    transition: color var(--transition);
}
.footer-col ul li a:hover {
    color: #fff;
}
.contact-list li {
    color: #c3bce6;
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-list li svg {
    flex-shrink: 0;
    color: var(--green);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
    color: #a89fd6;
}
/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    footer {
        padding-top: 360px;
    }
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 1200px) {
    .nav-links {
        display: none;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        max-height: calc(100vh - var(--nav-height));
        overflow-y: auto;
        gap: 20px;
        padding: 24px 5% 32px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        box-shadow: 0 12px 24px rgba(26, 20, 60, 0.15);
        z-index: 999;
    }

    .language-switcher {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
}
@media (max-width: 600px) {
    .hero-buttons {
        flex-direction: column;
    }
    .btn {
        justify-content: center;
    }
    .features {
        grid-template-columns: 1fr;
        top: -40px;
        border-radius: 14px;
        padding: 32px 6%;
    }
    footer {
        padding-top: 720px;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Inner pages (Global Sourcing, Business in Germany, etc.)
   Shared building blocks — reuse the variables, .btn and .hero rules above.

   .gs-page-bg is ONE background layer shared by the hero and all page
   content down to the CTA (sections themselves stay transparent), so there
   is a single continuous image instead of two separately positioned
   backgrounds meeting at a seam. background-attachment: fixed sizes it to
   the viewport (background-size: cover), so it never stretches or distorts
   regardless of page height, and stays static while the page scrolls over
   it. .hero-wrap keeps its own background on index.html — it's only
   switched off here, scoped to .gs-page-bg, so the homepage is untouched.
   ========================================================================== */
.gs-page-bg {
    position: relative;
    background-image: url('../images/hero-bg-clean.webp');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: #e9f1fb;
}

.gs-page-bg .hero-wrap {
    background: none;
}

/* ==========================================================================
   Mobile fix — hero-bg-clean.png is a wide (1186x538) banner whose green/
   purple wave accent sits toward its right edge. background-size:cover
   crops to a narrow, centered vertical slice on narrow viewports, which
   pulls that accent into view and reads as an out-of-place dark tone.
   Shifting the horizontal focal point left keeps the calm light-blue/white
   portion in frame instead. Desktop (.hero-wrap / .gs-page-bg above) is
   untouched — this only applies below the existing 600px breakpoint.
   background-attachment also switches to scroll here only, since "fixed"
   is resized against the viewport height, which mobile browsers report
   inconsistently as the address bar shows/hides, making the crop drift.
   ========================================================================== */
@media (max-width: 600px) {
    .hero-wrap {
        background-position: 20% top;
    }
    .gs-page-bg {
        background-position: 20% top;
        background-attachment: scroll;
    }
}

.page-section {
    padding: 56px 5%;
}

.section-inner {
    max-width: 1160px;
    margin: 0 auto;
}

.section-header {
    max-width: 720px;
    margin: 0 auto 32px;
    text-align: center;
}

.section-header h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--purple-dark);
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.75), 0 0 22px rgba(255, 255, 255, 0.55);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--ink);
    font-size: 1rem;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8), 0 0 16px rgba(255, 255, 255, 0.6);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.info-card {
    background: rgba(230, 246, 245, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius);
    padding: 22px 20px;
    box-shadow: 0 10px 24px rgba(26, 20, 60, 0.1);
    transition: transform var(--transition), box-shadow var(--transition);
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(26, 20, 60, 0.16);
}

a.info-card {
    display: block;
}

.info-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(75, 46, 158, 0.12);
    color: var(--purple);
    margin-bottom: 14px;
}

.info-card:nth-child(even) .info-icon {
    background: rgba(107, 191, 63, 0.18);
    color: var(--green-dark);
}

.info-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
}

.info-card p {
    font-size: 0.9rem;
    color: var(--grey);
}

.steps-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 18px;
}

.step {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(230, 246, 245, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius);
    padding: 20px 18px;
    box-shadow: 0 10px 24px rgba(26, 20, 60, 0.1);
}

.step-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--purple-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.step-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
}

.step-body p {
    font-size: 0.9rem;
    color: var(--grey);
}

.industries-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.industry-tag {
    background: rgba(230, 246, 245, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: var(--purple-dark);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 9px 18px;
    border-radius: 999px;
}

.industries-note {
    text-align: center;
    color: var(--ink);
    font-size: 0.88rem;
    margin-top: 16px;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8), 0 0 16px rgba(255, 255, 255, 0.6);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: rgba(230, 246, 245, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius);
    padding: 2px 22px;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary h3,
.faq-item > h3 {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--ink);
}

.faq-item > h3 {
    padding: 14px 0;
}

.faq-item summary::after {
    content: '+';
    flex-shrink: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--purple);
    transition: transform var(--transition);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    color: var(--grey);
    font-size: 0.9rem;
    padding: 0 0 16px;
}

.cta-section {
    padding: 56px 5% 64px;
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--purple-dark);
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.75), 0 0 22px rgba(255, 255, 255, 0.55);
    margin-bottom: 10px;
}

.cta-section p {
    color: var(--ink);
    margin-bottom: 24px;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8), 0 0 16px rgba(255, 255, 255, 0.6);
}

@media (max-width: 600px) {
    .page-section {
        padding: 40px 6%;
    }

    .cta-section {
        padding: 40px 6% 48px;
    }
}

/* ==========================================================================
   Contact page — form + status messages. Scoped to contact.html only;
   reuses .info-card / .page-section / .btn wherever possible.
   ========================================================================== */
.contact-info-card {
    max-width: 520px;
    margin: 0 auto;
}

.contact-info-card p,
.contact-info-card address {
    margin-top: 14px;
    font-style: normal;
    color: var(--grey);
}

.contact-info-card p:first-child {
    margin-top: 0;
}

.contact-info-card strong {
    color: var(--ink);
}

.contact-form {
    background: rgba(230, 246, 245, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 10px 24px rgba(26, 20, 60, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 18px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.field--full {
    grid-column: 1 / -1;
}

.field label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
}

.required-mark {
    color: var(--purple);
}

.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
    font-family: inherit;
    font-size: 0.95rem;
    padding: 11px 14px;
    border-radius: 8px;
    border: 1px solid #d8d6e6;
    background: #ffffff;
    color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 2px solid var(--purple);
    outline-offset: 1px;
    border-color: var(--purple);
}

.field textarea {
    resize: vertical;
    min-height: 120px;
}

.field-error {
    color: #b3261e;
    font-size: 0.85rem;
    min-height: 1.1em;
}

.field-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.field-checkbox input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.field-checkbox label {
    font-size: 0.9rem;
    color: var(--ink);
    font-weight: 500;
}

.field-checkbox a {
    color: var(--purple);
    text-decoration: underline;
}

.field-checkbox a:hover {
    color: var(--purple-dark);
}

/* Honeypot field — hidden off-screen (not display:none) so it stays out of
   the tab order for real users while remaining structurally present. */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.form-status-heading {
    font-weight: 700;
    margin-bottom: 4px;
}

.form-status--sending {
    background: rgba(75, 46, 158, 0.12);
    color: var(--purple-dark);
}

.form-status--error {
    background: rgba(179, 38, 30, 0.1);
    color: #b3261e;
}

.form-success {
    text-align: center;
    padding: 24px 4px;
}

.form-success h3 {
    color: var(--purple-dark);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.form-success p {
    color: var(--grey);
}

.turnstile-wrap {
    margin-bottom: 20px;
}

@media (max-width: 700px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Impressum page — compact legal information cards. Reuses .info-card /
   .info-grid / .cta-section / .btn / .hero-contact-link wherever possible.
   ========================================================================== */
.legal-card h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
}

.legal-card p,
.legal-card address {
    color: var(--grey);
    font-style: normal;
}

.legal-card a {
    color: var(--purple);
}

.legal-card a:hover {
    color: var(--purple-dark);
}

.legal-block + .legal-block {
    margin-top: 20px;
}

.legal-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* ==========================================================================
   Privacy Policy page — long-form legal content. Reuses .info-card /
   .legal-card / .legal-actions / .btn from the Impressum page styles above.
   ========================================================================== */
.hero-updated {
    color: var(--grey);
    font-size: 0.85rem;
    margin-top: 10px;
}

.legal-page-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 820px;
    margin: 0 auto;
}

.legal-card p,
.legal-card ul {
    margin-top: 12px;
}

.legal-card > h2 + p,
.legal-card > h2 + ul {
    margin-top: 6px;
}

.legal-card ul {
    list-style: disc;
    padding-left: 22px;
}

.legal-card li {
    color: var(--grey);
    margin-bottom: 4px;
}

.legal-card a[target="_blank"] {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Cookie Policy page — technology overview table. Scoped to .legal-table
   only; scrolls horizontally within its own wrapper on narrow viewports so
   the page itself never gains horizontal scroll.
   ========================================================================== */
.legal-table-wrap {
    overflow-x: auto;
    margin-top: 12px;
    -webkit-overflow-scrolling: touch;
}

.legal-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.legal-table th,
.legal-table td {
    text-align: left;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(26, 20, 60, 0.12);
    vertical-align: top;
}

.legal-table th {
    color: var(--purple-dark);
    font-weight: 700;
    white-space: nowrap;
}

.legal-table td {
    color: var(--grey);
}

.legal-card code {
    background: rgba(26, 20, 60, 0.08);
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 0.9em;
}

/* ==========================================================================
   Legal-page CTA button text color fix. The generic ".legal-card a" rule
   (higher specificity than ".btn-primary") was overriding the button's
   white text with purple. Scoped to the button inside .legal-actions
   within .legal-card so it only affects the Contact EDIGOODS button on
   Privacy Policy / Cookie Policy — Impressum's CTA sits outside .legal-card
   and is unaffected.
   ========================================================================== */
.legal-card .legal-actions .btn-primary,
.legal-card .legal-actions .btn-primary:link,
.legal-card .legal-actions .btn-primary:visited,
.legal-card .legal-actions .btn-primary:hover,
.legal-card .legal-actions .btn-primary:focus,
.legal-card .legal-actions .btn-primary:active {
    color: #fff;
}

/* ==========================================================================
   Mobile language switcher. The desktop ".language-switcher" (in .nav-right)
   is hidden below 1200px along with the rest of .nav-right's siblings'
   context, so a second, mobile-only switcher is appended as the last item
   inside .nav-links — it only becomes visible inside the open mobile menu.
   Uses its own class to avoid the existing "@media (max-width:1200px)
   .language-switcher { display:none }" rule.
   ========================================================================== */
.nav-lang-mobile {
    display: none;
}
@media (max-width: 1200px) {
    .nav-lang-mobile {
        display: block;
        margin-top: 4px;
        padding-top: 20px;
        border-top: 1px solid rgba(26, 20, 60, 0.1);
    }
    .language-switcher-mobile {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--grey);
    }
    .language-switcher-mobile a {
        transition: color var(--transition);
    }
    .language-switcher-mobile a:hover {
        color: var(--purple-dark);
    }
    .language-switcher-mobile a.active {
        color: var(--green-dark);
        font-weight: 700;
    }
}

/* ==========================================================================
   Impressum translation notice. Shown on the EN/RU/LV/ZH Impressum pages
   only, informing readers that the German version is legally binding.
   ========================================================================== */
.legal-translation-notice {
    max-width: 820px;
    margin: 0 auto 28px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(75, 46, 158, 0.25);
    border-radius: var(--radius);
    color: var(--ink);
    font-size: 0.92rem;
    text-align: center;
}
.legal-translation-notice a {
    color: var(--purple);
    font-weight: 600;
}
.legal-translation-notice a:hover {
    color: var(--purple-dark);
}