/*
 * Prechtl CI – gemeinsames Stylesheet für alle Seiten.
 *
 * Seitenklassen am <body>:
 *   .tpl-landing  Startseite, Themen-, Projekt- und Referenzseiten
 *   .tpl-projekt  Projekt-Detailseiten
 *   .tpl-doc      Kontakt, Impressum, Datenschutz, AGB, AVV, Zusatzbedingungen
 *   .tpl-legal    AGB, AVV, Zusatzbedingungen
 *   .pg-*         einzelne Seite
 * Regeln, die nur für bestimmte Seiten gelten, sind mit :where(...) gekapselt
 * (ändert die Spezifität nicht). Regeln ohne Kapselung gelten überall.
 * Die Reihenfolge der Regeln ist relevant und entspricht der ursprünglichen
 * Reihenfolge innerhalb jeder Seite.
 */

/* ── Schriften (lokal gehostet, SIL Open Font License, siehe /media/fonts/OFL.txt) ── */

@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/media/fonts/barlow-latin-ext-400-normal.woff2') format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/media/fonts/barlow-latin-400-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/media/fonts/barlow-latin-ext-500-normal.woff2') format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/media/fonts/barlow-latin-500-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/media/fonts/barlow-latin-ext-600-normal.woff2') format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/media/fonts/barlow-latin-600-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/media/fonts/barlow-condensed-latin-ext-700-normal.woff2') format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/media/fonts/barlow-condensed-latin-700-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('/media/fonts/barlow-condensed-latin-ext-800-normal.woff2') format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('/media/fonts/barlow-condensed-latin-800-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root:has(> body:where(.tpl-doc)) {
    --o: #F5A000;
    --o2: #C88400;
    --ink: #111111;
    --mid: #444;
    --dim: #777;
    --rule: rgba(0, 0, 0, 0.09);
    --light: #F3F2EF;
    --white: #FEFDF9;
    --bar-w: 6px;
    --bar-gap: 8px;
}

:root:has(> body:where(.tpl-landing)) {
    --o: #F5A000;
    --o2: #C88400;
    --ink: #111111;
    --mid: #555;
    --dim: #888;
    --rule: rgba(0, 0, 0, 0.09);
    --light: #F3F2EF;
    --white: #FEFDF9;
    --bar-w: 6px;
    --bar-gap: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Barlow', Helvetica, Arial, sans-serif;
    background: var(--white);
    color: var(--ink);
    overflow-x: hidden;
}

:where(.tpl-landing) .logo-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

:where(.tpl-landing) .logo-bars {
    display: flex;
    gap: var(--bar-gap);
    align-self: stretch;
    padding: 3px 0;
}

:where(.tpl-landing) .logo-bars span {
    display: block;
    width: var(--bar-w);
    background: var(--o);
    border-radius: 1px;
}

:where(.tpl-landing) .logo-text {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
}

:where(.tpl-landing) .logo-text .t1 {
    display: block;
}

:where(.tpl-landing) .logo-text .t2 {
    display: block;
    font-size: 0.72em;
    letter-spacing: 0.12em;
    opacity: 0.6;
}

:where(.pg-home) .logo-mark--dark .logo-text {
    color: var(--ink);
}

:where(.pg-home) .logo-mark--dark .logo-text .t2 {
    color: var(--ink);
}

:where(.tpl-landing) .logo-mark--light .logo-text {
    color: #fff;
}

:where(.tpl-projekt, .pg-projekte, .pg-referenzen) .logo-mark--dark .logo-text {
    color: var(--ink);
}

nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(17, 17, 17, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(245, 160, 0, 0.12);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

:where(.tpl-doc) .logo-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

:where(.tpl-doc) .logo-bars {
    display: flex;
    gap: var(--bar-gap);
    align-self: stretch;
    padding: 3px 0;
}

:where(.tpl-doc) .logo-bars span {
    display: block;
    width: var(--bar-w);
    background: var(--o);
    border-radius: 1px;
}

:where(.tpl-doc) .logo-text {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
    color: #fff;
}

:where(.tpl-doc) .logo-text .t1 {
    display: block;
}

:where(.tpl-doc) .logo-text .t2 {
    display: block;
    font-size: 0.72em;
    letter-spacing: 0.12em;
    opacity: 0.6;
}

.nav-links {
    display: flex;
    gap: 0;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.15s;
}

:where(.tpl-doc) .nav-links a:hover {
    color: var(--o);
}

:where(.tpl-landing) .nav-links a:hover,
:where(.tpl-landing) .nav-links a.active {
    color: var(--o);
}

.nav-links .nav-cta a {
    color: var(--o);
    margin-left: 0.5rem;
    border-left: 2px solid var(--o);
    padding-left: 1.1rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
}

#mobile-menu {
    display: none;
    background: #111;
    border-top: 1px solid #1e1e1e;
    padding: 0.5rem 2rem 1.5rem;
}

#mobile-menu.open {
    display: block;
}

#mobile-menu a {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.65rem 0;
    border-bottom: 1px solid #1e1e1e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#mobile-menu a:hover {
    color: var(--o);
}

@media (max-width: 1100px) {
    .nav-links {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
}

:where(.pg-impressum) .page-header {
    background: var(--ink);
    color: #fff;
    padding: 4rem 2rem 3.5rem;
    display: grid;
    grid-template-columns: 80px 1fr;
    position: relative;
    overflow: hidden;
}

:where(.tpl-legal, .pg-kontakt, .pg-datenschutz) .page-header {
    background: var(--ink);
    color: #fff;
    position: relative;
    overflow: hidden;
}

:where(.tpl-legal, .pg-kontakt, .pg-datenschutz) .page-header-wrap {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 80px 1fr;
    padding: 4rem 0 3.5rem;
}

:where(.tpl-doc) .page-header-spine {
    display: flex;
    gap: var(--bar-gap);
    padding: 0 16px;
}

:where(.tpl-doc) .page-header-spine span {
    display: block;
    width: var(--bar-w);
    background: var(--o);
    opacity: 0.7;
}

:where(.pg-impressum) .page-header-body {
    padding: 0 1rem;
}

:where(.tpl-legal, .pg-kontakt, .pg-datenschutz) .page-header-body {
    padding: 0 2rem;
}

:where(.tpl-doc) .page-header-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--o);
    margin-bottom: 0.6rem;
}

:where(.tpl-doc) .page-header h1 {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.05;
}

:where(.pg-kontakt) .page-header-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.6rem;
}

:where(.tpl-doc) .page-header-bg {
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 40vw;
    font-weight: 800;
    color: rgba(245, 160, 0, 0.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

@media (max-width: 640px) {
    :where(.pg-impressum) .page-header {
        grid-template-columns: 40px 1fr;
    }
    :where(.pg-impressum) .page-header-spine {
        padding: 0 8px;
    }
}

:where(.pg-impressum) .doc-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
}

:where(.pg-impressum) .doc-wrap h2 {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--ink);
    margin: 2.5rem 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--o);
    display: inline-block;
}

:where(.pg-impressum) .doc-wrap h3 {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--ink);
    margin: 1.75rem 0 0.5rem;
}

:where(.pg-impressum) .doc-wrap p {
    font-size: 0.97rem;
    color: var(--mid);
    line-height: 1.8;
    margin-bottom: 1rem;
}

:where(.pg-impressum) .doc-wrap a {
    color: var(--o);
    text-decoration: underline;
}

:where(.pg-impressum) .doc-wrap a:hover {
    color: var(--o2);
}

:where(.pg-impressum) .doc-wrap ul,
:where(.pg-impressum) .doc-wrap ol {
    margin: 0.5rem 0 1rem 1.5rem;
}

:where(.pg-impressum) .doc-wrap li {
    font-size: 0.97rem;
    color: var(--mid);
    line-height: 1.8;
    margin-bottom: 0.35rem;
}

:where(.pg-impressum) .doc-wrap strong,
:where(.pg-impressum) .doc-wrap b {
    color: var(--ink);
    font-weight: 700;
}

:where(.pg-impressum) .doc-wrap .meta {
    font-size: 0.85rem;
    color: var(--dim);
    margin-bottom: 2rem;
    padding: 0.75rem 1rem;
    background: var(--light);
    border-left: 3px solid var(--o);
}

:where(.pg-impressum) .doc-wrap .note {
    font-size: 0.92rem;
    color: var(--mid);
    padding: 1rem 1.25rem;
    background: var(--light);
    border-left: 3px solid var(--o);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

@media (max-width:640px) {
    :where(.tpl-legal, .pg-kontakt, .pg-datenschutz) .page-header-wrap {
        grid-template-columns: 40px 1fr;
    }
    :where(.tpl-legal, .pg-kontakt, .pg-datenschutz) .page-header-spine {
        padding: 0 8px;
    }
}

:where(.tpl-legal, .pg-datenschutz) .doc-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
}

:where(.tpl-legal, .pg-datenschutz) .doc-wrap h2 {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--ink);
    margin: 2.5rem 0 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--o);
    display: inline-block;
}

:where(.tpl-legal) .doc-wrap h3 {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    margin: 1.75rem 0 0.5rem;
}

:where(.pg-datenschutz) .doc-wrap h3 {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--ink);
    margin: 1.75rem 0 0.5rem;
}

:where(.pg-datenschutz) .doc-wrap h4 {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin: 1.5rem 0 0.4rem;
}

:where(.tpl-legal, .pg-datenschutz) .doc-wrap p {
    font-size: 0.97rem;
    color: var(--mid);
    line-height: 1.8;
    margin-bottom: 1rem;
}

:where(.tpl-legal, .pg-datenschutz) .doc-wrap a {
    color: var(--o);
    text-decoration: underline;
}

:where(.tpl-legal, .pg-datenschutz) .doc-wrap a:hover {
    color: var(--o2);
}

:where(.tpl-legal, .pg-datenschutz) .doc-wrap ul,
:where(.tpl-legal, .pg-datenschutz) .doc-wrap ol {
    margin: 0.5rem 0 1rem 1.5rem;
}

:where(.tpl-legal, .pg-datenschutz) .doc-wrap li {
    font-size: 0.97rem;
    color: var(--mid);
    line-height: 1.8;
    margin-bottom: 0.35rem;
}

:where(.tpl-legal, .pg-datenschutz) .doc-wrap strong,
:where(.tpl-legal, .pg-datenschutz) .doc-wrap b {
    color: var(--ink);
    font-weight: 700;
}

:where(.tpl-legal, .pg-datenschutz) .doc-wrap .meta {
    font-size: 0.85rem;
    color: var(--dim);
    margin: 0 0 2rem;
    padding: 0.75rem 1rem;
    background: var(--light);
    border-left: 3px solid var(--o);
}

:where(.tpl-legal, .pg-datenschutz) .doc-wrap .note {
    font-size: 0.92rem;
    color: var(--mid);
    padding: 1rem 1.25rem;
    background: var(--light);
    border-left: 3px solid var(--o);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

:where(.pg-kontakt) .contact-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: start;
}

@media (max-width:860px) {
    :where(.pg-kontakt) .contact-wrap {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

:where(.pg-kontakt) .contact-info-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--o);
    margin-bottom: 1rem;
}

:where(.pg-kontakt) .booking-btn {
    display: inline-block;
    background: var(--o);
    color: var(--ink);
    font-weight: 800;
    font-size: 0.8rem;
    padding: 0.85rem 2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.15s;
    margin-bottom: 2.5rem;
}

:where(.pg-kontakt) .booking-btn:hover {
    background: var(--o2);
}

:where(.pg-kontakt) .contact-details {
    border-top: 1px solid var(--rule);
    padding-top: 1.75rem;
}

:where(.pg-kontakt) .contact-details p {
    font-size: 0.97rem;
    color: var(--mid);
    line-height: 1.9;
}

:where(.pg-kontakt) .contact-details a {
    color: var(--o);
    text-decoration: none;
}

:where(.pg-kontakt) .contact-details a:hover {
    text-decoration: underline;
}

:where(.pg-kontakt) .contact-details strong {
    color: var(--ink);
}

:where(.pg-kontakt) .form-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dim);
    display: block;
    margin-bottom: 0.4rem;
}

:where(.pg-kontakt) .form-input,
:where(.pg-kontakt) .form-select,
:where(.pg-kontakt) .form-textarea {
    width: 100%;
    background: var(--light);
    border: 1px solid transparent;
    color: var(--ink);
    font-family: 'Barlow', Helvetica, Arial, sans-serif;
    font-size: 0.97rem;
    padding: 0.75rem 1rem;
    transition: border-color 0.2s, background 0.2s;
    appearance: none;
}

:where(.pg-kontakt) .form-input:focus,
:where(.pg-kontakt) .form-select:focus,
:where(.pg-kontakt) .form-textarea:focus {
    outline: none;
    border-color: var(--o);
    background: #fff;
}

:where(.pg-kontakt) .form-textarea {
    resize: vertical;
    min-height: 120px;
}

:where(.pg-kontakt) .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

:where(.pg-kontakt) .form-row-3 {
    display: grid;
    grid-template-columns: 140px 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

:where(.pg-kontakt) .form-field {
    margin-bottom: 1rem;
}

@media (max-width:600px) {
    :where(.pg-kontakt) .form-row,
    :where(.pg-kontakt) .form-row-3 {
        grid-template-columns: 1fr;
    }
}

:where(.pg-kontakt) .form-note {
    font-size: 0.82rem;
    color: var(--dim);
    line-height: 1.7;
    margin-top: 1.25rem;
}

:where(.pg-kontakt) .msg {
    font-size: 0.92rem;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    display: none;
    border-left: 3px solid;
}

:where(.pg-kontakt) .msg-error {
    background: #fff0f0;
    color: #c0392b;
    border-color: #c0392b;
}

:where(.pg-kontakt) .msg-success {
    background: #f0fff4;
    color: #1a7a3f;
    border-color: #1a7a3f;
}

:where(.pg-kontakt) .btn-submit {
    background: var(--o);
    color: var(--ink);
    font-weight: 800;
    font-size: 0.8rem;
    padding: 0.9rem 2.5rem;
    border: none;
    cursor: pointer;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.15s;
    margin-top: 1.25rem;
}

:where(.pg-kontakt) .btn-submit:hover:not(:disabled) {
    background: var(--o2);
}

:where(.pg-kontakt) .btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

:where(.tpl-projekt) .hero {
    background: var(--ink);
    min-height: 52vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

:where(.pg-referenzen) .hero {
    background: var(--ink);
    min-height: 44vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

:where(.pg-projekte) .hero {
    background: var(--ink);
    min-height: 48vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

:where(.pg-nis2, .pg-glasfaser, .pg-zaehler) .hero {
    background: var(--ink);
    min-height: 50vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

:where(.pg-home) .hero {
    background: var(--ink);
    min-height: 90vh;
    position: relative;
    overflow: hidden;
}

:where(.pg-home) .hero-wrap {
    max-width: 1280px;
    margin: 0 auto;
    min-height: 90vh;
    align-items: stretch;
}

:where(.tpl-landing) .hero-spine {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 80px;
    display: flex;
    gap: var(--bar-gap);
    padding: 0 16px;
    background: rgba(0, 0, 0, 0.3);
    border-right: 1px solid rgba(245, 160, 0, 0.15);
}

:where(.tpl-projekt, .pg-nis2, .pg-glasfaser, .pg-zaehler, .pg-projekte, .pg-referenzen) .hero-spine span {
    display: block;
    width: var(--bar-w);
    background: var(--o);
    opacity: 0.7;
}

:where(.pg-projekte) .hero-watermark {
    position: absolute;
    right: -2%;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 58vw;
    font-weight: 800;
    color: rgba(245, 160, 0, 0.025);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.05em;
}

:where(.tpl-projekt, .pg-nis2, .pg-glasfaser, .pg-zaehler) .hero-watermark {
    position: absolute;
    right: -2%;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 55vw;
    font-weight: 800;
    color: rgba(245, 160, 0, 0.025);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.05em;
}

:where(.tpl-projekt) .hero-body {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    padding: 4.5rem 4rem 4.5rem 3rem;
    position: relative;
}

:where(.tpl-projekt) .breadcrumb {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

:where(.tpl-projekt) .breadcrumb a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.15s;
}

:where(.tpl-projekt) .breadcrumb a:hover {
    color: var(--o);
}

:where(.tpl-projekt) .breadcrumb span {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 0.5rem;
}

:where(.tpl-projekt) .breadcrumb .current {
    color: var(--o);
}

:where(.tpl-projekt) .hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--o);
    margin-bottom: 1.5rem;
}

:where(.pg-nis2, .pg-glasfaser, .pg-zaehler, .pg-projekte) .hero-body {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    padding: 5rem 4rem 5rem 3rem;
    position: relative;
}

:where(.pg-nis2, .pg-glasfaser, .pg-zaehler, .pg-projekte) .hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--o);
    margin-bottom: 2rem;
}

:where(.pg-home) .hero-spine span {
    display: block;
    width: var(--bar-w);
    background: var(--o);
    opacity: 0.7;
    border-radius: 0;
    flex-shrink: 0;
}

:where(.pg-home) .hero-body {
    display: flex;
    align-items: center;
    padding: 5rem 4rem 5rem 3rem;
    position: relative;
    min-height: 90vh;
}

:where(.pg-home, .pg-referenzen) .hero-watermark {
    position: absolute;
    right: -2%;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 60vw;
    font-weight: 800;
    color: rgba(245, 160, 0, 0.025);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.05em;
}

:where(.pg-referenzen) .hero-body {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    padding: 5rem 4rem 5rem 3rem;
    position: relative;
}

:where(.pg-referenzen) .hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--o);
    margin-bottom: 2rem;
}

:where(.pg-home) .hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

:where(.pg-home) .hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--o);
    margin-bottom: 2.5rem;
}

:where(.tpl-landing) .hero-eyebrow::before {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    background: var(--o);
}

:where(.tpl-projekt) .hero h1 {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: clamp(2rem, 3.6vw, 3.6rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.015em;
    line-height: 1.05;
    color: #fff;
}

:where(.pg-projekte, .pg-referenzen) .hero h1 {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.015em;
    line-height: 1.05;
    color: #fff;
}

:where(.pg-nis2, .pg-glasfaser, .pg-zaehler) .hero h1 {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: clamp(2rem, 3.8vw, 3.8rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.015em;
    line-height: 1.05;
    color: #fff;
}

:where(.pg-home) .hero h1 {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: clamp(1.9rem, 3vw, 3.2rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.015em;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 3rem;
}

:where(.tpl-landing) .hero h1 em {
    font-style: normal;
    color: var(--o);
}

:where(.tpl-projekt) .hero-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    max-width: 600px;
    margin-top: 1.5rem;
}

:where(.pg-referenzen) .hero-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    max-width: 500px;
    margin-top: 1.5rem;
}

:where(.pg-projekte) .hero-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    max-width: 560px;
    margin-top: 1.5rem;
}

:where(.pg-glasfaser) .hero-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    max-width: 520px;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
}

:where(.pg-nis2, .pg-zaehler) .hero-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    max-width: 560px;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
}

:where(.pg-zaehler) .hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid rgba(245, 160, 0, 0.4);
    color: var(--o);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.45rem 0.9rem;
    margin-bottom: 1.5rem;
}

:where(.pg-zaehler) .hero-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--o);
    box-shadow: 0 0 0 4px rgba(245, 160, 0, 0.2);
}

:where(.pg-home) .hero-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    max-width: 500px;
    margin-bottom: 2.5rem;
}

:where(.pg-home) .hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

:where(.pg-home, .pg-nis2, .pg-glasfaser, .pg-zaehler) .btn-fill {
    background: var(--o);
    color: var(--ink);
    font-weight: 800;
    font-size: 0.78rem;
    padding: 0.9rem 2rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.15s;
}

:where(.pg-home, .pg-nis2, .pg-glasfaser, .pg-zaehler) .btn-fill:hover {
    background: var(--o2);
}

:where(.pg-home) .btn-line {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
    font-size: 0.78rem;
    padding: 0.88rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: border-color 0.15s, color 0.15s;
}

:where(.pg-home) .btn-line:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

@media (max-width: 640px) {
    :where(.tpl-landing) .hero-spine {
        width: 40px;
        padding: 0 8px;
    }
    :where(.tpl-projekt) .hero-body {
        padding: 3.5rem 1.5rem;
    }
}

:where(.tpl-projekt) .sh {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 640px) {
    :where(.pg-nis2, .pg-glasfaser, .pg-zaehler, .pg-projekte, .pg-referenzen) .hero-body {
        padding: 4rem 1.5rem;
    }
    :where(.pg-home) .hero-body {
        padding: 4rem 1.5rem 4rem 1.5rem;
    }
}

:where(.pg-home, .pg-nis2, .pg-glasfaser, .pg-zaehler, .pg-projekte, .pg-referenzen) .sh {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 3rem;
}

:where(.tpl-landing) .sh-bars {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-shrink: 0;
}

:where(.tpl-landing) .sh-bars span {
    display: block;
    width: 5px;
    background: var(--o);
    border-radius: 1px;
}

:where(.tpl-landing) .sh-num {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--o);
}

:where(.tpl-projekt) .sh-title {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.05;
}

:where(.pg-home, .pg-nis2, .pg-glasfaser, .pg-zaehler, .pg-projekte, .pg-referenzen) .sh-title {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: clamp(1.9rem, 3.5vw, 3rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1;
}

:where(.tpl-landing) .max {
    max-width: 1280px;
    margin: 0 auto;
}

:where(.tpl-projekt) .prose {
    max-width: 760px;
}

:where(.tpl-projekt) .prose p {
    font-size: 1rem;
    color: var(--mid);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

:where(.pg-referenzen) .s-refs {
    background: var(--white);
    padding: 6rem 2rem;
}

:where(.pg-referenzen) .ref-list {
    border-top: 2px solid var(--rule);
}

:where(.pg-referenzen) .ref-row {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 4rem;
    padding: 3rem 0;
    border-bottom: 1px solid var(--rule);
    align-items: center;
    transition: background 0.15s;
}

:where(.pg-referenzen) .ref-row:hover {
    background: var(--light);
    margin: 0 -2rem;
    padding: 3rem 2rem;
}

:where(.pg-referenzen) .ref-num {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--o);
    margin-bottom: 0.75rem;
}

:where(.pg-referenzen) .ref-name {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--ink);
    text-decoration: none;
    display: block;
    margin-bottom: 0.9rem;
    transition: color 0.15s;
}

:where(.pg-referenzen) .ref-name:hover {
    color: var(--o);
}

:where(.pg-referenzen) .ref-desc {
    font-size: 0.97rem;
    color: var(--mid);
    line-height: 1.75;
    max-width: 560px;
}

:where(.pg-referenzen) .ref-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--rule);
    padding: 1rem;
    min-height: 130px;
}

:where(.pg-referenzen) .ref-logo-wrap img {
    max-width: 100%;
    max-height: 110px;
    width: 100%;
    object-fit: contain;
}

@media (max-width: 860px) {
    :where(.pg-referenzen) .ref-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    :where(.pg-referenzen) .ref-logo-wrap {
        justify-content: flex-start;
        height: auto;
        padding: 1rem 0;
        border: none;
        background: transparent;
    }
    :where(.pg-referenzen) .ref-logo-wrap img {
        max-height: 50px;
    }
}

:where(.pg-projekte) .notice {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin: 0 auto 3.5rem;
    max-width: 1280px;
    padding: 1rem 1.25rem;
    background: var(--light);
    border-left: 3px solid var(--o);
}

:where(.pg-projekte) .notice svg {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--o2);
}

:where(.pg-projekte) .notice p {
    font-size: 0.85rem;
    color: var(--mid);
    line-height: 1.65;
}

:where(.pg-projekte) .s-projects {
    background: var(--white);
    padding: 5.5rem 2rem 6rem;
}

:where(.pg-projekte) .project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

:where(.pg-projekte) .project-tile {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--rule);
    background: var(--white);
    padding: 2.5rem;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, transform 0.2s;
    position: relative;
}

:where(.pg-projekte) .project-tile::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--o);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

:where(.pg-projekte) .project-tile:hover {
    border-color: rgba(0, 0, 0, 0.18);
}

:where(.pg-projekte) .project-tile:hover::after {
    transform: scaleX(1);
}

:where(.pg-projekte) .project-eyebrow {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--o);
    margin-bottom: 1.25rem;
}

:where(.pg-projekte) .project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

:where(.pg-projekte) .project-tags span {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--mid);
    background: var(--light);
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--rule);
}

:where(.pg-projekte) .project-title {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: clamp(1.4rem, 2vw, 1.75rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.05;
    color: var(--ink);
    margin-bottom: 1rem;
}

:where(.pg-projekte) .project-blurb {
    font-size: 0.92rem;
    color: var(--mid);
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

:where(.pg-projekte) .project-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--o);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

:where(.pg-projekte) .project-link svg {
    width: 0.9rem;
    height: 0.9rem;
    transition: transform 0.2s;
}

:where(.pg-projekte) .project-tile:hover .project-link svg {
    transform: translateX(4px);
}

@media (max-width: 760px) {
    :where(.pg-projekte) .project-grid {
        grid-template-columns: 1fr;
    }
}

:where(.pg-zaehler) .s-praxis {
    background: var(--light);
    padding: 5rem 2rem;
}

:where(.pg-zaehler) .praxis-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: start;
}

:where(.pg-glasfaser) .s-scope {
    background: var(--light);
    padding: 5rem 2rem;
}

:where(.pg-glasfaser) .scope-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 2px solid var(--rule);
}

:where(.pg-glasfaser) .scope-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem 2rem 1.5rem 0;
    border-bottom: 1px solid var(--rule);
}

:where(.pg-glasfaser) .scope-item:nth-child(odd) {
    padding-right: 3rem;
    border-right: 1px solid var(--rule);
}

:where(.pg-glasfaser) .scope-item:nth-child(even) {
    padding-left: 3rem;
}

:where(.pg-glasfaser) .scope-check {
    display: flex;
    gap: 3px;
    flex-shrink: 0;
    margin-top: 3px;
}

:where(.pg-glasfaser) .scope-check span {
    display: block;
    width: 3px;
    height: 14px;
    background: var(--o);
    border-radius: 1px;
}

:where(.pg-glasfaser) .scope-text {
    font-size: 0.97rem;
    color: var(--mid);
    line-height: 1.65;
}

:where(.pg-glasfaser) .scope-text strong {
    color: var(--ink);
    font-weight: 600;
    display: block;
    margin-bottom: 0.2rem;
}

@media (max-width: 640px) {
    :where(.pg-glasfaser) .scope-grid {
        grid-template-columns: 1fr;
    }
    :where(.pg-glasfaser) .scope-item:nth-child(odd) {
        padding-right: 0;
        border-right: none;
    }
    :where(.pg-glasfaser) .scope-item:nth-child(even) {
        padding-left: 0;
    }
}

:where(.pg-glasfaser) .s-limit {
    background: var(--ink);
    padding: 3.5rem 2rem;
}

:where(.pg-glasfaser) .limit-body {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    border-left: 4px solid var(--o);
    padding-left: 1.75rem;
}

:where(.pg-glasfaser) .limit-body h2 {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.01em;
    margin-bottom: 0.6rem;
}

:where(.pg-glasfaser) .limit-body p {
    font-size: 0.97rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.75;
    max-width: 720px;
}

:where(.pg-glasfaser) .limit-body p strong {
    color: var(--o);
    font-weight: 600;
}

:where(.pg-glasfaser) .ilink {
    color: var(--o);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
}

:where(.pg-glasfaser) .ilink:hover {
    color: var(--o2);
}

:where(.pg-nis2) .s-intro {
    background: var(--light);
    padding: 5rem 2rem;
}

:where(.pg-nis2) .intro-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: start;
}

:where(.pg-nis2, .pg-zaehler) .prose p {
    font-size: 1rem;
    color: var(--mid);
    line-height: 1.8;
    margin-bottom: 1.1rem;
}

:where(.tpl-projekt, .pg-nis2, .pg-zaehler) .prose p:last-child {
    margin-bottom: 0;
}

:where(.tpl-projekt) .notice {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-top: 2.5rem;
    padding: 1rem 1.25rem;
    background: var(--light);
    border-left: 3px solid var(--o);
    max-width: 760px;
}

:where(.tpl-projekt) .notice svg {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--o2);
}

:where(.tpl-projekt) .notice p {
    font-size: 0.85rem;
    color: var(--mid);
    line-height: 1.65;
}

:where(.tpl-projekt) .s-light {
    background: var(--light);
    padding: 5.5rem 2rem;
}

:where(.tpl-projekt) .s-dark {
    background: var(--ink);
    padding: 5.5rem 2rem;
    position: relative;
    overflow: hidden;
}

:where(.tpl-projekt) .s-white {
    background: var(--white);
    padding: 5.5rem 2rem;
}

:where(.tpl-projekt) .s-dark .sh-title {
    color: #fff;
}

:where(.tpl-projekt) .ausgangslage-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: start;
}

:where(.tpl-projekt) .kunde-card {
    border: 1px solid var(--rule);
    background: var(--white);
    padding: 2rem;
}

:where(.tpl-projekt) .kunde-card-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 0.9rem;
}

:where(.tpl-projekt) .kunde-card-name {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

:where(.tpl-projekt) .kunde-card-meta {
    margin-top: 1.5rem;
    border-top: 1px solid var(--rule);
    padding-top: 1.25rem;
}

:where(.tpl-projekt) .kunde-card-meta div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.85rem;
    padding: 0.4rem 0;
}

:where(.tpl-projekt) .kunde-card-meta dt {
    color: var(--dim);
}

:where(.tpl-projekt) .kunde-card-meta dd {
    color: var(--ink);
    font-weight: 600;
    text-align: right;
}

@media (max-width: 860px) {
    :where(.tpl-projekt) .ausgangslage-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

:where(.pg-projekt-filialen, .pg-projekt-lorawan, .pg-projekt-parksystem) .flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

:where(.pg-projekt-filialen, .pg-projekt-lorawan, .pg-projekt-parksystem) .flow-step {
    position: relative;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

:where(.pg-projekt-filialen, .pg-projekt-lorawan, .pg-projekt-parksystem) .flow-step + .flow-step {
    border-left: none;
}

:where(.pg-projekt-filialen, .pg-projekt-lorawan, .pg-projekt-parksystem) .flow-arrow {
    position: absolute;
    right: -11px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    color: var(--o);
    width: 22px;
    height: 22px;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
}

:where(.pg-projekt-filialen, .pg-projekt-lorawan, .pg-projekt-parksystem) .flow-arrow svg {
    width: 22px;
    height: 22px;
}

:where(.pg-projekt-filialen, .pg-projekt-lorawan, .pg-projekt-parksystem) .flow-step:last-child .flow-arrow {
    display: none;
}

:where(.pg-projekt-stadtwerke) .scope-list {
    border-top: 2px solid var(--rule);
}

:where(.pg-projekt-stadtwerke) .scope-row {
    display: grid;
    grid-template-columns: 3rem 1fr 2.2fr;
    gap: 2rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--rule);
    align-items: start;
    transition: background 0.15s;
}

:where(.pg-projekt-stadtwerke) .scope-row:hover {
    background: var(--light);
    margin: 0 -1rem;
    padding: 1.75rem 1rem;
}

:where(.pg-projekt-stadtwerke) .scope-n {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--o);
    letter-spacing: 0.04em;
    padding-top: 2px;
}

:where(.pg-projekt-stadtwerke) .scope-name {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--ink);
    line-height: 1.15;
}

:where(.pg-projekt-stadtwerke) .scope-desc {
    font-size: 0.93rem;
    color: var(--mid);
    line-height: 1.7;
}

@media (max-width: 720px) {
    :where(.pg-projekt-stadtwerke) .scope-row {
        grid-template-columns: 2rem 1fr;
        gap: 1rem;
    }
    :where(.pg-projekt-stadtwerke) .scope-desc {
        grid-column: 2;
    }
}

:where(.pg-nis2, .pg-zaehler) .prose strong {
    color: var(--ink);
    font-weight: 600;
}

:where(.pg-zaehler) .praxis-card {
    background: var(--ink);
    color: #fff;
    padding: 2rem 2rem 1.5rem;
    border-top: 4px solid var(--o);
}

:where(.pg-zaehler) .praxis-card-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--o);
    margin-bottom: 0.75rem;
}

:where(.pg-zaehler) .praxis-card-label::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--o);
}

:where(.pg-zaehler) .praxis-card-name {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

:where(.pg-zaehler) .praxis-card dl > div {
    display: grid;
    grid-template-columns: 6.5rem 1fr;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

:where(.pg-zaehler) .praxis-card dl > div:last-child {
    border-bottom: none;
}

:where(.pg-zaehler) .praxis-card dt {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.45);
    padding-top: 2px;
}

:where(.pg-zaehler) .praxis-card dd {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

@media (max-width: 860px) {
    :where(.pg-zaehler) .praxis-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

:where(.pg-zaehler) .s-tech {
    background: var(--white);
    padding: 6rem 2rem;
}

:where(.pg-zaehler) .tech-intro {
    font-size: 1.02rem;
    color: var(--mid);
    line-height: 1.75;
    max-width: 760px;
    margin: -1.5rem 0 3rem;
}

:where(.pg-zaehler) .tech-intro strong {
    color: var(--ink);
    font-weight: 600;
}

:where(.pg-zaehler) .tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

:where(.pg-zaehler) .tech-card {
    border: 1px solid var(--rule);
    border-top: 5px solid var(--o);
    padding: 2.25rem 2.25rem 1.5rem;
    background: var(--white);
}

:where(.pg-zaehler) .tech-card--lora {
    border-top-color: var(--ink);
}

:where(.pg-zaehler) .tech-tag {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--o);
    margin-bottom: 0.5rem;
}

:where(.pg-zaehler) .tech-card--lora .tech-tag {
    color: var(--dim);
}

:where(.pg-zaehler) .tech-card h3 {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1;
    margin-bottom: 0.75rem;
}

:where(.pg-zaehler) .tech-card > p {
    font-size: 0.95rem;
    color: var(--mid);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

:where(.pg-zaehler) .tech-card dl > div {
    display: grid;
    grid-template-columns: 8rem 1fr;
    gap: 1rem;
    padding: 0.7rem 0;
    border-top: 1px solid var(--rule);
}

:where(.pg-zaehler) .tech-card dt {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--dim);
    padding-top: 2px;
}

:where(.pg-zaehler) .tech-card dd {
    font-size: 0.9rem;
    color: var(--ink);
    line-height: 1.6;
}

:where(.pg-zaehler) .tech-combo {
    margin-top: 2rem;
    padding: 1.75rem 2rem;
    background: var(--ink);
    color: #fff;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.75rem;
    align-items: center;
    border-left: 5px solid var(--o);
}

:where(.pg-zaehler) .tech-combo-sign {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--o);
    line-height: 1;
}

:where(.pg-zaehler) .tech-combo strong {
    display: block;
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin-bottom: 0.3rem;
}

:where(.pg-zaehler) .tech-combo p {
    font-size: 0.93rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.65;
}

@media (max-width: 860px) {
    :where(.pg-zaehler) .tech-grid {
        grid-template-columns: 1fr;
    }
    :where(.pg-zaehler) .tech-card {
        padding: 1.75rem 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    :where(.pg-zaehler) .tech-card dl > div {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }
    :where(.pg-zaehler) .tech-combo {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

:where(.pg-zaehler) .s-flow {
    background: var(--ink);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

:where(.pg-zaehler) .s-flow .sh-title {
    color: #fff;
}

:where(.pg-nis2) .fact-card {
    background: var(--ink);
    color: #fff;
    padding: 2rem 2rem 1.5rem;
    border-top: 4px solid var(--o);
}

:where(.pg-nis2) .fact-card-label {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--o);
    margin-bottom: 1.25rem;
}

:where(.pg-nis2) .fact-card dl > div {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

:where(.pg-nis2) .fact-card dl > div:last-child {
    border-bottom: none;
}

:where(.pg-nis2) .fact-card dt {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.45);
    padding-top: 2px;
}

:where(.pg-nis2) .fact-card dd {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

:where(.pg-nis2) .notice {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-top: 3rem;
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.04);
    border-left: 3px solid rgba(0, 0, 0, 0.25);
}

:where(.pg-nis2) .notice svg {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
    color: rgba(0, 0, 0, 0.5);
}

:where(.pg-nis2) .notice p {
    font-size: 0.82rem;
    color: rgba(17, 17, 17, 0.6);
    line-height: 1.65;
}

@media (max-width: 860px) {
    :where(.pg-nis2) .intro-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

:where(.pg-nis2) .s-duties {
    background: var(--ink);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

:where(.pg-nis2) .s-duties .sh-title {
    color: #fff;
}

:where(.pg-nis2, .pg-zaehler) .bg-p {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 70vw;
    font-weight: 800;
    color: rgba(245, 160, 0, 0.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

:where(.pg-zaehler) .flow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

:where(.pg-zaehler) .flow-step {
    padding: 2.25rem 1.75rem;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
}

:where(.pg-zaehler) .flow-step:last-child {
    border-right: none;
}

:where(.pg-zaehler) .flow-step::after {
    content: "";
    position: absolute;
    right: -9px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 16px;
    height: 16px;
    background: var(--ink);
    border-top: 1px solid rgba(245, 160, 0, 0.5);
    border-right: 1px solid rgba(245, 160, 0, 0.5);
    z-index: 2;
}

:where(.pg-zaehler) .flow-step:last-child::after {
    display: none;
}

:where(.pg-zaehler, .pg-projekt-filialen, .pg-projekt-lorawan, .pg-projekt-parksystem) .flow-n {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--o);
    margin-bottom: 1rem;
}

:where(.pg-projekt-filialen, .pg-projekt-lorawan, .pg-projekt-parksystem) .flow-icon {
    width: 2rem;
    height: 2rem;
    color: var(--o);
    margin-bottom: 1rem;
    opacity: 0.9;
}

:where(.pg-projekt-filialen, .pg-projekt-lorawan, .pg-projekt-parksystem) .flow-name {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.6rem;
}

:where(.pg-projekt-filialen, .pg-projekt-lorawan, .pg-projekt-parksystem) .flow-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.65;
}

@media (max-width: 800px) {
    :where(.pg-projekt-filialen, .pg-projekt-lorawan, .pg-projekt-parksystem) .flow {
        grid-template-columns: 1fr;
    }
    :where(.pg-projekt-filialen, .pg-projekt-lorawan, .pg-projekt-parksystem) .flow-step + .flow-step {
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        border-top: none;
    }
    :where(.pg-projekt-filialen, .pg-projekt-lorawan, .pg-projekt-parksystem) .flow-arrow {
        right: 50%;
        top: auto;
        bottom: -11px;
        transform: translateX(50%) rotate(90deg);
    }
}

:where(.pg-projekt-filialen, .pg-projekt-lorawan, .pg-projekt-parksystem) .scope-list {
    border-top: 2px solid var(--rule);
}

:where(.pg-projekt-filialen, .pg-projekt-lorawan, .pg-projekt-parksystem) .scope-row {
    display: grid;
    grid-template-columns: 3rem 1fr 2.2fr;
    gap: 2rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--rule);
    align-items: start;
    transition: background 0.15s;
}

:where(.pg-projekt-filialen, .pg-projekt-lorawan, .pg-projekt-parksystem) .scope-row:hover {
    background: var(--light);
    margin: 0 -1rem;
    padding: 1.75rem 1rem;
}

:where(.pg-projekt-filialen, .pg-projekt-lorawan, .pg-projekt-parksystem) .scope-n {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--o);
    letter-spacing: 0.04em;
    padding-top: 2px;
}

:where(.pg-projekt-filialen, .pg-projekt-lorawan, .pg-projekt-parksystem) .scope-name {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--ink);
    line-height: 1.15;
}

:where(.pg-projekt-filialen, .pg-projekt-lorawan, .pg-projekt-parksystem) .scope-desc {
    font-size: 0.93rem;
    color: var(--mid);
    line-height: 1.7;
}

@media (max-width: 720px) {
    :where(.pg-projekt-filialen, .pg-projekt-lorawan, .pg-projekt-parksystem) .scope-row {
        grid-template-columns: 2rem 1fr;
        gap: 1rem;
    }
    :where(.pg-projekt-filialen, .pg-projekt-lorawan, .pg-projekt-parksystem) .scope-desc {
        grid-column: 2;
    }
}

:where(.pg-zaehler) .flow-icon {
    width: 1.9rem;
    height: 1.9rem;
    color: var(--o);
    margin-bottom: 1rem;
}

:where(.pg-zaehler) .flow-name {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
    margin-bottom: 0.5rem;
}

:where(.pg-zaehler) .flow-desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
}

@media (max-width: 1024px) {
    :where(.pg-zaehler) .flow {
        grid-template-columns: 1fr 1fr;
    }
    :where(.pg-zaehler) .flow-step {
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }
    :where(.pg-zaehler) .flow-step:nth-child(even) {
        border-right: none;
    }
    :where(.pg-zaehler) .flow-step::after {
        display: none;
    }
}

@media (max-width: 560px) {
    :where(.pg-zaehler) .flow {
        grid-template-columns: 1fr;
    }
    :where(.pg-zaehler) .flow-step {
        border-right: none;
    }
}

:where(.pg-zaehler) .s-scope {
    background: var(--o);
    padding: 6rem 2rem;
}

:where(.pg-zaehler) .s-scope .sh-bars span {
    background: var(--ink);
}

:where(.pg-zaehler) .s-scope .sh-num {
    color: var(--ink);
    opacity: 0.6;
}

:where(.pg-zaehler) .s-scope .sh-title {
    color: var(--ink);
}

:where(.pg-zaehler) .scope-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 2px solid rgba(0, 0, 0, 0.15);
}

:where(.pg-zaehler) .scope-item {
    padding: 2.25rem 2rem 2.25rem 0;
    border-right: 1px solid rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

:where(.pg-zaehler) .scope-item:nth-child(3n) {
    border-right: none;
    padding-right: 0;
}

:where(.pg-zaehler) .scope-item:nth-child(3n+2),
:where(.pg-zaehler) .scope-item:nth-child(3n) {
    padding-left: 2rem;
}

:where(.pg-zaehler) .scope-item:nth-last-child(-n+3) {
    border-bottom: none;
}

:where(.pg-zaehler) .scope-n {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.12);
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

:where(.pg-zaehler) .scope-name {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--ink);
    margin-bottom: 0.6rem;
}

:where(.pg-zaehler) .scope-desc {
    font-size: 0.93rem;
    color: rgba(17, 17, 17, 0.65);
    line-height: 1.75;
}

@media (max-width: 860px) {
    :where(.pg-zaehler) .scope-grid {
        grid-template-columns: 1fr;
    }
    :where(.pg-zaehler) .scope-item,
    :where(.pg-zaehler) .scope-item:nth-child(3n),
    :where(.pg-zaehler) .scope-item:nth-child(3n+2) {
        padding: 1.75rem 0;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    }
    :where(.pg-zaehler) .scope-item:last-child {
        border-bottom: none;
    }
}

:where(.pg-zaehler) .s-why {
    background: var(--white);
    padding: 6rem 2rem;
}

:where(.pg-zaehler) .why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--rule);
}

:where(.pg-zaehler) .why-cell {
    padding: 2.25rem 2rem;
    border-right: 1px solid var(--rule);
    position: relative;
}

:where(.pg-zaehler) .why-cell:last-child {
    border-right: none;
}

:where(.pg-zaehler) .why-cell::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--o);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

:where(.pg-zaehler) .why-cell:hover::after {
    transform: scaleX(1);
}

:where(.pg-zaehler) .why-pip {
    display: flex;
    gap: 4px;
    margin-bottom: 1rem;
}

:where(.pg-zaehler) .why-pip span {
    display: block;
    width: 4px;
    height: 18px;
    background: var(--o);
    border-radius: 1px;
}

:where(.pg-zaehler) .why-cell h3 {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--ink);
    margin-bottom: 0.6rem;
}

:where(.pg-zaehler) .why-cell p {
    font-size: 0.9rem;
    color: var(--mid);
    line-height: 1.75;
}

@media (max-width: 1024px) {
    :where(.pg-zaehler) .why-grid {
        grid-template-columns: 1fr 1fr;
    }
    :where(.pg-zaehler) .why-cell:nth-child(2) {
        border-right: none;
    }
    :where(.pg-zaehler) .why-cell:nth-child(-n+2) {
        border-bottom: 1px solid var(--rule);
    }
}

@media (max-width: 560px) {
    :where(.pg-zaehler) .why-grid {
        grid-template-columns: 1fr;
    }
    :where(.pg-zaehler) .why-cell {
        border-right: none;
        border-bottom: 1px solid var(--rule);
    }
    :where(.pg-zaehler) .why-cell:last-child {
        border-bottom: none;
    }
}

:where(.pg-nis2) .duty-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
    z-index: 1;
}

:where(.pg-nis2) .duty-cell {
    padding: 2.25rem 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
}

:where(.pg-nis2) .duty-cell:last-child {
    border-right: none;
}

:where(.pg-nis2) .duty-cell::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--o);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

:where(.pg-nis2) .duty-cell:hover::after {
    transform: scaleX(1);
}

:where(.pg-nis2) .duty-n {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(245, 160, 0, 0.25);
    line-height: 1;
    margin-bottom: 1rem;
}

:where(.pg-nis2) .duty-cell h3 {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
    margin-bottom: 0.6rem;
}

:where(.pg-nis2) .duty-cell p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.75;
}

@media (max-width: 1024px) {
    :where(.pg-nis2) .duty-grid {
        grid-template-columns: 1fr 1fr;
    }
    :where(.pg-nis2) .duty-cell:nth-child(2) {
        border-right: none;
    }
    :where(.pg-nis2) .duty-cell:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }
}

@media (max-width: 640px) {
    :where(.pg-nis2) .duty-grid {
        grid-template-columns: 1fr;
    }
    :where(.pg-nis2) .duty-cell {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }
    :where(.pg-nis2) .duty-cell:last-child {
        border-bottom: none;
    }
}

:where(.pg-nis2) .s-split {
    background: var(--white);
    padding: 6rem 2rem;
}

:where(.pg-nis2) .split-intro {
    font-size: 1.02rem;
    color: var(--mid);
    line-height: 1.75;
    max-width: 760px;
    margin: -1.5rem 0 3rem;
}

:where(.pg-nis2) .split-intro strong {
    color: var(--ink);
    font-weight: 600;
}

:where(.pg-nis2) .split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

:where(.pg-nis2) .split-col {
    padding: 2.5rem;
    position: relative;
}

:where(.pg-nis2) .split-col--tech {
    background: var(--ink);
    color: #fff;
    border-top: 5px solid var(--o);
}

:where(.pg-nis2) .split-col--org {
    background: var(--light);
    color: var(--ink);
    border-top: 5px solid var(--ink);
}

:where(.pg-nis2) .split-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    margin-bottom: 1.25rem;
}

:where(.pg-nis2) .split-col--tech .split-tag {
    background: var(--o);
    color: var(--ink);
}

:where(.pg-nis2) .split-col--org .split-tag {
    background: var(--ink);
    color: #fff;
}

:where(.pg-nis2) .split-col h3 {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.05;
    margin-bottom: 0.75rem;
}

:where(.pg-nis2) .split-col > p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

:where(.pg-nis2) .split-col--tech > p {
    color: rgba(255, 255, 255, 0.5);
}

:where(.pg-nis2) .split-col--org > p {
    color: var(--mid);
}

:where(.pg-nis2) .split-list {
    list-style: none;
}

:where(.pg-nis2) .split-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 0.8rem 0;
    font-size: 0.93rem;
    line-height: 1.55;
}

:where(.pg-nis2) .split-col--tech .split-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
}

:where(.pg-nis2) .split-col--org .split-list li {
    border-bottom: 1px solid var(--rule);
    color: var(--mid);
}

:where(.pg-nis2) .split-list li:last-child {
    border-bottom: none;
}

:where(.pg-nis2) .split-list li strong {
    font-weight: 600;
}

:where(.pg-nis2) .split-col--tech .split-list li strong {
    color: #fff;
}

:where(.pg-nis2) .split-col--org .split-list li strong {
    color: var(--ink);
}

:where(.pg-nis2) .pip {
    display: flex;
    gap: 3px;
    flex-shrink: 0;
    margin-top: 5px;
}

:where(.pg-nis2) .pip span {
    display: block;
    width: 3px;
    height: 14px;
    background: var(--o);
    border-radius: 1px;
}

:where(.pg-nis2) .split-col--org .pip span {
    background: var(--ink);
}

:where(.pg-nis2) .split-foot {
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--o);
    background: var(--light);
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

:where(.pg-nis2) .split-foot strong {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--ink);
}

:where(.pg-nis2) .split-foot p {
    font-size: 0.93rem;
    color: var(--mid);
    line-height: 1.65;
    flex: 1 1 320px;
}

@media (max-width: 860px) {
    :where(.pg-nis2) .split-grid {
        grid-template-columns: 1fr;
    }
    :where(.pg-nis2) .split-col {
        padding: 2rem 1.5rem;
    }
}

:where(.pg-nis2, .pg-glasfaser) .s-steps {
    background: var(--o);
    padding: 6rem 2rem;
}

:where(.pg-nis2, .pg-glasfaser) .s-steps .sh-bars span {
    background: var(--ink);
}

:where(.pg-nis2, .pg-glasfaser) .s-steps .sh-num {
    color: var(--ink);
    opacity: 0.6;
}

:where(.pg-nis2, .pg-glasfaser) .s-steps .sh-title {
    color: var(--ink);
}

:where(.pg-glasfaser) .steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 2px solid rgba(0, 0, 0, 0.15);
}

:where(.pg-glasfaser) .step-item {
    padding: 2.5rem 2.5rem 2.5rem 0;
    border-right: 1px solid rgba(0, 0, 0, 0.12);
    position: relative;
}

:where(.pg-nis2) .steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 2px solid rgba(0, 0, 0, 0.15);
}

:where(.pg-nis2) .step-item {
    padding: 2.5rem 2rem 2.5rem 0;
    border-right: 1px solid rgba(0, 0, 0, 0.12);
    position: relative;
}

:where(.pg-nis2, .pg-glasfaser) .step-item:last-child {
    border-right: none;
    padding-right: 0;
}

:where(.pg-glasfaser) .step-item + .step-item {
    padding-left: 2.5rem;
}

:where(.pg-nis2) .step-item + .step-item {
    padding-left: 2rem;
}

:where(.pg-nis2, .pg-glasfaser) .step-n {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.12);
    line-height: 1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

:where(.pg-nis2, .pg-glasfaser) .step-icon {
    width: 2rem;
    height: 2rem;
    color: var(--ink);
    margin-bottom: 1rem;
    opacity: 0.7;
}

:where(.pg-nis2, .pg-glasfaser) .step-name {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--ink);
    margin-bottom: 0.75rem;
}

:where(.pg-nis2, .pg-glasfaser) .step-desc {
    font-size: 0.93rem;
    color: rgba(17, 17, 17, 0.65);
    line-height: 1.75;
}

:where(.pg-nis2, .pg-glasfaser) .step-badge {
    display: inline-block;
    font-size: 0.73rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    margin-top: 1.1rem;
    background: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.6);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@media (max-width: 860px) {
    :where(.pg-glasfaser) .steps-grid {
        grid-template-columns: 1fr;
    }
    :where(.pg-glasfaser) .step-item {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.12);
        padding: 2rem 0;
    }
    :where(.pg-glasfaser) .step-item + .step-item {
        padding-left: 0;
    }
    :where(.pg-glasfaser) .step-item:last-child {
        border-bottom: none;
    }
}

:where(.pg-glasfaser) .s-quote {
    background: var(--light);
    padding: 6rem 2rem;
}

:where(.pg-glasfaser) .quote-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: start;
}

:where(.pg-glasfaser) .quote-lead {
    font-size: 1.05rem;
    color: var(--mid);
    line-height: 1.75;
    max-width: 560px;
}

:where(.pg-glasfaser) .quote-lead strong {
    color: var(--ink);
    font-weight: 600;
}

:where(.pg-glasfaser) .quote-factors {
    list-style: none;
    margin-top: 1.75rem;
    border-top: 2px solid var(--rule);
}

:where(.pg-glasfaser) .quote-factors li {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--rule);
    font-size: 0.95rem;
    color: var(--mid);
    line-height: 1.6;
}

:where(.pg-glasfaser) .quote-factors li strong {
    color: var(--ink);
    font-weight: 600;
}

:where(.pg-glasfaser) .quote-pip {
    display: flex;
    gap: 3px;
    margin-top: 5px;
}

:where(.pg-glasfaser) .quote-pip span {
    display: block;
    width: 3px;
    height: 14px;
    background: var(--o);
    border-radius: 1px;
}

:where(.pg-glasfaser) .quote-box {
    background: var(--white);
    border-left: 4px solid var(--o);
    padding: 1.75rem 1.75rem 1.5rem;
}

:where(.pg-glasfaser) .quote-box h3 {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--ink);
    margin-bottom: 0.9rem;
}

:where(.pg-glasfaser) .quote-box p {
    font-size: 0.93rem;
    color: var(--mid);
    line-height: 1.7;
}

:where(.pg-glasfaser) .quote-box p + p {
    margin-top: 0.9rem;
}

:where(.pg-glasfaser) .quote-box p strong {
    color: var(--ink);
    font-weight: 600;
}

@media (max-width: 900px) {
    :where(.pg-glasfaser) .quote-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

:where(.pg-glasfaser) .s-faq {
    background: var(--ink);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

:where(.pg-glasfaser) .s-faq .sh-title {
    color: #fff;
}

:where(.pg-glasfaser) .faq-bg-p {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 70vw;
    font-weight: 800;
    color: rgba(245, 160, 0, 0.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

:where(.pg-glasfaser) .faq-list {
    max-width: 820px;
    position: relative;
    z-index: 1;
}

:where(.pg-glasfaser) .faq-row {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 1.5rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    align-items: start;
}

:where(.pg-glasfaser) .faq-row:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

@media (max-width: 1024px) {
    :where(.pg-nis2) .steps-grid {
        grid-template-columns: 1fr 1fr;
    }
    :where(.pg-nis2) .step-item:nth-child(2) {
        border-right: none;
        padding-right: 0;
    }
    :where(.pg-nis2) .step-item:nth-child(-n+2) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    }
    :where(.pg-nis2) .step-item:nth-child(3) {
        padding-left: 0;
    }
}

@media (max-width: 640px) {
    :where(.pg-nis2) .steps-grid {
        grid-template-columns: 1fr;
    }
    :where(.pg-nis2) .step-item {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.12);
        padding: 2rem 0;
    }
    :where(.pg-nis2) .step-item + .step-item {
        padding-left: 0;
    }
    :where(.pg-nis2) .step-item:last-child {
        border-bottom: none;
    }
}

:where(.pg-home) .s-branchen {
    background: var(--white);
    padding: 6rem 2rem;
}

:where(.pg-home) .branchen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

:where(.pg-home) .branche {
    border: 1px solid var(--rule);
    border-top: 5px solid var(--o);
    padding: 2.5rem 2.5rem 2rem;
    background: var(--white);
    position: relative;
    transition: border-color 0.2s;
}

:where(.pg-home) .branche:hover {
    border-color: rgba(0, 0, 0, 0.2);
    border-top-color: var(--o);
}

:where(.pg-home) .branche-label {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--o);
    margin-bottom: 0.6rem;
}

:where(.pg-home) .branche h3 {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.05;
    color: var(--ink);
    margin-bottom: 1rem;
}

:where(.pg-home) .branche > p {
    font-size: 0.97rem;
    color: var(--mid);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

:where(.pg-home) .branche-list {
    list-style: none;
    border-top: 1px solid var(--rule);
}

:where(.pg-home) .branche-list li {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--rule);
    font-size: 0.9rem;
    color: var(--mid);
    line-height: 1.5;
}

:where(.pg-home) .branche-list .pip {
    display: flex;
    gap: 3px;
    flex-shrink: 0;
    margin-top: 4px;
}

:where(.pg-home) .branche-list .pip span {
    display: block;
    width: 3px;
    height: 13px;
    background: var(--o);
    border-radius: 1px;
}

:where(.pg-home) .branchen-note {
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    background: var(--ink);
    color: #fff;
    border-left: 5px solid var(--o);
    display: flex;
    gap: 1.75rem;
    align-items: center;
    flex-wrap: wrap;
}

:where(.pg-home) .branchen-note strong {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: #fff;
    white-space: nowrap;
}

:where(.pg-home) .branchen-note p {
    font-size: 0.93rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.65;
    flex: 1 1 360px;
}

:where(.pg-home) .branchen-note a {
    color: var(--o);
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 860px) {
    :where(.pg-home) .branchen-grid {
        grid-template-columns: 1fr;
    }
    :where(.pg-home) .branche {
        padding: 2rem 1.5rem 1.5rem;
    }
}

:where(.pg-home) .s-komp {
    background: var(--light);
    padding: 6rem 2rem;
}

:where(.pg-home) .komp-body {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 5rem;
    align-items: start;
}

:where(.pg-home) .cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

:where(.pg-home) .cert-tile {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem;
    transition: border-color 0.2s;
}

:where(.pg-home) .cert-tile {
    cursor: zoom-in;
    width: 100%;
    font: inherit;
}

:where(.pg-home) .cert-tile:hover {
    border-color: var(--o);
}

:where(.pg-home) .cert-tile:focus-visible {
    outline: 2px solid var(--o);
    outline-offset: 2px;
}

:where(.pg-home) .lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(17, 17, 17, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

:where(.pg-home) .lightbox.open {
    display: flex;
}

:where(.pg-home) .lightbox img {
    max-width: min(92vw, 900px);
    max-height: 88vh;
    object-fit: contain;
    background: var(--white);
    padding: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    cursor: zoom-out;
}

:where(.pg-home) .lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
}

:where(.pg-home) .lightbox-close:hover {
    color: var(--o);
}

body:where(.pg-home).lightbox-open {
    overflow: hidden;
}

:where(.pg-home) .cert-tile img {
    width: 100%;
    max-height: 116px;
    object-fit: contain;
    padding: 0;
}

:where(.pg-home) .cert-tile--wide {
    grid-column: 1 / -1;
    aspect-ratio: auto;
    height: 200px;
}

:where(.pg-home) .cert-tile--wide img {
    max-height: 180px;
    width: auto;
}

:where(.pg-home) .cert-note {
    font-size: 0.8rem;
    color: var(--mid);
    line-height: 1.55;
    margin-top: 0.75rem;
}

:where(.pg-home) .feat-list {
    list-style: none;
}

:where(.pg-home) .feat-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--rule);
    font-size: 0.97rem;
    color: var(--mid);
    line-height: 1.55;
}

:where(.pg-home) .feat-item:first-child {
    border-top: 1px solid var(--rule);
}

:where(.pg-home) .feat-pip {
    display: flex;
    gap: 3px;
    flex-shrink: 0;
    margin-top: 5px;
}

:where(.pg-home) .feat-pip span {
    display: block;
    width: 3px;
    height: 14px;
    background: var(--o);
    border-radius: 1px;
}

@media (max-width: 860px) {
    :where(.pg-home) .komp-body {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

:where(.pg-home) .s-leist {
    background: var(--o);
    padding: 6rem 2rem;
}

:where(.pg-home) .s-leist .sh-bars span {
    background: var(--ink);
}

:where(.pg-home) .s-leist .sh-num {
    color: var(--ink);
    opacity: 0.6;
}

:where(.pg-home) .s-leist .sh-title {
    color: var(--ink);
}

:where(.pg-home) .leist-table {
    border-top: 2px solid rgba(0, 0, 0, 0.15);
}

:where(.pg-home) .leist-intro {
    font-size: 1.02rem;
    color: rgba(17, 17, 17, 0.7);
    line-height: 1.7;
    max-width: 720px;
    margin-bottom: 2.5rem;
}

:where(.pg-home) .leist-intro strong {
    color: var(--ink);
    font-weight: 600;
}

:where(.pg-home) .leist-more {
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.2);
}

:where(.pg-home) .leist-more-label {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.45);
    margin-bottom: 1rem;
}

:where(.pg-home) .leist-more-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 2.5rem;
}

:where(.pg-home) .leist-more-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: baseline;
}

:where(.pg-home) .leist-more-item .m-name {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--ink);
    white-space: nowrap;
}

:where(.pg-home) .leist-more-item .m-desc {
    font-size: 0.85rem;
    color: rgba(17, 17, 17, 0.55);
    line-height: 1.55;
}

@media (max-width: 640px) {
    :where(.pg-home) .leist-more-grid {
        grid-template-columns: 1fr;
    }
}

:where(.pg-home) .leist-row {
    display: grid;
    grid-template-columns: 3rem 1fr 2.5fr;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    align-items: start;
    transition: background 0.15s;
}

:where(.pg-home) .leist-row:hover {
    background: rgba(0, 0, 0, 0.04);
    margin: 0 -1rem;
    padding: 2rem 1rem;
}

:where(.pg-home) .leist-n {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.25);
    letter-spacing: 0.04em;
    padding-top: 2px;
}

:where(.pg-home) .leist-name {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--ink);
    line-height: 1.1;
}

:where(.pg-home) .leist-desc {
    font-size: 0.93rem;
    color: rgba(17, 17, 17, 0.6);
    line-height: 1.7;
}

:where(.pg-home) .leist-link {
    display: inline-block;
    margin-top: 0.9rem;
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.3);
    padding-bottom: 1px;
    transition: border-color 0.15s;
}

:where(.pg-home) .leist-link:hover {
    border-color: var(--ink);
}

@media (max-width: 640px) {
    :where(.pg-home) .leist-row {
        grid-template-columns: 2rem 1fr;
        gap: 1rem 1.25rem;
    }
    :where(.pg-home) .leist-desc {
        grid-column: 2;
    }
}

:where(.pg-home) .leist-notice {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-top: 2rem;
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.1);
    border-left: 3px solid rgba(0, 0, 0, 0.25);
}

:where(.pg-home) .leist-notice-icon {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
    color: rgba(0, 0, 0, 0.5);
}

:where(.pg-home) .leist-notice p {
    font-size: 0.8rem;
    color: rgba(17, 17, 17, 0.55);
    line-height: 1.65;
}

:where(.pg-home) .leist-notice p strong {
    font-weight: 700;
    color: rgba(17, 17, 17, 0.75);
}

:where(.pg-home) .s-trans {
    background: var(--ink);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

:where(.pg-home) .s-trans .sh-title {
    color: #fff;
}

:where(.pg-home, .pg-projekt-stadtwerke, .pg-projekt-filialen, .pg-projekt-parksystem) .trans-bg-p {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 70vw;
    font-weight: 800;
    color: rgba(245, 160, 0, 0.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

:where(.pg-projekt-stadtwerke, .pg-projekt-filialen, .pg-projekt-parksystem) .why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
    z-index: 1;
}

:where(.pg-projekt-stadtwerke, .pg-projekt-filialen, .pg-projekt-parksystem) .why-cell {
    padding: 2.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
}

:where(.pg-projekt-stadtwerke, .pg-projekt-filialen, .pg-projekt-parksystem) .why-cell:nth-child(even) {
    border-right: none;
}

:where(.pg-projekt-stadtwerke, .pg-projekt-filialen, .pg-projekt-parksystem) .why-cell:nth-last-child(-n+2) {
    border-bottom: none;
}

:where(.pg-projekt-stadtwerke, .pg-projekt-filialen, .pg-projekt-parksystem) .why-cell::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--o);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

:where(.pg-projekt-stadtwerke, .pg-projekt-filialen, .pg-projekt-parksystem) .why-cell:hover::after {
    transform: scaleX(1);
}

:where(.pg-projekt-stadtwerke, .pg-projekt-filialen, .pg-projekt-parksystem) .why-cell h3 {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
    margin-bottom: 0.6rem;
}

:where(.pg-projekt-stadtwerke, .pg-projekt-filialen, .pg-projekt-parksystem) .why-cell p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.75;
}

@media (max-width: 640px) {
    :where(.pg-projekt-stadtwerke, .pg-projekt-filialen, .pg-projekt-parksystem) .why-grid {
        grid-template-columns: 1fr;
    }
    :where(.pg-projekt-stadtwerke, .pg-projekt-filialen, .pg-projekt-parksystem) .why-cell {
        border-right: none;
    }
    :where(.pg-projekt-stadtwerke, .pg-projekt-filialen, .pg-projekt-parksystem) .why-cell:nth-last-child(-n+2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }
    :where(.pg-projekt-stadtwerke, .pg-projekt-filialen, .pg-projekt-parksystem) .why-cell:last-child {
        border-bottom: none;
    }
}

:where(.tpl-projekt) .rely-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 2px solid var(--rule);
}

:where(.tpl-projekt) .rely-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem 2rem 1.5rem 0;
    border-bottom: 1px solid var(--rule);
}

:where(.tpl-projekt) .rely-item:nth-child(odd) {
    padding-right: 3rem;
    border-right: 1px solid var(--rule);
}

:where(.tpl-projekt) .rely-item:nth-child(even) {
    padding-left: 3rem;
}

:where(.tpl-projekt) .rely-check {
    display: flex;
    gap: 3px;
    flex-shrink: 0;
    margin-top: 3px;
}

:where(.tpl-projekt) .rely-check span {
    display: block;
    width: 3px;
    height: 14px;
    background: var(--o);
    border-radius: 1px;
}

:where(.tpl-projekt) .rely-text {
    font-size: 0.97rem;
    color: var(--mid);
    line-height: 1.65;
}

:where(.tpl-projekt) .rely-text strong {
    color: var(--ink);
    font-weight: 600;
    display: block;
    margin-bottom: 0.2rem;
}

@media (max-width: 640px) {
    :where(.tpl-projekt) .rely-grid {
        grid-template-columns: 1fr;
    }
    :where(.tpl-projekt) .rely-item:nth-child(odd) {
        padding-right: 0;
        border-right: none;
    }
    :where(.tpl-projekt) .rely-item:nth-child(even) {
        padding-left: 0;
    }
}

:where(.pg-projekt-lorawan) .trans-bg-p {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 70vw;
    font-weight: 800;
    color: rgba(245, 160, 0, 0.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

:where(.pg-projekt-lorawan) .why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
    z-index: 1;
}

:where(.pg-projekt-lorawan) .why-cell {
    padding: 2.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
}

:where(.pg-projekt-lorawan) .why-cell:nth-child(even) {
    border-right: none;
}

:where(.pg-projekt-lorawan) .why-cell:nth-last-child(-n+2) {
    border-bottom: none;
}

:where(.pg-projekt-lorawan) .why-cell::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--o);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

:where(.pg-projekt-lorawan) .why-cell:hover::after {
    transform: scaleX(1);
}

:where(.pg-projekt-lorawan) .why-cell h3 {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
    margin-bottom: 0.6rem;
}

:where(.pg-projekt-lorawan) .why-cell p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.75;
}

@media (max-width: 640px) {
    :where(.pg-projekt-lorawan) .why-grid {
        grid-template-columns: 1fr;
    }
    :where(.pg-projekt-lorawan) .why-cell {
        border-right: none;
    }
    :where(.pg-projekt-lorawan) .why-cell:nth-last-child(-n+2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }
    :where(.pg-projekt-lorawan) .why-cell:last-child {
        border-bottom: none;
    }
}

:where(.tpl-projekt) .project-next {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border: 1px solid var(--rule);
    padding: 2rem 2.5rem;
    margin-top: 3.5rem;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s;
    flex-wrap: wrap;
}

:where(.pg-projekt-lorawan) .project-next:hover {
    border-color: var(--o) !important;
}

:where(.pg-projekt-stadtwerke, .pg-projekt-filialen, .pg-projekt-parksystem) .project-next:hover {
    border-color: rgba(0, 0, 0, 0.18);
}

:where(.tpl-projekt) .project-next .label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 0.4rem;
}

:where(.tpl-projekt) .project-next .name {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--ink);
    line-height: 1.1;
}

:where(.tpl-projekt) .project-next .arrow {
    color: var(--o);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

:where(.tpl-projekt) .project-next .arrow svg {
    width: 0.9rem;
    height: 0.9rem;
}

:where(.pg-home) .trans-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
    z-index: 1;
}

:where(.pg-home) .trans-cell {
    padding: 2.75rem;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
}

:where(.pg-home) .trans-cell:nth-child(even) {
    border-right: none;
}

:where(.pg-home) .trans-cell:nth-last-child(-n+2) {
    border-bottom: none;
}

:where(.pg-home) .trans-cell::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--o);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

:where(.pg-home) .trans-cell:hover::after {
    transform: scaleX(1);
}

:where(.pg-home) .trans-icon {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--o);
    margin-bottom: 1.1rem;
}

:where(.pg-home) .trans-cell h3 {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
    margin-bottom: 0.6rem;
}

:where(.pg-home) .trans-cell p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.75;
}

:where(.pg-home) .report-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--o);
    font-weight: 700;
    font-size: 0.78rem;
    text-decoration: none;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-top: 1rem;
    border-bottom: 1px solid rgba(245, 160, 0, 0.35);
    padding-bottom: 2px;
    transition: border-color 0.15s;
}

:where(.pg-home) .report-link:hover {
    border-color: var(--o);
}

@media (max-width: 640px) {
    :where(.pg-home) .trans-grid {
        grid-template-columns: 1fr;
    }
    :where(.pg-home) .trans-cell {
        border-right: none;
    }
    :where(.pg-home) .trans-cell:nth-last-child(-n+2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }
    :where(.pg-home) .trans-cell:last-child {
        border-bottom: none;
    }
}

:where(.pg-home, .pg-nis2, .pg-zaehler) .s-faq {
    background: var(--light);
    padding: 6rem 2rem;
}

:where(.pg-home, .pg-nis2, .pg-zaehler) .faq-list {
    max-width: 820px;
}

:where(.pg-home, .pg-nis2, .pg-zaehler) .faq-row {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 1.5rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--rule);
    align-items: start;
}

:where(.pg-home, .pg-nis2, .pg-zaehler) .faq-row:first-child {
    border-top: 1px solid var(--rule);
}

:where(.pg-home, .pg-nis2, .pg-glasfaser, .pg-zaehler) .faq-pip {
    display: flex;
    gap: 4px;
    margin-top: 4px;
}

:where(.pg-home, .pg-nis2, .pg-glasfaser, .pg-zaehler) .faq-pip span {
    display: block;
    width: 4px;
    height: 16px;
    background: var(--o);
    border-radius: 1px;
}

:where(.pg-glasfaser) .faq-row h3 {
    font-size: 0.97rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.45rem;
}

:where(.pg-glasfaser) .faq-row p {
    font-size: 0.91rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.75;
}

:where(.pg-glasfaser) .s-cta {
    background: var(--light);
    padding: 5rem 2rem;
    position: relative;
}

:where(.pg-home, .pg-nis2, .pg-zaehler) .faq-row h3 {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.45rem;
}

:where(.pg-home, .pg-nis2, .pg-zaehler) .faq-row p {
    font-size: 0.91rem;
    color: var(--dim);
    line-height: 1.75;
}

:where(.tpl-projekt, .pg-home, .pg-nis2, .pg-zaehler, .pg-projekte, .pg-referenzen) .s-cta {
    background: var(--ink);
    padding: 5rem 2rem;
    position: relative;
}

:where(.tpl-landing) .cta-wrap {
    max-width: 1280px;
    margin: 0 auto;
}

:where(.pg-glasfaser) .cta-spine {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 80px;
    display: flex;
    gap: var(--bar-gap);
    padding: 0 16px;
    border-right: 1px solid rgba(245, 160, 0, 0.3);
}

:where(.pg-glasfaser) .cta-spine span {
    display: block;
    width: var(--bar-w);
    background: var(--o);
    opacity: 0.5;
}

:where(.tpl-projekt, .pg-home, .pg-nis2, .pg-zaehler, .pg-projekte, .pg-referenzen) .cta-spine {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 80px;
    display: flex;
    gap: var(--bar-gap);
    padding: 0 16px;
    border-right: 1px solid rgba(245, 160, 0, 0.15);
}

:where(.tpl-projekt, .pg-home, .pg-nis2, .pg-zaehler, .pg-projekte, .pg-referenzen) .cta-spine span {
    display: block;
    width: var(--bar-w);
    background: var(--o);
    opacity: 0.7;
}

:where(.tpl-landing) .cta-body {
    padding: 0 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

:where(.pg-glasfaser) .cta-text-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 0.75rem;
}

:where(.pg-glasfaser) .cta-headline {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.05;
}

:where(.pg-glasfaser) .cta-sub {
    font-size: 0.95rem;
    color: var(--mid);
    margin-top: 0.6rem;
    max-width: 400px;
}

:where(.tpl-projekt, .pg-home, .pg-nis2, .pg-zaehler, .pg-projekte, .pg-referenzen) .cta-text-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 0.75rem;
}

:where(.tpl-projekt, .pg-home, .pg-nis2, .pg-zaehler, .pg-projekte, .pg-referenzen) .cta-headline {
    font-family: 'Barlow Condensed', Helvetica, Arial, sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.05;
}

:where(.pg-projekte, .pg-projekt-stadtwerke) .cta-sub {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.6rem;
    max-width: 420px;
}

:where(.pg-nis2, .pg-zaehler, .pg-projekt-filialen, .pg-projekt-lorawan, .pg-projekt-parksystem) .cta-sub {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.6rem;
    max-width: 440px;
}

:where(.pg-home, .pg-referenzen) .cta-sub {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.6rem;
    max-width: 400px;
}

:where(.tpl-landing) .btn-orange {
    background: var(--o);
    color: var(--ink);
    font-weight: 800;
    font-size: 0.78rem;
    padding: 1rem 2.5rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s;
}

:where(.tpl-landing) .btn-orange:hover {
    background: var(--o2);
}

@media (max-width: 640px) {
    :where(.tpl-landing) .cta-spine {
        width: 40px;
        padding: 0 8px;
    }
    :where(.tpl-landing) .cta-body {
        padding: 0 1.5rem;
    }
}

footer {
    background: #0a0a0a;
    border-top: 3px solid var(--o);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.25);
}

.footer-links {
    display: flex;
    gap: 1.75rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    transition: color 0.15s;
}

.footer-links a:hover {
    color: var(--o);
}

@media (max-width: 1023px) {
    .hero-body {
        padding-left: calc(80px + 2rem);
        padding-right: 2rem;
    }
    .hero h1,
    .sh-title,
    .cta-headline,
    .branche h3,
    .doc-wrap h2,
    .page-header h1 {
        overflow-wrap: break-word;
    }
    .intro-grid > *,
    .praxis-grid > *,
    .komp-body > *,
    .branchen-grid > * {
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .hero-body {
        padding-left: calc(40px + 1.25rem);
        padding-right: 1.25rem;
    }
    .hero-eyebrow {
        margin-bottom: 1.5rem;
    }
    .hero h1 {
        margin-bottom: 1.75rem;
    }
    .hero-buttons a {
        text-align: center;
    }
    .s-branchen,
    .s-komp,
    .s-leist,
    .s-trans,
    .s-faq,
    .s-intro {
        padding-top: 4rem;
        padding-bottom: 4rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    .sh {
        margin-bottom: 2rem;
    }
    .leist-row > :nth-child(n+3) {
        grid-column: 2;
        min-width: 0;
    }
    .leist-row:hover {
        margin: 0;
        padding: 2rem 0;
    }
    .leist-more-item {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
    .branchen-note {
        padding: 1.5rem 1.25rem;
        gap: 1rem;
    }
    .branchen-note p {
        flex-basis: 100%;
    }
    .trans-cell {
        padding: 2rem 1.5rem;
    }
    .cert-tile--wide {
        height: 160px;
    }
    .cert-tile--wide img {
        max-height: 140px;
        max-width: 100%;
    }
    .fact-card {
        padding: 1.5rem 1.25rem 1rem;
    }
    .fact-card dl > div,
    .praxis-card dl > div {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }
    .praxis-card {
        padding: 1.5rem 1.25rem 1rem;
    }
    .faq-row {
        grid-template-columns: 24px 1fr;
        gap: 1rem;
    }
    #mobile-menu a {
        padding: 0.85rem 0;
    }
    .nav-toggle {
        padding: 10px;
    }
    main a,
    p a,
    li a,
    dd a {
        overflow-wrap: anywhere;
    }
}

@media (max-width: 400px) {
    .btn-orange {
        white-space: normal;
        max-width: 100%;
        text-align: center;
    }
    .doc-wrap h2 {
        max-width: 100%;
    }
}

/* Bilder mit width/height-Attributen behalten ihr Seitenverhältnis */
img[width][height] {
    height: auto;
}

/* ══════════════════════════════════════════════════════════
   Optik-Feinschliff (gilt für alle Seiten)
   ══════════════════════════════════════════════════════════ */

/* Footer-Links sind ebenfalls ein <nav>, sollen aber nicht wie die
   Hauptnavigation aussehen (kein Sticky, kein Hintergrund, keine Linie) */
footer nav.footer-links {
    position: static;
    z-index: auto;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: 0;
}

/* Hero- und CTA-Text halten auf mittleren Desktop-Breiten (1024–1400px)
   Abstand zum orangen Seitenbalken (80px). Ab ca. 1400px unverändert. */
@media (min-width: 1024px) {
    .hero-body {
        padding-left: max(3rem, calc(80px + 2.5rem - max(0px, (100vw - 1280px) / 2)));
    }
    .cta-body {
        padding-left: max(3rem, calc(88px - max(0px, (100vw - 1344px) / 2)));
    }
}

/* Sprungziele (z. B. /#leistungen) nicht unter der fixierten Navigation verstecken */
[id] {
    scroll-margin-top: 72px;
}

/* Sichtbarer Tastatur-Fokus in Markenfarbe */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--o);
    outline-offset: 3px;
}

/* Textauswahl in Markenfarbe */
::selection {
    background: rgba(245, 160, 0, 0.35);
}

/* Mobiles Menü: Burger-Symbol wird beim Öffnen zum X */
.nav-toggle span {
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .nav-toggle span {
        transition: none;
    }
}
