/* ── WirtschaftsKontor Bremen – Shared Stylesheet ── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

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

:root {
    --navy: #1e3a6e;
    --navy-dark: #152b54;
    --navy-light: #2a4f96;
    --accent: #c8a84b;
    --white: #ffffff;
    --light: #f7f8fa;
    --gray: #f0f1f3;
    --border: #e5e8ee;
    --text: #222222;
    --text-mid: #555555;
    --text-light: #888888;
    --max: 1120px;
    --radius: 6px;
}

body { font-family: 'Montserrat', sans-serif; color: var(--text); background: var(--white); line-height: 1.7; font-size: 16px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.center { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }

/* ── HEADER ── */
header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 200; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo img { height: 52px; display: block; }
nav ul { display: flex; gap: 1.75rem; list-style: none; align-items: center; }
nav a { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--text-mid); text-transform: uppercase; transition: color 0.2s; }
nav a:hover, nav a.active { color: var(--navy); }
.nav-cta { background: var(--navy); color: var(--white) !important; padding: 10px 20px; border-radius: var(--radius); transition: background 0.2s !important; }
.nav-cta:hover { background: var(--navy-dark) !important; }

/* ── BUTTONS ── */
.btn-primary { background: var(--accent); color: var(--navy-dark); padding: 13px 28px; border-radius: var(--radius); font-weight: 700; font-size: 14px; letter-spacing: 0.03em; transition: opacity 0.2s; display: inline-block; }
.btn-primary:hover { opacity: 0.88; }
.btn-navy { background: var(--navy); color: var(--white); padding: 13px 28px; border-radius: var(--radius); font-weight: 700; font-size: 14px; display: inline-block; transition: background 0.2s; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-outline { border: 2px solid rgba(255,255,255,0.35); color: var(--white); padding: 11px 28px; border-radius: var(--radius); font-weight: 500; font-size: 14px; transition: border-color 0.2s; display: inline-block; }
.btn-outline:hover { border-color: rgba(255,255,255,0.7); }
.btn-accent { background: var(--accent); color: var(--navy-dark); padding: 14px 32px; border-radius: var(--radius); font-weight: 700; font-size: 15px; white-space: nowrap; transition: opacity 0.2s; display: inline-block; }
.btn-accent:hover { opacity: 0.88; }

/* ── SECTIONS ── */
section { padding: 5rem 0; }
.section-label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 0.75rem; }
.section-title { font-size: 28px; font-weight: 800; color: var(--navy); line-height: 1.25; margin-bottom: 1rem; }
.section-sub { color: var(--text-mid); font-size: 15px; font-weight: 300; max-width: 580px; line-height: 1.85; margin-bottom: 3rem; }

/* ── PAGE HERO (Unterseiten) ── */
.page-hero { background: var(--navy); padding: 4rem 0; }
.page-hero-eyebrow { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 0.75rem; }
.page-hero h1 { font-size: 36px; font-weight: 800; color: var(--white); line-height: 1.2; margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 15px; font-weight: 300; max-width: 560px; line-height: 1.85; }

/* ── TRUST BAR ── */
.trust-bar { background: var(--light); border-bottom: 1px solid var(--border); padding: 1.25rem 0; }
.trust-bar-inner { display: flex; gap: 2.5rem; align-items: center; justify-content: center; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--text-mid); text-transform: uppercase; letter-spacing: 0.07em; }
.trust-item i { color: var(--navy); font-size: 14px; }

/* ── CTA STRIP ── */
.cta-strip { background: var(--navy); padding: 3.5rem 0; }
.cta-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-strip h2 { font-size: 26px; font-weight: 800; color: var(--white); }
.cta-strip p { color: rgba(255,255,255,0.65); font-size: 15px; margin-top: 4px; font-weight: 300; }

/* ── CONTACT BAR ── */
.contact-bar { background: var(--white); border-top: 1px solid var(--border); padding: 3rem 0; }
.contact-bar-inner { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; align-items: center; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { width: 44px; height: 44px; min-width: 44px; background: var(--navy); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.contact-icon i { color: var(--white); font-size: 16px; }
.contact-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-light); font-weight: 700; margin-bottom: 4px; }
.contact-val { font-size: 14px; font-weight: 700; color: var(--navy); }
.contact-val-small { font-size: 12px; color: var(--text-mid); font-weight: 300; }

/* ── FOOTER ── */
footer { background: var(--navy-dark); padding: 2rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo img { height: 34px; filter: brightness(0) invert(1); opacity: 0.6; }
.footer-logo span { color: rgba(255,255,255,0.45); font-size: 12px; }
.footer-links { display: flex; gap: 1.5rem; list-style: none; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.45); font-size: 12px; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.8); }

/* ── COOKIE BANNER ── */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    background: var(--navy-dark); color: rgba(255,255,255,0.85);
    padding: 1.25rem 2rem;
    border-top: 3px solid var(--accent);
    display: flex; align-items: center; justify-content: space-between;
    gap: 2rem; flex-wrap: wrap;
    font-size: 13px; font-weight: 400; line-height: 1.6;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
}
#cookie-banner a { color: var(--accent); text-decoration: underline; }
#cookie-banner.hidden { display: none; }
.cookie-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.cookie-btn-accept {
    background: var(--accent); color: var(--navy-dark);
    border: none; padding: 10px 22px; border-radius: var(--radius);
    font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px;
    cursor: pointer; white-space: nowrap;
}
.cookie-btn-reject {
    background: transparent; color: rgba(255,255,255,0.65);
    border: 1px solid rgba(255,255,255,0.3); padding: 9px 22px;
    border-radius: var(--radius); font-family: 'Montserrat', sans-serif;
    font-weight: 500; font-size: 13px; cursor: pointer; white-space: nowrap;
}
.cookie-btn-reject:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }

/* ── LEGAL PAGES ── */
.legal-content { max-width: 780px; }
.legal-content h2 { font-size: 20px; font-weight: 700; color: var(--navy); margin: 2.5rem 0 0.75rem; }
.legal-content h3 { font-size: 16px; font-weight: 600; color: var(--navy); margin: 1.5rem 0 0.5rem; }
.legal-content p { font-size: 14px; color: var(--text-mid); line-height: 1.85; margin-bottom: 1rem; font-weight: 300; }
.legal-content ul { margin: 0.5rem 0 1rem 1.5rem; }
.legal-content li { font-size: 14px; color: var(--text-mid); line-height: 1.8; font-weight: 300; }
.legal-content a { color: var(--navy); text-decoration: underline; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    nav ul { display: none; }
    .contact-bar-inner { grid-template-columns: 1fr; }
    .cta-strip-inner { flex-direction: column; text-align: center; }
    .page-hero h1 { font-size: 26px; }
    #cookie-banner { flex-direction: column; }
}

/* ── MODAL ── */
#modal-overlay {
    position: fixed; inset: 0; z-index: 9998;
    background: rgba(21, 43, 84, 0.85);
    display: none; align-items: center; justify-content: center;
    padding: 2rem 1rem;
    overflow-y: auto;
}
#modal-overlay.visible { display: flex; }
.modal-box {
    background: var(--white);
    border-radius: var(--radius);
    max-width: 560px; width: 100%;
    padding: 2.5rem;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    animation: modal-in 0.25s ease-out;
}
@keyframes modal-in {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.modal-close {
    position: absolute; top: 1rem; right: 1rem;
    width: 36px; height: 36px;
    border: none; background: var(--light);
    border-radius: 50%;
    font-size: 18px; color: var(--text-mid);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.modal-close:hover { background: var(--navy); color: var(--white); }
.modal-label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 0.5rem; }
.modal-title { font-size: 24px; font-weight: 800; color: var(--navy); line-height: 1.25; margin-bottom: 0.5rem; }
.modal-sub { font-size: 13px; color: var(--text-mid); font-weight: 300; line-height: 1.7; margin-bottom: 1.5rem; }
.modal-form .form-group { margin-bottom: 1rem; }
.modal-form label { display: block; font-size: 11px; font-weight: 700; color: var(--navy); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 5px; }
.modal-form input, .modal-form select, .modal-form textarea {
    width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius);
    font-family: 'Montserrat', sans-serif; font-size: 13px; color: var(--text);
    background: var(--white); transition: border-color 0.2s; outline: none;
}
.modal-form input:focus, .modal-form select:focus, .modal-form textarea:focus { border-color: var(--navy); }
.modal-form textarea { resize: vertical; min-height: 90px; }
.modal-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.modal-form .form-check { display: flex; gap: 8px; align-items: flex-start; margin: 1rem 0; font-size: 11px; color: var(--text-mid); font-weight: 300; line-height: 1.6; }
.modal-form .form-check input { width: auto; margin-top: 2px; }
.modal-form .form-check a { color: var(--navy); text-decoration: underline; }
.modal-form button[type="submit"] {
    width: 100%; background: var(--navy); color: var(--white);
    border: none; padding: 13px; border-radius: var(--radius);
    font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px;
    cursor: pointer; transition: background 0.2s;
    letter-spacing: 0.03em;
}
.modal-form button[type="submit"]:hover { background: var(--navy-dark); }
.modal-form button[type="submit"]:disabled { opacity: 0.6; cursor: not-allowed; }
.modal-msg { padding: 1rem; border-radius: var(--radius); font-size: 13px; font-weight: 600; margin-top: 1rem; display: none; }
.modal-msg.success { background: #edf7ed; border: 1px solid #a3d9a5; color: #2e7d32; }
.modal-msg.error { background: #fdecea; border: 1px solid #f5a5a0; color: #c62828; }
@media(max-width:600px){
    .modal-box { padding: 1.75rem 1.25rem; }
    .modal-form .form-row { grid-template-columns: 1fr; }
}
