/* Elektro Mustermann – Verbindungssystem, Version 2 */
@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-400.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-500.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-600.ttf') format('truetype');
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-700.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-800.ttf') format('truetype');
    font-weight: 800;
    font-display: swap;
}
:root {
    --ink: #17242d;
    --muted: #53616b;
    --blue: #1256e8;
    --dark: #101b24;
    --line: #cbd4dc;
    --light: #eff3f5;
    --trace: #5f83a3;
    --max: 1280px;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 160px;
}
body {
    margin: 0;
    font: 18px/1.75 'Manrope', sans-serif;
    color: var(--ink);
    background: #fff;
}
::selection {
    color: #fff;
    background: var(--blue);
}
a {
    color: inherit;
    text-underline-offset: 5px;
}
button, input, select, textarea {
    font: inherit;
}
button, a {
    -webkit-tap-highlight-color: transparent;
}
:focus-visible {
    outline: 3px solid #4b8fff;
    outline-offset: 5px;
}
img {
    display: block;
    width: 100%;
    height: auto;
}
svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}
h1, h2, h3 {
    margin: 0;
    line-height: 1.13;
    letter-spacing: -.035em;
    text-wrap: balance;
    overflow-wrap: anywhere;
    hyphens: manual;
}
h1 {
    font-size: clamp(2.8rem, 5.2vw, 5.3rem);
    font-weight: 700;
}
h2 {
    font-size: clamp(2rem, 3.3vw, 3.2rem);
    font-weight: 600;
    margin-bottom: 25px;
}
h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 13px;
}
p {
    margin: 0 0 24px;
}
.container {
    width: min(var(--max), calc(100% - 96px));
    margin-inline: auto;
}
.section {
    padding-block: 110px;
}
.soft {
    background: var(--light);
}
.dark {
    color: #fff;
    background: var(--dark);
}
.dark p {
    color: #c7d4de;
}
.lead {
    font-size: 1.16rem;
    color: var(--muted);
    line-height: 1.8;
}
.skip {
    position: fixed;
    z-index: 30;
    top: -100px;
    left: 20px;
    background: #fff;
    padding: 12px;
}
.skip:focus {
    top: 10px;
}
/* Zweistufiger Kopf mit eigener Leistungsübersicht */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    color: #fff;
    background: var(--dark);
}
.header-top {
    display: flex;
    align-items: center;
    min-height: 91px;
    gap: 50px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    line-height: 1.08;
}
.brand strong {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.035em;
}
.brand-mark {
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--blue);
}
.brand-mark svg {
    width: 34px;
    height: 34px;
}
.header-region {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #c0ced8;
    font-size: 15px;
    line-height: 1.5;
}
.header-region svg {
    color: #7faaff;
    width: 20px;
}
.header-phone {
    display: flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
}
.header-phone svg {
    width: 21px;
    color: #7faaff;
}
.header-phone small {
    display: block;
    font-size: 14px;
    color: #c0ced8;
}
.header-phone strong {
    display: block;
    font-size: 19px;
    font-weight: 600;
}
.header-bottom {
    border-top: 1px solid #334452;
}
.nav {
    display: flex;
    align-items: stretch;
    min-height: 58px;
    gap: 27px;
}
.nav > a, .services-toggle {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    position: relative;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    padding-block: 15px;
    border: 0;
    color: #fff;
    background: transparent;
    cursor: pointer;
}
.nav > a::after, .services-toggle::after {
    position: absolute;
    content: '';
    left: 0;
    right: 0;
    height: 2px;
    bottom: 0;
    background: #72a2ff;
    transform: scaleX(0);
    transition: transform .2s;
    transform-origin: left;
}
.nav > a:hover::after, .nav > a[aria-current]::after, .services-toggle:hover::after, .services-toggle[aria-expanded='true']::after, .services-toggle[aria-current]::after {
    transform: scaleX(1);
}
.services-toggle svg {
    width: 16px;
    height: 16px;
    transition: transform .25s;
}
.services-toggle[aria-expanded='true'] svg {
    transform: rotate(180deg);
}
.nav-services {
    display: flex;
}
.nav .nav-cta {
    margin-left: auto;
    padding: 15px 26px;
    background: var(--blue);
}
.nav .nav-cta:hover {
    background: #0b43bc;
}
.nav .nav-cta::after {
    display: none;
}
.nav-cta svg {
    width: 18px;
}
.menu-toggle {
    display: none;
    border: 1px solid #506271;
    background: transparent;
    color: #fff;
    padding: 13px 14px;
    cursor: pointer;
    align-items: center;
    gap: 13px;
}
.menu-bars {
    position: relative;
    width: 22px;
    height: 13px;
    border-block: 1.5px solid #fff;
}
.menu-bars::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 0;
    width: 14px;
    border-top: 1.5px solid #fff;
}
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f5f7f9;
    color: var(--ink);
    border-bottom: 2px solid var(--blue);
    box-shadow: 0 24px 45px #07152121;
}
.mega-menu[hidden] {
    display: none;
}
.mega-inner {
    padding-block: 35px;
    display: grid;
    grid-template-columns: .9fr 2fr;
    gap: 48px;
}
.mega-intro {
    padding: 30px;
    color: #fff;
    background: var(--blue);
}
.mega-intro .led {
    margin-bottom: 20px;
}
.mega-intro h2 {
    font-size: 27px;
    font-weight: 500;
}
.mega-intro p {
    color: #e2eaff;
    font-size: 17px;
}
.mega-intro .text-link:hover {
    color: #fff;
    text-decoration: underline;
}
.mega-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
}
.mega-link {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 21px 0;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
}
.mega-link > svg {
    color: var(--blue);
    width: 22px;
    margin-top: 2px;
}
.mega-link > svg:last-child {
    width: 16px;
    margin-left: auto;
}
.mega-link strong {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
}
.mega-link small {
    display: block;
    color: var(--muted);
    line-height: 1.6;
    font-size: 17px;
}
.mega-link:hover strong {
    color: var(--blue);
}
/* Aktionen */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 23px;
    min-height: 56px;
    padding: 15px 24px;
    background: var(--blue);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background .2s;
}
.button:hover {
    background: #0b43bc;
}
.button.secondary {
    background: transparent;
    color: inherit;
    border-color: #8295a4;
}
.button.secondary:hover {
    background: #8fa9be1a;
}
.button svg {
    width: 18px;
    height: 18px;
}
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}
.text-link {
    display: inline-flex;
    gap: 25px;
    align-items: center;
    font-size: 18px;
    text-decoration: none;
    font-weight: 700;
    padding-block: 14px;
}
.text-link svg {
    width: 19px;
}
.text-link:hover {
    color: var(--blue);
}
/* Feste Leiterbahnen: Dioden markieren ausschließlich End- und Verbindungspunkte */
.led {
    display: inline-block;
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    color: #8dc4ff;
    background: #b6dcff;
    box-shadow: 0 0 0 4px #3e89ff20, 0 0 12px 2px #318aff90;
    animation: diode 4.7s ease-in-out infinite;
}
@keyframes diode {
    0%, 100% {
        opacity: .4;
    }
    40%, 65% {
        opacity: 1;
    }
}
.trace {
    stroke: var(--trace);
    stroke-width: 2;
    fill: none;
    vector-effect: non-scaling-stroke;
}
svg .led {
    fill: #c6e7ff;
    stroke: #569bff;
    stroke-width: 3;
    filter: drop-shadow(0 0 5px #4d9bff);
    box-shadow: none;
}
svg .led:nth-of-type(2) {
    animation-delay: -1.4s;
    animation-duration: 5.3s;
}
svg .led:nth-of-type(3) {
    animation-delay: -3s;
    animation-duration: 6.1s;
}
svg .led:nth-of-type(4) {
    animation-delay: -.7s;
    animation-duration: 3.2s;
}
/* Startseite: asymmetrischer Werkdetail-Hero */
.hero {
    position: relative;
    background: #f4f6f7;
    overflow: hidden;
}
.hero-grid {
    min-height: 620px;
    display: grid;
    grid-template-columns: 1.02fr 1fr;
    gap: 30px;
    align-items: stretch;
}
.hero-copy {
    position: relative;
    z-index: 2;
    padding: 68px 0 55px;
}
.hero h1 {
    line-height: 1.06;
    font-size: clamp(3rem,5.1vw,5.15rem);
    margin-bottom: 30px;
    letter-spacing: -.04em;
}
.hero h1 span {
    color: var(--blue);
}
.hero-lead {
    font-size: 20px;
    line-height: 1.5;
    font-weight: 500;
    margin-bottom: 22px;
}
.hero-copy > p:not(.hero-lead) {
    max-width: 430px;
    color: var(--muted);
    font-size: 18px;
}
.hero .actions {
    gap: 18px;
}
.hero-call {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    min-height: 50px;
}
.hero-call svg {
    width: 17px;
}
.hero-local {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 37px;
    color: var(--muted);
    font-size: 14px;
}
.hero-local svg {
    width: 16px;
}
.hero-visual {
    position: relative;
    margin-right: min(-48px,calc((1280px - 100vw) / 2));
    min-width: 0;
    overflow: hidden;
    background: #1c242a;
}
.hero-photo {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    object-position: 58% center;
}
.hero-image-note {
    position: absolute;
    left: 35px;
    bottom: 30px;
    right: 40px;
    z-index: 2;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 15px;
}
.hero-image-note span:first-child {
    background: #101b24de;
    padding: 10px 14px;
}
.hero-wire {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero-wire svg {
    width: 100%;
    height: 100%;
}
.hero-wire .trace {
    stroke: #8ab2db;
}
.connection-band {
    color: #fff;
    background: var(--blue);
}
.connection-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
}
.connection-grid > a {
    position: relative;
    display: flex;
    gap: 23px;
    align-items: center;
    padding: 26px 30px;
    text-decoration: none;
    min-height: 116px;
}
.connection-grid > a:first-child {
    padding-left: 0;
}
.connection-grid > a::before {
    content: '';
    position: absolute;
    left: 3px;
    right: -3px;
    top: 49px;
    height: 2px;
    background: #9dc0ff80;
}
.connection-grid > a:last-child::before {
    right: 50px;
}
.connection-grid > a > .led {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    margin-top: 19px;
    background: #fff;
}
.connection-grid > a > span:not(.led) {
    position: relative;
    background: var(--blue);
    padding-inline: 9px;
}
.connection-grid strong {
    display: block;
    font-size: 21px;
    font-weight: 500;
}
.connection-grid small {
    display: block;
    color: #e5edff;
    font-size: 15px;
    margin-top: 6px;
}
.connection-grid svg {
    position: relative;
    margin-left: auto;
    width: 22px;
    background: var(--blue);
}
.connection-grid a:hover strong {
    text-decoration: underline;
    text-underline-offset: 6px;
}
/* Leistungen als verbundene Anschlussfelder */
.section-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 52px;
}
.section-top h2 {
    margin-bottom: 0;
}
.section-top > p {
    max-width: 390px;
    color: var(--muted);
    font-size: 18px;
    margin-bottom: 4px;
}
.dark .section-top > p {
    color: #c7d4de;
}
.service-matrix {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 60px;
}
.service-module {
    display: flex;
    align-items: flex-start;
    position: relative;
    gap: 25px;
    text-decoration: none;
    padding: 32px 0;
    border-top: 1px solid var(--line);
}
.module-icon {
    margin-top: 4px;
    color: var(--blue);
}
.module-icon svg {
    width: 30px;
    height: 30px;
}
.module-copy {
    flex: 1;
}
.module-copy h3 {
    font-size: 22px;
    margin-bottom: 12px;
}
.module-copy p {
    color: var(--muted);
    font-size: 17px;
    margin: 0;
    max-width: 330px;
}
.module-terminal {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding-top: 12px;
    align-self: stretch;
    min-width: 28px;
}
.module-terminal::before {
    content: '';
    position: absolute;
    top: -34px;
    bottom: -34px;
    left: 50%;
    border-left: 2px solid #b4c7d7;
    z-index: -1;
}
.module-terminal .led {
    width: 6px;
    height: 6px;
    background: #3480ff;
}
.module-terminal svg {
    width: 20px;
    color: var(--ink);
}
.service-module:nth-child(3n+1) .led {
    animation-duration: 6.1s;
    animation-delay: -1.2s;
}
.service-module:nth-child(3n+2) .led {
    animation-duration: 3.2s;
    animation-delay: -2.2s;
}
.service-module:hover h3 {
    color: var(--blue);
}
.service-module:hover .module-terminal svg {
    color: var(--blue);
    transform: translateX(4px);
}
.service-module:last-child, .service-module:nth-last-child(2) {
    border-bottom: 1px solid var(--line);
}
/* Raum, Material und Technik */
.architecture-section {
    padding-block: 0 110px;
}
.architecture-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}
.architecture-image {
    position: relative;
}
.architecture-image > img {
    height: 590px;
    object-fit: cover;
}
.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #101b24e8;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 28px;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
}
.image-caption svg {
    width: 20px;
}
.architecture-copy {
    padding-block: 20px;
}
.architecture-copy > p:not(.lead) {
    color: var(--muted);
    font-size: 18px;
}
.feature-list {
    list-style: none;
    padding: 0;
    margin: 26px 0;
}
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-block: 12px;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
}
.feature-list svg {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    color: var(--blue);
}
.dark .feature-list li {
    border-color: #405463;
}
/* Ablauf: eine gemeinsame Leitung, vier feste Anschlussstellen */
.process-section {
    overflow: hidden;
}
.process-route, .steps {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 35px;
    padding-top: 25px;
}
.process-step, .step {
    position: relative;
    padding-top: 35px;
}
.process-step::before, .step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 4px;
    right: -39px;
    border-top: 2px solid #67839a;
}
.process-step:last-child::before, .step:last-child::before {
    right: 25%;
}
.process-step > .led, .step > .led {
    position: absolute;
    left: 0;
    top: -3px;
}
.process-step:nth-child(2) > .led, .step:nth-child(2) > .led {
    animation-delay: -1.2s;
}
.process-step:nth-child(3) > .led, .step:nth-child(3) > .led {
    animation-delay: -2.4s;
}
.process-step:nth-child(4) > .led, .step:nth-child(4) > .led {
    animation-delay: -3.6s;
}
.step-number {
    display: block;
    font-size: 18px;
    color: #9cbdff;
    margin-bottom: 25px;
}
.process-step h3, .step h3 {
    font-size: 22px;
}
.process-step p, .step p {
    font-size: 17px;
    margin-bottom: 0;
}
/* Musterprojekte als Bildstrecke */
.projects {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 40px 28px;
}
.project img {
    height: 290px;
    object-fit: cover;
    margin-bottom: 25px;
}
.project:nth-child(3n+2) {
    padding-top: 55px;
}
.project-label {
    font-size: 15px;
    color: var(--muted);
    display: block;
    margin-bottom: 12px;
}
.project h3 {
    font-size: 23px;
}
.project p, .project li {
    color: var(--muted);
    font-size: 17px;
}
.project ul {
    padding-left: 18px;
    margin-top: 18px;
}
.project-section .text-link {
    margin-top: 20px;
}
/* Zusammenarbeit und Region */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}
.split > *, .contact-layout > *, .hero-grid > * {
    min-width: 0;
}
.split .editorial-photo {
    height: 510px;
    object-fit: cover;
}
.split p {
    max-width: 62ch;
}
.reasons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
}
.reason {
    padding-top: 22px;
    border-top: 1px solid #aebfcb;
}
.reason h3 {
    font-size: 19px;
}
.reason p {
    color: var(--muted);
    font-size: 17px;
    margin: 0;
}
.region-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 100px;
}
.region-grid > div:first-child > p {
    color: var(--muted);
    max-width: 460px;
}
.region-connection {
    padding: 40px 0;
}
.region-point {
    display: flex;
    gap: 20px;
    align-items: center;
}
.region-point .led {
    background: #3984ff;
}
.region-point strong {
    font-size: 50px;
    font-weight: 600;
    letter-spacing: -.04em;
    line-height: 1.2;
}
.region-stem {
    height: 50px;
    border-left: 2px solid #6b8ba4;
    margin-left: 3px;
}
.region-destinations {
    display: flex;
    gap: 30px;
    border-top: 2px solid #6b8ba4;
    padding-top: 20px;
}
.region-destinations > span {
    display: flex;
    align-items: center;
    position: relative;
    gap: 12px;
    font-size: 18px;
}
.region-destinations .led {
    position: absolute;
    top: -25px;
    left: 0;
    background: #3984ff;
}
.region-destinations > span:nth-child(2) .led {
    animation-delay: -1.5s;
}
.region-destinations > span:nth-child(3) .led {
    animation-delay: -3s;
}
.region-connection > p {
    font-size: 17px;
    color: var(--muted);
    margin: 25px 0 0;
}
.cta {
    padding-block: 85px;
    overflow: hidden;
}
.cta > .container {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
    gap: 80px;
}
.cta h2 {
    font-size: clamp(2.2rem,3.5vw,3.6rem);
}
.cta p {
    max-width: 550px;
    font-size: 18px;
}
.circuit {
    pointer-events: none;
}
.circuit svg {
    width: 100%;
    height: auto;
    overflow: visible;
}
/* Unterseiten behalten die gleiche Verbindungssprache */
.page-intro {
    position: relative;
    overflow: hidden;
    padding-block: 60px 75px;
    background: #edf2f6;
    border-bottom: 2px solid #a2b8ca;
}
.page-intro::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 10%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2681ff;
    box-shadow: 0 0 12px #2681ff;
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 38px;
    font-size: 15px;
    color: var(--muted);
}
.page-intro h1 {
    max-width: 1000px;
    margin-bottom: 28px;
    font-size: clamp(2.5rem,4.4vw,4.25rem);
}
.page-intro .lead {
    max-width: 780px;
    margin-bottom: 0;
}
.detail-block {
    padding-block: 70px;
    border-bottom: 1px solid var(--line);
    gap: 75px;
}
.detail-block h2 {
    font-size: 2.6rem;
}
.detail-block img {
    height: 400px;
    object-fit: cover;
}
.detail-block:nth-child(even) > div {
    order: 2;
}
.detail-block:nth-child(even) > img {
    order: 1;
}
.detail-block p {
    color: var(--muted);
}
.legal {
    max-width: 850px;
}
.legal h2 {
    font-size: 1.7rem;
    margin-top: 42px;
}
.notice {
    padding: 25px;
    background: #e9f0f6;
    color: #3b5163;
    font-size: 18px;
    margin-bottom: 45px;
}
details {
    border-bottom: 1px solid var(--line);
    padding-block: 23px;
}
summary {
    font-weight: 600;
    cursor: pointer;
}
details p {
    margin: 15px 0 0;
    color: var(--muted);
}
.contact-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 85px;
    align-items: start;
}
.contact-details {
    background: var(--light);
    padding: 35px;
    border-top: 2px solid #9cb5cb;
}
.contact-details h2 {
    font-size: 1.6rem;
}
.contact-details h3 {
    font-size: 1.2rem;
}
.contact-details address {
    font-style: normal;
}
.contact-details a {
    overflow-wrap: anywhere;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.field.full {
    grid-column: 1 / -1;
}
label {
    font-size: 18px;
    font-weight: 600;
}
input, select, textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid #9bafbe;
    border-radius: 0;
    padding: 13px 14px;
    color: var(--ink);
    background: #fff;
    caret-color: var(--blue);
}
textarea {
    min-height: 160px;
    resize: vertical;
}
input::placeholder, textarea::placeholder {
    color: #5f6f7c;
    opacity: 1;
}
.check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-block: 25px;
    font-weight: 400;
}
.check input {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 4px;
    accent-color: var(--blue);
}
.form-note {
    font-size: 17px;
    color: var(--muted);
}
.form-result {
    margin-top: 25px;
    padding: 25px;
    background: #e9f0f6;
}
.form-result[hidden] {
    display: none;
}
/* Footer – ausdrücklich ohne Copyright-Vermerk, größere Abschlusszeile */
.site-footer {
    background: #09121a;
    color: #fff;
    padding-top: 70px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1.2fr .8fr 1fr;
    gap: 45px;
    padding-bottom: 55px;
}
.site-footer .brand {
    margin-bottom: 25px;
}
.site-footer p, .site-footer address {
    color: #bccbd6;
}
.site-footer h3 {
    font-size: 18px;
    letter-spacing: 0;
    margin-bottom: 22px;
}
.site-footer p, .site-footer address, .site-footer li {
    font-size: 17px;
    font-style: normal;
}
.site-footer address a {
    overflow-wrap: anywhere;
}
.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer li {
    margin-bottom: 11px;
}
.site-footer a {
    text-decoration: none;
}
.site-footer a:hover {
    color: #9dbfff;
}
.footer-bottom {
    border-top: 1px solid #344858;
    padding-block: 23px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    color: #c5d3de;
    font-size: 18px;
}
.footer-bottom > div {
    display: flex;
    gap: 30px;
}
.footer-bottom a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
}
.mobile-contact {
    display: none;
}
/* Tablet: Navigation wird zum gegliederten, scrollbar erreichbaren Menü */
@media (max-width: 1100px) {
    .container {
        width: calc(100% - 64px);
    }
    .header-top {
        min-height: 84px;
        gap: 30px;
    }
    .header-region {
        display: none;
    }
    .header-phone {
        margin-left: auto;
    }
    .menu-toggle {
        display: inline-flex;
    }
    .header-bottom {
        border: 0;
    }
    .nav {
        display: none;
        position: absolute;
        top: 84px;
        left: 0;
        right: 0;
        max-height: calc(100dvh - 84px);
        overflow-y: auto;
        padding: 20px 32px 30px;
        background: var(--dark);
        border-bottom: 2px solid #5a7d99;
        gap: 0;
    }
    .nav.is-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .nav > a, .services-toggle {
        padding: 17px 0;
        font-size: 18px;
    }
    .nav > a {
        border-top: 1px solid #344858;
    }
    .nav-services {
        display: block;
        border-top: 1px solid #344858;
    }
    .services-toggle {
        width: 100%;
        justify-content: space-between;
    }
    .nav .nav-cta {
        margin: 15px 0 0;
        padding: 17px 20px;
        justify-content: space-between;
    }
    .mega-menu {
        position: static;
        margin: 10px 0 20px;
        box-shadow: none;
        border: 0;
    }
    .mega-inner {
        width: 100%;
        padding: 0;
        display: block;
    }
    .mega-intro {
        padding: 25px;
    }
    .mega-intro h2 {
        font-size: 25px;
    }
    .mega-intro > p, .mega-intro > .led {
        display: none;
    }
    .mega-intro .text-link {
        padding-block: 0;
    }
    .mega-links {
        padding: 0 25px 10px;
    }
    .hero-grid {
        min-height: 580px;
    }
    .hero-copy {
        padding-block: 55px;
    }
    .hero h1 {
        font-size: 5vw;
    }
    .hero-visual {
        margin-right: -32px;
    }
    .connection-grid > a {
        padding-inline: 18px;
        gap: 12px;
    }
    .connection-grid strong {
        font-size: 18px;
    }
    .connection-grid small {
        font-size: 14px;
    }
    .architecture-grid, .split {
        gap: 45px;
    }
    .architecture-image > img {
        height: 550px;
    }
    .service-matrix {
        column-gap: 35px;
    }
    .service-module {
        gap: 18px;
    }
    .module-copy h3 {
        font-size: 20px;
    }
    .region-grid {
        gap: 60px;
    }
    .cta > .container {
        gap: 45px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 900px) {
    .section {
        padding-block: 80px;
    }
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .hero h1 {
        font-size: 5.2vw;
    }
    .hero-lead {
        font-size: 19px;
    }
    .hero .actions {
        display: block;
    }
    .hero-call {
        margin-top: 10px;
    }
    .section-top {
        gap: 30px;
    }
    .architecture-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
    .architecture-copy h2 {
        font-size: 2rem;
    }
    .projects {
        gap: 30px 20px;
    }
    .project img {
        height: 230px;
    }
    .project h3 {
        font-size: 20px;
    }
    .process-route, .steps {
        gap: 25px;
    }
    .process-step::before, .step::before {
        right: -29px;
    }
    .process-step h3, .step h3 {
        font-size: 18px;
    }
    .region-destinations {
        gap: 20px;
    }
    .region-destinations > span {
        font-size: 15px;
    }
    .contact-layout {
        gap: 35px;
    }
    .contact-details {
        padding: 25px;
    }
}
/* Smartphone: dieselben Verbindungen, vertikal geführt */
@media (max-width: 700px) {
    html {
        scroll-padding-top: 100px;
    }
    .container {
        width: calc(100% - 40px);
    }
    .section {
        padding-block: 65px;
    }
    h2 {
        font-size: 2.1rem;
    }
    .header-top {
        min-height: 78px;
        gap: 20px;
    }
    .brand {
        gap: 10px;
    }
    .brand strong {
        font-size: 18px;
    }
    .brand-mark {
        width: 39px;
        height: 43px;
    }
    .brand-mark svg {
        width: 28px;
    }
    .header-phone {
        display: none;
    }
    .menu-toggle {
        margin-left: auto;
        padding: 13px 12px;
    }
    .menu-toggle > span:first-child {
        font-size: 15px;
    }
    .nav {
        top: 78px;
        max-height: calc(100dvh - 78px);
        padding: 15px 20px 25px;
    }
    .mega-links {
        grid-template-columns: 1fr;
        padding-inline: 20px;
    }
    .mega-link small {
        font-size: 17px;
    }
    .mega-intro h2 {
        font-size: 24px;
    }
    .hero-grid {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .hero-copy {
        padding: 42px 20px 35px;
    }
    .hero h1 {
        font-size: clamp(2.4rem,10.4vw,4rem);
        margin-bottom: 24px;
        line-height: 1.1;
    }
    .hero-lead {
        font-size: 18px;
    }
    .hero-copy > p:not(.hero-lead) {
        font-size: 18px;
    }
    .hero .actions {
        display: flex;
        gap: 8px 20px;
    }
    .hero .actions .button {
        padding-inline: 20px;
    }
    .hero-call {
        margin-top: 0;
        font-size: 17px;
    }
    .hero-local {
        margin-top: 22px;
        font-size: 14px;
    }
    .hero-visual {
        margin: 0;
        width: 100%;
        height: 310px;
    }
    .hero-photo {
        object-position: 56% 50%;
    }
    .hero-image-note {
        left: 20px;
        right: 25px;
        bottom: 18px;
    }
    .hero-image-note span:first-child {
        font-size: 14px;
    }
    .hero-wire .trace {
        stroke-width: 2;
    }
    .hero-wire svg .led:not(:last-child) {
        animation: none;
        opacity: .8;
    }
    .connection-grid {
        grid-template-columns: 1fr;
    }
    .connection-grid > a, .connection-grid > a:first-child {
        min-height: 95px;
        padding: 21px 0;
        gap: 24px;
    }
    .connection-grid > a::before {
        left: 3px;
        top: 0;
        bottom: 0;
        right: auto;
        height: auto;
        width: 2px;
    }
    .connection-grid > a:last-child::before {
        right: auto;
        height: 45px;
    }
    .connection-grid > a > .led {
        margin-top: 20px;
    }
    .connection-grid > a > span:not(.led) {
        padding-inline: 0;
    }
    .connection-grid strong {
        font-size: 20px;
    }
    .connection-grid small {
        font-size: 15px;
    }
    .connection-grid svg {
        width: 21px;
    }
    .section-top {
        display: block;
        margin-bottom: 35px;
    }
    .section-top h2 {
        margin-bottom: 22px;
    }
    .section-top > p {
        margin-bottom: 0;
    }
    .service-matrix {
        grid-template-columns: 1fr;
    }
    .service-module {
        gap: 18px;
        padding-block: 27px;
    }
    .module-icon svg {
        width: 25px;
        height: 25px;
    }
    .module-copy h3 {
        font-size: 20px;
    }
    .module-copy p {
        font-size: 17px;
    }
    .module-terminal {
        min-width: 22px;
        gap: 35px;
    }
    .service-module:nth-last-child(2) {
        border-bottom: 0;
    }
    .architecture-section {
        padding-top: 0;
    }
    .architecture-grid {
        display: flex;
        flex-direction: column;
        gap: 35px;
    }
    .architecture-image {
        width: 100%;
    }
    .architecture-image > img {
        height: 390px;
    }
    .image-caption {
        padding: 18px;
        font-size: 15px;
    }
    .architecture-copy {
        padding: 0;
    }
    .architecture-copy h2 {
        font-size: 2.1rem;
    }
    .process-route, .steps {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
    }
    .process-step, .step {
        padding: 0 0 35px 35px;
    }
    .process-step:last-child, .step:last-child {
        padding-bottom: 0;
    }
    .process-step::before, .step::before {
        top: 8px;
        left: 3px;
        bottom: 0;
        right: auto;
        border-top: 0;
        border-left: 2px solid #67839a;
    }
    .process-step:last-child::before, .step:last-child::before {
        display: none;
    }
    .process-step > .led, .step > .led {
        top: 8px;
    }
    .step-number {
        display: inline-block;
        margin-bottom: 12px;
    }
    .process-step h3, .step h3 {
        font-size: 22px;
    }
    .process-step p, .step p {
        font-size: 18px;
    }
    .projects {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .project:nth-child(3n+2) {
        padding-top: 0;
    }
    .project img {
        height: 280px;
    }
    .project h3 {
        font-size: 24px;
    }
    .project p, .project li {
        font-size: 18px;
    }
    .split, .region-grid, .contact-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .split .editorial-photo {
        height: 340px;
    }
    .reasons {
        gap: 25px;
    }
    .reason h3 {
        font-size: 18px;
    }
    .region-connection {
        padding-block: 20px 0;
    }
    .region-point strong {
        font-size: 45px;
    }
    .region-destinations {
        gap: 35px;
    }
    .region-destinations > span {
        font-size: 17px;
    }
    .cta {
        padding-block: 65px;
    }
    .cta > .container {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .cta h2 {
        font-size: 2.4rem;
    }
    .cta .circuit {
        max-width: 300px;
        margin-left: auto;
    }
    .cta .circuit .led:nth-of-type(2n) {
        animation: none;
    }
    .cta .actions {
        align-items: stretch;
        gap: 12px;
    }
    .cta .actions .button {
        flex-grow: 1;
    }
    .page-intro {
        padding-block: 35px 45px;
    }
    .breadcrumb {
        margin-bottom: 30px;
    }
    .page-intro h1 {
        font-size: 2.5rem;
    }
    .page-intro .lead {
        font-size: 1.125rem;
    }
    .detail-block {
        padding-block: 55px;
    }
    .detail-block h2 {
        font-size: 2.1rem;
    }
    .detail-block img {
        height: 280px;
    }
    .detail-block:nth-child(even) > div, .detail-block:nth-child(even) > img {
        order: initial;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .contact-details {
        padding: 30px 25px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px 20px;
    }
    .footer-grid > :first-child, .footer-grid > :nth-child(2) {
        grid-column: 1 / -1;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        font-size: 18px;
        padding-bottom: 95px;
    }
    .footer-bottom > div {
        gap: 30px;
    }
    .mobile-contact {
        display: flex;
        position: fixed;
        bottom: 0;
        inset-inline: 0;
        z-index: 19;
        padding: 10px 20px max(10px,env(safe-area-inset-bottom));
        gap: 10px;
        background: #fff;
        border-top: 1px solid var(--line);
    }
    .mobile-contact .button {
        flex: 1;
        min-height: 44px;
        padding: 10px;
        font-size: 15px;
        gap: 10px;
    }
    .mobile-contact .secondary {
        color: var(--ink);
    }
}
@media (max-width: 360px) {
    .menu-toggle > span:first-child {
        display: none;
    }
    .hero h1 {
        font-size: 2.35rem;
    }
    .reasons {
        grid-template-columns: 1fr;
    }
    .region-destinations {
        gap: 24px;
    }
    .region-destinations > span {
        font-size: 15px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
    .led {
        opacity: .85;
    }
}
/* Reine Referenzgalerie mit nativer, modal fokussierter Lightbox. */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.gallery-page {
    padding-block: 48px 90px;
}
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--light);
    aspect-ratio: 4 / 3;
}
.gallery-item img {
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease-out;
}
.gallery-item:hover img {
    transform: scale(1.035);
}
.gallery-zoom {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: #fff;
    background: var(--blue);
    font-size: 28px;
    line-height: 1;
    transition: background .2s;
}
.gallery-item:hover .gallery-zoom {
    background: #0b43bc;
}
.lightbox-open {
    overflow: hidden;
}
.gallery-lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 20px 32px;
    border: 0;
    color: #fff;
    background: #09121af5;
    overscroll-behavior: contain;
}
.gallery-lightbox::backdrop {
    background: #09121a;
}
.gallery-lightbox[open] {
    display: flex;
    flex-direction: column;
}
.lightbox-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.lightbox-counter {
    margin: 0;
    font-variant-numeric: tabular-nums;
    font-size: 18px;
}
.gallery-lightbox button {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border: 1px solid #637582;
    background: #17242d;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
}
.gallery-lightbox button:hover {
    background: var(--blue);
    border-color: var(--blue);
}
.lightbox-stage {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    align-items: center;
    gap: 24px;
}
.lightbox-stage figure {
    margin: 0;
    min-width: 0;
}
.lightbox-image {
    height: calc(100dvh - 180px);
    width: 100%;
    object-fit: contain;
    touch-action: pan-y;
}
.lightbox-caption {
    margin-top: 16px;
    text-align: center;
    font-size: 17px;
    color: #d3dfe8;
}
@media (max-width: 1100px) {
    .photo-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 700px) {
    .gallery-page {
        padding-block: 24px 48px;
    }
    .photo-gallery {
        gap: 14px;
    }
    .gallery-zoom {
        right: 8px;
        bottom: 8px;
        width: 36px;
        height: 36px;
        font-size: 24px;
    }
    .gallery-lightbox {
        padding: 16px;
    }
    .lightbox-stage {
        position: relative;
        grid-template-columns: 1fr;
        gap: 0;
        padding-bottom: 72px;
    }
    .lightbox-image {
        height: calc(100dvh - 240px);
    }
    .lightbox-prev, .lightbox-next {
        position: absolute;
        bottom: 8px;
    }
    .lightbox-prev {
        left: calc(50% - 68px);
    }
    .lightbox-next {
        right: calc(50% - 68px);
    }
    .lightbox-caption {
        font-size: 16px;
    }
}
@media (max-width: 420px) {
    .photo-gallery {
        grid-template-columns: 1fr;
    }
}
@media (prefers-reduced-motion: reduce) {
    .gallery-item img, .gallery-zoom {
        transition: none;
    }
    .gallery-item:hover img {
        transform: none;
    }
}

/* Rechenaufgabe im Kontaktformular */
.captcha-field { margin-block: 28px; }
.captcha-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.captcha-controls input { max-width: 180px; }
.captcha-refresh { padding: 12px 16px; min-height: 52px; border: 1px solid #9bafbe; color: var(--ink); background: #eff3f5; cursor: pointer; font-size: 17px; }
.captcha-refresh:hover { background: #dde7ef; }
.captcha-field p { margin: 0; }
.captcha-error { color: #a32626; font-size: 17px; }
.captcha-error:empty { display: none; }
.captcha-controls input[aria-invalid="true"] { border-color: #a32626; }
