/* stroganet.de - Strom · Gas · Netz */

:root {
    --green: #126E6B;
    --green-dark: #0D3B3E;
    --yellow: #F5B400;
    --orange: #F08A2E;
    --blue: #5FA1D6;
    --neutral: #F5F3EF;
    --paper: #FFFFFF;
    --line: #DDE7E5;
    --text: #183332;
    --muted: #5A6E6B;
    --shadow: 0 22px 70px rgba(13, 59, 62, .12);
    --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top right, rgba(18, 110, 107, .10), transparent 28rem),
        linear-gradient(180deg, #fff, var(--neutral));
    line-height: 1.6;
}

a { color: var(--green); }
img { max-width: 100%; height: auto; }

.skip-link {
    position: absolute;
    top: -4rem;
    left: 1rem;
    padding: .7rem 1rem;
    background: var(--green-dark);
    color: #fff;
    z-index: 50;
}
.skip-link:focus { top: 1rem; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(221,231,229,.8);
}

.header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: .9rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand img { width: 260px; display: block; }

.main-nav {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: .96rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--green-dark);
    padding: .55rem .75rem;
    border-radius: 999px;
    font-weight: 700;
}

.main-nav a:hover,
.main-nav a.active { background: rgba(18,110,107,.10); }

.main-nav .nav-cta {
    background: var(--green-dark);
    color: #fff;
}
.main-nav .nav-cta:hover { background: var(--green); }

.language-switch {
    display: inline-flex;
    gap: .15rem;
    margin-left: .35rem;
    padding-left: .4rem;
    border-left: 1px solid var(--line);
}
.language-switch a {
    font-size: 1.12rem;
    opacity: .65;
    padding: .35rem;
}
.language-switch a.selected {
    opacity: 1;
    background: rgba(245,180,0,.18);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: var(--green-dark);
    border-radius: 12px;
    padding: 10px;
}
.nav-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    background: #fff;
    margin: 5px 0;
}
.sr-only { position: absolute; left: -9999px; }

main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.2rem 4rem;
}

.hero,
.service-hero,
.page-hero {
    margin: 3rem 0 2rem;
    min-height: 520px;
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(13,59,62,.96), rgba(18,110,107,.86)),
        radial-gradient(circle at 75% 30%, rgba(245,180,0,.26), transparent 20rem);
    color: #fff;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(320px,.9fr);
    gap: 2rem;
    align-items: center;
    padding: clamp(2rem, 5vw, 4.5rem);
}

.page-hero.compact {
    min-height: auto;
    display: block;
    max-width: 900px;
}

.eyebrow {
    color: rgba(255,255,255,.78);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 800;
    font-size: .82rem;
    margin: 0 0 1rem;
}

.hero h1,
.service-hero h1,
.page-hero h1 {
    font-size: clamp(2.3rem, 6vw, 5rem);
    line-height: 1.03;
    margin: 0 0 1.2rem;
    letter-spacing: -.055em;
}

.hero-text,
.service-hero p,
.page-hero p {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    max-width: 720px;
    color: rgba(255,255,255,.88);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 1.8rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: var(--yellow);
    color: var(--green-dark);
    padding: .9rem 1.25rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(0,0,0,.12);
}

.button:hover { transform: translateY(-1px); }

.button-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,.45);
    box-shadow: none;
}

.button-light {
    background: #fff;
    color: var(--green-dark);
}

.microline {
    margin-top: 1.25rem;
    color: rgba(255,255,255,.78);
}

.hero-visual { display: flex; justify-content: center; }

.consult-card {
    width: min(100%, 360px);
    aspect-ratio: 1 / 1;
    background: rgba(255,255,255,.92);
    color: var(--green-dark);
    border-radius: 40px;
    padding: 2rem;
    display: grid;
    place-items: center;
    text-align: center;
    transform: rotate(2deg);
}

.bubble-graphic {
    width: 170px;
    height: 170px;
    border: 7px solid var(--green);
    border-radius: 46%;
    position: relative;
}
.bubble-graphic::after {
    content: "";
    position: absolute;
    right: 3px;
    bottom: -19px;
    border-left: 23px solid transparent;
    border-top: 31px solid var(--green);
    transform: rotate(-12deg);
}

.node {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    z-index: 2;
}
.n1 { left: 73px; top: 42px; background: var(--yellow); }
.n2 { left: 42px; top: 94px; background: var(--orange); }
.n3 { left: 106px; top: 94px; background: var(--blue); }

.line {
    position: absolute;
    height: 5px;
    background: var(--green);
    transform-origin: left center;
    border-radius: 20px;
}
.l1 { left: 54px; top: 101px; width: 61px; transform: rotate(-55deg); }
.l2 { left: 88px; top: 63px; width: 61px; transform: rotate(55deg); }
.l3 { left: 57px; top: 105px; width: 66px; }

.consult-card p { margin: 0; color: var(--muted); }
.consult-card strong { font-size: 1.4rem; }

.trust-grid,
.service-grid,
.process-grid,
.value-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1rem;
}

.trust-grid article,
.process-grid article,
.value-grid article,
.info-box,
.soft-panel {
    background: rgba(255,255,255,.84);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 12px 45px rgba(13,59,62,.06);
}

.round-icon {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: rgba(18,110,107,.10);
    font-size: 1.35rem;
}

.trust-grid h2,
.process-grid h3,
.value-grid h3 {
    margin-bottom: .2rem;
    color: var(--green-dark);
}

.section { margin: 4rem 0; }

.section-heading {
    max-width: 780px;
    margin-bottom: 1.4rem;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
    letter-spacing: -.04em;
    color: var(--green-dark);
    margin: 0 0 .75rem;
}

.section-heading p {
    color: var(--muted);
    font-size: 1.1rem;
}

.service-card {
    min-height: 300px;
    border-radius: 28px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: var(--green-dark);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}
.service-card::before {
    content: "";
    position: absolute;
    inset: auto -15% -28% auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    opacity: .18;
}
.service-power::before { background: var(--yellow); }
.service-gas::before { background: var(--orange); }
.service-network::before { background: var(--blue); }

.service-icon {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 22px;
    font-size: 2rem;
    background: var(--neutral);
}
.service-power .service-icon { color: var(--yellow); }
.service-gas .service-icon { color: var(--orange); }
.service-network .service-icon { color: var(--blue); }

.service-card strong {
    display: block;
    font-size: 1.55rem;
    margin-top: 1rem;
}
.service-card span { color: var(--muted); }
.service-card em {
    font-style: normal;
    font-weight: 800;
    color: var(--green);
}

.service-hero { min-height: 420px; }

.power-hero {
    background: linear-gradient(135deg, rgba(13,59,62,.95), rgba(245,180,0,.78));
}
.gas-hero {
    background: linear-gradient(135deg, rgba(13,59,62,.95), rgba(240,138,46,.84));
}
.network-hero {
    background: linear-gradient(135deg, rgba(13,59,62,.95), rgba(95,161,214,.90));
}

.service-symbol {
    justify-self: center;
    font-size: clamp(7rem, 20vw, 14rem);
    opacity: .88;
    line-height: 1;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 1rem;
    align-items: start;
}

.check-list {
    padding-left: 0;
    list-style: none;
}
.check-list li {
    margin: .65rem 0;
    padding-left: 2rem;
    position: relative;
}
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--green);
    font-weight: 900;
}

.soft-panel {
    background: linear-gradient(180deg, rgba(18,110,107,.09), rgba(255,255,255,.9));
}

.text-link {
    font-weight: 800;
    color: var(--green-dark);
}

.readable {
    max-width: 900px;
    font-size: 1.15rem;
}

.contact-strip {
    margin: 4rem 0 1rem;
    border-radius: var(--radius);
    padding: clamp(1.5rem, 4vw, 2.4rem);
    background:
        radial-gradient(circle at right, rgba(245,180,0,.22), transparent 20rem),
        var(--green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.contact-strip h2 {
    margin: 0 0 .2rem;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    line-height: 1.05;
}
.contact-strip p {
    margin: 0;
    color: rgba(255,255,255,.86);
}

.legal-page {
    max-width: 900px;
    margin: 3rem auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: clamp(1.4rem, 4vw, 3rem);
    box-shadow: var(--shadow);
}

.legal-title {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 1rem;
    color: var(--green-dark);
}

.notice {
    padding: 1rem;
    border-radius: 16px;
    background: rgba(245,180,0,.14);
    border: 1px solid rgba(245,180,0,.42);
}

.site-footer {
    background: var(--green-dark);
    color: rgba(255,255,255,.84);
    margin-top: 3rem;
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 2.4rem 1.2rem;
    display: grid;
    grid-template-columns: 1.3fr .7fr .5fr;
    gap: 1.5rem;
}

.footer-logo {
    max-width: 230px;
    background: #fff;
    border-radius: 12px;
    padding: .35rem .55rem;
}

.operator {
    color: rgba(255,255,255,.56);
    font-size: .95rem;
}

.footer-contact,
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.site-footer a { color: #fff; }

@media (max-width: 980px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: 76px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 20px;
        box-shadow: var(--shadow);
        padding: .8rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
    }
    .main-nav.open { display: flex; }
    .language-switch {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding: .5rem 0 0;
        margin: .35rem 0 0;
    }
    .hero,
    .service-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .trust-grid,
    .service-grid,
    .process-grid,
    .value-grid,
    .two-col,
    .footer-inner {
        grid-template-columns: 1fr;
    }
    .brand img { width: 215px; }
}

@media (max-width: 560px) {
    main { padding-inline: .85rem; }
    .header-inner { padding-inline: .85rem; }
    .hero,
    .service-hero,
    .page-hero {
        margin-top: 1.2rem;
        border-radius: 22px;
        padding: 1.4rem;
    }
    .consult-card { transform: none; }
    .contact-strip {
        align-items: stretch;
        flex-direction: column;
    }
}
