/*
Theme Name: m&s Insektenschutz Onepager
Theme URI: https://www.ms-sprossenelemente.de/
Author: m&s Sprossenelemente GmbH
Author URI: https://www.ms-sprossenelemente.de/
Description: Anpassbare Google-Ads-Landingpage (Onepager) für Insektenschutz-Fachbetriebe. Logo, Farben, Bilder, Texte, Kontaktdaten und Standort werden komplett über Design → Customizer eingestellt – ohne Code.
Version: 1.0.3
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ms-onepager
*/

/* ============================================================
   DESIGN TOKENS – werden über den Customizer überschrieben
   (Farben: Design → Customizer → Farben)
   ============================================================ */
:root {
    --accent:        #CC1122;
    --accent-hover:  #A80E1B;
    --accent-subtle: #FDF2F3;
    --on-accent:     #FFFFFF;  /* Schrift-/Kontrastfarbe auf der Akzentfarbe */
    --text:          #141414;
    --text-mid:      #555555;
    --text-muted:    #999999;
    --border:        #E8E8E8;
    --bg-subtle:     #F7F7F7;
    --white:         #FFFFFF;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; overflow-x: hidden; }
body  { font-family: var(--font); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; line-height: 1; overflow-x: hidden; }
img   { display: block; max-width: 100%; height: auto; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }
button { font-family: var(--font); cursor: pointer; }

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

/* ── HEADER ─────────────────────────────────────────────── */
.header {
    position: sticky; top: 0; z-index: 1000;
    background: var(--white); border-bottom: 1px solid var(--border);
}
.header-inner {
    max-width: var(--max); margin: 0 auto; padding: 0 32px;
    height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.header-logo img { height: 34px; width: auto; }
.header-logo .header-logo-text { font-size: 1.05rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav a { font-size: 0.875rem; font-weight: 500; color: var(--text-mid); transition: color .18s; }
.header-nav a:hover { color: var(--text); }
.header-right { display: flex; align-items: center; gap: 16px; }
@media (max-width: 900px) { .header-nav { display: none; } }
@media (max-width: 768px) { .header-right .header-tel { display: none; } }
.header-tel {
    font-size: 0.875rem; font-weight: 500; color: var(--text-mid);
    display: flex; align-items: center; gap: 6px; transition: color .18s;
}
.header-tel:hover { color: var(--text); }
.header-tel svg { flex-shrink: 0; }
.header-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--accent); color: var(--on-accent);
    padding: 9px 18px; border-radius: 4px;
    font-size: 0.82rem; font-weight: 600; text-align: center; white-space: nowrap;
    transition: background .18s, transform .18s;
}
.header-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* ── HERO ───────────────────────────────────────────────── */
.hero-wrap { background: #ebeaea; }
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    max-width: var(--max);
    margin: 0 auto;
    padding: 40px 32px;
}
.hero-img {
    position: relative;
}
.hero-img > img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover; object-position: top center;
    border-radius: 8px;
    display: block;
}
.hero-badge {
    position: absolute; bottom: -20px; left: -20px; z-index: 2;
    background: var(--white); border: 1px solid var(--border);
    border-radius: 12px; padding: 16px 20px;
    box-shadow: 0 6px 28px rgba(0,0,0,0.12);
}
.hero-badge img { height: 80px; width: auto; display: block; }
.hero-content {
    display: flex; flex-direction: column; justify-content: center;
}
.hero-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent); color: var(--on-accent);
    padding: 13px 26px; border-radius: 4px;
    font-size: 0.875rem; font-weight: 600;
    transition: background .18s, transform .18s;
    width: fit-content;
}
.hero-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }
.hero-eyebrow {
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--accent);
    display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.hero-eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--accent); }
.hero-content h1 {
    font-size: clamp(1.85rem, 2.6vw, 2.5rem); font-weight: 700;
    line-height: 1.15; letter-spacing: -0.025em; color: var(--text); margin-bottom: 16px;
}
.hl {
    background: var(--accent); color: var(--on-accent);
    padding: 2px 10px 5px; border-radius: 2px; display: inline-block;
}
.hero-sub {
    font-size: 1.05rem; line-height: 1.75; color: var(--text-mid); margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 0; }
.hero-trust { margin-top: 24px; }
.hero-trust img { height: 64px; width: auto; }

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px; }
    .hero-img > img { margin: 0; border-radius: 6px; }
    .hero-badge { bottom: 12px; left: 12px; }
    .hero-content { order: -1; }
    .hero-actions { flex-direction: column; }
    .hero-actions .hero-cta, .hero-actions .btn-outline { width: 100%; justify-content: center; }
}

/* ── TRUST STRIP ────────────────────────────────────────── */
.trust-strip { background: var(--bg-subtle); }
.trust-strip-inner {
    max-width: var(--max); margin: 0 auto; padding: 0 32px;
    display: grid; grid-template-columns: repeat(3, 1fr);
}
.ts-item {
    display: flex; align-items: center; gap: 14px;
    padding: 24px 32px;
    border-right: 1px solid var(--border);
}
.ts-item:first-child { padding-left: 0; }
.ts-item:last-child { border-right: none; }
.ts-icon { flex-shrink: 0; display: flex; align-items: center; }
.ts-icon img { height: 48px; width: auto; display: block; }
.ts-text { min-width: 0; }
.ts-text strong { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text); line-height: 1.3; }
@media (max-width: 700px) {
    .trust-strip-inner { grid-template-columns: 1fr; }
    .ts-item { padding: 18px 0; border-right: none; border-bottom: 1px solid var(--border); }
    .ts-item:last-child { border-bottom: none; }
}

/* ── SECTION HEAD ───────────────────────────────────────── */
.section-head { margin-bottom: 24px; text-align: center; }
.section-head h2 {
    font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 700;
    letter-spacing: -0.02em; color: var(--text); line-height: 1.2; margin-bottom: 10px;
}
.section-head p { font-size: 0.95rem; color: var(--text-mid); line-height: 1.7; }

/* ── PRODUKTE ───────────────────────────────────────────── */
.prods { padding: 88px 0; }
.prod-row {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 72px; align-items: center;
    padding: 48px 0;
}
.prods .section-head { margin-bottom: 0; }
.prod-row--reverse .prod-slider { order: 2; }
.prod-row--reverse .prod-body { order: 1; }
/* ── PRODUCT SLIDER ────────────────────────────────────── */
.prod-slider { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 4/3; }
.prod-slider .slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0; transition: opacity 0.4s ease;
    display: block; border-radius: 6px;
}
.prod-slider .slide.active { opacity: 1; z-index: 1; }
.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.45); color: white; border: none;
    width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
    font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
    z-index: 2; transition: background .18s; line-height: 1;
}
.slider-btn:hover { background: rgba(0,0,0,0.75); }
.slider-prev { left: 10px; }
.slider-next { right: 10px; }
.slider-dots {
    position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 6px; z-index: 2;
}
.slider-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(255,255,255,0.45); cursor: pointer; border: none;
    padding: 0; transition: background .18s;
}
.slider-dot.active { background: white; }
.prod-num { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.prod-body h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 700; letter-spacing: -0.02em; color: var(--text); line-height: 1.2; margin-bottom: 14px; }
.prod-body p { font-size: 0.95rem; line-height: 1.75; color: var(--text-mid); margin-bottom: 20px; }
.prod-feats { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.prod-feat { font-size: 0.875rem; color: var(--text-mid); display: flex; align-items: flex-start; gap: 10px; line-height: 1.4; }
.prod-feat::before { content: '—'; color: var(--accent); font-weight: 600; flex-shrink: 0; }
.prod-link { font-size: 0.875rem; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--accent); padding-bottom: 2px; transition: gap .18s; }
.prod-link:hover { gap: 10px; }
@media (max-width: 780px) {
    .prod-row { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
    .prod-row--reverse .prod-slider { order: 0; }
    .prod-row--reverse .prod-body { order: 0; }
}

/* ── SO FUNKTIONIERT'S ──────────────────────────────────── */
.schritte {
    padding: 88px 0;
}
.schritte-layout {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.schritte-grid { display: flex; flex-direction: column; gap: 40px; }
.schritt {
    display: flex; flex-direction: column;
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.schritt.visible { opacity: 1; transform: translateY(0); }
.schritt-dot {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--accent); color: var(--on-accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.78rem; font-weight: 700;
    flex-shrink: 0; margin-bottom: 16px;
}
.schritt-title { font-size: 1.05rem; font-weight: 700; color: var(--text); line-height: 1.3; margin-bottom: 10px; }
.schritt-text { font-size: 0.9rem; line-height: 1.72; color: var(--text-mid); }
.schritte-photo img { width: 100%; height: auto; border-radius: 8px; display: block; }
@media (max-width: 860px) {
    .schritte-layout { grid-template-columns: 1fr; }
    .schritte-photo { display: none; }
}

/* ── BEWERTUNGEN ────────────────────────────────────────── */
.reviews { padding: 88px 0; background: var(--bg-subtle); }
.reviews-head { text-align: center; margin-bottom: 40px; }
.reviews-head h2 { font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 700; letter-spacing: -0.02em; color: var(--text); line-height: 1.2; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card {
    background: var(--white); border: 1px solid var(--border); border-radius: 4px;
    padding: 24px; display: flex; flex-direction: column; gap: 14px;
}
.review-top { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 700; color: white; flex-shrink: 0; }
.review-meta { flex: 1; min-width: 0; }
.review-name { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.review-date { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
.review-stars { color: #FBBC05; font-size: 0.9rem; letter-spacing: 1px; }
.review-text { font-size: 0.875rem; line-height: 1.7; color: var(--text-mid); }
.review-source { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; color: var(--text-muted); margin-top: auto; padding-top: 4px; }
@media (max-width: 780px) {
    .reviews-grid { grid-template-columns: 1fr; }
    .reviews .btn { display: block; text-align: center; }
}

/* ── ANFRAGE ────────────────────────────────────────────── */
.anfrage-section { padding: 88px 0; background: var(--bg-subtle); }
.anfrage-head { text-align: center; margin-bottom: 40px; }
.anfrage-head h2 {
    font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 700;
    letter-spacing: -0.02em; color: var(--text); line-height: 1.2; margin-bottom: 10px;
}
.anfrage-head p { font-size: 0.95rem; color: var(--text-mid); line-height: 1.7; }
.msf-full { width: 100%; }

/* ── KONTAKT ────────────────────────────────────────────── */
.kontakt { padding: 88px 0; background: var(--white); }
.kontakt-grid {
    display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px;
    margin-top: 40px; align-items: stretch;
}
.kontakt-info { display: flex; flex-direction: column; gap: 14px; }
.kontakt-item {
    flex: 1;
    display: flex; align-items: center; gap: 16px;
    background: var(--white); border: 1px solid var(--border); border-radius: 8px;
    padding: 18px 20px; transition: border-color .18s;
}
a.kontakt-item:hover { border-color: var(--accent); }
.kontakt-icon {
    flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
    background: var(--accent-subtle); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
}
.kontakt-item > span:not(.kontakt-icon) { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.kontakt-item .k-label { display: block; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 3px; }
.kontakt-item .k-value { display: block; font-size: 1rem; font-weight: 600; color: var(--text); line-height: 1.4; }
.kontakt-map {
    position: relative;
    border-radius: 8px; overflow: hidden; border: 1px solid var(--border);
    min-height: 340px;
}
.kontakt-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
@media (max-width: 768px) {
    .kontakt-grid { grid-template-columns: 1fr; }
    .kontakt-map { min-height: 260px; }
}

/* ── FAQ ────────────────────────────────────────────────── */
.faq { padding: 88px 0; background: var(--bg-subtle); }
.faq-list { margin-top: 40px; }
details.faq-item { border-bottom: 1px solid var(--border); }
details.faq-item:first-child { border-top: 1px solid var(--border); }
details.faq-item summary {
    display: flex; justify-content: space-between; align-items: center;
    padding: 22px 0; cursor: pointer; list-style: none;
    font-size: 0.97rem; font-weight: 600; color: var(--text); line-height: 1.4;
    transition: color .18s;
}
details.faq-item summary:hover { color: var(--accent); }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
    content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--accent);
    flex-shrink: 0; margin-left: 24px; line-height: 1;
}
details.faq-item[open] summary::after { content: '–'; }
details.faq-item .faq-answer {
    padding: 0 40px 24px 0;
    font-size: 0.9rem; line-height: 1.8; color: var(--text-mid);
}

/* ── FINAL CTA ──────────────────────────────────────────── */
.final-cta { padding: 80px 0; background: var(--white); }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: nowrap; }
@media (max-width: 700px) {
    .final-cta-inner { flex-wrap: wrap; }
    .final-cta-actions { flex-direction: column; width: 100%; }
    .final-cta-actions .btn { width: 100%; justify-content: center; }
}
.final-cta-text h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 700; letter-spacing: -0.02em; color: var(--text); line-height: 1.2; margin-bottom: 8px; }
.final-cta-text p  { font-size: 0.95rem; color: var(--text-mid); }
.final-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 4px; font-size: 0.875rem; font-weight: 600; transition: all .18s; border: none; font-family: var(--font); cursor: pointer; text-decoration: none; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--text-mid); }
.btn-outline:hover { border-color: var(--text); color: var(--text); }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer { padding: 24px 0; background: var(--bg-subtle); }
.footer-inner {
    max-width: var(--max); margin: 0 auto; padding: 0 32px;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-copy    { font-size: 0.78rem; color: var(--text-muted); }
.footer-links   { display: flex; gap: 20px; }
.footer-links a { font-size: 0.78rem; color: var(--text-muted); transition: color .18s; }
.footer-links a:hover { color: var(--text); }
.footer-partner { font-size: 0.72rem; color: var(--text-muted); }

/* ── FLOATING CALL (Mobile) ──────────────────────────────── */
.float-call {
    position: fixed; bottom: 24px; right: 20px; z-index: 999;
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--accent); color: var(--on-accent);
    display: none; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(204,17,34,0.38);
    transition: background .18s, transform .18s;
    text-decoration: none; line-height: 1;
}
.float-call svg { display: block; flex-shrink: 0; fill: var(--on-accent); }
.float-call:hover { background: var(--accent-hover); transform: scale(1.06); }
@media (max-width: 768px) { .float-call { display: flex; } }

/* ── MULTI-STEP FORM ────────────────────────────────────── */
.msf { background: var(--white); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.msf-bar-wrap { height: 3px; background: var(--border); }
.msf-bar { height: 100%; background: var(--accent); transition: width .35s ease; }
.msf-head { padding: 22px 24px 0; }
.msf-step-lbl { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 5px; }
.msf-step-title { font-size: 0.925rem; font-weight: 600; color: var(--text); line-height: 1.35; }
.msf-body { padding: 16px 24px 22px; }
.msf-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (max-width: 600px) { .msf-tiles { grid-template-columns: repeat(2, 1fr); } }
.msf-tile {
    padding: 0; border: 1px solid var(--border); border-radius: 4px;
    cursor: pointer; text-align: center; transition: all .15s;
    display: flex; flex-direction: column; align-items: center; overflow: hidden;
}
.msf-tile:hover  { border-color: var(--accent); }
.msf-tile.active { border-color: var(--accent); background: var(--accent-subtle); }
.msf-tile svg    { color: var(--text-muted); transition: color .15s; }
.msf-tile.active svg { color: var(--accent); }
.msf-tile-icon { width: 75%; aspect-ratio: 1; object-fit: cover; display: block; margin: 12px auto 0; }
.msf-tile-lbl { padding: 8px 4px; font-size: 0.73rem; font-weight: 500; color: var(--text-mid); line-height: 1.3; }
.msf-count-tiles { grid-template-columns: repeat(3, 1fr); }
.msf-count-tile { padding: 28px 8px; justify-content: center; }
.msf-count-num { font-size: 1.5rem; font-weight: 700; color: var(--text); }
.msf-count-tile.active .msf-count-num { color: var(--accent); }
.fg-privacy { margin-top: 4px; }
.privacy-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 0.82rem; color: var(--text-mid); line-height: 1.5; }
.privacy-label input[type="checkbox"] { flex-shrink: 0; margin-top: 2px; accent-color: var(--accent); width: 15px; height: 15px; cursor: pointer; }
.privacy-label a { color: var(--accent); }
.msf-radios { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.msf-radio { flex: 1; min-width: 56px; padding: 10px 6px; text-align: center; border: 1px solid var(--border); border-radius: 4px; cursor: pointer; font-size: 0.82rem; font-weight: 500; color: var(--text-mid); transition: all .15s; }
.msf-radio:hover  { border-color: var(--accent); }
.msf-radio.active { border-color: var(--accent); background: var(--accent-subtle); color: var(--text); }
.fg { margin-bottom: 12px; }
.fg label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--text-mid); margin-bottom: 4px; }
.fg input, .fg textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 4px; font-family: var(--font); font-size: 0.875rem; color: var(--text); background: var(--white); outline: none; transition: border-color .18s; }
.fg input:focus, .fg textarea:focus { border-color: var(--accent); }
.fg textarea { resize: vertical; min-height: 68px; }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 480px) { .fg-row { grid-template-columns: 1fr; } }
.msf-confirm { text-align: center; padding: 14px 0 6px; }
.msf-confirm-icon { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.msf-confirm h3 { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.msf-confirm p  { font-size: 0.875rem; color: var(--text-mid); line-height: 1.65; }
.msf-nav { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; border-top: 1px solid var(--border); }
.msf-back-btn { font-size: 0.82rem; font-weight: 500; color: var(--text-muted); background: none; border: none; display: flex; align-items: center; gap: 5px; transition: color .18s; padding: 0; }
.msf-back-btn:hover { color: var(--text); }
.msf-back-btn:disabled { opacity: 0; pointer-events: none; }
.msf-next-btn { background: var(--accent); color: var(--on-accent); border: none; padding: 11px 22px; border-radius: 4px; font-size: 0.875rem; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; transition: all .18s; }
.msf-next-btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.msf-note { padding: 0 24px 14px; font-size: 0.68rem; color: var(--text-muted); text-align: center; }
.msf-note a { color: var(--accent); }
.msf-step { display: none; }
.msf-step.active { display: block; }
.msop-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msf-error { margin-top: 12px; font-size: 0.82rem; color: var(--accent); line-height: 1.5; }

/* ── SEITEN (Impressum / Datenschutz) ───────────────────── */
.page-content { padding: 56px 0 80px; }
.legal { max-width: 800px; margin: 0 auto; }
.legal-title { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 700; letter-spacing: -0.02em; color: var(--text); line-height: 1.2; margin-bottom: 24px; }
.legal-body { font-size: 0.95rem; line-height: 1.75; color: var(--text-mid); }
.legal-body h2 { font-size: 1.25rem; font-weight: 700; color: var(--text); line-height: 1.3; margin: 30px 0 12px; }
.legal-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); line-height: 1.35; margin: 24px 0 10px; }
.legal-body p { margin-bottom: 14px; }
.legal-body ul, .legal-body ol { margin: 0 0 14px 22px; }
.legal-body ul { list-style: disc; }
.legal-body ol { list-style: decimal; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: var(--accent); text-decoration: underline; }
.legal-body strong { color: var(--text); }
.legal-body table { border-collapse: collapse; margin-bottom: 14px; }
.legal-body th, .legal-body td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }

/* ── CONSENT-BANNER ─────────────────────────────────────── */
.msop-cc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100000; padding: 16px; display: flex; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .2s ease; }
.msop-cc--open { opacity: 1; visibility: visible; }
.msop-cc-box { background: var(--white); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,0.18); max-width: 720px; width: 100%; padding: 22px 24px; }
.msop-cc-title { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.msop-cc-text { font-size: 0.85rem; line-height: 1.6; color: var(--text-mid); }
.msop-cc-text a { color: var(--accent); text-decoration: underline; }
.msop-cc-options { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.msop-cc-opt { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; color: var(--text-mid); line-height: 1.5; cursor: pointer; }
.msop-cc-opt input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }
.msop-cc-opt strong { color: var(--text); }
.msop-cc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.msop-cc-btn { flex: 1 1 auto; min-width: 140px; padding: 11px 18px; border-radius: 4px; font-size: 0.85rem; font-weight: 600; border: 1px solid var(--border); background: var(--white); color: var(--text); cursor: pointer; transition: all .15s; }
.msop-cc-btn:hover { border-color: var(--text-mid); }
.msop-cc-accept, .msop-cc-deny, .msop-cc-save { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.msop-cc-accept:hover, .msop-cc-deny:hover, .msop-cc-save:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
@media (max-width: 560px) { .msop-cc-btn { flex-basis: 100%; } }

/* Google-Maps-Platzhalter (vor Einwilligung) */
.msop-map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px; background: var(--bg-subtle); color: var(--text-mid); }
.msop-map-placeholder p { font-size: 0.85rem; line-height: 1.5; max-width: 320px; }
