/* Inter lokal gehostet — keine externen Anfragen (Datenschutz) */
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("../assets/fonts/inter-400.woff2") format("woff2");}
@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("../assets/fonts/inter-500.woff2") format("woff2");}
@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("../assets/fonts/inter-600.woff2") format("woff2");}
@font-face{font-family:"Inter";font-style:normal;font-weight:700;font-display:swap;src:url("../assets/fonts/inter-700.woff2") format("woff2");}
@font-face{font-family:"Inter";font-style:normal;font-weight:800;font-display:swap;src:url("../assets/fonts/inter-800.woff2") format("woff2");}

/* =====================================================================
   Energieberatung Turan — Stylesheet (originalgetreu nachgebaut)
   Farben & Schrift oben in :root. Zum Anpassen nur dort ändern.
   ===================================================================== */

:root {
    --brand:       #148368;   /* Markengrün: Telefon-Button, Häkchen, Akzente */
    --green-dark:  #0A5B48;   /* dunkle Sektionen: Hero, Proof, Abschluss */
    --btn-dark:    #0C1A14;   /* fast schwarzer Formular-Button */

    --ink:         #15201C;   /* Überschriften & Fließtext */
    --muted:       #5B6762;   /* Sekundärtext */
    --surface:     #F4F5F5;   /* Karten-/FAQ-Flächen */
    --line:        #E6E8E7;   /* Rahmen */
    --footer-bg:   #FFFFFF;   /* Footer */
    --white:       #FFFFFF;

    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --max: 1120px;
    --radius: 14px;
    --radius-s: 9px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white);
    line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4 { font-family: var(--font); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 3.2vw, 2.9rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.06rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
a { color: var(--brand); }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(52px, 7vw, 92px) 0; }
.section--dark { background: var(--green-dark); color: #D7E8E1; }
.section--dark h2, .section--dark h3 { color: #fff; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

/* --- Buttons ------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-weight: 600;
    font-size: .98rem; padding: 14px 26px; border-radius: 8px; border: 0; cursor: pointer;
    text-decoration: none; transition: background .18s ease, transform .12s ease; }
.btn--dark { background: var(--btn-dark); color: #fff; width: 100%; }
.btn--dark:hover { background: #16261e; }
.btn--white { background: #fff; color: var(--green-dark); width: 100%; }
.btn--white:hover { background: #eef3f1; }

/* --- Topbar -------------------------------------------------------- */
.topbar { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 50; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-img { height: 76px; width: auto; display: block; }
.logo .lt { line-height: 1.1; }
.logo .lt b { display: block; font-weight: 800; font-size: 1.02rem; letter-spacing: -0.01em; }
.logo .lt span { display: block; font-size: .64rem; color: var(--muted); letter-spacing: .02em; }
.topphone { background: var(--brand); color: #fff; font-weight: 600; font-size: .9rem; padding: 11px 20px;
    border-radius: 8px; text-decoration: none; white-space: nowrap; }
.topphone:hover { background: #0f6f58; }

/* --- Hero ---------------------------------------------------------- */
.hero { position: relative; background: var(--green-dark); color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0;
    background: radial-gradient(120% 90% at 78% 15%, rgba(255,255,255,.08), transparent 60%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.4fr .9fr; gap: 40px;
    align-items: center; padding-top: clamp(46px,5vw,70px); padding-bottom: clamp(46px,5vw,70px); }
.hero-left { max-width: 620px; }
.hero-eyebrow { display: inline-block; background: rgba(0,0,0,.28); color: #fff; font-size: .68rem; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 5px; margin-bottom: 18px; }
.hero h1 { color: #fff; margin-bottom: .5em; line-height: 1.14; }
.hero .sub { font-weight: 700; font-size: 1rem; color: #fff; margin-bottom: 1.3rem; }
.hero .usp { list-style: none; margin: 0 0 1.8rem; padding: 0; display: grid; gap: 14px; }
.hero .usp li { display: flex; align-items: flex-start; gap: .7em; font-size: .98rem; color: #EAF3EF; }
.hero .usp .ck { flex: none; color: #fff; margin-top: 2px; }
.hero .person { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero .person > img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.4); }
.hero .person b { display: block; font-size: .92rem; }
.hero .person span { display: block; font-size: .76rem; color: #BFD6CD; }
.hero .person .eee-badge { height: 40px; width: auto; background: #fff; padding: 6px 10px; border-radius: 7px; margin-left: 6px; }

/* --- Formularkarte ------------------------------------------------- */
.form-card { background: #fff; border-radius: var(--radius); padding: clamp(24px,3vw,34px);
    box-shadow: 0 30px 60px -32px rgba(0,0,0,.45); color: var(--ink); }
.form-card h3 { text-align: center; font-size: 1.12rem; font-weight: 800; margin-bottom: .5em; line-height: 1.25; }
.form-card .fintro { text-align: center; font-size: .82rem; color: var(--muted); margin-bottom: 1.3rem; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { margin-bottom: 12px; }
.inp { width: 100%; font: inherit; font-size: .95rem; color: var(--ink); padding: 13px 14px;
    border: 1px solid #D9DEDC; border-radius: 8px; background: #fff; }
.inp::placeholder { color: #9AA3A0; }
.inp:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(20,131,104,.14); }
.phone { display: flex; gap: 8px; }
.phone .code { flex: none; width: 112px; font: inherit; font-size: .88rem; padding: 13px 8px;
    border: 1px solid #D9DEDC; border-radius: 8px; background: #fff; }
.phone .inp { flex: 1; }
.consent { display: flex; gap: .6em; align-items: flex-start; margin-top: 12px; font-size: .82rem; color: var(--muted); }
.consent input { margin-top: 3px; flex: none; width: 17px; height: 17px; accent-color: var(--brand); }
.form-card .btn { margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: .86rem; border-radius: 8px; padding: 11px 14px; margin-bottom: 14px; }
.form-status[hidden] { display: none; }
.form-status.is-error { background: #FBEAE7; border: 1px solid #E7B4AB; color: #8A2C1B; }
.form-card--dark .form-status.is-error { background: rgba(255,255,255,.1); border-color: rgba(255,210,200,.5); color: #FFE2DC; }

/* --- Leistungen ---------------------------------------------------- */
.sec-head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px,5vw,54px); }
.grid3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.lcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.lcard .ic { width: 42px; height: 42px; border-radius: 9px; background: #fff; border: 1px solid var(--line);
    display: grid; place-items: center; color: var(--green-dark); margin-bottom: 16px; }
.lcard h3 { margin-bottom: .5em; }
.lcard p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.6; }

/* --- Proof-Band ---------------------------------------------------- */
.proof { text-align: center; }
.proof p { margin: 0 auto; max-width: 38ch; font-size: clamp(1.7rem,3.2vw,2.4rem); font-weight: 800;
    letter-spacing: -0.02em; color: #fff; line-height: 1.3; }

/* --- 3 Dinge ------------------------------------------------------- */
.benefits-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.benefits-grid > div > h2 { margin-bottom: .9em; }
.benefits-list { margin-top: 4px; }
.pcard img { width: 100%; aspect-ratio: 4 / 3.3; border-radius: var(--radius); object-fit: cover; }
.pcard .cap { margin-top: 14px; }
.pcard .cap b { display: block; font-weight: 800; font-size: 1rem; }
.pcard .cap span { display: block; font-size: .82rem; color: var(--muted); margin-top: 2px; }
.benefit { display: flex; gap: 15px; margin-bottom: 22px; }
.benefit:last-child { margin-bottom: 0; }
.benefit .ic { flex: none; color: var(--green-dark); margin-top: 2px; }
.benefit h3 { margin-bottom: .3em; font-size: 1rem; }
.benefit p { margin: 0; font-size: .86rem; color: var(--muted); line-height: 1.58; }

/* --- Zertifikate --------------------------------------------------- */
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cert { width: 100%; text-decoration: none; display: block; }
.cert .doc { display: block; aspect-ratio: 210/297; border: 1px solid var(--line); border-radius: 8px;
    overflow: hidden; background: #fff; box-shadow: 0 12px 26px -18px rgba(0,0,0,.35);
    transition: transform .15s ease, box-shadow .2s ease; }
.cert .doc img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cert:hover .doc { transform: translateY(-3px); box-shadow: 0 18px 34px -18px rgba(0,0,0,.4); }
.cert-cap { display: block; margin-top: 12px; font-size: .82rem; font-weight: 600; color: var(--ink); line-height: 1.4; }

/* --- Ablauf-Schritte ----------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step.is-active { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.step .pill { display: inline-block; font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    padding: 5px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); margin-bottom: 16px; }
.step.is-active .pill { background: rgba(255,255,255,.16); border-color: transparent; color: #fff; }
.step h3 { text-transform: uppercase; letter-spacing: .02em; margin-bottom: .5em; }
.step.is-active h3 { color: #fff; }
.step p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.6; }
.step.is-active p { color: #D7E8E1; }

/* --- FAQ ----------------------------------------------------------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: .95rem; color: var(--ink);
    list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; transition: transform .2s ease; color: var(--muted); }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .answer { padding: 0 22px 20px; font-size: .9rem; color: var(--muted); line-height: 1.6; }
.faq .answer p { margin: 0 0 .7rem; }
.faq .answer ul { margin: .3rem 0 0; padding-left: 1.1rem; }

/* --- Abschluss ----------------------------------------------------- */
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.cta-eyebrow { display: inline-block; background: rgba(255,255,255,.14); color: #fff; font-size: .7rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase; padding: 6px 13px; border-radius: 6px; margin-bottom: 18px; }
.cta-left h2 { margin-bottom: .5em; }
.cta-left .big { font-weight: 800; color: #fff; }
.cta-left .contact { margin-top: 22px; }
.cta-left .contact a { color: #fff; font-weight: 800; font-size: 1.25rem; text-decoration: none; }
.cta-left .contact .small { font-size: .85rem; color: #BFD6CD; margin: 3px 0 16px; }

.form-card--dark { background: transparent; border: 1px solid rgba(255,255,255,.22); box-shadow: none; color: #fff; }
.form-card--dark h3 { color: #fff; text-align: left; }
.form-card--dark .fintro { color: #CFE2DB; text-align: left; }
.form-card--dark .inp, .form-card--dark .phone .code {
    background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.28); color: #fff; }
.form-card--dark .inp::placeholder { color: #A7C3BA; }
.form-card--dark .consent { color: #CFE2DB; }
.form-card--dark .pill-top { display: inline-block; background: rgba(255,255,255,.14); color: #fff; font-size: .64rem;
    font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }

/* --- Footer -------------------------------------------------------- */
.footer { background: var(--footer-bg); border-top: 1px solid var(--line); padding: 30px 0; text-align: center; font-size: .86rem; color: var(--muted); }
.footer .links { margin-top: 8px; }
.footer .links a { color: var(--ink); font-weight: 600; text-decoration: none; margin: 0 10px; }
.footer .links a:hover { text-decoration: underline; }

/* --- Responsiv ----------------------------------------------------- */
@media (max-width: 900px) {
    .hero .wrap, .benefits-grid, .cta-grid { grid-template-columns: 1fr; }
    .hero .wrap { gap: 32px; }
    .benefits-grid { gap: 30px; }
    .pcard { max-width: 520px; }
    .grid3, .steps, .certs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .grid3, .steps { grid-template-columns: 1fr; }
    .certs { grid-template-columns: 1fr 1fr; }
    .frow { grid-template-columns: 1fr; }
    .topphone { padding: 9px 14px; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* --- Rechtstexte (Impressum / Datenschutz) ------------------------- */
.legal { max-width: 820px; margin: 0 auto; padding: clamp(40px,6vw,72px) 24px; }
.legal h1 { font-size: clamp(1.7rem,3vw,2.1rem); margin-bottom: 1.1em; }
.legal h2 { font-size: 1.12rem; font-weight: 800; margin: 2em 0 .5em; }
.legal h3 { font-size: .98rem; font-weight: 700; margin: 1.4em 0 .3em; }
.legal p { font-size: .94rem; color: #37423D; line-height: 1.7; margin: 0 0 .9rem; }
.legal a { color: var(--brand); word-break: break-word; }
.legal address { font-style: normal; color: #37423D; font-size: .94rem; line-height: 1.7; margin-bottom: .9rem; }

/* --- Danke-Seite --------------------------------------------------- */
.thanks-sec { padding: clamp(40px,6vw,72px) 0 clamp(60px,8vw,90px); }
.thanks-box { max-width: 620px; margin: 0 auto; text-align: center; }
.thanks-box .check { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 22px;
    background: var(--brand); color: #fff; display: grid; place-items: center; }
.thanks-box h1 { font-size: clamp(1.7rem,3.2vw,2.3rem); margin-bottom: .5em; }
.thanks-box .q { font-weight: 700; font-size: 1.02rem; margin-bottom: 1.4rem; }
.thanks-box p { color: #37423D; line-height: 1.7; margin: 0 auto 1rem; max-width: 52ch; }
.thanks-box .hl { background: var(--brand); color: #fff; padding: 1px 7px; border-radius: 4px; font-weight: 700; }
.thanks-box .person { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; text-align: left; }
.thanks-box .person img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.thanks-box .person b { display: block; font-size: .95rem; }
.thanks-box .person span { display: block; font-size: .8rem; color: var(--muted); }
