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

:root {
    --primary: #0d9488; 
    --primary-dk: #0f766e; 
    --primary-bg: #ccfbf1;
    --bg: #f0fdfa; 
    --bg-card: #ffffff; 
    --border: #99f6e4;
    --text: #134e4a; 
    --text-muted: #0f766e; 
    --text-light: #5eead4;
    --radius: 12px; 
    --shadow: 0 2px 16px rgba(13,148,136,.10);
}

body { 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg); 
    color: var(--text); 
    min-height: 100vh; 
}

a { color: var(--primary); text-decoration: none; }

/* ── Cookie-Banner ── */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    border-top: 2px solid var(--primary);
    padding: 16px 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,.12);
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.cookie-text { font-size: 13px; color: var(--text); flex: 1; min-width: 200px; }
.cookie-btn-secondary {
    background: none;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
}
.cookie-btn-primary {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

/* ── Dashboard (Eingeloggt) ── */
.dashboard-container { max-width: 860px; margin: 0 auto; padding: 24px 16px 60px; }
.dashboard-header { margin-bottom: 24px; }
.dashboard-title { font-size: 22px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.dashboard-sub { color: var(--text-muted); font-size: 14px; }
.badge-pruefung {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    background: #ccfbf1;
    border: 1px solid #99f6e4;
    border-radius: 99px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #134e4a;
}
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}
.mb-20 { margin-bottom: 20px; }
.card-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.card-title-mb { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.card-main-val { font-size: 15px; font-weight: 700; color: var(--text); }
.sofa-list { margin-left: 16px; margin-top: 8px; display: flex; flex-direction: column; gap: 7px; }
.sofa-item { display: flex; justify-content: space-between; max-width: 280px; font-size: 13.5px; }
.sofa-label { color: var(--text-muted); }
.sofa-val { font-weight: 700; color: var(--text); }
.sofa-val.fertig { color: var(--primary); }

.termin-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.termin-date-box { background: var(--primary-bg); border-radius: 9px; padding: 8px 12px; text-align: center; min-width: 56px; }
.termin-wtag { font-size: 11px; font-weight: 600; color: var(--primary); }
.termin-tag { font-size: 18px; font-weight: 800; color: var(--primary); }
.termin-monat { font-size: 11px; color: var(--text-muted); }
.termin-typ { font-size: 14px; font-weight: 600; }
.termin-zeit { font-size: 13px; color: var(--text-muted); }

.badge-offen { background: #fef3c7; color: #92400e; }
.badge-gegen { background: #ede9fe; color: #5b21b6; }
.badge-ang { background: #ccfbf1; color: #134e4a; }
.badge-abg { background: #fee2e2; color: #991b1b; }

.anfrage-details { border-bottom: 1px solid var(--border); }
.anfrage-summary { cursor: pointer; padding: 9px 2px; }
.anfrage-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 800;
    margin-right: 8px;
    vertical-align: middle;
}
.anfrage-summary-text { font-size: 14px; font-weight: 600; color: var(--text); }
.anfrage-content { padding: 4px 2px 12px 32px; }
.anfrage-keine { font-size: 12.5px; color: var(--text-light); margin: 0; }
.anfrage-item { padding: 7px 0; border-bottom: 1px dashed var(--border); font-size: 13px; }
.anfrage-item-date { font-weight: 600; color: var(--text); }
.anfrage-gegenvorschlag { color: var(--primary); font-weight: 600; margin-top: 2px; }
.anfrage-antwort { color: var(--text-muted); margin-top: 2px; }

.link-primary { font-size: 12.5px; color: var(--primary); font-weight: 600; text-decoration: none; }
.link-primary-sm { font-size: 13px; color: var(--primary); font-weight: 600; text-decoration: none; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.text-center { text-align: center; }

/* ── Nav Landing Page ── */
.lp-nav { background: var(--primary); padding: 0 24px; }
.lp-nav-inner { max-width: 960px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 58px; }
.lp-nav-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 17px; text-decoration: none; }
.lp-nav-logo img { height: 32px; width: auto; max-width: 58px; border-radius: 7px; object-fit: contain; }
.lp-nav-right { display: flex; align-items: center; gap: 12px; }
.lp-nav-status { background: rgba(255,255,255,.2); color: #fff; padding: 6px 12px; border-radius: 6px; font-size: 12px; font-weight: 700; }

/* ── Hero Landing Page ── */
.lp-hero { text-align: center; padding: 72px 20px 56px; }
.lp-hero-badge { display: inline-block; background: var(--primary-bg); color: var(--primary); border: 1px solid var(--border); border-radius: 99px; padding: 5px 16px; font-size: 13px; font-weight: 700; margin-bottom: 20px; }
.lp-hero h1 { font-size: clamp(28px, 5vw, 48px); font-weight: 900; line-height: 1.15; color: var(--text); margin-bottom: 18px; }
.lp-hero h1 span { color: var(--primary); }
.lp-hero p { font-size: 17px; color: var(--text-muted); max-width: 560px; margin: 0 auto 32px; line-height: 1.65; }
.lp-cta-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn-hero { padding: 13px 28px; border-radius: 10px; font-size: 16px; font-weight: 700; border: none; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: transform .1s, box-shadow .14s; }
.btn-hero:active { transform: scale(.97); }
.btn-hero-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(13,148,136,.35); }
.btn-hero-primary:hover { background: var(--primary-dk); color: #fff; text-decoration: none; box-shadow: 0 6px 20px rgba(13,148,136,.45); }
.btn-hero-outline { background: #fff; color: var(--primary); border: 2px solid var(--primary); }
.btn-hero-outline:hover { background: var(--primary-bg); text-decoration: none; }
.disabled-cursor { opacity: 0.8; cursor: default; }

/* ── Features & Sections ── */
.lp-section { max-width: 960px; margin: 0 auto; padding: 0 20px 64px; }
.lp-section-title { text-align: center; margin-bottom: 36px; }
.lp-section-title h2 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.lp-section-title p { color: var(--text-muted); font-size: 15px; }
.lp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.lp-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: box-shadow .15s, transform .15s; }
.lp-card:hover { box-shadow: 0 6px 24px rgba(13,148,136,.15); transform: translateY(-2px); }
.lp-card-icon { font-size: 32px; margin-bottom: 12px; }
.lp-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 7px; }
.lp-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.lp-card-soon { opacity: .65; }
.lp-badge-soon { display: inline-block; background: var(--primary-bg); color: var(--primary); border: 1px solid var(--border); border-radius: 99px; padding: 2px 10px; font-size: 11px; font-weight: 700; margin-left: 8px; }

/* ── App-Teaser ── */
.lp-app { background: linear-gradient(135deg, var(--primary), var(--primary-dk)); border-radius: 18px; padding: 40px 32px; text-align: center; color: #fff; margin-bottom: 64px; position: relative; overflow: hidden; }
.lp-app::before { content: ''; position: absolute; top: -40px; right: -40px; width: 200px; height: 200px; background: rgba(255,255,255,.07); border-radius: 50%; }
.lp-app-emoji { font-size: 48px; margin-bottom: 16px; }
.lp-app h2 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.lp-app p { font-size: 14px; opacity: .85; max-width: 440px; margin: 0 auto 20px; line-height: 1.6; }
.lp-app-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.lp-app-badge { background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 99px; padding: 7px 18px; font-size: 13px; font-weight: 600; }

/* ── How it works ── */
.lp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.lp-step { text-align: center; padding: 20px 16px; }
.lp-step-num { width: 40px; height: 40px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; margin: 0 auto 12px; }
.lp-step h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.lp-step p { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

/* ── CTA unten & Footer ── */
.lp-cta-bottom { text-align: center; padding-bottom: 80px; }
.lp-cta-title { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.lp-cta-sub { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; }
.lp-cta-note { margin-top: 20px; font-size: 13px; color: var(--text-light); }
.lp-footer { background: #fff; border-top: 1px solid var(--border); padding: 24px 20px; text-align: center; font-size: 13px; color: var(--text-light); }
.lp-footer a { color: var(--text-muted); }

/* ── RTL (Arabisch) ── */
html[dir="rtl"] body { direction: rtl; text-align: right; }
html[dir="rtl"] .lp-app::before { right: auto; left: -40px; }