/* CodeJAR landing — global styles */
:root {
    --bg: #ffffff;
    --bg-alt: #ecf0f1;
    --bg-card: #ffffff;
    --border: #dfe4ea;
    --text: #2c3e50;
    --text-muted: #7f8c8d;
    --accent: #1abc9c;
    --accent-2: #8e44ad;
    --accent-dark: #16a085;
    --link: #16a085;
    --danger: #e74c3c;
    --radius: 12px;
    --max: 1120px;
    --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

img { max-width: 100%; height: auto; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--accent); color: #fff;
    padding: 8px 16px; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

#dev-warning-banner {
    background: #ca8a04; color: #000; text-align: center;
    padding: 10px 16px; font-weight: 600; font-size: 0.9rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

@media (max-width: 720px) {
    #dev-warning-banner {
        font-size: 0.72rem; padding: 8px 12px;
        white-space: normal; line-height: 1.3;
    }
}

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.header-container {
    max-width: var(--max); margin: 0 auto; padding: 12px 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo {
    display: flex; align-items: center; gap: 10px;
    font-weight: 800; font-size: 1.3rem; color: var(--text);
    font-family: var(--mono);
}
.logo:hover { text-decoration: none; }
.logo .logo-mark {
    width: 34px; height: 34px; display: block;
}
.logo .logo-accent { color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a.nav-link {
    color: var(--text-muted); font-weight: 500; font-size: 0.95rem;
}
.main-nav a.nav-link:hover { color: var(--text); text-decoration: none; }

.lang-toggle { display: flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.lang-toggle button {
    background: transparent; border: none; color: var(--text-muted);
    padding: 5px 12px; cursor: pointer; font-weight: 700; font-size: 0.8rem;
}
.lang-toggle button.active { background: var(--accent); color: #fff; }

.menu-toggle {
    display: none; background: none; border: none; color: var(--text);
    cursor: pointer; padding: 4px;
}

.btn {
    display: inline-block; padding: 12px 28px; border-radius: 10px;
    font-weight: 700; font-size: 1rem; border: none; cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 20px rgba(26, 188, 156, 0.3);
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline {
    background: transparent; color: var(--accent-2);
    border: 1.5px solid var(--accent-2);
}
.btn-outline:hover { background: var(--accent-2); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 0.9rem; }

/* ---------- Hero ---------- */
.hero {
    padding: 90px 0 70px;
    background:
        radial-gradient(ellipse 60% 50% at 70% 20%, rgba(26, 188, 156, 0.10), transparent),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(142, 68, 173, 0.07), transparent);
}
.hero-grid {
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.hero h1 { font-size: 3rem; line-height: 1.15; font-weight: 800; margin-bottom: 20px; }
.hero h1 .hl { color: var(--accent); }
.hero .lead { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 32px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-perks {
    display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px;
}
.hero-perks .perk {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.84rem; color: var(--text-muted);
}
.hero-perks .perk::before {
    content: '✓'; color: var(--accent); font-weight: 800; flex-shrink: 0;
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 32px; }
.hero-tags .tag {
    font-family: var(--mono); font-size: 0.78rem; color: var(--accent-dark);
    background: rgba(26, 188, 156, 0.08); border: 1px solid rgba(26, 188, 156, 0.35);
    padding: 4px 12px; border-radius: 999px;
}

.code-window {
    background: #1c2330; border: 1px solid #2d3542;
    border-radius: var(--radius); overflow: hidden;
    box-shadow: 0 20px 60px rgba(44, 62, 80, 0.25);
}
.code-window-bar {
    display: flex; gap: 6px; padding: 10px 14px;
    background: #161b22; border-bottom: 1px solid #2d3542;
}
.code-window-bar span { width: 11px; height: 11px; border-radius: 50%; }
.code-window-bar span:nth-child(1) { background: #ff5f57; }
.code-window-bar span:nth-child(2) { background: #febc2e; }
.code-window-bar span:nth-child(3) { background: #28c840; }
.code-window pre {
    padding: 18px; font-family: var(--mono); font-size: 0.82rem;
    line-height: 1.55; overflow-x: auto; color: #e6edf3;
}
.code-window .cm { color: #6e7681; }
.code-window .kw { color: #ff7b72; }
.code-window .ty { color: #79c0ff; }
.code-window .st { color: #a5d6ff; }
.code-window .fn { color: #d2a8ff; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section.alt { background: var(--bg-alt); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head .eyebrow {
    font-family: var(--mono); color: var(--accent-dark); font-size: 0.85rem;
    text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: 10px;
}
.section-head h2 { font-size: 2.1rem; font-weight: 800; margin-bottom: 14px; }
.section-head p { color: var(--text-muted); }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 26px;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); }
.card .icon {
    width: 44px; height: 44px; border-radius: 10px; margin-bottom: 16px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(26, 188, 156, 0.12); font-size: 1.4rem;
}
.card .icon img { width: 34px; height: 34px; object-fit: contain; }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px; position: relative;
}
.step::before {
    counter-increment: step; content: counter(step);
    position: absolute; top: -14px; left: 24px;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--accent); color: #fff;
    font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.step h3 { margin: 8px 0 8px; font-size: 1.1rem; }
.step p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Pricing ---------- */
.pricing-grid {
    display: flex; gap: 28px; justify-content: center; flex-wrap: wrap;
    margin-top: 16px;
}
.pricing-card {
    max-width: 460px; margin: 0 auto; text-align: center;
    background: var(--bg-card); border: 2px solid var(--accent);
    border-radius: 16px; padding: 40px 32px; position: relative;
}
.pricing-grid .pricing-card { flex: 1 1 320px; max-width: 400px; }
.pricing-card.featured { border-color: var(--accent-2); }
.pricing-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--accent-2); color: #fff; font-weight: 800; font-size: 0.78rem;
    padding: 4px 16px; border-radius: 20px; text-transform: uppercase; letter-spacing: 1px;
}
.pricing-card .plan-name { font-family: var(--mono); color: var(--text-muted); font-size: 0.95rem; }
.pricing-card .price { font-size: 3rem; font-weight: 800; margin: 12px 0 2px; }
.pricing-card .price small { font-size: 1.1rem; color: var(--text-muted); font-weight: 500; }
.pricing-card .price-period {
    font-family: var(--mono); font-size: 0.9rem; color: var(--accent-dark);
    letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px;
}
.pricing-card .price-note { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 22px; }
.pricing-card .money-back-guarantee {
    display: flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    color: #fff; font-size: 0.82rem;
    padding: 8px 12px; border-radius: 8px; margin-bottom: 18px;
}
.pricing-card .money-back-guarantee svg { width: 18px; height: 18px; flex-shrink: 0; }
.pricing-card ul { list-style: none; text-align: left; margin: 0 auto 26px; max-width: 320px; }
.pricing-card ul li { padding: 7px 0 7px 28px; position: relative; font-size: 0.95rem; }
.pricing-card ul li::before {
    content: '✓'; position: absolute; left: 0; color: var(--accent-2); font-weight: 800;
}

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); margin-bottom: 12px; overflow: hidden;
}
.faq summary {
    padding: 18px 22px; cursor: pointer; font-weight: 600; list-style: none;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::after { content: '+'; font-size: 1.3rem; color: var(--accent); flex-shrink: 0; }
.faq details[open] summary::after { content: '−'; }
.faq details .answer { padding: 0 22px 18px; color: var(--text-muted); }

/* ---------- About / founder ---------- */
.about-grid {
    display: grid; grid-template-columns: 320px 1fr; gap: 44px;
    align-items: center; max-width: 920px; margin: 0 auto;
}
.about-photo {
    width: 100%; border-radius: var(--radius); display: block;
    border: 3px solid var(--accent); box-shadow: 0 16px 40px rgba(44, 62, 80, 0.15);
}
.about-content p { color: var(--text-muted); margin-bottom: 16px; font-size: 0.98rem; }
.about-content .about-highlight {
    color: var(--text); font-weight: 600;
    border-left: 4px solid var(--accent); padding-left: 16px;
}
.about-signature { color: var(--accent-dark); font-weight: 700; font-size: 1.05rem; }

/* ---------- Testimonials ---------- */
.testimonial { position: relative; display: flex; flex-direction: column; }
.testimonial .testimonial-quote {
    font-family: Georgia, serif; font-size: 3.6rem; line-height: 1;
    color: var(--accent); opacity: 0.3;
    position: absolute; top: 18px; left: 22px; pointer-events: none;
}
.testimonial .testimonial-text {
    padding-top: 40px; font-style: italic; font-size: 0.95rem;
    color: var(--text-muted); margin-bottom: 18px; flex: 1;
}
.testimonial .testimonial-author {
    border-top: 1px solid var(--border); padding-top: 14px;
    font-size: 0.85rem; font-weight: 600; color: var(--accent-dark);
}

/* ---------- CTA band ---------- */
.cta-band {
    text-align: center;
    background:
        radial-gradient(ellipse 50% 60% at 50% 0%, rgba(26, 188, 156, 0.14), transparent),
        var(--bg-alt);
    border-top: 1px solid var(--border);
}
.cta-band h2 { font-size: 2rem; margin-bottom: 14px; }
.cta-band p { color: var(--text-muted); margin-bottom: 28px; max-width: 520px; margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--border); padding: 40px 0 28px;
    font-size: 0.88rem; color: var(--text-muted);
}
.footer-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 28px;
}
.footer-title { color: var(--text); font-size: 1.15rem; margin-bottom: 10px; }
.footer-intro { color: var(--text-muted); margin-bottom: 18px; font-size: 0.95rem; }

.footer-form label {
    display: block; color: var(--text-muted); font-size: 0.85rem;
    font-weight: 600; margin-bottom: 6px;
}
.footer-form input,
.footer-form textarea {
    width: 100%; padding: 0.7rem 0.75rem; border: 1px solid var(--border);
    border-radius: 8px; background: var(--bg-card); color: var(--text);
    font-family: inherit; font-size: 0.95rem; margin-bottom: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.footer-form input::placeholder,
.footer-form textarea::placeholder { color: #a7b0b7; }
.footer-form input:focus,
.footer-form textarea:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.15);
}
.footer-form textarea { min-height: 100px; resize: vertical; }
.footer-form button {
    background: var(--accent); color: #fff; border: none;
    padding: 0.7rem 1.4rem; border-radius: 8px; font-weight: 700;
    font-size: 0.95rem; cursor: pointer; transition: background 0.2s;
}
.footer-form button:hover { background: var(--accent-dark); }

.form-message {
    display: none; padding: 0.75rem; border-radius: 8px;
    margin-bottom: 14px; font-size: 0.85rem; font-weight: 600;
}
.form-message.success {
    background: rgba(26, 188, 156, 0.12); color: var(--accent-dark);
    border: 1px solid var(--accent);
}
.form-message.error {
    background: #fdecea; color: #b3261e; border: 1px solid #f5c6c2;
}
.footer-info h4 {
    color: var(--text); font-size: 0.85rem; text-transform: uppercase;
    letter-spacing: 1px; margin: 20px 0 8px;
}
.footer-info h4:first-child { margin-top: 0; }
.footer-info p { color: var(--text-muted); margin-bottom: 6px; }
.footer-info a { color: var(--text-muted); }
.footer-info a:hover { color: var(--text); }
.social-links { display: flex; gap: 12px; }
.social-links a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--bg-card); border: 1px solid var(--border);
    color: var(--text-muted); transition: color 0.2s, border-color 0.2s;
}
.social-links a:hover { color: var(--accent); border-color: var(--accent); }

.footer-payment { text-align: center; margin: 6px 0 22px; }
.footer-payment h4 { color: var(--text); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.footer-payment .barion-logo { width: 230px; opacity: 0.9; }

.footer-bottom {
    border-top: 1px solid var(--border); padding-top: 20px;
    text-align: center;
}
.footer-bottom p { margin-bottom: 8px; }
.footer-bottom .footer-disclaimer {
    font-size: 0.78rem; color: var(--text-muted);
    max-width: 860px; margin-inline: auto;
}
#footer-legal-links a {
    color: var(--text-muted); margin: 0 9px; text-decoration: underline;
}
#footer-legal-links a:hover { color: var(--text); }

/* ---------- Legal pages ---------- */
.legal-hero { padding: 56px 0 24px; }
.legal-hero h1 { font-size: 2.2rem; }
.legal-hero .updated { color: var(--text-muted); font-size: 0.9rem; margin-top: 8px; }
.legal-body { max-width: 820px; margin: 0 auto; padding-bottom: 72px; }
.legal-body h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.legal-body h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal-body p, .legal-body li { color: var(--text-muted); margin-bottom: 10px; }
.legal-body ul, .legal-body ol { padding-left: 24px; }
.legal-body table {
    width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.92rem;
}
.legal-body th, .legal-body td {
    border: 1px solid var(--border); padding: 10px 12px; text-align: left;
}
.legal-body th { background: var(--bg-alt); }
.legal-body .impressum-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px; margin-bottom: 20px;
}
.legal-body .impressum-list { display: grid; grid-template-columns: 200px 1fr; gap: 8px 16px; }
.legal-body .impressum-list dt { font-weight: 600; }
.legal-body .impressum-list dd { color: var(--text-muted); }
.review-notice {
    background: rgba(26, 188, 156, 0.08); border: 1px solid var(--accent);
    border-radius: var(--radius); padding: 14px 18px; font-size: 0.88rem;
    margin-bottom: 28px;
}

/* ---------- Coupon ---------- */
.coupon-section { text-align: center; background: linear-gradient(135deg, var(--accent-dark), var(--accent)); color: #fff; }
.coupon-section h2 { font-size: 2rem; margin-bottom: 14px; }
.coupon-section p { font-size: 1.05rem; margin-bottom: 24px; max-width: 620px; margin-inline: auto; }
.coupon-section .coupon-code {
    display: inline-block; font-family: var(--mono); font-weight: 800;
    font-size: 1.6rem; letter-spacing: 0.08em;
    background: #fff; color: var(--accent-dark);
    padding: 12px 30px; border: 2px dashed rgba(0, 0, 0, 0.4);
    border-radius: var(--radius); margin-bottom: 14px;
}
.coupon-section .coupon-note { font-size: 0.9rem; opacity: 0.9; margin-bottom: 0; }

/* ---------- Social / payment strip ---------- */
.social-icons { display: flex; gap: 14px; align-items: center; }
.social-icons a { display: inline-flex; opacity: 0.75; transition: opacity 0.15s ease; }
.social-icons a:hover { opacity: 1; }
.social-icons img { width: 28px; height: 28px; }


/* ---------- Mobile ---------- */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
    .cards-3, .steps { grid-template-columns: 1fr; }
    .cards-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; max-width: 480px; }
}

@media (max-width: 720px) {
    .menu-toggle { display: block; }
    .main-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--bg); border-bottom: 1px solid var(--border);
        flex-direction: column; align-items: stretch; padding: 16px 20px; gap: 14px;
    }
    .main-nav.open { display: flex; }
    .main-nav a.nav-link { padding: 8px 0; }
    .header-container { position: relative; }
    .hero { padding: 56px 0 48px; }
    section { padding: 52px 0; }
    .section-head h2 { font-size: 1.6rem; }
    .legal-body .impressum-list { grid-template-columns: 1fr; gap: 2px; }
    .legal-body .impressum-list dt { margin-top: 10px; }
}

/* ============================================================
   Cookie consent banner
   ============================================================ */

#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background-color: var(--bg-card);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 24px rgba(44, 62, 80, 0.15);
    padding: 16px 24px;
}

#cookie-consent-banner .cookie-consent-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

#cookie-consent-banner .cookie-consent-text {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 720px;
}

#cookie-consent-banner .cookie-consent-text a { color: var(--link); }

#cookie-consent-banner .cookie-consent-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    #cookie-consent-banner .cookie-consent-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

/* Newsletter subscription (popup + footer inline form) */
body.newsletter-popup-open { overflow: hidden; }

.newsletter-popup-overlay {
    position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6);
    display: flex; align-items: center; justify-content: center;
    z-index: 10000; padding: 16px; box-sizing: border-box;
}

.newsletter-popup-content {
    position: relative; background: var(--bg-card); border-radius: var(--radius);
    padding: 32px; max-width: 420px; width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: newsletterPopupFadeIn 0.25s ease-out;
}

@keyframes newsletterPopupFadeIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.newsletter-popup-content h3 {
    margin: 0 0 10px; padding-right: 32px;
    color: var(--text); font-size: 1.25rem;
}

.newsletter-popup-content p {
    margin: 0 0 16px; color: var(--text-muted);
    font-size: 0.9rem; line-height: 1.6;
}

.newsletter-popup-close {
    position: absolute; top: 8px; right: 8px;
    width: 44px; height: 44px; border: none; background: transparent;
    color: var(--text-muted); font-size: 28px; line-height: 1;
    cursor: pointer; border-radius: 8px;
}

.newsletter-popup-close:hover { color: var(--text); }

.newsletter-popup-form,
.newsletter-form {
    display: flex; gap: 8px; align-items: stretch;
}

.newsletter-popup-form input,
.newsletter-form input {
    flex: 1; min-width: 0; padding: 0.7rem 0.75rem;
    border: 1px solid var(--border); border-radius: 8px;
    background: var(--bg-card); color: var(--text);
    font-family: inherit; font-size: 16px;
}

.newsletter-popup-form input:focus,
.newsletter-form input:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.15);
}

.newsletter-popup-form button,
.newsletter-form button {
    background: var(--accent); color: #fff; border: none;
    padding: 0.7rem 1.4rem; border-radius: 8px; font-weight: 700;
    font-size: 0.95rem; cursor: pointer; white-space: nowrap;
    transition: background 0.2s;
}

.newsletter-popup-form button:hover,
.newsletter-form button:hover { background: var(--accent-dark); }

.newsletter-popup-message,
.newsletter-form-message {
    min-height: 20px; font-size: 0.85rem; margin-bottom: 6px; font-weight: 600;
}

.newsletter-popup-message.success,
.newsletter-form-message.success { color: var(--accent-dark); }

.newsletter-popup-message.error,
.newsletter-form-message.error { color: var(--danger); }

.newsletter-popup-legal {
    font-size: 0.75rem; margin-top: 16px; margin-bottom: 0;
}

.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;
}

/* Inline newsletter block inside the footer contact column */
.newsletter-inline {
    margin-top: 24px; padding-top: 24px;
    border-top: 1px solid var(--border);
}

.newsletter-inline h4 {
    color: var(--text); font-size: 1rem; margin: 0 0 6px;
}

.newsletter-inline p {
    color: var(--text-muted); font-size: 0.9rem; margin: 0 0 12px;
}

.newsletter-form input { margin-bottom: 0; }

@media (max-width: 768px) {
    .newsletter-popup-form,
    .newsletter-form { flex-direction: column; }

    .newsletter-popup-form input,
    .newsletter-popup-form button,
    .newsletter-form input,
    .newsletter-form button { width: 100%; }

    .newsletter-popup-content { max-width: 92vw; }
}
