/* ==========================================================================
   Monster Qualität – Relaunch 2026 auf Basis "Glint" (StyleShout/Colorlib)
   --------------------------------------------------------------------------
   Aufbau, Typografie und Bausteine folgen dem Glint-Template:
   Vollbild-Hero, ausfahrendes Menü, Subhead + Display-Überschrift,
   farbige Über-uns-Fläche mit Kennzahlen, Leistungsliste mit Icons,
   dunkles Portfolio-Band, dunkler Kontaktbereich.
   Farben: Monster-Petrol + Monster-Grün/Cyan statt Schwarz + Glint-Grün.
   Kein Bootstrap, kein jQuery.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Schriften (lokal, kein Google-Fonts-Abruf)
   -------------------------------------------------------------------------- */
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-regular-webfont.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-medium-webfont.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-semibold-webfont.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-bold-webfont.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-regular-webfont.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-italic-webfont.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-bold-webfont.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
    --petrol:        #00374b;
    --petrol-deep:   #002634;
    --petrol-night:  #001b25;
    --green:         #66c904;   /* Flächen, Linien, Text auf Dunkel */
    --green-hover:   #78dc12;
    --green-text:    #3f7d00;   /* Grün als Schrift auf Hell (5:1) */
    --cyan:          #24c1dd;
    --cyan-text:     #0a7f96;

    --ink:           #071a22;   /* Überschriften auf Hell */
    --body:          #46545e;   /* Fließtext auf Hell */
    --muted:         #5d6d76;
    --on-dark:       #c9dde5;   /* Fließtext auf Petrol */
    --on-dark-muted: #9fb8c2;

    --surface:       #f2f6f8;
    --surface-2:     #e6eef2;
    --line:          #dbe5ea;

    --f-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
    --f-body: "Lora", Georgia, "Times New Roman", serif;

    --wrap:   1200px;
    --gutter: clamp(20px, 4vw, 40px);
    --sec-y:  clamp(84px, 11vw, 150px);
    --ease:   cubic-bezier(.22,.61,.36,1);
    --header-h: 88px;
}

/* --------------------------------------------------------------------------
   2. Basis
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0;
    background: #fff;
    color: var(--body);
    font-family: var(--f-body);
    font-size: 1.0625rem;        /* 17px */
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } } /* 18px wie Glint */

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; border: 0; }
picture { display: block; }

a { color: var(--green-text); text-decoration: none; transition: color .25s var(--ease); }
a:hover, a:focus { color: var(--petrol); }
p { margin: 0 0 1.4em; }
ul, ol { margin: 0 0 1.4em; padding-left: 1.2em; }
strong, b { font-weight: 700; color: inherit; }
em, i { font-style: italic; }
i.fa { font-style: normal; }
small { font-size: .8em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
figure { margin: 0; }
blockquote { margin: 0; }
code { font-size: .9em; background: var(--surface); padding: .1em .35em; border-radius: 3px; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--f-head);
    font-weight: 500;
    color: var(--ink);
    line-height: 1.25;
    margin: 0 0 .6em;
    text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }
h6 { font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; }

::selection { background: var(--green); color: var(--petrol-deep); }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.s-about :focus-visible { outline-color: var(--petrol-deep); }

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 3000;
    background: var(--green); color: var(--petrol-deep);
    font-family: var(--f-head); font-weight: 600; padding: 10px 18px;
}
.skip-link:focus { top: 12px; color: var(--petrol-deep); }

.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;
}

/* --------------------------------------------------------------------------
   3. Raster
   -------------------------------------------------------------------------- */
.wrap, .container {
    width: 100%;
    max-width: calc(var(--wrap) + 2 * var(--gutter));
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}
.wrap--narrow { max-width: calc(860px + 2 * var(--gutter)); }

/* Schmale Kompatibilitätsschicht für das Spaltenraster der Unterseiten */
.row { display: flex; flex-wrap: wrap; margin-left: -18px; margin-right: -18px; }
.row > [class*="col-"] { width: 100%; padding-left: 18px; padding-right: 18px; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
@media (min-width: 992px) {
    .col-lg-4 { flex: 0 0 33.333%; max-width: 33.333%; }
    .col-lg-6 { flex: 0 0 50%;     max-width: 50%; }
    .col-lg-8 { flex: 0 0 66.666%; max-width: 66.666%; }
    .col-lg-9 { flex: 0 0 75%;     max-width: 75%; }
}
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1.5rem; }
.mq-mt-4 { margin-top: 2rem !important; }

/* --------------------------------------------------------------------------
   4. Sektionen & Überschriften (Glint: Subhead + Display)
   -------------------------------------------------------------------------- */
section, .section { padding: var(--sec-y) 0; position: relative; }
.section--surface, .mq-surface { background: var(--surface); }
.section--dark { background: var(--petrol-deep); color: var(--on-dark); }
.section--tight { padding: clamp(56px, 7vw, 90px) 0; }

.subhead, .mq-eyebrow {
    display: block;
    font-family: var(--f-head);
    font-size: .8rem;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: .25em;
    color: var(--green-text);
    margin: 0 0 1rem;
}
.subhead--dark { color: var(--petrol-deep); }
.section--dark .subhead, .section--dark .mq-eyebrow,
.on-dark .subhead, .on-dark .mq-eyebrow { color: var(--green); }

.display-1 {
    font-family: var(--f-head); font-weight: 500;
    font-size: clamp(2.6rem, 7vw, 4.9rem);
    line-height: 1.12; letter-spacing: -.025em; margin: 0;
}
.display-2 {
    font-family: var(--f-head); font-weight: 500;
    font-size: clamp(2rem, 4.4vw, 3.25rem);
    line-height: 1.2; letter-spacing: -.02em; margin: 0;
}
.section--dark .display-1, .section--dark .display-2, .section--dark h2, .section--dark h3,
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark .display-2 { color: #fff; }

/* Kopf einer Sektion: zentriert, mit Trennlinie darunter wie im Template */
.section-intro, .mq-section-head {
    text-align: center;
    max-width: 880px;
    margin: 0 auto clamp(48px, 6vw, 84px);
    position: relative;
}
.section-intro::after, .mq-section-head::after {
    content: ""; display: block;
    width: min(400px, 60%); height: 1px;
    margin: clamp(30px, 4vw, 48px) auto 0;
    background: var(--line);
}
.section--dark .section-intro::after, .on-dark .section-intro::after { background: rgba(255,255,255,.14); }
.section-intro h2, .mq-section-head h2 { margin-bottom: 0; }
.section-intro > p, .mq-section-head > p {
    margin: 1.4rem auto 0; max-width: 62ch; color: var(--muted);
}
.section--dark .section-intro > p, .on-dark .section-intro > p { color: var(--on-dark); }
.section-intro--left { text-align: left; margin-left: 0; }
.section-intro--left::after { margin-left: 0; }
.section-intro--left > p { margin-left: 0; }

.measure  { max-width: 68ch; }
.mq-measure { max-width: 68ch; }
.mq-measure-c { max-width: 68ch; margin-left: auto; margin-right: auto; }

/* Einblenden beim Scrollen (Ersatz für AOS) – nur wenn JS läuft */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   5. Buttons (Glint: eckig, Versalien, gesperrt)
   -------------------------------------------------------------------------- */
.btn, .mq-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .7em;
    font-family: var(--f-head); font-weight: 600;
    font-size: .78rem; line-height: 1; letter-spacing: .22em; text-transform: uppercase;
    min-height: 56px; padding: 0 30px;
    border: 2px solid var(--green);
    background: var(--green); color: var(--petrol-deep);
    cursor: pointer; text-decoration: none; white-space: nowrap;
    transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover, .btn:focus-visible, .mq-btn:hover, .mq-btn:focus-visible {
    background: var(--green-hover); border-color: var(--green-hover); color: var(--petrol-deep);
}
.btn .fa, .mq-btn .fa { font-size: 1.15em; letter-spacing: 0; }

.btn--stroke, .mq-btn--onDark, .mq-btn--ghost {
    background: transparent; color: #fff; border-color: rgba(255,255,255,.55);
}
.btn--stroke:hover, .btn--stroke:focus-visible,
.mq-btn--onDark:hover, .mq-btn--onDark:focus-visible { background: #fff; border-color: #fff; color: var(--petrol-deep); }

.btn--dark, .mq-btn--dark { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.btn--dark:hover, .btn--dark:focus-visible, .mq-btn--dark:hover, .mq-btn--dark:focus-visible { background: var(--petrol-deep); border-color: var(--petrol-deep); color: #fff; }

.btn--stroke-dark, .mq-btn--ghost { background: transparent; color: var(--petrol); border-color: var(--petrol); }
.btn--stroke-dark:hover, .btn--stroke-dark:focus-visible, .mq-btn--ghost:hover, .mq-btn--ghost:focus-visible { background: var(--petrol); color: #fff; border-color: var(--petrol); }

.btn--sm, .mq-btn--sm { min-height: 46px; padding: 0 20px; font-size: .72rem; letter-spacing: .18em; }

.btn-row, .mq-hero__actions { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.btn-row--center { justify-content: center; }
/* Buttons auf schmalen Handys umbrechen statt überstehen */
@media (max-width: 420px) { .btn, .mq-btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.5; padding-top: 12px; padding-bottom: 12px; } }

/* Textlink mit Pfeil */
.link-arrow, .mq-link {
    display: inline-flex; align-items: center; gap: .6em;
    font-family: var(--f-head); font-weight: 600; font-size: .78rem;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--green-text);
}
.link-arrow::after, .mq-link::after {
    content: ""; width: 26px; height: 2px; background: currentColor;
    transition: width .3s var(--ease);
}
a:hover .link-arrow::after, a:hover.link-arrow::after, .mq-link:hover::after, a:hover .mq-link::after { width: 40px; }
.on-dark .link-arrow, .section--dark .link-arrow, .on-dark .mq-link { color: var(--green); }

/* --------------------------------------------------------------------------
   6. Kopfzeile & ausfahrendes Menü
   -------------------------------------------------------------------------- */
.s-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 900;
    height: var(--header-h);
    display: flex; align-items: center;
    transition: background-color .4s var(--ease), height .4s var(--ease), box-shadow .4s var(--ease);
}
.s-header.is-scrolled, .s-header.is-solid {
    background: rgba(0, 38, 52, .97);
    box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 10px 30px rgba(0,0,0,.18);
    --header-h: 72px;
}
@supports (backdrop-filter: blur(8px)) {
    .s-header.is-scrolled { background: rgba(0, 38, 52, .9); backdrop-filter: blur(10px); }
}
.s-header__inner {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 0 clamp(18px, 3vw, 40px);
}
.header-logo { display: block; flex: 0 0 auto; line-height: 0; }
.header-logo img { width: clamp(118px, 12vw, 150px); height: auto; transition: width .4s var(--ease); }
.s-header.is-scrolled .header-logo img { width: clamp(110px, 10vw, 128px); }

.header-actions { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.header-tel {
    display: none; align-items: center; gap: .6em;
    font-family: var(--f-head); font-weight: 500; font-size: .95rem; letter-spacing: .02em;
    color: #fff;
}
.header-tel .fa { color: var(--green); }
.header-tel:hover, .header-tel:focus { color: var(--green); }
.header-cta { display: none; }
@media (min-width: 1100px) { .header-tel { display: inline-flex; } }
@media (min-width: 760px)  { .header-cta { display: inline-flex; } }

.header-menu-toggle {
    display: inline-flex; align-items: center; gap: 14px;
    background: none; border: 0; padding: 10px 0 10px 6px; margin: 0; cursor: pointer;
    font-family: var(--f-head); font-weight: 600; font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
    color: var(--green); min-height: 44px;
}
.header-menu-toggle:hover, .header-menu-toggle:focus-visible { color: #fff; }
.header-menu-icon { position: relative; width: 24px; height: 2px; background: #fff; display: block; transition: background-color .3s; }
.header-menu-icon::before, .header-menu-icon::after {
    content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: #fff; transition: transform .3s var(--ease);
}
.header-menu-icon::before { top: -8px; }
.header-menu-icon::after  { top: 8px; }
@media (max-width: 420px) { .header-menu-text { display: none; } }

/* Menüpanel */
.header-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 1000;
    width: min(360px, 88vw);
    background: var(--petrol-night);
    color: var(--on-dark-muted);
    padding: 34px 34px 40px;
    overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%); visibility: hidden;
    transition: transform .5s var(--ease), visibility 0s linear .5s;
    font-family: var(--f-head);
}
.menu-is-open .header-nav { transform: none; visibility: visible; transition: transform .5s var(--ease), visibility 0s; }
.header-nav__content { opacity: 0; transform: translateX(40px); transition: opacity .5s var(--ease) .2s, transform .5s var(--ease) .2s; }
.menu-is-open .header-nav__content { opacity: 1; transform: none; }

.header-nav__title {
    font-family: var(--f-head); font-weight: 600; font-size: .7rem; letter-spacing: .28em; text-transform: uppercase;
    color: var(--green); margin: 8px 0 36px;
}
.header-nav__close {
    position: absolute; top: 26px; right: 26px; width: 40px; height: 40px;
    border: 0; border-radius: 3px; background: rgba(255,255,255,.08); cursor: pointer;
}
.header-nav__close::before, .header-nav__close::after {
    content: ""; position: absolute; left: 13px; top: 19px; width: 14px; height: 2px; background: #fff;
}
.header-nav__close::before { transform: rotate(45deg); }
.header-nav__close::after { transform: rotate(-45deg); }
.header-nav__close:hover, .header-nav__close:focus-visible { background: var(--green); }

.header-nav__list { list-style: none; margin: 0 0 30px; padding: 0 0 26px; border-bottom: 1px solid rgba(255,255,255,.08); }
.header-nav__list > li { margin: 0; }
.header-nav__list a {
    display: block; padding: 7px 0; color: #fff; font-size: 1.15rem; font-weight: 500; line-height: 1.4;
}
.header-nav__list a:hover, .header-nav__list a:focus, .header-nav__list a[aria-current="page"] { color: var(--green); }
.header-nav__sub { list-style: none; margin: 2px 0 10px; padding: 0 0 0 16px; border-left: 1px solid rgba(255,255,255,.12); }
.header-nav__sub a { font-size: .95rem; font-weight: 400; color: var(--on-dark); padding: 4px 0; }
.header-nav__meta { font-size: .88rem; line-height: 1.7; }
.header-nav__meta p { margin: 0 0 18px; }
.header-nav__meta strong { display: block; color: #fff; font-weight: 600; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 4px; }
.header-nav__meta a { color: var(--on-dark); }
.header-nav__meta a:hover { color: var(--green); }
.header-nav__social { display: flex; gap: 10px; list-style: none; padding: 0; margin: 26px 0 0; }
.header-nav__social a {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: 1rem;
}
.header-nav__social a:hover, .header-nav__social a:focus { background: var(--green); border-color: var(--green); color: var(--petrol-deep); }

.nav-backdrop {
    position: fixed; inset: 0; z-index: 950; background: rgba(0, 20, 28, .55);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
.menu-is-open .nav-backdrop { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
body.menu-is-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   7. Hero (Glint .s-home)
   -------------------------------------------------------------------------- */
.s-home {
    position: relative; isolation: isolate;
    min-height: 100vh; min-height: 100svh;
    display: flex; align-items: center;
    padding: calc(var(--header-h) + 40px) 0 120px;
    background: var(--petrol-night);
    color: #fff; overflow: hidden;
}
.s-home__bg, .s-pagehero__bg {
    position: absolute; inset: 0; z-index: -2;
    width: 100%; height: 100%; object-fit: cover;
}
.s-home::before, .s-pagehero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(0,27,37,.55) 0%, rgba(0,27,37,.2) 40%, rgba(0,27,37,.85) 100%),
        linear-gradient(90deg, rgba(0,38,52,.92) 0%, rgba(0,38,52,.55) 60%, rgba(0,38,52,.35) 100%);
}
.home-content { width: 100%; }
.home-content__main { max-width: 900px; padding-left: clamp(0px, 6vw, 90px); }
.home-content .subhead { color: var(--on-dark-muted); margin-bottom: 1.4rem; }
.home-content .subhead .fa { color: var(--green); margin-right: .5em; }
.home-content h1 {
    font-family: var(--f-head); font-weight: 500;
    font-size: clamp(2.5rem, 6.2vw, 4.6rem);
    line-height: 1.12; letter-spacing: -.025em;
    color: #fff; margin: 0 0 1.6rem;
}
.hl { color: var(--green); }
.home-content__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--on-dark); max-width: 58ch; margin-bottom: 2.4rem; }
.home-content__notes {
    display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; padding: 0; margin: 2.2rem 0 0;
    font-family: var(--f-head); font-size: .82rem; letter-spacing: .04em; color: var(--on-dark-muted);
}
.home-content__notes .fa { color: var(--green); margin-right: .5em; }

/* „Scroll Down" mit Linie wie im Template */
.home-scroll {
    position: absolute; right: clamp(24px, 5vw, 70px); bottom: 0; z-index: 2;
    display: flex; flex-direction: column; align-items: flex-end;
}
.home-scroll a {
    font-family: var(--f-head); font-weight: 600; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase;
    color: #fff; display: inline-flex; align-items: center; gap: 10px; padding: 10px 0;
}
.home-scroll a .fa { color: var(--green); }
.home-scroll a:hover { color: var(--green); }
.home-scroll__line { width: 2px; height: clamp(70px, 12vh, 150px); background: #fff; margin-right: 0; opacity: .9; }

.home-social {
    position: absolute; right: clamp(24px, 4.2vw, 62px); top: 50%; transform: translateY(-50%); z-index: 2;
    list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px;
}
.home-social a {
    display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,.85); color: #fff; font-size: .95rem;
}
.home-social a:hover, .home-social a:focus { background: var(--green); border-color: var(--green); color: var(--petrol-deep); }
@media (max-width: 900px) { .home-social { display: none; } .home-scroll { display: none; } }

/* Hero-Elemente nacheinander einblenden */
.js .home-content__main > * { opacity: 0; transform: translateY(30px); animation: mq-up .9s var(--ease) forwards; }
.js .home-content__main > *:nth-child(2) { animation-delay: .12s; }
.js .home-content__main > *:nth-child(3) { animation-delay: .24s; }
.js .home-content__main > *:nth-child(4) { animation-delay: .36s; }
.js .home-content__main > *:nth-child(5) { animation-delay: .48s; }
@keyframes mq-up { to { opacity: 1; transform: none; } }

/* Unterseiten-Kopf: kürzere Variante des Heros */
.s-pagehero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: clamp(440px, 68vh, 640px);
    display: flex; align-items: flex-end;
    padding: calc(var(--header-h) + 60px) 0 clamp(60px, 8vw, 100px);
    background: var(--petrol-night); color: #fff;
}
.s-pagehero h1 {
    font-family: var(--f-head); font-weight: 500; color: #fff;
    font-size: clamp(2.5rem, 6.5vw, 4.6rem); line-height: 1.1; letter-spacing: -.025em;
    margin: 0 0 1.4rem;
}
.s-pagehero p { color: var(--on-dark); font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 60ch; margin: 0; }
.s-pagehero .wrap { position: relative; }
.s-pagehero .wrap::before { /* senkrechte Linie links wie im Glint-Kontaktbereich */
    content: ""; position: absolute; left: calc(var(--gutter) - 26px); top: 6px; bottom: 6px; width: 2px; background: var(--green);
}
@media (max-width: 1290px) { .s-pagehero .wrap::before { display: none; } }

.crumbs, .mq-crumbs {
    display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 1.4rem;
    font-family: var(--f-head); font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
}
.crumbs li, .mq-crumbs li { color: var(--green); }
.crumbs li + li::before, .mq-crumbs li + li::before { content: "/"; margin-right: 10px; color: rgba(255,255,255,.35); }
.crumbs a, .mq-crumbs a { color: var(--on-dark-muted); }
.crumbs a:hover, .mq-crumbs a:hover { color: #fff; }

/* Rechtsseiten: schlichter Kopf */
.s-pagehero--plain { min-height: 0; padding-bottom: clamp(48px, 6vw, 72px); background: var(--petrol-deep); }
.s-pagehero--plain::before { display: none; }

/* --------------------------------------------------------------------------
   8. Über uns (Glint .s-about: farbige Fläche + Kennzahlen)
   -------------------------------------------------------------------------- */
.s-about {
    background: var(--green);
    color: var(--petrol-deep);
    padding-top: clamp(100px, 13vw, 170px);
}
.s-about .subhead { color: var(--petrol-deep); }
.s-about .display-1 { color: #fff; color: var(--petrol-deep); }
.s-about .section-intro::after { background: rgba(0,38,52,.2); }
.about-desc {
    max-width: 920px; margin: 0 auto; text-align: center;
    font-size: clamp(1.12rem, 1.9vw, 1.4rem); line-height: 1.75;
}
.about-desc p { margin-bottom: 1em; }
.about-desc strong { font-weight: 700; }
.about-media {
    margin: clamp(48px, 6vw, 80px) auto 0; max-width: 1100px;
    box-shadow: 0 30px 70px rgba(0,38,52,.35);
}
.about-media img { width: 100%; height: auto; }

.stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    list-style: none; padding: 0; margin: clamp(56px, 7vw, 90px) auto 0; max-width: 1000px;
    text-align: center;
}
.stats li { padding: 10px 20px; border-right: 1px solid rgba(0,38,52,.22); }
.stats li:last-child { border-right: 0; }
.stats__count {
    display: block; font-family: var(--f-head); font-weight: 700;
    font-size: clamp(2.6rem, 6.5vw, 5.2rem); line-height: 1; color: var(--petrol-deep);
    font-variant-numeric: tabular-nums;
}
.stats__count sup { font-size: .5em; vertical-align: .9em; margin-left: .05em; color: #fff; }
.stats__label { display: block; margin-top: 14px; font-family: var(--f-head); font-weight: 600; font-size: clamp(.82rem, 1.3vw, 1.05rem); color: var(--petrol-deep); }
.stats-note { text-align: center; margin: 2.2rem auto 0; font-style: italic; max-width: 60ch; }
.about-line { display: block; width: 2px; height: clamp(70px, 9vw, 110px); background: var(--petrol-deep); margin: clamp(56px, 7vw, 90px) auto calc(-1 * var(--sec-y)); }
@media (max-width: 600px) {
    .stats { grid-template-columns: 1fr; }
    .stats li { border-right: 0; border-bottom: 1px solid rgba(0,38,52,.22); padding: 22px 0; }
    .stats li:last-child { border-bottom: 0; }
}

/* --------------------------------------------------------------------------
   9. Leistungen (Glint .services-list)
   -------------------------------------------------------------------------- */
.services-list {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(40px, 7vw, 100px); row-gap: clamp(30px, 4vw, 54px);
    list-style: none; padding: 0; margin: 0;
}
@media (max-width: 800px) { .services-list { grid-template-columns: 1fr; } }
.service-item { display: grid; grid-template-columns: 64px 1fr; gap: 0 18px; color: inherit; }
.service-item__icon { font-size: 2.6rem; line-height: 1; color: var(--green); padding-top: 4px; transition: transform .4s var(--ease); }
.service-item h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); margin: 0 0 .5rem; transition: color .3s; }
.service-item p { font-size: .98rem; color: var(--muted); margin: 0 0 .9rem; }
a.service-item:hover h3, a.service-item:focus h3 { color: var(--green-text); }
a.service-item:hover .service-item__icon { transform: translateY(-4px); }

/* kompakte Variante für „Weitere Leistungen" auf Unterseiten */
.services-list--compact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); row-gap: 34px; }
.services-list--compact .service-item h3 { font-size: 1.2rem; }

/* --------------------------------------------------------------------------
   10. Ablauf (vier Schritte)
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 clamp(18px, 2.4vw, 34px); border-left: 1px solid var(--line); counter-increment: step; }
.steps li:first-child { border-left: 0; padding-left: 0; }
.steps li::before {
    content: counter(step, decimal-leading-zero);
    display: block; font-family: var(--f-head); font-weight: 700; font-size: clamp(2.6rem, 4vw, 3.4rem); line-height: 1;
    color: var(--green); margin-bottom: 22px;
}
.steps h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.steps p { font-size: .98rem; color: var(--muted); margin: 0; }
@media (max-width: 960px) {
    .steps { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 46px; }
    .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
    .steps { grid-template-columns: 1fr; }
    .steps li { border-left: 0; padding: 0; }
}

/* --------------------------------------------------------------------------
   11. Arbeiten (Glint .s-works: dunkles Band, Raster ragt in Weiß)
   -------------------------------------------------------------------------- */
.s-works { padding-top: var(--sec-y); padding-bottom: var(--sec-y); background: #fff; }
.s-works::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: clamp(520px, 52vw, 640px);
    background: var(--petrol-deep); z-index: 0;
}
.s-works > .wrap { position: relative; z-index: 1; }
.s-works .section-intro .subhead { color: var(--green); }
.s-works .section-intro h2 { color: #fff; }
.s-works .section-intro > p { color: var(--on-dark); }
.s-works .section-intro::after { background: rgba(255,255,255,.14); }

.folio {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
    box-shadow: 0 30px 80px rgba(0,27,37,.25);
}
@media (max-width: 900px) { .folio { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .folio { grid-template-columns: 1fr; } }
.folio__item { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--petrol); color: #fff; }
.folio__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .7s var(--ease); }
.folio__item::before { /* Glint: dunkle Fläche beim Überfahren */
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(0,27,37,0) 40%, rgba(0,27,37,.88) 100%);
    transition: background-color .5s var(--ease);
}
.folio__item::after { /* Glint: Plus-Zeichen */
    content: "+"; position: absolute; z-index: 2; top: 22px; right: 22px;
    width: 40px; height: 40px; display: grid; place-items: center;
    font-family: Georgia, serif; font-size: 1.8rem; line-height: 1; color: var(--petrol-deep);
    background: var(--green); opacity: 0; transform: scale(.6); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.folio__text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px 26px 24px; }
.folio__text small {
    display: block; font-family: var(--f-head); font-weight: 700; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase;
    color: var(--green); margin-bottom: 6px;
}
.folio__text strong { display: block; font-family: var(--f-head); font-weight: 500; font-size: 1.08rem; line-height: 1.3; color: #fff; }
.folio__item:hover img, .folio__item:focus-visible img { transform: scale(1.06); }
.folio__item:hover::before, .folio__item:focus-visible::before { background-color: rgba(0,27,37,.45); }
.folio__item:hover::after, .folio__item:focus-visible::after { opacity: 1; transform: none; }
.folio-actions { margin-top: clamp(40px, 5vw, 60px); justify-content: center; }

/* Mauerwerk-Galerie (Referenzen) */
.masonry { columns: 4 160px; column-gap: 14px; }
@media (max-width: 600px) { .masonry { column-gap: 10px; } .masonry__item { margin-bottom: 10px; } }
.masonry__item { break-inside: avoid; margin: 0 0 14px; position: relative; display: block; overflow: hidden; background: var(--surface-2); }
.masonry__item img { width: 100%; height: auto; transition: transform .7s var(--ease); }
.masonry__item figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px;
    background: linear-gradient(180deg, rgba(0,27,37,0), rgba(0,27,37,.9));
    color: #fff; font-family: var(--f-head); font-size: .9rem; font-weight: 500; line-height: 1.35;
    opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease);
    pointer-events: none;
}
.masonry__item a { display: block; }
.masonry__item:hover img, .masonry__item a:focus-visible img { transform: scale(1.05); }
.masonry__item:hover figcaption, .masonry__item a:focus-visible + figcaption { opacity: 1; transform: none; }
@media (hover: none) { .masonry__item figcaption { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   12. Bildbänder: Sport, Zitat, Abschluss
   -------------------------------------------------------------------------- */
.s-breaker {
    position: relative; overflow: hidden; isolation: isolate;
    padding: clamp(100px, 13vw, 180px) 0;
    background: var(--petrol-deep); color: var(--on-dark);
}
.s-breaker__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 0% 40%; }
.s-breaker::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(265deg, rgba(0,27,37,.97) 0%, rgba(0,27,37,.9) 42%, rgba(0,27,37,.35) 72%, rgba(0,27,37,.05) 100%);
}
.s-breaker__content { max-width: 600px; margin-left: auto; }
.s-breaker h2 { color: #fff; margin-bottom: 1.4rem; }
.s-breaker p { color: var(--on-dark); }
.s-breaker__stats { display: flex; flex-wrap: wrap; gap: 16px 40px; list-style: none; padding: 0; margin: 2rem 0 2.4rem; }
.s-breaker__stats li { font-family: var(--f-head); font-size: .82rem; color: var(--on-dark-muted); line-height: 1.4; }
.s-breaker__stats strong { display: block; font-size: 2.2rem; font-weight: 700; color: var(--green); line-height: 1.1; }
@media (max-width: 991px) {
    .s-breaker { padding-top: 0; }
    .s-breaker__bg { position: relative; z-index: 0; height: auto; aspect-ratio: 3 / 2; margin-bottom: 48px; }
    .s-breaker::before { display: none; }
    .s-breaker__content { max-width: none; }
}

.s-quoteband {
    position: relative; isolation: isolate; overflow: hidden;
    padding: clamp(110px, 16vw, 210px) 0; text-align: center; color: #fff;
    background: var(--petrol-night) url("../images/parallax-bg.jpg") center / cover no-repeat;
}
@media (min-width: 1024px) and (hover: hover) { .s-quoteband { background-attachment: fixed; } }
.s-quoteband::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0,27,37,.62); }
.s-quoteband blockquote {
    font-family: var(--f-head); font-weight: 500; color: #fff;
    font-size: clamp(2rem, 5.4vw, 4rem); line-height: 1.15; letter-spacing: -.02em; margin: 0;
}
.s-quoteband blockquote::before {
    content: "\201E"; display: block; font-family: Georgia, serif; font-size: 1.6em; line-height: .5; color: var(--green); margin-bottom: .35em;
}

.s-cta { background: var(--petrol); color: var(--on-dark); text-align: center; padding: clamp(80px, 10vw, 130px) 0; }
.s-cta h2 { color: #fff; }
.s-cta p { max-width: 60ch; margin: 1.2rem auto 2.4rem; }

.mascot { display: block; background: var(--petrol); line-height: 0; }
.mascot img { width: 100%; height: auto; }

/* --------------------------------------------------------------------------
   13. Kundenstimmen (Google-Bewertungen)
   -------------------------------------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px; }
.quote { text-align: center; }
.quote blockquote { font-size: 1.12rem; line-height: 1.8; margin-bottom: 1.4rem; }
.quote figcaption { font-family: var(--f-head); font-weight: 600; color: var(--ink); }
.quote figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; }

.reviews { --per: 3; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(var(--per), minmax(0,1fr)); gap: clamp(20px, 2.6vw, 32px); }
.review { display: flex; }
.review[hidden] { display: none; }
.review figure { margin: 0; display: flex; flex-direction: column; width: 100%; background: #fff; border-top: 3px solid var(--green); padding: 30px 30px 28px; }
.review__stars { display: flex; gap: 4px; color: var(--green); font-size: .95rem; margin-bottom: 1.1rem; }
.review blockquote { font-size: 1rem; line-height: 1.75; color: var(--body); margin: 0 0 1.6rem; }
.review blockquote::before { content: "\201E"; }
.review blockquote::after { content: "\201C"; }
.review figcaption { margin-top: auto; font-family: var(--f-head); font-weight: 600; color: var(--ink); }
.review figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.review.is-fresh figure { animation: review-in .55s var(--ease) both; }
.review.is-fresh:nth-child(n) figure { animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes review-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Karussell (nur mit JS aktiv) */
.reviews-carousel.is-ready { display: grid; grid-template-columns: auto minmax(0,1fr) auto; grid-template-areas: "prev list next"; align-items: center; gap: clamp(14px, 2vw, 28px); }
.reviews-carousel.is-ready .reviews { grid-area: list; }
.reviews-nav { grid-area: next; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--petrol); background: transparent; color: var(--petrol); display: grid; place-items: center; font-size: 1rem; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease); }
.reviews-nav[data-reviews-prev] { grid-area: prev; }
.reviews-nav:hover, .reviews-nav:focus-visible { background: var(--petrol); color: #fff; }
.reviews-nav[hidden] { display: none; }
@media (max-width: 991px) { .reviews { --per: 2; } }
@media (max-width: 640px) {
    .reviews { --per: 1; }
    .reviews-carousel.is-ready { grid-template-columns: 1fr 1fr; grid-template-areas: "list list" "prev next"; gap: 20px 16px; }
    .reviews-nav[data-reviews-prev] { justify-self: end; }
    .reviews-nav[data-reviews-next] { justify-self: start; }
}

/* --------------------------------------------------------------------------
   14. Team (Karten + Glint-Skillbars)
   -------------------------------------------------------------------------- */
.team { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(24px, 3.4vw, 46px); }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .team { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.member { background: #fff; }
.member__img { position: relative; overflow: hidden; background: var(--surface-2); aspect-ratio: 330 / 304; }
.member__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .6s var(--ease), transform .8s var(--ease); }
.member:hover .member__img img { filter: none; transform: scale(1.04); }
.member__body { padding: 26px 28px 30px; }
.member__body h3 { font-size: 1.3rem; margin: 0 0 .15rem; }
.member__role { display: block; font-family: var(--f-head); font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--green-text); margin-bottom: 1.4rem; }
.skill-bars { list-style: none; padding: 0; margin: 0; }
.skill-bars li { margin: 0 0 18px; }
.skill-bars li:last-child { margin-bottom: 0; }
.skill-bars strong { display: flex; justify-content: space-between; font-family: var(--f-head); font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.skill-bars .bar { display: block; height: 6px; background: var(--surface-2); position: relative; overflow: hidden; }
.skill-bars .bar span { position: absolute; left: 0; top: 0; bottom: 0; width: var(--v, 0%); background: var(--green); transition: width 1.6s var(--ease); }
.skill-bars .bar span.is-blue { background: var(--cyan); }
.js .skill-bars:not(.is-in) .bar span { width: 0; }

/* --------------------------------------------------------------------------
   15. Kontakt (Glint .s-contact)
   -------------------------------------------------------------------------- */
.s-contact {
    position: relative; isolation: isolate; overflow: hidden;
    background: var(--petrol-night); color: var(--on-dark);
    padding-top: clamp(110px, 14vw, 190px);
}
.s-contact__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: grayscale(.4); }
.s-contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,27,37,.6), rgba(0,27,37,.95)); }
.s-contact::after { /* senkrechte grüne Linie oben – Glint-Signatur */
    content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: clamp(70px, 9vw, 120px); background: var(--green); transform: translateX(-50%);
}
.s-contact .section-intro h2, .s-contact h3 { color: #fff; }
.s-contact .section-intro > p { color: var(--on-dark); }

.standorte { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2px; background: rgba(255,255,255,.06); }
@media (max-width: 900px) { .standorte { grid-template-columns: 1fr; } }
.standort { background: rgba(0, 38, 52, .92); display: flex; flex-direction: column; }
.standort__info { padding: clamp(30px, 4vw, 50px); flex: 1; }
.standort__info .subhead { color: var(--green); margin-bottom: .8rem; }
.standort__info h3 { margin: 0 0 .2rem; font-size: 1.55rem; }
.standort__role { font-style: italic; color: var(--on-dark-muted); margin-bottom: 1.6rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.8rem; font-family: var(--f-head); font-size: .95rem; line-height: 1.5; }
.contact-list li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 7px 0; }
.contact-list .fa { color: var(--green); padding-top: 2px; }
.contact-list a { color: #fff; }
.contact-list a:hover, .contact-list a:focus { color: var(--green); }
.contact-list .ort { margin-left: .6em; font-size: .85em; color: var(--on-dark-muted); white-space: nowrap; }

/* Karte mit Zwei-Klick-Lösung */
.map-consent { position: relative; height: 300px; background: var(--petrol-deep); overflow: hidden; }
.map-consent__placeholder {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    padding: 24px 28px; gap: 14px;
    background:
        radial-gradient(circle at 50% 42%, rgba(102,201,4,.16) 0 46px, transparent 47px),
        repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 34px),
        repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 34px),
        linear-gradient(160deg, #003347, #00222f);
}
.map-consent__pin { font-size: 2.2rem; color: var(--green); line-height: 1; }
.map-consent__addr { font-family: var(--f-head); color: #fff; font-size: .95rem; }
.map-consent__note { font-size: .8rem; line-height: 1.55; color: var(--on-dark-muted); max-width: 46ch; margin: 0; }
.map-consent__note a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 2px; }
.map-consent__ext { font-family: var(--f-head); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.map-consent__ext:hover { color: #fff; }
.map-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Formular-Panel */
.contact-form {
    margin-top: clamp(70px, 9vw, 120px);
    display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 0;
    background: #fff; color: var(--body);
}
@media (max-width: 900px) { .contact-form { grid-template-columns: 1fr; } }
.contact-form__intro { background: var(--green); color: var(--petrol-deep); padding: clamp(32px, 4vw, 54px); }
.contact-form__intro .subhead { color: var(--petrol-deep); }
.contact-form__intro h2 { color: var(--petrol-deep); font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.contact-form__intro p { margin-bottom: 1.2rem; }
.contact-form__intro a { color: var(--petrol-deep); font-family: var(--f-head); font-weight: 600; border-bottom: 2px solid currentColor; }
.contact-form__body { padding: clamp(16px, 2.5vw, 34px); min-width: 0; }
.jotform iframe { display: block; width: 100%; min-height: 620px; border: 0; }
.jotform noscript p { margin: 0; }

/* --------------------------------------------------------------------------
   16. Fußzeile
   -------------------------------------------------------------------------- */
.s-footer {
    background: var(--petrol-night); color: var(--on-dark-muted);
    padding: clamp(80px, 10vw, 130px) 0 calc(40px + env(safe-area-inset-bottom));
    font-family: var(--f-head); font-size: .9rem; line-height: 1.8;
}
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 3fr)); gap: 40px clamp(24px, 4vw, 60px); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { width: 170px; margin-bottom: 26px; }
.footer-claim { font-family: var(--f-body); font-size: .98rem; line-height: 1.75; color: var(--on-dark-muted); max-width: 40ch; }
.s-footer h3 { font-size: .72rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: #fff; margin: 6px 0 20px; }
.s-footer ul { list-style: none; padding: 0; margin: 0; }
.s-footer li { margin: 0 0 4px; }
.s-footer a { color: var(--on-dark); }
.s-footer a:hover, .s-footer a:focus { color: var(--green); }
.footer-social { display: flex; gap: 10px; margin-top: 22px !important; }
.footer-social a {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2); color: #fff;
}
.footer-social a:hover, .footer-social a:focus { background: var(--green); border-color: var(--green); color: var(--petrol-deep); }
.footer-bottom {
    margin-top: clamp(56px, 7vw, 90px); padding-top: 26px; border-top: 1px solid rgba(255,255,255,.08);
    display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; font-size: .8rem;
}
.footer-bottom p { margin: 0; }

.go-top {
    position: fixed; right: 26px; bottom: 26px; z-index: 800;
    width: 50px; height: 50px; display: grid; place-items: center;
    background: var(--petrol); color: #fff; border: 1px solid rgba(255,255,255,.12);
    opacity: 0; visibility: hidden; transform: translateY(14px);
    transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s, background-color .3s;
}
.go-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .4s var(--ease), transform .4s var(--ease), background-color .3s; }
.go-top:hover, .go-top:focus { background: var(--green); color: var(--petrol-deep); }

/* Feste Leiste unten auf dem Handy: Anrufen | Anfrage */
.callbar { display: none; }
@media (max-width: 759px) {
    .callbar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 850;
        display: grid; grid-template-columns: 1fr 1fr;
        padding-bottom: env(safe-area-inset-bottom);
        background: var(--petrol-night); box-shadow: 0 -8px 24px rgba(0,0,0,.2);
    }
    .callbar a {
        display: flex; align-items: center; justify-content: center; gap: .6em; min-height: 56px;
        font-family: var(--f-head); font-weight: 600; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
    }
    .callbar .is-call { background: var(--green); color: var(--petrol-deep); }
    .callbar .is-write { color: #fff; }
    body { padding-bottom: 56px; }
    .go-top { bottom: 72px; right: 14px; width: 44px; height: 44px; }
}

/* --------------------------------------------------------------------------
   17. Unterseiten-Bausteine
   -------------------------------------------------------------------------- */
.mq-prose h2 { margin-top: 2em; font-size: clamp(1.55rem, 2.8vw, 2.1rem); }
.mq-prose h2:first-child { margin-top: 0; }
.mq-prose h3 { margin-top: 1.8em; }
.mq-prose ul { list-style: none; padding: 0; margin-bottom: 1.6em; }
.mq-prose ul li { position: relative; padding-left: 1.9em; margin-bottom: .6em; }
.mq-prose ul li::before {
    content: ""; position: absolute; left: 0; top: .78em; width: 14px; height: 2px; background: var(--green);
}
.mq-prose strong { color: var(--ink); }
.mq-lead, .mq-prose .mq-lead {
    font-family: var(--f-head); font-weight: 400; color: var(--ink);
    font-size: clamp(1.15rem, 1.9vw, 1.4rem); line-height: 1.65; margin-bottom: 1.6em;
}
.mq-note {
    border-left: 3px solid var(--green); background: var(--surface);
    padding: 24px 28px; margin: 2em 0;
}
.mq-note p:last-child { margin-bottom: 0; }

.mq-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 !important; margin: 0 0 1.8em; list-style: none; }
.mq-chips li {
    padding: 8px 16px !important; margin: 0 !important; background: var(--surface); border: 1px solid var(--line);
    font-family: var(--f-head); font-size: .85rem; color: var(--ink);
}
.mq-chips li::before { display: none !important; }

.mq-tags { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; padding: 0; margin: 0 0 18px; }
.mq-tags li {
    font-family: var(--f-head); font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    padding: 6px 11px; background: var(--surface); color: var(--petrol); border: 1px solid var(--line);
}
.mq-kicker-meta {
    display: block; font-family: var(--f-head); font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
    color: var(--green-text); margin-bottom: 8px;
}
.mq-ort { margin-left: .6em; font-size: .85em; color: var(--on-dark-muted); white-space: nowrap; }

/* Randspalte mit Kontaktkarte */
.mq-aside { position: sticky; top: 100px; margin-top: 40px; }
@media (min-width: 992px) { .mq-aside { margin-top: 0; } }
.mq-contact-card { background: var(--petrol-deep); color: var(--on-dark); padding: 36px 34px; position: relative; }
.mq-contact-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--green); }
.mq-contact-card .mq-eyebrow { color: var(--green); }
.mq-contact-card h3 { color: #fff; font-size: 1.4rem; }
.mq-contact-card p { color: var(--on-dark); }
.mq-contact-list { list-style: none !important; padding: 0 !important; margin: 0 0 1.4rem; font-family: var(--f-head); font-size: .95rem; }
.mq-contact-list li { display: grid; grid-template-columns: 24px auto 1fr; align-items: baseline; gap: 8px; padding: 6px 0 !important; margin: 0 !important; }
.mq-contact-list li::before { display: none !important; }
.mq-contact-list .fa { color: var(--green); }
.mq-contact-list a { color: #fff; }
.mq-contact-list a:hover { color: var(--green); }
.mq-contact-card .mq-hero__actions { gap: 10px; }

/* Bildergalerie */
.mq-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.mq-gallery figure { margin: 0; background: #fff; }
.mq-gallery a { display: block; overflow: hidden; position: relative; }
.mq-gallery a::after {
    content: "+"; position: absolute; right: 14px; bottom: 14px; width: 34px; height: 34px; display: grid; place-items: center;
    background: var(--green); color: var(--petrol-deep); font-family: Georgia, serif; font-size: 1.5rem; line-height: 1;
    opacity: 0; transform: scale(.7); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.mq-gallery a:hover::after, .mq-gallery a:focus-visible::after { opacity: 1; transform: none; }
.mq-gallery img { width: 100%; height: auto; aspect-ratio: 568 / 386; object-fit: cover; transition: transform .7s var(--ease); }
.mq-gallery a:hover img { transform: scale(1.05); }
.mq-gallery figcaption { font-family: var(--f-head); font-size: .85rem; color: var(--ink); padding: 14px 16px 16px; }

/* Website-Referenzen im Browserrahmen */
.mq-refs { display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.mq-ref { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); scroll-margin-top: 100px; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.mq-ref:hover { box-shadow: 0 24px 60px rgba(0,38,52,.14); transform: translateY(-4px); }
.mq-browser { display: block; background: #e9eff2; }
.mq-browser__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #dfe7eb; border-bottom: 1px solid #d3dde2; }
.mq-browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #c3ced4; display: block; }
.mq-browser__bar i:nth-child(1) { background: #ff6159; }
.mq-browser__bar i:nth-child(2) { background: #ffbd2e; }
.mq-browser__bar i:nth-child(3) { background: #28c941; }
.mq-browser__url { flex: 1; margin-left: 8px; padding: 3px 12px; border-radius: 999px; background: #fff; font-family: var(--f-head); font-size: .72rem; color: #5d6d76; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mq-browser__shot { display: block; overflow: hidden; aspect-ratio: 16 / 10; }
.mq-browser__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .7s var(--ease); }
.mq-ref:hover .mq-browser__shot img { transform: scale(1.03); }
.mq-ref__body { padding: 30px 32px 32px; display: flex; flex-direction: column; flex: 1; }
.mq-ref__body h3 { font-size: 1.45rem; margin-bottom: .6rem; }
.mq-ref__body p { font-size: .98rem; line-height: 1.7; }
.mq-ref__foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px 26px; }
@media (min-width: 992px) {
    .mq-ref--wide { grid-column: 1 / -1; flex-direction: row; }
    .mq-ref--wide:nth-child(even) { flex-direction: row-reverse; }
    .mq-ref--wide .mq-browser { flex: 0 0 58%; }
    .mq-ref--wide .mq-browser__shot { height: calc(100% - 37px); aspect-ratio: auto; }
    .mq-ref--wide .mq-browser__shot img { object-position: left top; }
    .mq-ref--wide .mq-ref__body { padding: 46px 48px; justify-content: center; }
    .mq-ref--wide .mq-ref__body h3 { font-size: 1.9rem; }
}

/* Kataloge */
.mq-catalog {
    display: grid; gap: clamp(28px, 5vw, 70px); align-items: center;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    padding: clamp(36px, 5vw, 64px) 0; scroll-margin-top: 100px;
}
.mq-catalog + .mq-catalog { border-top: 1px solid var(--line); }
.mq-catalog--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.mq-catalog--flip .mq-catalog__media { order: 2; }
@media (max-width: 991px) {
    .mq-catalog, .mq-catalog--flip { grid-template-columns: 1fr; }
    .mq-catalog--flip .mq-catalog__media { order: 0; }
}
.mq-catalog__media { position: relative; padding: 0 6% 9% 0; }
.mq-catalog__cover { display: block; position: relative; z-index: 2; width: 74%; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 26px 56px rgba(0,27,37,.32); transform: rotate(-2.5deg); transition: transform .4s var(--ease); }
.mq-catalog__cover::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 14px; background: linear-gradient(90deg, rgba(0,0,0,.22), rgba(0,0,0,0)); }
.mq-catalog__cover:hover { transform: rotate(0) translateY(-4px); }
.mq-catalog__spread { position: absolute; z-index: 1; right: 0; bottom: 0; width: 70%; overflow: hidden; box-shadow: 0 24px 56px rgba(0,38,52,.18); transform: rotate(3deg); }
.mq-catalog__spread img, .mq-catalog__cover img { width: 100%; height: auto; }
.mq-catalog__body h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.mq-catalog__facts { display: flex; flex-wrap: wrap; gap: 10px 30px; margin: 6px 0 22px; padding: 0; list-style: none; }
.mq-catalog__facts li { font-family: var(--f-head); font-size: .8rem; color: var(--muted); }
.mq-catalog__facts strong { display: block; font-size: 1.8rem; font-weight: 700; color: var(--green-text); line-height: 1.1; }
.mq-pages { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); margin: 6px 0 24px; }
.mq-pages a { display: block; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.mq-pages a:hover, .mq-pages a:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,38,52,.14); }
.mq-pages img { width: 100%; height: auto; aspect-ratio: 1600 / 1131; object-fit: cover; }

.mq-printgrid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.mq-print { margin: 0; display: flex; flex-direction: column; }
.mq-print__img { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; padding: 24px; background: linear-gradient(160deg, #eef4f7 0%, #dce8ee 100%); overflow: hidden; }
.mq-print__img img { max-width: 100%; max-height: 100%; width: auto; height: auto; box-shadow: 0 12px 28px rgba(0,27,37,.24); transition: transform .4s var(--ease); }
.mq-print__img:hover img { transform: translateY(-4px) scale(1.02); }
.mq-print figcaption { padding-top: 16px; }
.mq-print figcaption strong { display: block; font-family: var(--f-head); font-weight: 500; color: var(--ink); font-size: 1.05rem; }
.mq-print figcaption span { display: block; font-size: .92rem; color: var(--muted); line-height: 1.55; margin-top: 4px; }

/* Projekt-Steckbrief: Bild + Text */
.mq-feature { display: grid; gap: clamp(26px, 4vw, 60px); align-items: center; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); margin-bottom: clamp(56px, 7vw, 96px); scroll-margin-top: 100px; }
.mq-feature:last-child { margin-bottom: 0; }
.mq-feature--flip .mq-feature__media { order: 2; }
@media (max-width: 991px) { .mq-feature { grid-template-columns: 1fr; } .mq-feature--flip .mq-feature__media { order: 0; } }
.mq-feature__media { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.mq-feature__media a { display: block; overflow: hidden; }
.mq-feature__media a:first-child { grid-column: 1 / -1; }
.mq-feature__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .7s var(--ease); }
.mq-feature__media a:first-child img { aspect-ratio: 16 / 10; }
.mq-feature__media a:hover img { transform: scale(1.04); }
.mq-feature__media--single a img { aspect-ratio: 4 / 3 !important; }
.mq-feature__body h3 { font-size: clamp(1.45rem, 2.6vw, 2rem); }

.mq-catalog .mq-hero__actions, .mq-feature .mq-hero__actions { justify-content: flex-start; }

/* Rechtstexte */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 2.2em; }
.legal h3 { font-size: 1.2rem; margin-top: 1.8em; }
.legal h4 { font-size: 1.05rem; margin-top: 1.5em; }
.legal a { text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.legal ul { padding-left: 1.3em; }
.draft-note {
    border: 2px dashed #c98a00; background: #fffaf0; color: #6b4a00;
    padding: 16px 20px; margin: 0 0 1.8em; font-family: var(--f-head); font-size: .88rem; line-height: 1.6;
}
.draft-note strong { color: #4d3500; }

/* --------------------------------------------------------------------------
   18. Lightbox (ohne Bibliothek)
   -------------------------------------------------------------------------- */
.mq-lb { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; background: rgba(0,20,28,.95); padding: 56px 72px; }
.mq-lb.is-open { display: flex; }
.mq-lb figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.mq-lb img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; box-shadow: 0 20px 60px rgba(0,0,0,.5); background: #fff; }
.mq-lb figcaption { color: var(--on-dark); font-family: var(--f-head); font-size: .9rem; margin-top: 16px; text-align: center; }
.mq-lb button { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border: 0; background: rgba(255,255,255,.1); color: #fff; font-size: 1.3rem; cursor: pointer; transition: background-color .25s var(--ease), color .25s; }
.mq-lb button:hover, .mq-lb button:focus-visible { background: var(--green); color: var(--petrol-deep); }
.mq-lb__close { top: 14px; right: 14px; }
.mq-lb__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.mq-lb__next { right: 12px; top: 50%; transform: translateY(-50%); }
.mq-lb__count { position: absolute; top: 26px; left: 26px; color: var(--on-dark-muted); font-size: .8rem; font-family: var(--f-head); letter-spacing: .14em; }
@media (max-width: 767px) {
    .mq-lb { padding: 64px 10px 76px; }
    .mq-lb__prev, .mq-lb__next { top: auto; bottom: 14px; transform: none; }
    .mq-lb__prev { left: calc(50% - 62px); }
    .mq-lb__next { right: calc(50% - 62px); }
}
body.mq-lb-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   19. Bewegung nur, wenn erwünscht
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js [data-reveal], .js .home-content__main > * { opacity: 1 !important; transform: none !important; }
    .s-quoteband { background-attachment: scroll; }
}

/* Druck */
@media print {
    .s-header, .header-nav, .nav-backdrop, .callbar, .go-top, .home-social, .home-scroll, .map-consent, .jotform { display: none !important; }
    .s-home, .s-pagehero { min-height: 0; color: #000; background: none; }
    .s-home::before, .s-pagehero::before { display: none; }
}

/* Nachträge */
.s-footer .ort { margin-left: .4em; font-size: .78em; letter-spacing: .1em; color: var(--on-dark-muted); }
.draft-mark { background: #fff3cd; color: #6b4a00; padding: 0 .3em; font-family: var(--f-head); font-size: .9em; }

@media (max-width: 600px) {
    .link-arrow, .mq-link { letter-spacing: .12em; font-size: .72rem; }
    .link-arrow::after, .mq-link::after { width: 18px; flex: 0 0 auto; }
}

/* Website-Check: lange deutsche Wörter und schmale Spalten */
h1, h2, h3, h4, .display-1, .display-2 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
p, li, address, td, figcaption { overflow-wrap: break-word; }
.s-footer a { overflow-wrap: anywhere; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px)  { .footer-grid { grid-template-columns: 1fr; } }
/* Trefferflächen mind. 24 px (WCAG 2.2 2.5.8) */
.contact-list a, .mq-contact-list a, .s-footer li a, .footer-bottom a, .map-consent__ext, .header-nav__meta a { display: inline-block; padding: 4px 0; min-height: 26px; }
.s-footer li { margin: 0; }
/* Galerie mit 9 Bildern: 3 × 3 statt 4 + 4 + 1 */
.mq-gallery:has(> figure:nth-child(9):last-child) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
/* Fix: runde Social-Icons im Fuß wieder zentriert (Trefferflächen-Regel hatte display überschrieben) */
.s-footer .footer-social a { display: grid; place-items: center; padding: 0; min-height: 0; width: 40px; height: 40px; }
/* Letzte Arbeiten: hervorgehobene Kachel über zwei Spalten */
.folio__item--wide { grid-column: span 2; aspect-ratio: 8 / 3; }
.folio__item--wide img { object-position: center; }
@media (max-width: 560px) { .folio__item--wide { grid-column: auto; aspect-ratio: 4 / 3; } .folio__item--wide img { object-position: 22% center; } }
/* Fuß: Kontaktspalte breit genug für die E-Mail-Adresse */
@media (min-width: 1101px) { .footer-grid { grid-template-columns: minmax(0,4fr) minmax(0,3fr) minmax(0,3fr) minmax(0,4fr); } }
.s-footer a[href^="mailto:"] { overflow-wrap: normal; word-break: keep-all; }
@media (max-width: 380px) { .s-footer a[href^="mailto:"] { overflow-wrap: anywhere; } }
