/* ==========================================================================
   AKSU Haustechnik – Design-System
   Farben stammen aus dem Logo: Anthrazit, Blau, Orange.
   ========================================================================== */

:root {
    /* Marke */
    --anthrazit: #36474e;
    --anthrazit-900: #202c32;
    --anthrazit-700: #2b3941;
    --anthrazit-400: #6b7d86;
    --blau: #0a5a9a;
    --blau-700: #084a80;
    --blau-300: #3d8fcc;
    --blau-50: #eef5fb;
    --orange: #de4e11;
    --orange-600: #c44310;
    --orange-50: #fdf0ea;

    /* Neutral */
    --weiss: #ffffff;
    --grau-50: #f7f8f9;
    --grau-100: #eef0f2;
    --grau-200: #dfe3e6;
    --grau-400: #98a4ab;
    --grau-600: #5d6b73;
    --text: #26343a;
    --text-leise: #5d6b73;

    /* Typografie */
    --schrift: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Raster */
    --breite: 1180px;
    --breite-schmal: 780px;
    --radius: 10px;
    --radius-gross: 16px;

    /* Schatten – bewusst dezent, die Flaechen tragen ueber Rahmen */
    --schatten-s: 0 1px 2px rgba(32, 44, 50, .06), 0 2px 6px rgba(32, 44, 50, .04);
    --schatten-m: 0 2px 6px rgba(32, 44, 50, .06), 0 10px 24px rgba(32, 44, 50, .07);
    --schatten-l: 0 4px 12px rgba(32, 44, 50, .08), 0 20px 48px rgba(32, 44, 50, .1);

    --uebergang: .2s cubic-bezier(.4, 0, .2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

body {
    margin: 0;
    font-family: var(--schrift);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--weiss);
    -webkit-font-smoothing: antialiased;
    overflow-wrap: break-word;
}

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

a {
    color: var(--blau);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

h1, h2, h3, h4 {
    margin: 0 0 .6em;
    line-height: 1.18;
    letter-spacing: -.02em;
    color: var(--anthrazit-900);
    font-weight: 800;
    /* Deutsche Komposita wie "Berufshaftpflichtversicherung" sprengen sonst
       auf schmalen Displays das Layout. Erst trennen, im Notfall umbrechen. */
    hyphens: auto;
    overflow-wrap: break-word;
}

h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

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

/* --------------------------------------------------------------- Bausteine */

.container {
    width: 100%;
    max-width: var(--breite);
    margin-inline: auto;
    padding-inline: 1.25rem;
}

.sektion {
    padding-block: clamp(3.5rem, 2rem + 6vw, 6rem);
}

.sektion--grau { background: var(--grau-50); }

.sektion--dunkel {
    background: var(--anthrazit-900);
    color: rgba(255, 255, 255, .82);
}

.sektion--dunkel h2,
.sektion--dunkel h3 { color: var(--weiss); }

.sektion-kopf {
    max-width: 46rem;
    margin-bottom: clamp(2rem, 1rem + 3vw, 3.25rem);
}

.sektion-kopf--mitte {
    margin-inline: auto;
    text-align: center;
}

.sektion-kopf p {
    font-size: 1.075rem;
    color: var(--text-leise);
}

.sektion--dunkel .sektion-kopf p { color: rgba(255, 255, 255, .7); }

/* Kleines Label ueber der Ueberschrift, mit orangefarbenem Strich */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .9rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--orange);
}

.eyebrow::before {
    content: '';
    width: 1.75rem;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
}

.sektion-kopf--mitte .eyebrow::after {
    content: '';
    width: 1.75rem;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
}

.sektion--dunkel .eyebrow { color: var(--blau-300); }
.sektion--dunkel .eyebrow::before,
.sektion--dunkel .eyebrow::after { background: var(--blau-300); }

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .85rem 1.6rem;
    border: 2px solid transparent;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: .975rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--uebergang), border-color var(--uebergang),
                color var(--uebergang), transform var(--uebergang), box-shadow var(--uebergang);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--primaer {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--weiss);
    box-shadow: 0 4px 14px rgba(222, 78, 17, .28);
}

.btn--primaer:hover {
    background: var(--orange-600);
    border-color: var(--orange-600);
    box-shadow: 0 8px 22px rgba(222, 78, 17, .34);
}

.btn--blau {
    background: var(--blau);
    border-color: var(--blau);
    color: var(--weiss);
    box-shadow: 0 4px 14px rgba(10, 90, 154, .25);
}

.btn--blau:hover { background: var(--blau-700); border-color: var(--blau-700); }

.btn--rand {
    background: transparent;
    border-color: var(--grau-200);
    color: var(--anthrazit-900);
}

.btn--rand:hover { border-color: var(--blau); color: var(--blau); }

.btn--hell {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .3);
    color: var(--weiss);
}

.btn--hell:hover { background: rgba(255, 255, 255, .18); border-color: var(--weiss); }

.btn--breit { width: 100%; }

.btn--gross {
    padding: 1.05rem 1.9rem;
    font-size: 1.05rem;
    border-radius: 12px;
}

.btn--gross svg { width: 1.2em; height: 1.2em; }

/* Textlink mit Pfeil, der beim Hover wandert */
.pfeil-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 600;
    font-size: .95rem;
    color: var(--blau);
    text-decoration: none;
}

.pfeil-link svg {
    width: .9em;
    height: .9em;
    transition: transform var(--uebergang);
}

.pfeil-link:hover svg { transform: translateX(4px); }

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

.kopf {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(1.6) blur(10px);
    border-bottom: 1px solid var(--grau-100);
    transition: box-shadow var(--uebergang);
}

.kopf--gescrollt { box-shadow: var(--schatten-s); }

.kopf__innen {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-height: 74px;
}

.kopf__marke { flex: none; margin-right: auto; }

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

.kopf__nav {
    display: flex;
    align-items: center;
    gap: .25rem;
}

.kopf__link {
    position: relative;
    padding: .55rem .8rem;
    border-radius: 8px;
    font-size: .95rem;
    font-weight: 600;
    color: var(--anthrazit-700);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--uebergang), background var(--uebergang);
}

.kopf__link:hover { color: var(--blau); background: var(--blau-50); }

.kopf__link[aria-current='page'] { color: var(--blau); }

.kopf__link[aria-current='page']::after {
    content: '';
    position: absolute;
    left: .8rem;
    right: .8rem;
    bottom: .2rem;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
}

.kopf__tel {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .5rem .9rem .5rem .55rem;
    border-radius: 999px;
    background: var(--blau-50);
    color: var(--blau);
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    transition: background var(--uebergang);
}

.kopf__tel:hover { background: #e0edf8; }

.kopf__tel svg { width: 1.9rem; height: 1.9rem; padding: .45rem; border-radius: 50%; background: var(--blau); color: var(--weiss); }

.kopf__burger {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--grau-200);
    border-radius: 9px;
    background: var(--weiss);
    color: var(--anthrazit);
    cursor: pointer;
}

.kopf__burger svg { width: 22px; height: 22px; margin-inline: auto; }
.kopf__burger .icon-schliessen { display: none; }
.kopf__burger[aria-expanded='true'] .icon-menue { display: none; }
.kopf__burger[aria-expanded='true'] .icon-schliessen { display: block; }

@media (max-width: 940px) {
    .kopf__burger { display: block; }

    .kopf__nav {
        position: fixed;
        inset: 74px 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: .15rem;
        padding: 1rem 1.25rem 1.5rem;
        background: var(--weiss);
        border-bottom: 1px solid var(--grau-100);
        box-shadow: var(--schatten-l);
        max-height: calc(100dvh - 74px);
        overflow-y: auto;
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--uebergang), transform var(--uebergang), visibility var(--uebergang);
    }

    .kopf__nav--offen { transform: translateY(0); opacity: 1; visibility: visible; }

    .kopf__link { padding: .8rem .75rem; font-size: 1.05rem; }
    .kopf__link[aria-current='page']::after { display: none; }
    .kopf__link[aria-current='page'] { background: var(--blau-50); }
    .kopf__tel { margin-top: .6rem; justify-content: center; }
}

@media (max-width: 480px) {
    .kopf__marke img { height: 34px; }
    .kopf__innen { min-height: 64px; }
    .kopf__nav { inset-block-start: 64px; max-height: calc(100dvh - 64px); }
}

/* ---------------------------------------------------------------------- Hero */

/* ====================================================================== Hero

   Aufbau in Schichten, von hinten nach vorn:
     1. tiefer Grundverlauf
     2. zwei weiche Farbschleier (Aurora) in Blau und Orange – die Logofarben
     3. die Bildmarke als grosses, angeschnittenes Wasserzeichen
     4. feines Korn gegen die Streifenbildung in den Verlaeufen
     5. Text und Bilder
   ====================================================================== */

.hero {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(120% 90% at 78% 8%, #2f4a5c 0%, transparent 55%),
        linear-gradient(158deg, #16212a 0%, #22333e 46%, #1a2831 100%);
    color: rgba(255, 255, 255, .85);
    overflow: hidden;
}

.hero__flaeche {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.hero__aurora {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    will-change: transform;
}

.hero__aurora--blau {
    top: -26%;
    right: -12%;
    width: min(60rem, 88%);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(29, 122, 194, .55) 0%, rgba(10, 90, 154, .28) 42%, transparent 68%);
    animation: aurora-blau 26s ease-in-out infinite alternate;
}

.hero__aurora--orange {
    bottom: -34%;
    left: -14%;
    width: min(42rem, 72%);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(247, 92, 22, .34) 0%, rgba(222, 78, 17, .16) 46%, transparent 70%);
    animation: aurora-orange 32s ease-in-out infinite alternate;
}

@keyframes aurora-blau {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(-4%, 5%, 0) scale(1.12); }
}

@keyframes aurora-orange {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(6%, -6%, 0) scale(1.16); }
}

/* Bildmarke als Wasserzeichen. Vektor, also auch riesig noch scharf. */
.hero__marke {
    position: absolute;
    top: 50%;
    right: -8%;
    width: min(52rem, 66%);
    aspect-ratio: 1;
    transform: translateY(-50%);
    background: url('../img/logo-icon.svg') center / contain no-repeat;
    /* Deutlich sichtbar, aber immer noch Hintergrund: Die Marke soll sich in die
       Flaeche einbrennen, nicht mit der Schrift um Aufmerksamkeit streiten. */
    opacity: .16;
    /* Leichter Schimmer, damit sie mit den Aurora-Schleiern verschmilzt */
    filter: drop-shadow(0 0 60px rgba(61, 143, 204, .35));
}

@media (max-width: 860px) {
    /* Hochkant nach oben rechts, damit sie nicht hinter der Schrift klebt */
    .hero__marke {
        top: 12%;
        right: -20%;
        width: 88%;
        transform: none;
        opacity: .14;
    }
}

/* Feines Korn – nimmt den Verlaeufen die Streifen und macht die Flaeche greifbar */
.hero__korn {
    position: absolute;
    inset: 0;
    opacity: .32;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='k'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23k)'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
    .hero__aurora { animation: none; }
}

.hero__innen {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    /* Der Hero soll eine Ansage sein, nicht nur ein Kopfbereich */
    min-height: min(84svh, 44rem);
    max-width: 58rem;
    padding-block: clamp(3.5rem, 2rem + 6vw, 6rem) clamp(5rem, 3rem + 8vw, 8rem);
}

.hero__kicker {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem .6rem;
    margin: 0 0 1.2rem;
    /* Auf schmalen Displays kleiner und enger gesperrt, sonst passt die Zeile nicht */
    font-size: clamp(.68rem, .6rem + .3vw, .78rem);
    font-weight: 700;
    letter-spacing: clamp(.06em, .02em + .3vw, .15em);
    text-transform: uppercase;
    color: rgba(255, 255, 255, .66);
}

/* Kleiner pulsierender Punkt – signalisiert "wir sind da", ohne Worte */
.hero__punkt {
    position: relative;
    flex: none;
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: var(--orange);
}

.hero__punkt::after {
    content: '';
    position: absolute;
    inset: -.28rem;
    border-radius: 50%;
    border: 1px solid var(--orange);
    opacity: .55;
    animation: puls 2.6s ease-out infinite;
}

@keyframes puls {
    0%   { transform: scale(.7); opacity: .7; }
    70%  { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1.5); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hero__punkt::after { animation: none; }
}

.hero h1 {
    color: var(--weiss);
    /* Display-Schrift wird nicht getrennt: aus "Heizung" darf nie "Hei-zung" werden */
    hyphens: none;
    overflow-wrap: normal;
    margin-bottom: .55em;
    font-size: clamp(2.6rem, 1rem + 7vw, 5.6rem);
    line-height: .99;
    letter-spacing: -.045em;
}

/* Die dritte Zeile bekommt die Kurve untergelegt */
.hero__schwung {
    position: relative;
    display: inline-block;
}

.hero__kurve {
    position: absolute;
    left: -.5%;
    right: -.5%;
    bottom: -.22em;
    width: 101%;
    height: .3em;
    color: var(--orange);
    overflow: visible;
}

.hero__kurve path {
    /* Zeichnet sich beim Laden selbst – die Laenge deckt den Pfad sicher ab */
    stroke-dasharray: 340;
    stroke-dashoffset: 340;
    animation: kurve-ziehen 1.1s cubic-bezier(.6, 0, .2, 1) .45s forwards;
}

@keyframes kurve-ziehen {
    to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hero__kurve path { animation: none; stroke-dashoffset: 0; }
}

/* Die dritte Zeile ist das Versprechen – sie traegt die Farbe */
.hero h1 em {
    font-style: normal;
    background: linear-gradient(96deg, var(--blau-300) 8%, #7dc0f0 55%, var(--blau-300) 96%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__lead {
    max-width: 28rem;
    /* Der Abstand nach unten kommt von .hero__aktionen, sonst steht hier zu viel Luft */
    margin-bottom: 0;
    font-size: clamp(1.05rem, .98rem + .35vw, 1.2rem);
    color: rgba(255, 255, 255, .78);
}

.hero__aktionen {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: clamp(1.75rem, 1rem + 2vw, 2.5rem);
}

@media (max-width: 980px) {
    .hero__innen { min-height: min(78svh, 40rem); }
}

@media (max-width: 560px) {
    /* Auf dem Handy volle Breite – der Anrufbutton ist hier das Hauptziel */
    .hero__aktionen { flex-direction: column; align-items: stretch; }
    .hero__aktionen .btn { width: 100%; }
    .hero__innen { min-height: auto; align-items: stretch; }
    .hero h1 { font-size: clamp(2.1rem, 1.1rem + 5.2vw, 2.9rem); }
}

/* ------------------------------------------------------- Vertrauensleiste */

.vertrauen {
    position: relative;
    margin-top: clamp(-3.5rem, -2rem - 3vw, -2.5rem);
    z-index: 2;
}

.vertrauen__gitter {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--weiss);
    border: 1px solid var(--grau-100);
    border-radius: var(--radius-gross);
    box-shadow: var(--schatten-m);
    overflow: hidden;
}

.vertrauen__zelle {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: 1.35rem 1.25rem;
    border-right: 1px solid var(--grau-100);
}

.vertrauen__zelle:last-child { border-right: none; }

.vertrauen__zelle svg {
    flex: none;
    width: 2.5rem;
    height: 2.5rem;
    padding: .6rem;
    border-radius: 10px;
    background: var(--blau-50);
    color: var(--blau);
}

.vertrauen__zelle--orange svg { background: var(--orange-50); color: var(--orange); }

.vertrauen__zelle strong {
    display: block;
    font-size: .95rem;
    font-weight: 700;
    color: var(--anthrazit-900);
    line-height: 1.3;
}

.vertrauen__zelle span {
    font-size: .82rem;
    color: var(--text-leise);
}

@media (max-width: 860px) {
    .vertrauen__gitter { grid-template-columns: repeat(2, 1fr); }
    .vertrauen__zelle:nth-child(2n) { border-right: none; }
    .vertrauen__zelle:nth-child(-n+2) { border-bottom: 1px solid var(--grau-100); }
}

@media (max-width: 520px) {
    .vertrauen__gitter { grid-template-columns: 1fr; }
    .vertrauen__zelle { border-right: none; border-bottom: 1px solid var(--grau-100); }
    .vertrauen__zelle:last-child { border-bottom: none; }
}

/* ----------------------------------------------------------- Leistungskarten */

.karten {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
    gap: 1.25rem;
}

.karte {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    background: var(--weiss);
    border: 1px solid var(--grau-200);
    border-radius: var(--radius-gross);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: border-color var(--uebergang), box-shadow var(--uebergang), transform var(--uebergang);
}

/* Farbiger Balken oben, faehrt beim Hover aus */
.karte::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--blau);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--uebergang);
}

.karte--orange::before { background: var(--orange); }

.karte:hover {
    border-color: var(--grau-200);
    box-shadow: var(--schatten-m);
    transform: translateY(-3px);
}

.karte:hover::before { transform: scaleX(1); }

.karte__icon {
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1.15rem;
    border-radius: 12px;
    background: var(--blau-50);
    color: var(--blau);
    transition: background var(--uebergang), color var(--uebergang);
}

.karte__icon svg { width: 1.6rem; height: 1.6rem; }

.karte--orange .karte__icon { background: var(--orange-50); color: var(--orange); }

.karte:hover .karte__icon { background: var(--blau); color: var(--weiss); }
.karte--orange:hover .karte__icon { background: var(--orange); color: var(--weiss); }

.karte h3 { margin-bottom: .5rem; }

.karte p {
    font-size: .94rem;
    color: var(--text-leise);
    margin-bottom: 1.25rem;
}

.karte__mehr {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--blau);
}

.karte__mehr svg { width: .85em; height: .85em; transition: transform var(--uebergang); }
.karte:hover .karte__mehr svg { transform: translateX(4px); }

/* ------------------------------------------------------------- Zwei Spalten */

.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
    gap: clamp(2rem, 1rem + 4vw, 3.75rem);
    align-items: center;
}

/* Grid- und Flex-Kinder haben von Haus aus min-width:auto. Ein breites Kind –
   etwa eine Tabelle – zieht die Spalte dann auf und schiebt die ganze Seite
   quer, obwohl der Container scrollen koennte. Das hier verhindert es. */
.split > *,
.karten > *,
.merkmale > * { min-width: 0; }

.split--eng { gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); }

.split--oben { align-items: start; }

/* Artikel plus Randspalte. Anders als bei .split ist das Verhaeltnis fest,
   deshalb braucht es einen eigenen Umbruchpunkt – sonst quetscht sich der
   Fliesstext auf dem Handy in eine viel zu schmale Spalte. */
.split--artikel {
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
    align-items: start;
}

@media (max-width: 880px) {
    .split--artikel { grid-template-columns: minmax(0, 1fr); }
}

.split__bild {
    border-radius: var(--radius-gross);
    overflow: hidden;
    background: var(--grau-100);
}

.split__bild img { width: 100%; }

/* ---------------------------------------------------------------- Checkliste */

.checkliste {
    display: grid;
    gap: .7rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.checkliste--zweispaltig { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }

.checkliste li {
    position: relative;
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    font-size: .96rem;
}

.checkliste li svg {
    flex: none;
    width: 1.3rem;
    height: 1.3rem;
    margin-top: .15rem;
    color: var(--blau);
}

.sektion--dunkel .checkliste li svg { color: var(--blau-300); }

/* --------------------------------------------------------------- Merkmale */

.merkmale {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    gap: 1.5rem 2rem;
}

.merkmal__kopf {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .6rem;
}

.merkmal__nummer {
    display: grid;
    place-items: center;
    flex: none;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 8px;
    background: var(--orange-50);
    color: var(--orange);
    font-size: .9rem;
    font-weight: 800;
}

.merkmal h3 { margin: 0; font-size: 1.08rem; }

.merkmal p { font-size: .95rem; color: var(--text-leise); }

/* ------------------------------------------------------------------- Zahlen */

.zahlen {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
    gap: 1.5rem;
    text-align: center;
}

.zahl strong {
    display: block;
    font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.03em;
    color: var(--weiss);
}

.zahl span {
    font-size: .92rem;
    color: rgba(255, 255, 255, .65);
}

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

.faq { display: grid; gap: .75rem; max-width: 52rem; }

.faq__eintrag {
    border: 1px solid var(--grau-200);
    border-radius: var(--radius);
    background: var(--weiss);
    overflow: hidden;
    transition: border-color var(--uebergang), box-shadow var(--uebergang);
}

.faq__eintrag[open] { border-color: var(--blau-300); box-shadow: var(--schatten-s); }

.faq__frage {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.35rem;
    font-size: 1.02rem;
    font-weight: 650;
    color: var(--anthrazit-900);
    cursor: pointer;
    list-style: none;
}

.faq__frage::-webkit-details-marker { display: none; }

.faq__frage svg {
    flex: none;
    width: 1.1rem;
    height: 1.1rem;
    color: var(--blau);
    transition: transform var(--uebergang);
}

.faq__eintrag[open] .faq__frage svg { transform: rotate(180deg); }

.faq__antwort {
    padding: 0 1.35rem 1.25rem;
    font-size: .97rem;
    color: var(--text-leise);
}

/* ------------------------------------------------------------------ Galerie */

.galerie {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
    gap: 1rem;
}

.galerie__bild {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--grau-100);
    border: 0;
    padding: 0;
    cursor: zoom-in;
}

.galerie__bild img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}

.galerie__bild:hover img { transform: scale(1.05); }

.galerie__platzhalter {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    border: 2px dashed var(--grau-200);
    border-radius: var(--radius);
    background: var(--grau-50);
    color: var(--grau-400);
    text-align: center;
    padding: 1.5rem;
    font-size: .9rem;
}

.galerie__platzhalter svg { width: 2rem; height: 2rem; margin-bottom: .6rem; }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    place-items: center;
    padding: 1.5rem;
    background: rgba(20, 28, 32, .93);
}

.lightbox--offen { display: grid; }

.lightbox img {
    max-width: 100%;
    max-height: 88vh;
    border-radius: var(--radius);
}

.lightbox__schliessen {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: var(--weiss);
    cursor: pointer;
}

.lightbox__schliessen svg { width: 20px; height: 20px; }

/* ------------------------------------------------------------------ Formular */

.formular { display: grid; gap: 1rem; }

.feld-reihe {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
    gap: 1rem;
}

.feld { display: grid; gap: .4rem; }

.feld label {
    font-size: .88rem;
    font-weight: 600;
    color: var(--anthrazit-700);
}

.feld label .pflicht { color: var(--orange); }

.feld input,
.feld select,
.feld textarea {
    width: 100%;
    padding: .8rem 1rem;
    border: 1px solid var(--grau-200);
    border-radius: var(--radius);
    background: var(--weiss);
    font-family: inherit;
    font-size: .97rem;
    color: var(--text);
    transition: border-color var(--uebergang), box-shadow var(--uebergang);
}

.feld textarea { resize: vertical; min-height: 8rem; }

.feld input:focus,
.feld select:focus,
.feld textarea:focus {
    outline: none;
    border-color: var(--blau);
    box-shadow: 0 0 0 3px rgba(10, 90, 154, .13);
}

/* Honeypot – fuer Menschen unsichtbar, fuer Bots ein Koeder */
.honigtopf {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.hinweis {
    display: flex;
    gap: .7rem;
    padding: .9rem 1.1rem;
    border-radius: var(--radius);
    font-size: .93rem;
    border: 1px solid;
}

.hinweis svg { flex: none; width: 1.2rem; height: 1.2rem; margin-top: .12rem; }

.hinweis--erfolg { background: #eefaf3; border-color: #b7e4cd; color: #14663f; }
.hinweis--fehler { background: #fdf0ee; border-color: #f2c4bb; color: #97331f; }

/* ------------------------------------------------------------- Kontaktblock */

.kontaktblock {
    display: grid;
    gap: .25rem;
    padding: 1.6rem;
    border: 1px solid var(--grau-200);
    border-radius: var(--radius-gross);
    background: var(--grau-50);
}

.kontaktzeile {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    padding: .8rem 0;
    border-bottom: 1px solid var(--grau-200);
    text-decoration: none;
    color: inherit;
}

.kontaktzeile:last-child { border-bottom: none; }

.kontaktzeile svg {
    flex: none;
    width: 2.4rem;
    height: 2.4rem;
    padding: .6rem;
    border-radius: 10px;
    background: var(--weiss);
    color: var(--blau);
    border: 1px solid var(--grau-200);
}

.kontaktzeile strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-leise); font-weight: 700; }
.kontaktzeile span { font-size: 1.02rem; font-weight: 600; color: var(--anthrazit-900); }
a.kontaktzeile:hover span { color: var(--blau); }

/* -------------------------------------------------------------- Seitenkopf */

.seitenkopf {
    padding-block: clamp(2.5rem, 1.5rem + 4vw, 4rem);
    background: linear-gradient(150deg, var(--anthrazit-900), var(--anthrazit-700));
    color: rgba(255, 255, 255, .78);
}

.seitenkopf h1 { color: var(--weiss); margin-bottom: .35em; }

.seitenkopf p { max-width: 44rem; font-size: 1.05rem; }

.brotkrumen {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
    font-size: .85rem;
    color: rgba(255, 255, 255, .55);
}

.brotkrumen a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.brotkrumen a:hover { color: var(--weiss); text-decoration: underline; }
.brotkrumen li::after { content: '/'; margin-left: .4rem; opacity: .5; }
.brotkrumen li:last-child::after { display: none; }

/* ----------------------------------------------------------------- Ratgeber */

.beitrag-karte {
    display: flex;
    flex-direction: column;
    background: var(--weiss);
    border: 1px solid var(--grau-200);
    border-radius: var(--radius-gross);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow var(--uebergang), transform var(--uebergang);
}

.beitrag-karte:hover { box-shadow: var(--schatten-m); transform: translateY(-3px); }

.beitrag-karte__bild {
    aspect-ratio: 16 / 9;
    background: linear-gradient(140deg, var(--anthrazit-700), var(--blau-700));
    overflow: hidden;
    display: grid;
    place-items: center;
}

.beitrag-karte__bild img { width: 100%; height: 100%; object-fit: cover; }
.beitrag-karte__bild svg { width: 3rem; height: 3rem; color: rgba(255, 255, 255, .3); }

.beitrag-karte__text { display: flex; flex-direction: column; flex: 1; padding: 1.4rem; }

.beitrag-karte h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.beitrag-karte p { font-size: .93rem; color: var(--text-leise); margin-bottom: 1rem; }

.meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin-bottom: .8rem;
    font-size: .8rem;
    color: var(--text-leise);
}

.marke-chip {
    display: inline-block;
    padding: .2rem .6rem;
    border-radius: 999px;
    background: var(--blau-50);
    color: var(--blau);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .03em;
}

.beitrag-karte__fuss { margin-top: auto; }

/* Filterleiste */
.filter {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 2rem;
}

.filter a {
    padding: .45rem 1rem;
    border: 1px solid var(--grau-200);
    border-radius: 999px;
    background: var(--weiss);
    font-size: .89rem;
    font-weight: 600;
    color: var(--anthrazit-700);
    text-decoration: none;
    transition: all var(--uebergang);
}

.filter a:hover { border-color: var(--blau); color: var(--blau); }
.filter a.aktiv { background: var(--blau); border-color: var(--blau); color: var(--weiss); }

/* Artikeltext */
.artikel {
    max-width: var(--breite-schmal);
    min-width: 0;
    font-size: 1.055rem;
    line-height: 1.75;
}

.artikel > h2 {
    margin-top: 2.25em;
    padding-top: .2em;
    font-size: clamp(1.35rem, 1.15rem + .9vw, 1.75rem);
}

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

.artikel > h3 { margin-top: 1.8em; font-size: 1.2rem; }

.artikel ul,
.artikel ol { padding-left: 1.3rem; margin-bottom: 1.2em; }
.artikel li { margin-bottom: .45em; }

.artikel a { font-weight: 500; }

.artikel strong { color: var(--anthrazit-900); font-weight: 650; }

.artikel blockquote {
    margin: 1.75em 0;
    padding: 1.1rem 1.5rem;
    border-left: 3px solid var(--orange);
    background: var(--orange-50);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 1rem;
}

.artikel blockquote p:last-child { margin-bottom: 0; }

.artikel table {
    width: 100%;
    margin-bottom: 1.5em;
    border-collapse: collapse;
    font-size: .95rem;
}

.artikel th,
.artikel td {
    padding: .7rem .9rem;
    border: 1px solid var(--grau-200);
    text-align: left;
}

.artikel th { background: var(--grau-50); font-weight: 700; color: var(--anthrazit-900); }

.tabelle-scroll {
    overflow-x: auto;
    max-width: 100%;
    margin-bottom: 1.5em;
    /* Kleiner Hinweis, dass hier seitlich mehr steht */
    scrollbar-width: thin;
}

.tabelle-scroll table { margin-bottom: 0; }

.artikel img { border-radius: var(--radius); margin-block: 1.5em; }

.artikel hr { margin: 2.5em 0; border: 0; border-top: 1px solid var(--grau-200); }

/* Blaettern */
.blaettern {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .4rem;
    margin-top: 2.5rem;
}

.blaettern a,
.blaettern span {
    min-width: 2.5rem;
    padding: .5rem .75rem;
    border: 1px solid var(--grau-200);
    border-radius: 8px;
    text-align: center;
    font-size: .92rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--anthrazit-700);
}

.blaettern a:hover { border-color: var(--blau); color: var(--blau); }
.blaettern .aktuell { background: var(--blau); border-color: var(--blau); color: var(--weiss); }

/* -------------------------------------------------------------- Einzugsgebiet */

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

.orte li {
    padding: .4rem .9rem;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    font-size: .88rem;
    color: rgba(255, 255, 255, .8);
}

/* ---------------------------------------------------------------- CTA-Band */

.cta-band {
    position: relative;
    padding-block: clamp(3rem, 2rem + 4vw, 4.5rem);
    background: linear-gradient(120deg, var(--blau-700), var(--blau) 60%, #0d6bb5);
    color: rgba(255, 255, 255, .85);
    overflow: hidden;
}

.cta-band::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -8%;
    width: 26rem;
    height: 26rem;
    border-radius: 50%;
    background: rgba(222, 78, 17, .18);
    filter: blur(30px);
    pointer-events: none;
}

.cta-band__innen {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.75rem;
}

.cta-band h2 { color: var(--weiss); margin-bottom: .35em; }
.cta-band p { max-width: 36rem; margin: 0; }
.cta-band__aktionen { display: flex; flex-wrap: wrap; gap: .8rem; }

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

.fuss {
    padding-block: clamp(3rem, 2rem + 3vw, 4rem) 0;
    background: var(--anthrazit-900);
    color: rgba(255, 255, 255, .62);
    font-size: .93rem;
}

.fuss__gitter {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2.5rem 2rem;
}

@media (max-width: 900px) { .fuss__gitter { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .fuss__gitter { grid-template-columns: 1fr; gap: 2rem; } }

.fuss__logo { height: 40px; width: auto; margin-bottom: 1.1rem; }

.fuss h3 {
    margin-bottom: 1rem;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--weiss);
}

.fuss ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }

.fuss a { color: rgba(255, 255, 255, .62); text-decoration: none; transition: color var(--uebergang); }
.fuss a:hover { color: var(--weiss); }

.fuss__kontakt li { display: flex; gap: .6rem; align-items: flex-start; }
.fuss__kontakt svg { flex: none; width: 1rem; height: 1rem; margin-top: .35rem; color: var(--blau-300); }

.fuss__zeiten { display: grid; gap: .4rem; margin-top: 1.25rem; font-size: .87rem; }
.fuss__zeiten div { display: flex; justify-content: space-between; gap: 1rem; }
.fuss__zeiten span:last-child { color: rgba(255, 255, 255, .8); }

.fuss__unten {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2.75rem;
    padding-block: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .87rem;
}

.fuss__rechtlich { display: flex; flex-wrap: wrap; gap: 1.25rem; }

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

.schweber {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.schweber a {
    display: grid;
    place-items: center;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    color: var(--weiss);
    text-decoration: none;
    box-shadow: var(--schatten-l);
    transition: transform var(--uebergang);
}

.schweber a:hover { transform: scale(1.07); }
.schweber svg { width: 1.55rem; height: 1.55rem; }

.schweber__whatsapp { background: #25d366; }
.schweber__tel { background: var(--orange); }

/* Nach oben. Ohne diese Regeln steht der Knopf ungestylt im Textfluss unter dem
   Fuss und sieht aus wie ein Fehler – genau das ist schon passiert. */
.hoch {
    position: fixed;
    left: 1.1rem;
    bottom: 1.1rem;
    z-index: 90;
    display: grid;
    place-items: center;
    width: 2.9rem;
    height: 2.9rem;
    padding: 0;
    border: 1px solid var(--grau-200);
    border-radius: 50%;
    background: var(--weiss);
    color: var(--anthrazit);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    box-shadow: var(--schatten-m);
    transition: opacity var(--uebergang), visibility var(--uebergang),
                transform var(--uebergang);
}

.hoch--sichtbar { opacity: 1; visibility: visible; transform: translateY(0); }
.hoch svg { width: 1.1rem; height: 1.1rem; }

@media (max-width: 720px) {
    /* Auf dem Handy etwas kleiner und enger an den Rand, damit sie wenig verdecken */
    .schweber { right: .85rem; bottom: .85rem; gap: .55rem; }
    .schweber a { width: 3.1rem; height: 3.1rem; }
    .schweber svg { width: 1.4rem; height: 1.4rem; }
    .hoch { left: .85rem; bottom: .85rem; width: 2.6rem; height: 2.6rem; }
}

/* ------------------------------------------------------------------- Cookies */

.cookie {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 150;
    display: none;
    gap: 1.25rem;
    align-items: center;
    max-width: 46rem;
    margin-inline: auto;
    padding: 1.15rem 1.4rem;
    background: var(--weiss);
    border: 1px solid var(--grau-200);
    border-radius: var(--radius-gross);
    box-shadow: var(--schatten-l);
    font-size: .89rem;
    color: var(--text-leise);
}

.cookie--sichtbar { display: flex; }
.cookie strong { display: block; color: var(--anthrazit-900); margin-bottom: .2rem; font-size: .95rem; }
.cookie button { flex: none; }

@media (max-width: 560px) {
    .cookie { flex-direction: column; align-items: stretch; text-align: left; }
}

/* ------------------------------------------------------------------ Helfer */

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

.zum-inhalt {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 200;
    padding: .7rem 1.2rem;
    background: var(--anthrazit-900);
    color: var(--weiss);
    border-radius: 0 0 var(--radius) var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: top var(--uebergang);
}

.zum-inhalt:focus { top: 0; }

.text-mitte { text-align: center; }
.mt-l { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0; }
.leise { color: var(--text-leise); }

.prosa { max-width: var(--breite-schmal); }

.prosa h2 { margin-top: 2em; }
.prosa h2:first-child { margin-top: 0; }
.prosa h3 { margin-top: 1.6em; }
.prosa ul { padding-left: 1.3rem; }
.prosa li { margin-bottom: .4em; }

/* ====================================================================== Förderrechner */

.rechner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(1.75rem, 1rem + 3vw, 3rem);
    align-items: start;
}

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

.rechner__fragen { display: grid; gap: 1.5rem; }

.rechner__frage {
    margin: 0;
    padding: 1.4rem 1.5rem 1.5rem;
    border: 1px solid var(--grau-200);
    border-radius: var(--radius-gross);
    background: var(--weiss);
}

.rechner__frage legend {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: 0;
    margin-bottom: 1rem;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--anthrazit-900);
}

.rechner__nr {
    display: grid;
    place-items: center;
    flex: none;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--blau);
    color: var(--weiss);
    font-size: .82rem;
    font-weight: 800;
}

.rechner__hinweis {
    margin: .9rem 0 0;
    font-size: .85rem;
    color: var(--text-leise);
}

/* ------------------------------------------------------------ Auswahlfelder */

.wahl { display: grid; gap: .5rem; }
.wahl--schmal { grid-template-columns: repeat(5, 1fr); }
.wahl--knapp { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }

.wahl__feld {
    position: relative;
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .8rem 1rem;
    border: 1px solid var(--grau-200);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: .95rem;
    transition: border-color var(--uebergang), background var(--uebergang);
}

.wahl--schmal .wahl__feld { justify-content: center; padding: .8rem .4rem; font-weight: 700; }

.wahl__feld:hover { border-color: var(--blau-300); background: var(--blau-50); }

.wahl__feld input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wahl__feld span { position: relative; z-index: 1; }

.wahl__feld:has(input:checked) {
    border-color: var(--blau);
    background: var(--blau-50);
    box-shadow: inset 0 0 0 1px var(--blau);
    font-weight: 600;
}

.wahl__feld:has(input:focus-visible) {
    outline: 3px solid var(--blau-300);
    outline-offset: 2px;
}

.wahl__chip {
    padding: .5rem .95rem;
    border: 1px solid var(--grau-200);
    border-radius: 999px;
    background: var(--weiss);
    font-family: inherit;
    font-size: .88rem;
    font-weight: 600;
    color: var(--anthrazit-700);
    cursor: pointer;
    transition: all var(--uebergang);
}

.wahl__chip:hover { border-color: var(--blau); color: var(--blau); }
.wahl__chip.aktiv { background: var(--blau); border-color: var(--blau); color: var(--weiss); }

.rechner__betrag {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.rechner__betrag input { max-width: 11rem; font-size: 1.05rem; font-weight: 600; }
.rechner__betrag > span { font-size: 1.05rem; font-weight: 600; color: var(--text-leise); }

/* ---------------------------------------------------------------- Ergebnis */

.rechner__ergebnis { position: sticky; top: 6rem; }

@media (max-width: 900px) {
    .rechner__ergebnis { position: static; }
}

.ergebnis__karte {
    padding: clamp(1.5rem, 1rem + 2vw, 2rem);
    border-radius: var(--radius-gross);
    background: linear-gradient(160deg, #1b2830 0%, #24363f 55%, #1d2b34 100%);
    color: rgba(255, 255, 255, .8);
    box-shadow: var(--schatten-l);
}

.ergebnis__label {
    margin: 0 0 .3rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}

.ergebnis__betrag {
    margin: 0;
    font-size: clamp(2.4rem, 1.6rem + 3vw, 3.4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.035em;
    color: var(--weiss);
    font-variant-numeric: tabular-nums;
}

.ergebnis__satz { margin: .2rem 0 1.1rem; font-size: 1rem; color: var(--blau-300); font-weight: 600; }

.ergebnis__balken {
    height: 8px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .12);
    overflow: hidden;
    margin-bottom: 1.35rem;
}

.ergebnis__balken span {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--blau) 0%, var(--blau-300) 60%, var(--orange) 100%);
    transition: width .45s cubic-bezier(.4, 0, .2, 1);
}

.ergebnis__zeilen {
    display: grid;
    gap: .5rem;
    margin: 0 0 1.35rem;
    padding: 0 0 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    font-size: .95rem;
}

.ergebnis__zeilen div { display: flex; justify-content: space-between; gap: 1rem; }
.ergebnis__zeilen dt { color: rgba(255, 255, 255, .62); }
.ergebnis__zeilen dd { margin: 0; font-weight: 700; color: var(--weiss); font-variant-numeric: tabular-nums; }
.ergebnis__eigen { color: var(--orange) !important; }

.ergebnis__bausteine {
    display: grid;
    gap: .8rem;
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
    font-size: .87rem;
    line-height: 1.45;
}

.ergebnis__bausteine li { display: flex; gap: .7rem; align-items: flex-start; }
.ergebnis__bausteine strong { color: var(--weiss); font-weight: 700; }
.ergebnis__bausteine em { font-style: normal; color: rgba(255, 255, 255, .55); }

.ergebnis__bausteine svg {
    flex: none;
    width: 1.1rem;
    height: 1.1rem;
    margin-top: .15rem;
    color: #58c98a;
}

.ergebnis__bausteine .aus svg { color: rgba(255, 255, 255, .3); }
.ergebnis__bausteine .aus strong { color: rgba(255, 255, 255, .5); }

.ergebnis__deckel {
    margin: 0 0 1.25rem;
    padding: .8rem 1rem;
    border-radius: var(--radius);
    background: rgba(222, 78, 17, .16);
    border: 1px solid rgba(222, 78, 17, .3);
    font-size: .85rem;
    color: rgba(255, 255, 255, .85);
}

.ergebnis__aktionen { display: grid; gap: .6rem; }
.ergebnis__aktionen .btn--rand { border-color: rgba(255, 255, 255, .28); color: var(--weiss); }
.ergebnis__aktionen .btn--rand:hover { border-color: var(--weiss); color: var(--weiss); }

.ergebnis__kleingedruckt {
    margin: 1.1rem 0 0;
    font-size: .78rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, .45);
}

/* ------------------------------------------------------- Teaser Förderrechner */

.foerder-teaser {
    position: relative;
    background: linear-gradient(150deg, #1b2830 0%, #24363f 60%, #1d2b34 100%);
    color: rgba(255, 255, 255, .82);
    overflow: hidden;
}

.foerder-teaser::before {
    content: '';
    position: absolute;
    inset: auto -8% -55% auto;
    width: min(38rem, 60%);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(10, 90, 154, .38), transparent 65%);
    filter: blur(50px);
    pointer-events: none;
}

.foerder-teaser__innen {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(2rem, 1rem + 4vw, 4rem);
    align-items: center;
}

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

.foerder-teaser h2 { color: var(--weiss); }
.foerder-teaser p { color: rgba(255, 255, 255, .74); }
.foerder-teaser .eyebrow { color: var(--blau-300); }
.foerder-teaser .eyebrow::before { background: var(--blau-300); }
.foerder-teaser__aktionen { margin-top: 2rem; }

/* Statische Vorschau auf das Ergebnis – zeigt, was einen erwartet */
.foerder-teaser__vorschau {
    padding: clamp(1.5rem, 1rem + 2vw, 2rem);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: var(--radius-gross);
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(8px);
}

.foerder-teaser__label {
    margin: 0 0 .25rem;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5) !important;
}

.foerder-teaser__betrag {
    margin: 0;
    font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.05;
    color: var(--weiss) !important;
}

.foerder-teaser__satz { margin: .15rem 0 1rem; color: var(--blau-300) !important; font-weight: 600; }

.foerder-teaser__balken {
    height: 7px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .12);
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.foerder-teaser__balken span {
    display: block;
    width: 80%;
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--blau), var(--blau-300) 60%, var(--orange));
}

.foerder-teaser__liste {
    display: grid;
    gap: .55rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .89rem;
}

.foerder-teaser__liste li { display: flex; align-items: center; gap: .55rem; }
.foerder-teaser__liste svg { width: 1rem; height: 1rem; flex: none; color: #58c98a; }

/* Herkunftsmarke auf den Galeriebildern */
.galerie__marke {
    position: absolute;
    left: .6rem;
    bottom: .6rem;
    padding: .28rem .6rem;
    border-radius: 6px;
    background: rgba(16, 24, 29, .72);
    backdrop-filter: blur(6px);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: rgba(255, 255, 255, .92);
    opacity: 0;
    transition: opacity var(--uebergang);
}

.galerie__bild:hover .galerie__marke,
.galerie__bild:focus-visible .galerie__marke { opacity: 1; }

.filter a span {
    display: inline-block;
    margin-left: .35rem;
    padding: 0 .35rem;
    border-radius: 99px;
    background: var(--grau-100);
    font-size: .78rem;
    color: var(--text-leise);
}

.filter a.aktiv span { background: rgba(255, 255, 255, .22); color: var(--weiss); }

.galerie__bild[hidden] { display: none; }


/* ---------------------------------------------------- Einblicke-Streifen */

.einblicke__kopf {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.einblicke__kopf h2 { margin: 0; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }

.einblicke__reihe {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .85rem;
}

@media (max-width: 700px) { .einblicke__reihe { grid-template-columns: repeat(2, 1fr); } }

.einblicke__bild {
    position: relative;
    display: block;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--grau-100);
}

.einblicke__bild img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}

.einblicke__bild:hover img { transform: scale(1.06); }

.einblicke__bild span {
    position: absolute;
    left: .5rem;
    bottom: .5rem;
    padding: .24rem .55rem;
    border-radius: 6px;
    background: rgba(16, 24, 29, .74);
    backdrop-filter: blur(6px);
    font-size: .68rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .92);
}
