/* ============================================================
   WO? kaufe ich meinen Strom — Shared CSS für Landing Pages
   Design: passend zur index.html (Inter, Purple/Orange palette)
   ============================================================ */

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

:root {
    --purple:   #3D1F66;
    --purple-l: #5B3A8F;
    --purple-m: #F5F0FC;
    --orange:   #D97A3A;
    --orange-l: #F0984E;
    --green:    #10B981;
    --text:     #1A1A2E;
    --muted:    #6B7280;
    --border:   #E5E7EB;
    --bg:       #fff;
    --bg2:      #FAFAFA;
    --r:        0.75rem;
    --rl:       1.25rem;
    --s1: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --s2: 0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
    --s3: 0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
}

html { scroll-behavior:smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

/* ── NAVIGATION ─────────────────────────────────────────── */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav-i {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.nav-logo img { height: 52px; width: auto; display: block; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}
.nav-links a {
    font-size: .875rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    transition: color .15s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--purple); }
.nav-cta {
    background: var(--orange) !important;
    color: #fff !important;
    padding: .45rem 1.1rem;
    border-radius: 6px;
    font-weight: 700 !important;
    transition: background .15s, transform .1s !important;
    white-space: nowrap;
}
.nav-cta:hover { background: var(--orange-l) !important; transform: translateY(-1px); }
@media(max-width:640px){ .nav-links { display: none; } }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-l) 60%, #7B4FA6 100%);
    color: #fff;
    padding: 5rem 1.5rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.hero-content {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
}
.hero h1 {
    font-size: clamp(1.9rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -.02em;
}
.hero p {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    opacity: .88;
    max-width: 560px;
    margin: 0 auto 1.25rem;
    line-height: 1.55;
}
.savings-highlight {
    display: inline-block;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.28);
    backdrop-filter: blur(6px);
    border-radius: 100px;
    padding: .45rem 1.4rem;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}

/* ── CTA BUTTONS ────────────────────────────────────────── */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}
.btn-primary {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    font-family: inherit;
    font-size: .975rem;
    font-weight: 700;
    padding: .8rem 1.75rem;
    border-radius: var(--r);
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s, transform .15s, box-shadow .15s;
    box-shadow: 0 4px 14px rgba(217,122,58,.35);
}
.btn-primary:hover {
    background: var(--orange-l);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217,122,58,.45);
}
.btn-secondary {
    display: inline-block;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-family: inherit;
    font-size: .975rem;
    font-weight: 600;
    padding: .8rem 1.75rem;
    border-radius: var(--r);
    border: 1px solid rgba(255,255,255,.3);
    text-decoration: none;
    cursor: pointer;
    transition: background .15s, transform .15s;
}
.btn-secondary:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }

/* ── BREADCRUMB ─────────────────────────────────────────── */
.breadcrumb {
    max-width: 1100px;
    margin: 1.25rem auto;
    padding: 0 1.5rem;
    font-size: .82rem;
    color: var(--muted);
}
.breadcrumb a { color: var(--purple); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { margin: 0 .4rem; }

/* ── LAYOUT ─────────────────────────────────────────────── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section  { padding: 4rem 1.5rem; }
.section-alt { padding: 4rem 1.5rem; background: var(--bg2); }

/* Keep old class names working */
section  { padding: 4rem 1.5rem; }
.section-light { background: var(--bg2); }

.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-label {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--orange);
    margin-bottom: .5rem;
}
.section-title {
    font-size: clamp(1.45rem, 3.5vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.02em;
    color: var(--text);
}

h2 {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
    color: var(--text);
    letter-spacing: -.015em;
    line-height: 1.25;
    margin-bottom: 1.25rem;
}
h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: .5rem;
    line-height: 1.3;
}

/* ── CARD GRID ──────────────────────────────────────────── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}
.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 1.5rem;
    box-shadow: var(--s1);
    transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--s2); }
.card h3 { color: var(--purple); margin-bottom: .6rem; }
.card p { font-size: .9rem; color: var(--muted); line-height: 1.65; }

/* ── HIGHLIGHT BOXES ────────────────────────────────────── */
.highlight {
    padding: 1.1rem 1.4rem;
    border-radius: var(--r);
    margin: 1.25rem 0;
    border-left: 4px solid var(--orange);
    background: #FFF8F2;
    font-size: .9rem;
    line-height: 1.65;
}
.highlight.red   { border-left-color: #EF4444; background: #FFF5F5; }
.highlight.green { border-left-color: var(--green); background: #F0FDF9; }
.highlight.blue  { border-left-color: #3B82F6; background: #EFF6FF; }

/* ── STEP LIST ──────────────────────────────────────────── */
.step-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}
/* Old "steps" class stays working */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}
.step-item,
.step {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 1.4rem;
    box-shadow: var(--s1);
}
.step-number,
.step-num {
    width: 40px;
    height: 40px;
    background: var(--purple);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: .9rem;
}
.step h3  { font-size: .9rem; font-weight: 700; margin-bottom: .35rem; }
.step p   { font-size: .84rem; color: var(--muted); line-height: 1.6; }

/* ── FAQ ACCORDION ──────────────────────────────────────── */
.faq-list {
    max-width: 720px;
    margin: 1.5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: .7rem;
}
/* Also support plain wrapping div usage */
.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: var(--s1);
    margin-bottom: .7rem;
}
.faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 1.1rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: .92rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background .15s;
}
.faq-q:hover { background: var(--bg2); }
.faq-q.open  { color: var(--purple); }
.faq-ic {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--purple-m);
    color: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
    font-weight: 700;
    transition: transform .2s, background .2s;
    line-height: 1;
}
.faq-q.open .faq-ic { background: var(--purple); color: #fff; transform: rotate(45deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    font-size: .875rem;
    color: var(--muted);
    line-height: 1.7;
}
.faq-a.open { max-height: 600px; }
.faq-a-i { padding: 0 1.4rem 1.1rem; }

/* Static faq items (non-accordion, used in some pages) */
.faq-item > h3 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--purple);
    padding: 1rem 1.4rem .4rem;
}
.faq-item > p {
    font-size: .875rem;
    color: var(--muted);
    line-height: 1.7;
    padding: 0 1.4rem 1rem;
}

/* ── TABLE ──────────────────────────────────────────────── */
table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9rem; }
th {
    background: var(--purple);
    color: #fff;
    padding: .75rem 1rem;
    text-align: left;
    font-size: .82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}
td { padding: .8rem 1rem; border-bottom: 1px solid var(--border); }
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: var(--bg2); }
table strong { color: var(--text); }

/* ── CHECKLIST ──────────────────────────────────────────── */
.checklist { list-style: none; margin: 1rem 0; }
.checklist li {
    padding: .45rem 0 .45rem 2rem;
    position: relative;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.55;
}
.checklist li::before { content: "✅"; position: absolute; left: 0; }

/* ── CTA SECTION (in-page banner) ───────────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--orange) 0%, #E8913E 100%);
    color: #fff;
    text-align: center;
    padding: 3.5rem 1.5rem;
    border-radius: var(--rl);
    margin: 2rem 0;
}
.cta-section h2 {
    color: #fff;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    margin-bottom: .6rem;
}
.cta-section p { opacity: .92; margin-bottom: 1.5rem; font-size: .975rem; }
.cta-section .btn-primary {
    background: #fff;
    color: var(--orange);
    box-shadow: var(--s2);
}
.cta-section .btn-primary:hover { background: var(--bg2); }

/* ── RELATED PAGES ──────────────────────────────────────── */
.related-pages { padding: 1.5rem 0 1rem; }
.related-pages h3 { color: var(--purple); margin-bottom: .85rem; }
.related-links { display: flex; flex-wrap: wrap; gap: .65rem; }
.related-links a {
    background: var(--bg2);
    color: var(--purple);
    padding: .45rem 1.1rem;
    border-radius: 100px;
    text-decoration: none;
    font-size: .83rem;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: background .15s, color .15s, border-color .15s;
}
.related-links a:hover {
    background: var(--purple);
    color: #fff;
    border-color: var(--purple);
}

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
    background: #1A1A2E;
    color: rgba(255,255,255,.85);
    padding: 3rem 1.5rem 2rem;
}
.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
@media(max-width:768px){
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .footer-brand { grid-column: 1 / -1; text-align: center; }
    .footer-brand img { margin: 0 auto 1rem; display: block; }
}
@media(max-width:480px){
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { text-align: center; }
}
.footer-brand img  { height: 90px; width: auto; margin-bottom: 1rem; display: block; }
.footer-brand p {
    font-size: .875rem;
    line-height: 1.65;
    max-width: 280px;
    color: rgba(255,255,255,.75);
}
.footer-col h4 {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #fff;
    margin-bottom: .85rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul li a {
    font-size: .84rem;
    color: rgba(255,255,255,.7);
    text-decoration: none;
    transition: color .15s;
}
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
    max-width: 1100px;
    margin: 1.25rem auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: .78rem;
    color: rgba(255,255,255,.5);
}

/* Legacy footer classes (old pages used .footer-content / .footer-section) */
.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
@media(max-width:768px){ .footer-content { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media(max-width:480px){ .footer-content { grid-template-columns: 1fr; } }
.footer-section h4 {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #fff;
    margin-bottom: .85rem;
}
.footer-section ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-section a {
    font-size: .84rem;
    color: rgba(255,255,255,.7);
    text-decoration: none;
    transition: color .15s;
}
.footer-section a:hover { color: #fff; }
.footer-section p { font-size: .875rem; color: rgba(255,255,255,.7); line-height: 1.65; }
.footer-bottom {
    max-width: 1100px;
    margin: 1.25rem auto 0;
    text-align: center;
    font-size: .78rem;
    color: rgba(255,255,255,.45);
}

/* ── UTILITIES ──────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity:0; transform:translateY(18px); }
    to   { opacity:1; transform:translateY(0); }
}
.au { animation: fadeUp .5s ease-out both; }
.d1 { animation-delay:.1s; }
.d2 { animation-delay:.2s; }
.d3 { animation-delay:.3s; }
