/* =====================================================================
   U+K Gebäudetechnik – modernes Design (Unterordner /neu)
   Farben aus dem Logo: Dunkelrot #8c1b1b, Orange #ef7000.
   Leitmotiv: das Doppel-Dreieck ▶▶ und das orange Band aus dem Logo.
   ===================================================================== */

/* ==== Schriften (lokal) ==== */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/open-sans-v34-latin-regular.woff2') format('woff2'),
         url('../fonts/open-sans-v34-latin-regular.woff') format('woff');
}
@font-face {
    font-family: 'Open Sans Condensed';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/open-sans-condensed-700-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Open Sans Condensed';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/open-sans-condensed-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==== Tokens ==== */
:root {
    /* Logo */
    --rot: #8c1b1b;
    --orange: #ef7000;
    /* Ableitungen */
    --rot-tief: #5c0f10;
    --rot-nacht: #2b0b0b;
    --orange-text: #a85200;   /* Orange als Text auf Weiß (5.4:1) */
    --orange-hell: #ffb066;   /* Orange als Text auf Rot (5.1:1 / 7.6:1) */
    --rot-zart: #f2d9d6;
    --ink: #1f1413;
    --ink-2: #5b4a48;
    --surface: #f6f1f0;
    --line: #e4d9d7;
    --weiss: #ffffff;

    --font: 'Open Sans', system-ui, sans-serif;
    --font-display: 'Open Sans Condensed', 'Arial Narrow', sans-serif-condensed, sans-serif;

    --step--1: clamp(.875rem, .85rem + .1vw, .9375rem);
    --step-0: clamp(1rem, .97rem + .15vw, 1.0625rem);
    --step-1: clamp(1.25rem, 1.15rem + .45vw, 1.5rem);
    --step-2: clamp(1.6rem, 1.4rem + .9vw, 2.15rem);
    --step-3: clamp(2.1rem, 1.7rem + 1.8vw, 3.2rem);
    --step-4: clamp(2.6rem, 1.9rem + 3.2vw, 4.75rem);

    --gutter: clamp(1rem, 4vw, 3rem);
    --max: 1280px;
    --space-s: clamp(1rem, 2vw, 1.5rem);
    --space-m: clamp(2rem, 4vw, 3.5rem);
    --space-l: clamp(3.5rem, 8vw, 7rem);

    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --header-h: 76px;

    --z-sticky: 100;
    --z-menu: 200;
    --z-skip: 300;
}

/* ==== Basis ==== */
*, *::before, *::after { box-sizing: border-box; }
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);
}
body {
    margin: 0;
    font-family: var(--font);
    font-size: var(--step-0);
    line-height: 1.65;
    color: var(--ink);
    background: var(--weiss);
    -webkit-font-smoothing: antialiased;
    overflow-wrap: break-word;
    hyphens: auto;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rot); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--rot-tief); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.01em;
    text-wrap: balance;
    margin: 0 0 .5em;
}
p, li { text-wrap: pretty; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
    position: absolute; left: 1rem; top: -4rem; z-index: var(--z-skip);
    background: var(--ink); color: var(--weiss); padding: .6rem 1rem; text-decoration: none;
}
.skip:focus { top: 1rem; }

/* ==== Motiv: Doppel-Dreieck aus dem Logo ==== */
.pfeile {
    display: inline-block;
    width: 1.15em; height: .6em;
    flex: none;
    background: currentColor;
    transition: transform .35s var(--ease-out);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23 12'%3E%3Cpath d='M0 0l10 6-10 6zM12 0l11 6-11 6z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23 12'%3E%3Cpath d='M0 0l10 6-10 6zM12 0l11 6-11 6z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ==== Buttons ==== */
.btn {
    display: inline-flex; align-items: center; gap: .65em;
    font-family: var(--font-display); font-weight: 700;
    font-size: 1.125rem; letter-spacing: .01em; line-height: 1;
    padding: .95em 1.3em;
    border: 2px solid transparent;
    border-radius: 2px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover .pfeile, a:hover > .pfeile { transform: translateX(4px); }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--orange:hover { background: #ff8a1f; color: var(--ink); }
.btn--rahmen { border-color: currentColor; color: inherit; background: transparent; }
.btn--rahmen:hover { background: var(--weiss); color: var(--rot); border-color: var(--weiss); }
.btn--rot { background: var(--rot); color: var(--weiss); }
.btn--rot:hover { background: var(--rot-tief); color: var(--weiss); }
.btn-icon { width: 1.1em; height: 1.1em; flex: none; }

/* ==== Header ==== */
.site-header {
    position: sticky; top: 0; z-index: var(--z-sticky);
    background: var(--weiss);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(43, 11, 11, .45); }
.header-bar {
    display: flex; align-items: center; gap: 1.5rem;
    min-height: var(--header-h);
}
.logo { display: block; flex: none; margin-right: auto; }
.logo img { width: 128px; height: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.nav a {
    position: relative;
    display: block; padding: .5rem .85rem;
    font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
    color: var(--ink); text-decoration: none;
}
.nav a::after {
    content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 3px;
    background: var(--orange); transform: scaleX(0); transform-origin: left;
    transition: transform .3s var(--ease-out);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--rot); }
.header-tel { white-space: nowrap; }
.menu-toggle {
    display: none;
    width: 48px; height: 48px; padding: 0;
    background: transparent; border: 2px solid var(--line); border-radius: 2px;
    cursor: pointer; color: var(--ink);
}
.menu-toggle span[aria-hidden] {
    display: block; width: 20px; height: 2px; margin: 0 auto; background: currentColor; position: relative;
    transition: background-color .2s;
}
.menu-toggle span[aria-hidden]::before, .menu-toggle span[aria-hidden]::after {
    content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor;
    transition: transform .3s var(--ease-out);
}
.menu-toggle span[aria-hidden]::before { top: -6px; }
.menu-toggle span[aria-hidden]::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span[aria-hidden] { background: transparent; }
.menu-toggle[aria-expanded="true"] span[aria-hidden]::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span[aria-hidden]::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
    :root { --header-h: 64px; }
    .logo img { width: 104px; }
    .header-bar { gap: .6rem; }
    .menu-toggle { display: block; }
    .header-tel { padding: .75em; }
    .header-tel .tel-text { display: none; }
    .nav {
        position: absolute; left: 0; right: 0; top: 100%;
        background: var(--weiss); border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 30px -20px rgba(43, 11, 11, .4);
        display: none;
    }
    .js .nav.open { display: block; animation: menu-in .3s var(--ease-out); }
    html:not(.js) .menu-toggle { display: none; }
    html:not(.js) .header-bar { flex-wrap: wrap; }
    html:not(.js) .nav { display: block; position: static; box-shadow: none; border: 0; flex-basis: 100%; order: 3; }
    .nav ul { flex-direction: column; padding: .5rem var(--gutter) 1rem; }
    .nav a { padding: .85rem 0; font-size: 1.35rem; border-bottom: 1px solid var(--line); }
    .nav li:last-child a { border-bottom: 0; }
    .nav a::after { left: 0; right: auto; width: 2.5rem; bottom: -1px; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }

/* ==== Hero (Startseite) ==== */
.hero {
    position: relative;
    background: var(--rot);
    color: var(--weiss);
    overflow: hidden;
    isolation: isolate;
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    min-height: min(78vh, 720px);
}
.hero-text {
    align-self: center;
    padding: var(--space-l) var(--space-m) var(--space-l) 0;
    position: relative; z-index: 1;
}
.hero-ort {
    display: inline-flex; align-items: center; gap: .6em;
    font-family: var(--font-display); font-size: 1.15rem;
    color: var(--orange-hell);
    margin-bottom: 1.25rem;
}
.hero h1 {
    font-size: var(--step-4);
    line-height: .98;
    margin-bottom: 1.5rem;
}
.hero h1 .zeile { display: block; }
.hero h1 em { font-style: normal; color: var(--orange-hell); }
.hero-lead { font-size: var(--step-1); line-height: 1.45; max-width: 34ch; color: #fbeceb; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-bild {
    position: relative;
    margin: 0 calc(-1 * (var(--gutter) + max(0px, (100vw - var(--max)) / 2))) 0 0;
    /* Bild läuft als Pfeil nach rechts aus – wie die Dreiecke im Logo */
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 14% 100%, 0 50%);
}
.hero-bild img { width: 100%; height: 100%; object-fit: cover; }
.hero-bild::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(140, 27, 27, .35), transparent 45%);
}

/* Leistungsleiste unter dem Hero: das orange Band aus dem Logo */
.band {
    background: var(--orange);
    color: var(--ink);
}
.band ul {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap;
}
.band li { flex: 1 1 auto; }
.band a {
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    padding: 1.1rem 1.25rem;
    font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
    color: var(--ink); text-decoration: none;
    border-right: 1px solid rgba(31, 20, 19, .18);
    transition: background-color .2s;
}
.band li:first-child a { padding-left: 0; }
.band li:last-child a { border-right: 0; }
.band a:hover { background: rgba(255, 255, 255, .22); }
.band .pfeile { color: var(--rot-tief); }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; min-height: 0; }
    .hero-text { padding: var(--space-m) 0 var(--space-m); }
    .hero-bild { order: -1; margin-inline: calc(var(--gutter) * -1); height: 34vh; min-height: 200px;
        clip-path: polygon(0 0, 100% 0, 100% 82%, 50% 100%, 0 82%); }
    .band li { flex: 1 1 50%; }
    .band a, .band li:first-child a { padding: 1rem 0; border-right: 0; border-bottom: 1px solid rgba(31, 20, 19, .18); margin-right: 1rem; }
}
@media (max-width: 480px) { .band li { flex-basis: 100%; } .band a { margin-right: 0; } }

/* Lade-Choreografie */
@media (prefers-reduced-motion: no-preference) {
    .hero-ort, .hero h1 .zeile, .hero-lead, .hero-ctas { animation: hoch .9s var(--ease-out) both; }
    .hero h1 .zeile:nth-child(1) { animation-delay: .08s; }
    .hero h1 .zeile:nth-child(2) { animation-delay: .16s; }
    .hero h1 .zeile:nth-child(3) { animation-delay: .24s; }
    .hero-lead { animation-delay: .34s; }
    .hero-ctas { animation-delay: .44s; }
    .hero-bild { animation: wisch 1.2s var(--ease-out) .1s both; }
    .hero-bild img { animation: zoom 2.4s var(--ease-out) both; }
}
@keyframes hoch { from { opacity: 0; transform: translateY(18px); } }
@keyframes wisch { from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%, 86% 50%); } }
@keyframes zoom { from { transform: scale(1.12); } }
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
    .hero-bild { animation-name: wisch-mobil; }
}
@keyframes wisch-mobil { from { clip-path: polygon(0 0, 100% 0, 100% 0, 50% 0, 0 0); } }

/* ==== Seitenkopf (Unterseiten) ==== */
.page-head {
    background: var(--rot);
    color: var(--weiss);
    padding: var(--space-m) 0 calc(var(--space-m) + 1rem);
    position: relative;
    overflow: hidden;
}
.page-head::after {
    /* großes Doppel-Dreieck als Wasserzeichen */
    content: ""; position: absolute; right: -4vw; top: 50%; translate: 0 -50%;
    width: min(46vw, 520px); aspect-ratio: 23 / 12;
    background: var(--rot-tief);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23 12'%3E%3Cpath d='M0 0l10 6-10 6zM12 0l11 6-11 6z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23 12'%3E%3Cpath d='M0 0l10 6-10 6zM12 0l11 6-11 6z'/%3E%3C/svg%3E") center / contain no-repeat;
    z-index: 0;
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: var(--step-4); max-width: 18ch; margin: 0; }
.page-head h1 small, .page-head .kicker {
    display: block;
    font-family: var(--font); font-weight: 400;
    font-size: var(--step-1); line-height: 1.4; letter-spacing: 0;
    color: var(--orange-hell);
    margin: .6rem 0;
    max-width: 40ch;
}
.page-head .lead { font-size: var(--step-1); line-height: 1.45; max-width: 52ch; margin: 1.25rem 0 0; color: #fbeceb; }
.page-head--schmal h1 { font-size: var(--step-3); max-width: 24ch; }
@media (prefers-reduced-motion: no-preference) {
    .page-head h1, .page-head .lead { animation: hoch .8s var(--ease-out) both; }
    .page-head .lead { animation-delay: .12s; }
    .page-head::after { animation: gleiten 1.1s var(--ease-out) both; }
}
@keyframes gleiten { from { opacity: 0; transform: translateX(-6%); } }

/* ==== Abschnitte ==== */
.section { padding-block: var(--space-l); }
.section--surface { background: var(--surface); }
.h2 { font-size: var(--step-3); color: var(--ink); }
.h2 .akzent { color: var(--rot); }

/* Einleitung: Aussage links, Text rechts */
.intro {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: var(--space-m) clamp(2rem, 6vw, 6rem);
    align-items: start;
}
.intro-aussage {
    font-family: var(--font-display); font-weight: 700;
    font-size: var(--step-3); line-height: 1.05;
    color: var(--rot);
    margin: 0;
    text-wrap: balance;
}
.intro-aussage span { color: var(--ink); }
.intro-text { max-width: 62ch; }
.intro-text p:first-child { font-size: var(--step-1); line-height: 1.5; }
.seit {
    display: flex; align-items: baseline; gap: .75rem;
    margin-top: 2rem; padding-top: 1.25rem;
    border-top: 3px solid var(--orange);
    max-width: 22rem;
}
.seit b { font-family: var(--font-display); font-size: var(--step-3); line-height: 1; color: var(--rot); }
.seit span { color: var(--ink-2); line-height: 1.35; }
@media (max-width: 800px) { .intro { grid-template-columns: 1fr; } }

/* ==== Leistungsliste (statt Kachelraster) ==== */
.leistungen-kopf {
    display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem;
    margin-bottom: var(--space-m);
}
.leistungen-kopf .h2 { margin: 0; }
.leistungen-kopf p { margin: 0; max-width: 46ch; color: var(--ink-2); }
.liste { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.liste li { border-bottom: 1px solid var(--line); }
.svc {
    display: grid;
    grid-template-columns: clamp(96px, 16vw, 200px) minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(1rem, 3vw, 2.5rem);
    padding: 1.1rem 0;
    color: var(--ink); text-decoration: none;
    position: relative;
    isolation: isolate;
}
.svc::before {
    content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1);
    background: var(--surface); z-index: -1;
    opacity: 0; transition: opacity .25s;
}
.svc:hover { color: var(--ink); }
.svc:hover::before { opacity: 1; }
.svc-bild { aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface); }
.svc-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.svc:hover .svc-bild img { transform: scale(1.06); }
.svc-name {
    display: block;
    font-family: var(--font-display); font-weight: 700;
    font-size: var(--step-2); line-height: 1.05;
    transition: color .2s;
}
.svc:hover .svc-name { color: var(--rot); }
.svc-text { display: block; color: var(--ink-2); margin-top: .35rem; max-width: 60ch; line-height: 1.5; }
.svc-pfeil {
    display: grid; place-items: center;
    width: 3.25rem; height: 3.25rem;
    border: 2px solid var(--line); border-radius: 50%;
    color: var(--rot);
    transition: background-color .25s, border-color .25s, color .25s;
}
.svc:hover .svc-pfeil { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.svc:hover .pfeile { transform: translateX(3px); }
@media (max-width: 600px) {
    .svc { grid-template-columns: 88px minmax(0, 1fr); gap: 1rem; align-items: start; }
    .svc-pfeil { display: none; }
    .svc-text { font-size: var(--step--1); }
}

/* ==== Slogan: Orange vollflächig ==== */
.slogan {
    background: var(--orange);
    color: var(--ink);
    padding-block: var(--space-l);
    overflow: hidden;
}
.slogan .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.slogan p {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(2.6rem, 1.5rem + 5vw, 6rem);
    line-height: .95; letter-spacing: -.02em;
    margin: 0;
}
.slogan p small { display: block; font-family: var(--font); font-weight: 400; font-size: var(--step-1); letter-spacing: 0; margin-top: 1rem; color: var(--ink); }
.slogan .pfeile { width: clamp(6rem, 16vw, 13rem); height: auto; aspect-ratio: 23 / 12; color: var(--rot); }
.werte {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; gap: .25rem 1.5rem;
    font-family: var(--font-display); font-size: var(--step-1);
}
.werte li { display: inline-flex; align-items: center; gap: .5rem; }
.werte li::before { content: ""; width: .5rem; height: .5rem; background: var(--rot); }

/* ==== Split (Bild + Text) ==== */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-m) clamp(2rem, 6vw, 5.5rem);
    align-items: center;
}
.split figure { margin: 0; position: relative; isolation: isolate; }
.split figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split figure::before {
    /* versetzter Rahmen in Orange – wie der Bügel im Logo */
    content: ""; position: absolute; inset: -14px 14px 14px -14px;
    border: 3px solid var(--orange); z-index: -1;
}
.split-text { max-width: 58ch; }
.split-text .h2 { margin-bottom: .6em; }
@media (max-width: 800px) {
    .split { grid-template-columns: 1fr; }
    .split figure { margin: 14px 0 0 14px; }
}

/* ==== Kontakt-CTA ==== */
.cta {
    background: var(--rot-tief);
    color: var(--weiss);
    padding-block: var(--space-l);
}
.cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: var(--space-m);
    align-items: end;
}
.cta h2 { font-size: var(--step-4); margin: 0; }
.cta h2 span { display: block; color: var(--orange-hell); }
.cta-wege { display: grid; gap: 1rem; }
.cta-weg {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .22);
    color: var(--weiss); text-decoration: none;
}
.cta-weg:hover { color: var(--weiss); }
.cta-weg small { display: block; font-size: var(--step--1); color: var(--orange-hell); margin-bottom: .1rem; }
.cta-weg b { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.1; word-break: break-word; hyphens: none; }
.cta-weg .pfeile { color: var(--orange); width: 1.6rem; height: .85rem; }
.cta-weg:hover .pfeile { transform: translateX(6px); }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .cta-weg b { font-size: 1.35rem; } }

/* ==== Leistungen-Seite ==== */
.leistungen-layout {
    display: grid;
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}
.sprungnav { position: sticky; top: calc(var(--header-h) + 2rem); }
.sprungnav p { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink-2); margin-bottom: .5rem; }
.sprungnav ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.sprungnav a {
    display: block; padding: .5rem 0 .5rem 1rem; margin-left: -2px;
    border-left: 2px solid transparent;
    color: var(--ink); text-decoration: none; font-weight: 400;
    transition: color .2s, border-color .2s;
}
.sprungnav a:hover { color: var(--rot); }
.sprungnav a.is-active { color: var(--rot); border-left-color: var(--orange); font-weight: 700; }
.leistung { padding-bottom: var(--space-m); margin-bottom: var(--space-m); border-bottom: 1px solid var(--line); }
.leistung:last-child { border-bottom: 0; margin-bottom: 0; }
.leistung h2 { font-size: var(--step-3); display: flex; align-items: center; gap: .9rem; }
.leistung h2 .pfeile { color: var(--orange); width: 1.6rem; height: .85rem; }
.leistung figure { margin: 0 0 1.75rem; }
.leistung figure img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.leistung .text { max-width: 66ch; }
.leistung .text p:first-child { font-size: var(--step-1); line-height: 1.5; }
.leistung ul.punkte { padding-left: 0; list-style: none; }
.punkte li { position: relative; padding-left: 1.6rem; margin-bottom: .5rem; }
.punkte li::before {
    content: ""; position: absolute; left: 0; top: .55em; width: .9rem; height: .5rem; background: var(--orange);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23 12'%3E%3Cpath d='M0 0l10 6-10 6zM12 0l11 6-11 6z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23 12'%3E%3Cpath d='M0 0l10 6-10 6zM12 0l11 6-11 6z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.partner { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.partner h3 { font-size: 1.15rem; color: var(--ink-2); margin-bottom: .9rem; }
.partner-logos { display: flex; flex-wrap: wrap; gap: 1rem; }
.partner-logos img { width: 160px; height: auto; border: 1px solid var(--line); background: var(--weiss); }
@media (max-width: 900px) {
    .leistungen-layout { grid-template-columns: 1fr; }
    .sprungnav { position: static; }
    .sprungnav ul { display: flex; flex-wrap: wrap; gap: .5rem; border: 0; }
    .sprungnav a { border: 2px solid var(--line); margin: 0; padding: .45rem .8rem; }
    .sprungnav a.is-active { border-color: var(--orange); }
    .leistung figure img { aspect-ratio: 16 / 9; }
}

/* ==== Unternehmen ==== */
.werte-gross {
    list-style: none; margin: 0; padding: 0;
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(2.4rem, 1rem + 4vw, 4.75rem);
    line-height: .98; letter-spacing: -.02em;
    hyphens: none; white-space: nowrap;
}
.werte-gross li { color: var(--rot); }
.werte-gross li:nth-child(2) { color: var(--orange-text); padding-left: .4em; }
.werte-gross li:nth-child(3) { color: var(--ink); padding-left: .8em; }
@media (max-width: 800px) { .werte-gross { font-size: clamp(2.4rem, 1rem + 8vw, 4.5rem); } }
.zitat {
    font-family: var(--font-display); font-weight: 700;
    font-size: var(--step-2); line-height: 1.15;
    margin: 2rem 0 0; padding: 1.25rem 1.5rem;
    background: var(--orange); color: var(--ink);
    display: inline-block;
}

/* ==== Kontaktseite ==== */
.kontakt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0;
    border-top: 2px solid var(--ink);
}
.kontakt-block { padding: 1.75rem 2rem 2rem 0; border-bottom: 1px solid var(--line); }
.kontakt-block h2 { font-size: 1.2rem; color: var(--ink-2); margin-bottom: .75rem; }
.kontakt-block .gross {
    display: block;
    font-family: var(--font-display); font-weight: 700;
    font-size: var(--step-3); line-height: 1.05;
    color: var(--rot); text-decoration: none; hyphens: none;
}
.kontakt-block .gross:hover { color: var(--rot-tief); text-decoration: underline; text-decoration-thickness: 3px; }
.kontakt-block .mittel { font-size: var(--step-1); word-break: break-word; }
.kontakt-block p { margin: .75rem 0 0; color: var(--ink-2); }
.kontakt-block address { font-style: normal; font-size: var(--step-1); line-height: 1.45; margin-bottom: 1.25rem; }

/* ==== Fließtext (Landingpages, Rechtliches) ==== */
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2.2em; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--step-1); margin-top: 1.8em; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 1.6rem; margin-bottom: .4rem; }
.prose ul li::before {
    content: ""; position: absolute; left: 0; top: .6em; width: .9rem; height: .5rem; background: var(--orange);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23 12'%3E%3Cpath d='M0 0l10 6-10 6zM12 0l11 6-11 6z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23 12'%3E%3Cpath d='M0 0l10 6-10 6zM12 0l11 6-11 6z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.prose ul ul { margin-top: .4rem; }
.prose table { border-collapse: collapse; margin: 0 0 1em; }
.prose td { padding: .2rem 1rem .2rem 0; vertical-align: top; }
.prose figure { margin: 0 0 1.5rem; }
.prose figure.right { float: right; width: min(42%, 380px); margin: .4rem 0 1.5rem 2.5rem; }
.prose figcaption { font-size: var(--step--1); color: var(--ink-2); margin-top: .6rem; line-height: 1.45; }
.prose::after { content: ""; display: block; clear: both; }
.prose-wrap { display: grid; grid-template-columns: minmax(0, 70ch) minmax(0, 1fr); gap: var(--space-m); }
@media (max-width: 700px) { .prose figure.right { float: none; width: 100%; margin: 0 0 1.5rem; } }

.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-m); }
.sitemap-grid h2 { font-size: var(--step-1); }

/* ==== Footer ==== */
.site-footer { background: var(--surface); padding-top: var(--space-m); font-size: var(--step--1); }
.footer-grid {
    display: grid;
    grid-template-columns: auto repeat(3, minmax(0, 1fr));
    gap: var(--space-s) var(--space-m);
    padding-bottom: var(--space-m);
}
.footer-logo img { width: 150px; background: var(--weiss); }
.site-footer h2 { font-size: 1.1rem; margin-bottom: .5rem; color: var(--rot); }
.site-footer p { margin: 0 0 .4rem; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--rot); }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: .25rem; }
.footer-unten {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
    padding-block: 1.25rem;
    border-top: 1px solid var(--line);
    color: var(--ink-2);
}
.footer-unten ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.footer-unten a { color: var(--ink-2); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-logo { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Nach oben */
.gotop {
    position: fixed; right: 1rem; bottom: 1rem; z-index: var(--z-sticky);
    width: 48px; height: 48px; display: grid; place-items: center;
    background: var(--rot); color: var(--weiss); border-radius: 2px;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .3s, transform .3s var(--ease-out), visibility .3s, background-color .2s;
}
.gotop.is-visible { opacity: 1; visibility: visible; transform: none; }
.gotop:hover { background: var(--rot-tief); color: var(--weiss); }
.gotop .pfeile { transform: rotate(-90deg); width: 1.2rem; height: .65rem; }

/* Scroll-Einblendung: Inhalt ist immer sichtbar, Bewegung nur als Zusatz */
@media (prefers-reduced-motion: no-preference) {
    .js .reveal { transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
    .js .reveal.is-pending { opacity: 0; transform: translateY(24px); }
    .js .liste.reveal.is-pending { opacity: 1; transform: none; }
    .js .liste.reveal li { transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
    .js .liste.reveal.is-pending li { opacity: 0; transform: translateY(16px); }
    .js .liste.reveal li:nth-child(2) { transition-delay: .06s; }
    .js .liste.reveal li:nth-child(3) { transition-delay: .12s; }
    .js .liste.reveal li:nth-child(4) { transition-delay: .18s; }
    .js .liste.reveal li:nth-child(5) { transition-delay: .24s; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
    .site-header, .gotop, .cta, .band, .slogan { display: none; }
    .hero, .page-head { background: none; color: var(--ink); }
}

/* lange E-Mail-Adresse nur an @ und Bindestrich umbrechen */
.cta-weg b.mail { font-size: var(--step-1); word-break: normal; overflow-wrap: normal; }
.kontakt-block .mittel { word-break: normal; overflow-wrap: normal; }
