/* ==========================================================================
   Elektro-Watt-Tech – Designsystem
   Schrift: Archivo (variabel, Breite 62–125 %), lokal eingebunden
   ========================================================================== */

@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    font-stretch: 62% 125%;
    src: url(/fonts/archivo-latin-ext-wdth-normal.woff2) format('woff2-variations'),
         url(/fonts/archivo-latin-ext-wdth-normal.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    font-stretch: 62% 125%;
    src: url(/fonts/archivo-latin-wdth-normal.woff2) format('woff2-variations'),
         url(/fonts/archivo-latin-wdth-normal.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    /* Farben */
    --schiefer: #14181d;      /* Grundton dunkel */
    --graphit: #1f252d;       /* Flächen auf dunkel */
    --graphit-2: #2a323c;     /* Linien auf dunkel */
    --signal: #ffb400;        /* Akzent aus dem Logo */
    --signal-dunkel: #e09e00;
    --lichtgrau: #eef0f2;     /* helle Abschnitte */
    --weiss: #ffffff;
    --text-hell: #f4f5f7;
    --text-hell-2: #a9b2bc;
    --text-dunkel: #14181d;
    --text-dunkel-2: #4b5560;
    --linie-hell: #d6dade;

    /* Schrift */
    --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --breit: 112%;            /* Überschriften leicht gestreckt */

    /* Abstände */
    --container: 1200px;
    --rand: clamp(20px, 5vw, 48px);
    --abschnitt: clamp(72px, 10vw, 128px);
    --radius: 6px;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-dunkel);
    background: var(--weiss);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

h1, h2, h3, h4 {
    font-stretch: var(--breit);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.01em;
    margin: 0 0 0.5em;
    text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; }
h4 { font-size: 1.1rem; line-height: 1.3; }

p {
    margin: 0 0 1em;
    max-width: 68ch;
}

ul {
    padding-left: 1.2em;
}

:focus-visible {
    outline: 3px solid var(--signal);
    outline-offset: 3px;
    border-radius: 2px;
}

.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    background: var(--signal);
    color: var(--schiefer);
    padding: 10px 16px;
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus {
    top: 16px;
}

.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--rand));
    margin: 0 auto;
    padding: 0 var(--rand);
}

.lead {
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    line-height: 1.55;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 26px;
    border: 2px solid transparent;
    border-radius: var(--radius);
    font: 700 1rem/1 var(--font);
    font-stretch: 105%;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.btn svg {
    width: 20px;
    height: 20px;
    flex: none;
}

.btn-signal {
    background: var(--signal);
    color: var(--schiefer);
}

.btn-signal:hover {
    background: var(--signal-dunkel);
}

.btn-rahmen {
    border-color: currentColor;
    color: inherit;
    background: transparent;
}

.btn-rahmen:hover {
    background: rgba(255, 255, 255, .08);
}

.auf-hell .btn-rahmen:hover {
    background: rgba(20, 24, 29, .06);
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--schiefer);
    color: var(--text-hell);
    border-bottom: 1px solid var(--graphit-2);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    flex: none;
}

.logo img {
    height: 42px;
    width: auto;
}

.main-nav {
    margin-left: auto;
}

.main-nav ul {
    display: flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    display: block;
    padding: 10px 14px;
    font-weight: 600;
    font-size: .98rem;
    text-decoration: none;
    color: var(--text-hell);
    border-radius: var(--radius);
}

.main-nav a:hover {
    color: var(--signal);
}

.main-nav a[aria-current="page"] {
    color: var(--signal);
}

.nav-group {
    position: relative;
}

.nav-sub {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    padding: 8px !important;
    background: var(--graphit);
    border: 1px solid var(--graphit-2);
    border-radius: var(--radius);
    display: none !important;
    flex-direction: column;
    gap: 0 !important;
}

.nav-group:hover .nav-sub,
.nav-group:focus-within .nav-sub {
    display: flex !important;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: none;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.header-phone svg {
    width: 18px;
    height: 18px;
    color: var(--signal);
}

.header-actions .btn {
    min-height: 44px;
    padding: 0 20px;
}

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    color: var(--text-hell);
    cursor: pointer;
    padding: 12px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: currentColor;
    margin: 5px 0;
    transition: transform .2s ease, opacity .2s ease;
}

.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
    .header-actions .btn { display: none; }
}

@media (max-width: 900px) {
    .header-inner { height: 68px; gap: 12px; }
    .logo img { height: 34px; }
    .nav-toggle { display: block; order: 3; margin-left: 0; }
    .header-actions { margin-left: auto; }
    .header-phone span { display: none; }
    .header-phone svg { width: 22px; height: 22px; }
    .header-phone { padding: 12px; }

    .main-nav {
        position: fixed;
        inset: 68px 0 0 0;
        background: var(--schiefer);
        padding: 24px var(--rand);
        overflow-y: auto;
        display: none;
        margin: 0;
    }
    .nav-open .main-nav { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav a { font-size: 1.25rem; padding: 14px 0; border-bottom: 1px solid var(--graphit-2); border-radius: 0; }
    .nav-sub { position: static; display: flex !important; background: none; border: 0; padding: 0 0 0 16px !important; }
    .nav-sub a { font-size: 1.05rem; color: var(--text-hell-2); }
}

/* ---------- Hero (Startseite) ---------- */

.hero {
    position: relative;
    color: var(--text-hell);
    background: var(--schiefer);
    overflow: hidden;
    /* Der Blitz-Schnitt aus dem Logo als untere Kante */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 58% 100%, 52% calc(100% - 44px), 47% calc(100% - 20px), 0 calc(100% - 64px));
    padding-bottom: 64px;
    margin-bottom: -64px;
}

.hero-bild {
    position: absolute;
    inset: 0;
}

.hero-bild img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% center;
}

.hero-bild::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(20, 24, 29, .94) 0%, rgba(20, 24, 29, .82) 38%, rgba(20, 24, 29, .25) 75%),
        linear-gradient(0deg, rgba(20, 24, 29, .7) 0%, rgba(20, 24, 29, 0) 40%);
}

.hero-inhalt {
    position: relative;
    padding-top: clamp(80px, 12vw, 150px);
    padding-bottom: clamp(96px, 12vw, 150px);
}

.hero h1 {
    max-width: 11ch;
    margin-bottom: 24px;
}

.hero .lead {
    max-width: 40ch;
    color: #dfe3e8;
    margin-bottom: 36px;
}

.hero-aktionen {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 56px;
}

.vorteile {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.vorteile li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 4px 28px 4px 0;
    margin-right: 28px;
    border-right: 1px solid rgba(255, 255, 255, .18);
    font-weight: 600;
    line-height: 1.3;
}

.vorteile li:last-child {
    border-right: 0;
}

.vorteile svg {
    width: 34px;
    height: 34px;
    flex: none;
    color: var(--signal);
}

@media (max-width: 720px) {
    .hero { clip-path: polygon(0 0, 100% 0, 100% 100%, 70% 100%, 60% calc(100% - 30px), 52% calc(100% - 14px), 0 calc(100% - 44px)); }
    .hero-bild::after { background: linear-gradient(180deg, rgba(20, 24, 29, .55) 0%, rgba(20, 24, 29, .9) 70%); }
    .hero-aktionen .btn { flex: 1 1 100%; }
    .vorteile { flex-direction: column; gap: 14px; }
    .vorteile li { border: 0; margin: 0; padding: 0; }
    .vorteile svg { width: 28px; height: 28px; }
}

/* ---------- Seitenkopf (Unterseiten) ---------- */

.seitenkopf {
    background: var(--schiefer);
    color: var(--text-hell);
    padding: clamp(48px, 7vw, 88px) 0 clamp(48px, 6vw, 72px);
    position: relative;
    overflow: hidden;
}

.seitenkopf.mit-bild {
    padding-bottom: clamp(64px, 8vw, 104px);
}

.seitenkopf .hero-bild::after {
    background: linear-gradient(90deg, rgba(20, 24, 29, .95) 0%, rgba(20, 24, 29, .85) 45%, rgba(20, 24, 29, .45) 100%);
}

.seitenkopf .container {
    position: relative;
}

.seitenkopf h1 {
    font-size: clamp(2.3rem, 5vw, 4rem);
    max-width: 18ch;
}

.seitenkopf .lead {
    color: #dfe3e8;
    max-width: 52ch;
}

.seitenkopf .hero-aktionen {
    margin: 32px 0 0;
}

.brotkrumen {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    font-size: .92rem;
    color: var(--text-hell-2);
}

.brotkrumen li + li::before {
    content: "/";
    margin-right: 8px;
    opacity: .6;
}

.brotkrumen a {
    text-decoration: none;
}

.brotkrumen a:hover {
    color: var(--signal);
}

/* ---------- Abschnitte ---------- */

.abschnitt {
    padding: var(--abschnitt) 0;
}

.abschnitt.erster {
    padding-top: calc(var(--abschnitt) + 64px);
}

.auf-hell {
    background: var(--lichtgrau);
    color: var(--text-dunkel);
}

.auf-weiss {
    background: var(--weiss);
    color: var(--text-dunkel);
}

.auf-dunkel {
    background: var(--schiefer);
    color: var(--text-hell);
}

.auf-dunkel p,
.auf-dunkel li {
    color: #d3d8de;
}

.abschnitt-kopf {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px 64px;
    align-items: end;
    margin-bottom: clamp(40px, 6vw, 72px);
}

.abschnitt-kopf h2 {
    margin: 0;
    max-width: 14ch;
}

.abschnitt-kopf p {
    margin: 0;
    color: var(--text-dunkel-2);
}

.auf-dunkel .abschnitt-kopf p {
    color: var(--text-hell-2);
}

@media (max-width: 800px) {
    .abschnitt-kopf { grid-template-columns: 1fr; }
}

/* ---------- Leistungs-Liste ---------- */

.leistungen {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 2px solid var(--text-dunkel);
}

.leistung {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr) auto;
    gap: 40px;
    align-items: center;
    padding: 32px 0;
    border-bottom: 1px solid var(--linie-hell);
    position: relative;
}

.leistung-bild {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--graphit);
}

.leistung-bild img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leistung h3 {
    margin-bottom: 10px;
}

.leistung h3 a {
    text-decoration: none;
}

/* Ganze Zeile klickbar */
.leistung h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.leistung p {
    margin: 0 0 12px;
    color: var(--text-dunkel-2);
}

.stichworte {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: .95rem;
    font-weight: 600;
}

.stichworte li::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    background: var(--signal);
    transform: skewX(-20deg);
}

.leistung-pfeil {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--text-dunkel);
    display: grid;
    place-items: center;
    transition: background-color .15s ease, border-color .15s ease;
}

.leistung-pfeil svg {
    width: 22px;
    height: 22px;
}

.leistung:hover .leistung-pfeil {
    background: var(--signal);
    border-color: var(--signal);
}

.leistung:hover h3 {
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-decoration-color: var(--signal);
    text-underline-offset: 6px;
}

@media (max-width: 900px) {
    .leistung { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; }
    .leistung-pfeil { display: none; }
}

@media (max-width: 600px) {
    .leistung { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 24px 0; align-items: start; }
    .leistung-bild { aspect-ratio: 1; }
    .leistung h3 { font-size: 1.2rem; }
    .leistung p { font-size: .98rem; }
    .stichworte { font-size: .88rem; }
}

/* ---------- Zweispaltig: Bild + Text ---------- */

.split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(32px, 6vw, 88px);
    align-items: center;
}

.split-bild {
    position: relative;
    margin: 0;
}

.split-bild img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius);
}

.split-bild figcaption {
    position: absolute;
    left: 0;
    bottom: 24px;
    background: var(--signal);
    color: var(--schiefer);
    padding: 14px 20px;
    font-weight: 700;
    font-stretch: 105%;
    line-height: 1.25;
    max-width: 80%;
}

.punkte {
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
    display: grid;
    gap: 24px;
}

.punkte li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
}

.punkte svg {
    width: 32px;
    height: 32px;
    color: var(--signal);
    margin-top: 2px;
}

.punkte h3 {
    font-size: 1.15rem;
    margin: 0 0 4px;
}

.punkte p {
    margin: 0;
}

@media (max-width: 860px) {
    .split { grid-template-columns: 1fr; }
    .split-bild img { aspect-ratio: 16 / 10; }
}

/* ---------- Ablauf (echte Reihenfolge) ---------- */

.ablauf {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    counter-reset: schritt;
}

.ablauf li {
    counter-increment: schritt;
    padding: 0 28px 0 0;
    position: relative;
}

.ablauf li::before {
    content: counter(schritt);
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 24px;
    background: var(--schiefer);
    color: var(--signal);
    font-weight: 800;
    font-size: 1.3rem;
    font-stretch: 112%;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.ablauf li::after {
    content: "";
    position: absolute;
    top: 26px;
    left: 52px;
    right: 0;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--text-dunkel) 0 10px, transparent 10px 18px);
}

.ablauf li:last-child::after {
    display: none;
}

.ablauf h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.ablauf p {
    color: var(--text-dunkel-2);
    margin: 0;
}

@media (max-width: 860px) {
    .ablauf { grid-template-columns: 1fr; gap: 32px; }
    .ablauf li { display: grid; grid-template-columns: 52px 1fr; gap: 0 20px; padding: 0; }
    .ablauf li::before { margin: 0; grid-row: span 2; }
    .ablauf li::after { top: 52px; bottom: -32px; left: 25px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--text-dunkel) 0 8px, transparent 8px 14px); }
}

/* ---------- Einsatzgebiet ---------- */

.gebiet {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 88px);
    align-items: start;
}

.orte {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.orte li {
    padding: 8px 16px;
    border: 1px solid var(--linie-hell);
    border-radius: 999px;
    font-weight: 600;
    background: var(--weiss);
}

.orte li.zentrum {
    background: var(--schiefer);
    border-color: var(--schiefer);
    color: var(--signal);
}

@media (max-width: 860px) {
    .gebiet { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */

.faq {
    border-top: 2px solid var(--text-dunkel);
}

.faq details {
    border-bottom: 1px solid var(--linie-hell);
}

.faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 22px 0;
    font-weight: 700;
    font-size: 1.12rem;
    font-stretch: 105%;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "";
    flex: none;
    width: 14px;
    height: 14px;
    border-right: 3px solid var(--text-dunkel);
    border-bottom: 3px solid var(--text-dunkel);
    transform: rotate(45deg) translate(-3px, -3px);
    transition: transform .2s ease;
}

.faq details[open] summary::after {
    transform: rotate(-135deg) translate(-3px, -3px);
}

.faq details > div {
    padding: 0 0 24px;
    color: var(--text-dunkel-2);
}

.faq details > div p:last-child {
    margin-bottom: 0;
}

/* ---------- Kontakt ---------- */

.kontakt-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(32px, 6vw, 96px);
}

.kontakt-wege {
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
    display: grid;
    gap: 22px;
}

.kontakt-wege li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 16px;
}

.kontakt-wege svg {
    width: 26px;
    height: 26px;
    color: var(--signal);
    margin-top: 2px;
}

.kontakt-wege strong {
    display: block;
    color: var(--text-hell);
}

.kontakt-wege a {
    color: var(--text-hell);
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
}

.kontakt-wege a:hover {
    color: var(--signal);
}

.formular {
    background: var(--graphit);
    border: 1px solid var(--graphit-2);
    border-radius: var(--radius);
    padding: clamp(24px, 4vw, 44px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.feld {
    display: grid;
    gap: 6px;
}

.feld.breit {
    grid-column: 1 / -1;
}

.feld label {
    font-weight: 600;
    font-size: .95rem;
    color: var(--text-hell);
}

.feld label small {
    font-weight: 400;
    color: var(--text-hell-2);
}

.feld input,
.feld select,
.feld textarea {
    width: 100%;
    font: 400 1rem/1.4 var(--font);
    color: var(--text-dunkel);
    background: var(--weiss);
    border: 2px solid var(--weiss);
    border-radius: var(--radius);
    padding: 13px 14px;
}

.feld textarea {
    min-height: 150px;
    resize: vertical;
}

.feld input:focus,
.feld select:focus,
.feld textarea:focus {
    outline: none;
    border-color: var(--signal);
}

.formular .hinweis {
    grid-column: 1 / -1;
    font-size: .9rem;
    color: var(--text-hell-2);
    margin: 0;
}

.formular .hinweis a {
    color: var(--text-hell);
}

.formular .btn {
    grid-column: 1 / -1;
    justify-self: start;
}

.formular-status {
    grid-column: 1 / -1;
    margin: 0;
    padding: 14px 16px;
    border-radius: var(--radius);
    font-weight: 600;
}

.formular-status:empty {
    display: none;
}

.formular-status.ok {
    background: rgba(76, 175, 80, .16);
    color: #b8f0bb;
}

.formular-status.fehler {
    background: rgba(244, 67, 54, .16);
    color: #ffc4be;
}

.hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 860px) {
    .kontakt-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .formular { grid-template-columns: 1fr; }
    .formular .btn { justify-self: stretch; }
}

/* ---------- Inhaltsseiten (Leistungen, Über uns, Rechtliches) ---------- */

.inhalt-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: clamp(32px, 6vw, 88px);
    align-items: start;
}

.text h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-top: 1.6em;
}

.text h2:first-child {
    margin-top: 0;
}

.text h3 {
    font-size: 1.25rem;
    margin-top: 1.5em;
}

.text ul {
    margin: 0 0 1.2em;
    padding: 0;
    list-style: none;
}

.text ul li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    max-width: 68ch;
}

.text ul li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .55em;
    width: 10px;
    height: 10px;
    background: var(--signal);
    transform: skewX(-20deg);
}

.text strong {
    font-weight: 700;
}

.seitenleiste {
    position: sticky;
    top: 100px;
    background: var(--schiefer);
    color: var(--text-hell);
    border-radius: var(--radius);
    padding: 32px;
}

.seitenleiste h2 {
    font-size: 1.5rem;
}

.seitenleiste p {
    color: var(--text-hell-2);
}

.seitenleiste .btn {
    width: 100%;
    margin-top: 10px;
}

.seitenleiste .btn-rahmen {
    color: var(--text-hell);
}

.weitere-leistungen {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--graphit-2);
}

.weitere-leistungen h3 {
    font-size: 1rem;
    color: var(--text-hell-2);
    font-weight: 600;
    font-stretch: 100%;
}

.weitere-leistungen ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.weitere-leistungen a {
    display: block;
    padding: 8px 0;
    font-weight: 600;
    text-decoration: none;
}

.weitere-leistungen a:hover {
    color: var(--signal);
}

@media (max-width: 960px) {
    .inhalt-grid { grid-template-columns: 1fr; }
    .seitenleiste { position: static; }
}

.rechtliches {
    max-width: 820px;
}

.rechtliches h2 {
    font-size: 1.6rem;
    margin-top: 1.8em;
}

.rechtliches h3 {
    font-size: 1.2rem;
    margin-top: 1.5em;
}

.rechtliches h4 {
    font-size: 1.05rem;
    margin-top: 1.4em;
}

.rechtliches p,
.rechtliches li {
    color: var(--text-dunkel-2);
}

.rechtliches a {
    word-break: break-word;
}

/* ---------- Abschluss-Band ---------- */

.anfrage-band {
    background: var(--signal);
    color: var(--schiefer);
    padding: clamp(48px, 7vw, 80px) 0;
}

.anfrage-band .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px 48px;
}

.anfrage-band h2 {
    margin: 0;
    max-width: 18ch;
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
}

.anfrage-band p {
    margin: 10px 0 0;
}

.anfrage-band .hero-aktionen {
    margin: 0;
}

.anfrage-band .btn-dunkel {
    background: var(--schiefer);
    color: var(--weiss);
}

.anfrage-band .btn-dunkel:hover {
    background: #000;
}

.anfrage-band .btn-rahmen:hover {
    background: rgba(20, 24, 29, .08);
}

/* ---------- Footer ---------- */

.site-footer {
    border-top: 1px solid var(--graphit-2);
    background: var(--schiefer);
    color: var(--text-hell-2);
    padding: 72px 0 32px;
    font-size: .98rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-grid h2 {
    font-size: 1rem;
    font-stretch: 100%;
    font-weight: 700;
    color: var(--text-hell);
    margin-bottom: 16px;
}

.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.footer-grid a {
    text-decoration: none;
}

.footer-grid a:hover {
    color: var(--signal);
}

.footer-grid address {
    font-style: normal;
    line-height: 1.8;
}

.footer-logo img {
    height: 36px;
    width: auto;
    margin-bottom: 18px;
}

.footer-unten {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--graphit-2);
    font-size: .9rem;
}

.footer-unten ul {
    display: flex;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-unten a {
    text-decoration: none;
}

.footer-unten a:hover {
    color: var(--signal);
}

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Mobile Aktionsleiste ---------- */

.mobil-leiste {
    display: none;
}

@media (max-width: 720px) {
    .mobil-leiste {
        display: grid;
        grid-template-columns: 1fr 1.4fr;
        gap: 10px;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 40;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        background: var(--schiefer);
        border-top: 1px solid var(--graphit-2);
    }
    .mobil-leiste .btn { min-height: 50px; padding: 0 12px; }
    .mobil-leiste .btn-rahmen { color: var(--text-hell); }
    body { padding-bottom: 76px; }
}

/* ---------- 404 ---------- */

.fehlerseite {
    min-height: 50vh;
}

/* ---------- Bewegung reduzieren ---------- */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Eine einzige Einstiegs-Animation: Hero ---------- */

@media (prefers-reduced-motion: no-preference) {
    .hero h1,
    .hero .lead,
    .hero-aktionen,
    .vorteile {
        animation: einblenden .7s cubic-bezier(.2, .7, .2, 1) both;
    }
    .hero .lead { animation-delay: .08s; }
    .hero-aktionen { animation-delay: .16s; }
    .vorteile { animation-delay: .24s; }
}

@keyframes einblenden {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}
