:root {
    --orange: #f28c00;
    --orange-dark: #d97700;
    --blue: #005b9a;
    --green: #2e7d32;
    --text: #222;
    --light: #f5f5f5;
    --white: #fff;
    --border: #ddd;
}

/* =========================================================
   GRUNDLAYOUT
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
}

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

a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}

/*
 * NORMALE TEXTLINKS:
 * etwas fetter, aber nicht orange.
 */
p a,
.intro a,
.seo-content a,
.vergleich a:not(.vergleich-box a) {
    font-weight: 700;
    color: var(--blue);
}

/*
 * MOUSE-OVER:
 * Erst wenn die Maus über dem Link steht,
 * wird der Text orange.
 */
p a:hover,
.intro a:hover,
.seo-content a:hover,
.vergleich a:not(.vergleich-box a):hover {
    color: var(--orange);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    width: 100%;
    padding: 50px 0;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    width: 100%;
    background: #fff;
}

.header-logo {
    width: 100%;
}

.header-logo img {
    display: block;
    width: 100%;
    max-width: 370px;
    height: auto;
}

.header-buttons {
    width: 100%;
}

.header-buttons ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.header-buttons li {
    margin: 0;
}

.header-buttons a {
    display: block;
    padding: 12px 14px;
    background: #eeeeee;
    color: #222;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
}

.header-buttons a:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    width: 100%;
    text-align: center;
}

.hero-startseite {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    text-align: center;
}

.hero-startseite-img {
    display: block;
    width: 100%;
    max-width: 1600px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    object-position: center center;
}

.hero-startseite-links {
    position: absolute;
    inset: 0;
    z-index: 5;
}

.hero-startseite-link {
    position: absolute;
    top: 0;
    height: 100%;
    display: block;
    text-decoration: none;
    background: transparent;
}

.hero-startseite-link.dsl {
    left: 0;
    width: 33.3333%;
}

.hero-startseite-link.strom {
    left: 33.3333%;
    width: 33.3333%;
}

.hero-startseite-link.kredit {
    left: 66.6666%;
    width: 33.3334%;
}

.hero img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}


/* =========================================================
   ADSENSE
   ========================================================= */

.adsense-placeholder {
    width: 100%;
    min-height: 20px;
    text-align: center;
    margin: 20px 0;
}


/* =========================================================
   EINLEITUNG
   ========================================================= */

.intro {
    background: #fff;
}

.intro h1 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 34px;
    line-height: 1.25;
    color: #222;
}

.intro p {
    margin: 0 0 18px 0;
}


/* =========================================================
   VORTEILE
   ========================================================= */

.vorteile {
    background: var(--light);
}

.vorteile h2 {
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
    font-size: 30px;
}

.vorteile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.vorteil {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 25px;
}

.vorteil h3 {
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--blue);
    font-size: 21px;
}

.vorteil p {
    margin: 0;
}


/* =========================================================
   VERGLEICH
   ========================================================= */

.vergleich {
    background: #fff;
}

.vergleich h2 {
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
    font-size: 30px;
}

.vergleich-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.vergleich-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.vergleich-box h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--blue);
    font-size: 23px;
}

.vergleich-box p {
    margin-bottom: 22px;
}

/*
 * Vergleichsbuttons bleiben orange.
 */
.vergleich-box a {
    display: inline-block;
    padding: 11px 20px;
    background: var(--orange);
    color: #fff;
    border-radius: 4px;
    font-weight: 700;
}

.vergleich-box a:hover {
    background: var(--orange-dark);
    color: #fff;
}


/* =========================================================
   SEO CONTENT
   ========================================================= */

.seo-content {
    background: var(--light);
}

.seo-content h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 30px;
}

.seo-content p {
    margin-bottom: 18px;
}


/* =========================================================
   CTA
   ========================================================= */

.cta {
    background: #fff;
    text-align: center;
}

.cta h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 30px;
}

.cta p {
    margin-bottom: 25px;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.cta-buttons a {
    display: inline-block;
    padding: 13px 24px;
    background: var(--orange);
    color: #fff;
    border-radius: 4px;
    font-weight: 700;
}

.cta-buttons a:hover {
    background: var(--orange-dark);
    color: #fff;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer,
.site-footer {
    width: 100%;
    background: #222;
    color: #fff;
    padding: 40px 20px;
    margin-top: 0;
}

footer .container,
.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

footer h2,
footer h3,
.site-footer h2,
.site-footer h3 {
    color: #fff;
}

footer p,
.site-footer p {
    color: #ddd;
}

/*
 * FOOTER-TEXTLINKS:
 * normal = weiß + fett
 * mouse-over = orange + fett
 */
footer a,
.site-footer a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

footer a:hover,
.site-footer a:hover {
    color: var(--orange);
}

footer ul,
.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer li,
.site-footer li {
    margin-bottom: 7px;
}

footer .footer-links a,
.site-footer .footer-links a {
    color: #fff;
    font-weight: 700;
}

footer .footer-links a:hover,
.site-footer .footer-links a:hover {
    color: var(--orange);
}


/* =========================================================
   COOKIE
   ========================================================= */

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    background: #222;
    color: #fff;
    padding: 20px;
}

.cookie-banner a {
    color: var(--orange);
}

.cookie-banner button {
    cursor: pointer;
}


/* =========================================================
   RESPONSIVE TABLET
   ========================================================= */

@media (max-width: 900px) {

    .vorteile-grid,
    .vergleich-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 40px 0;
    }

    .intro h1 {
        font-size: 30px;
    }

    .vorteile h2,
    .vergleich h2,
    .seo-content h2,
    .cta h2 {
        font-size: 27px;
    }
}


/* =========================================================
   RESPONSIVE MOBIL
   ========================================================= */

@media (max-width: 600px) {

    .container {
        padding: 0 15px;
    }

    .section {
        padding: 30px 0;
    }

    .intro h1 {
        font-size: 26px;
    }

    .vorteile h2,
    .vergleich h2,
    .seo-content h2,
    .cta h2 {
        font-size: 24px;
    }

    .vorteil,
    .vergleich-box {
        padding: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons a {
        width: 100%;
    }

    footer,
    .site-footer {
        padding: 30px 15px;
    }

    .hero-startseite {
        width: 100%;
    }

    .hero-startseite-img {
        width: 100%;
        height: auto;
    }
}