* { box-sizing: border-box; margin: 0; padding: 0; }
:root { --section-heading-offset: clamp(2.5rem, 6vw, 5.4rem); }
html { scroll-behavior: smooth; }
body { background-color: lightgray; font-family: Arial, sans-serif; }
img { max-width: 100%; }

.header-container { position: relative; width: 100%; height: 860px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.header-slideshow { position: absolute; inset: 0; z-index: 1; }
.header-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 2s ease-in-out; }
.header-slide.active { opacity: 1; }
.header-slide--mobile { display: none; }
.mobile-laptop-screen { display: none; }
.footer-jump { display: none; }
.contact-mobile-break { display: none; }
.header-container > #StartÜberschrift { position: relative; z-index: 10; }
#StartÜberschrift { width: 100%; max-width: 700px; padding: 0 20px; text-align: left; transform: translateY(-5rem); }
h1 { color: darkblue; font-size: clamp(26px, 3.6vw, 42px); animation: BlendSlogan .8s .05s both; }
#h1groß { font-size: clamp(32px, 4.5vw, 50px); }
header h2 { margin-top: 2%; color: darkblue; font-size: clamp(19px, 2.6vw, 29px); font-weight: lighter; line-height: 120%; animation: BlendSlogan 5s 1.2s both; }
#start-scramble { opacity: 0; animation: none; }
#start-scramble.is-visible { opacity: 1; }
#start-scramble span { display: block; }
.hero-services { max-width: 38rem; margin-top: 1rem; color: darkblue; font-size: clamp(13px, 1.35vw, 17px); line-height: 1.4; animation: BlendSlogan .8s 1.45s both; }
.hero-services strong, .hero-services span { display: block; }
.hero-services strong { color: #969696; font-size: 1.08em; letter-spacing: .04em; }
.hero-services span { margin-top: .25rem; }
.hero-contact { display: flex; flex-wrap: wrap; gap: .35rem .7rem; margin-top: 1.2rem; color: #FF711D; font-size: clamp(13px, 1.4vw, 18px); font-weight: 400; line-height: 1.35; }
.hero-contact a { color: inherit; text-decoration: none; }
.hero-contact a:hover, .hero-contact a:focus-visible { color: darkblue; text-decoration: underline; text-underline-offset: .2em; }
@keyframes BlendSlogan { from { opacity: 0; } to { opacity: 1; } }

.navi { position: absolute; top: 40px; left: 0; z-index: 50; width: 100%; padding: 0 20px; display: flex; justify-content: center; }
nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; list-style: none; }
nav a { color: darkblue; font-size: 15px; font-weight: 800; letter-spacing: 2px; text-decoration: none; text-transform: uppercase; transition: color .3s ease; }
nav a:hover { color: #FF711D; }
.nav-dot { color: #FF711D; }
.hamburger, .close-btn { display: none; }
.section-rail { position: fixed; top: 50%; left: clamp(14px, 2vw, 32px); z-index: 45; display: grid; gap: .8rem; opacity: 0; pointer-events: none; transform: translate(-.75rem, -50%); transition: opacity .25s ease, transform .25s ease; }
.section-rail.is-visible { opacity: 1; pointer-events: auto; transform: translate(0, -50%); }
.section-rail a { display: flex; align-items: center; gap: .45rem; color: #969696; font-size: 10px; font-weight: 800; letter-spacing: .13em; line-height: 1; text-decoration: none; text-transform: uppercase; transition: color .2s ease; }
.section-rail a::before { width: 8px; height: 1px; flex: 0 0 auto; content: ""; background: currentColor; transition: width .2s ease; }
.section-rail a::after { margin-left: -.35rem; color: #FF711D; content: "."; }
.section-rail a:hover, .section-rail a:focus-visible, .section-rail a.is-active { color: #FF711D; }
.section-rail a.is-active::before { width: 22px; }
.section-rail a:hover::after, .section-rail a:focus-visible::after, .section-rail a.is-active::after { color: darkblue; }
.section-rail a:focus-visible { outline: 2px solid #FF711D; outline-offset: 4px; }

.pitch { padding: var(--section-heading-offset) 12% 6%; background-color: #fff; text-align: center; }
.pitch p, #ueberuns-teaser p { max-width: 900px; margin: 0 auto; color: darkblue; font-size: clamp(17px, 2vw, 24px); line-height: 155%; }
.pitch strong { color: inherit; }
#auftakt, .pitch, #ideenwerk, #ueberuns-teaser, #spuren, #anfrage { scroll-margin-top: 0; }
#anfrage { scroll-margin-top: -68px; }

.atmosphere-section { width: 100%; overflow: hidden; background: #eee; }
.atmosphere-stage { position: relative; width: 100%; min-height: 220px; height: min(56.25vw, 420px); overflow: hidden; background: #e8e8e8; }
.atmosphere-frame { position: absolute; inset: 0; display: block; opacity: 0; }
.atmosphere-frame img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(1.035); }
.atmosphere-stage.is-ready .atmosphere-frame { animation: atmosphere-fade 84s linear infinite; }
.atmosphere-stage.is-ready .atmosphere-frame img { animation: atmosphere-drift 16s ease-in-out infinite alternate; }
.atmosphere-stage.is-ready .atmosphere-frame:nth-child(1) { animation-delay: -2s; }
.atmosphere-stage.is-ready .atmosphere-frame:nth-child(2) { animation-delay: 12s; }
.atmosphere-stage.is-ready .atmosphere-frame:nth-child(3) { animation-delay: 26s; }
.atmosphere-stage.is-ready .atmosphere-frame:nth-child(4) { animation-delay: 40s; }
.atmosphere-stage.is-ready .atmosphere-frame:nth-child(5) { animation-delay: 54s; }
.atmosphere-stage.is-ready .atmosphere-frame:nth-child(6) { animation-delay: 68s; }
@keyframes atmosphere-fade { 0% { opacity: 0; } 2.38%, 16.67% { opacity: 1; } 19.05%, 100% { opacity: 0; } }
@keyframes atmosphere-drift { from { transform: scale(1.035) translate3d(-.35%, -.2%, 0); } to { transform: scale(1.09) translate3d(.35%, .2%, 0); } }
.ideenwerk-copy { width: 100%; color: darkblue; background: #eee; }
.ideenwerk-teaser { display: flex; align-items: center; justify-content: center; padding: var(--section-heading-offset) 10% 20px; }
.ideenwerk-teaser p { margin: 0; color: #FF711D; font-size: clamp(22px, 2vw, 26px); font-weight: 800; letter-spacing: 3px; text-transform: uppercase; }
.ideenwerk-content { padding: 0 12% 2.5rem; color: darkblue; text-align: center; }
.ideenwerk-content p { max-width: 900px; margin: 0 auto; color: darkblue; font-size: clamp(17px, 2vw, 24px); font-weight: 400; line-height: 155%; }
.ideenwerk-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 80%; max-width: 940px; gap: clamp(16px, 2.2vw, 30px); margin: 0 auto; padding: 0 0 6%; }
.ideenwerk-card { aspect-ratio: 1; min-width: 0; padding: 0; border: 0; background: transparent; cursor: pointer; perspective: 1200px; }
.ideenwerk-card__inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .65s cubic-bezier(.2, .7, .2, 1); }
.ideenwerk-card:focus-visible .ideenwerk-card__inner, .ideenwerk-card.is-flipped .ideenwerk-card__inner { transform: rotateY(180deg); }
@media (hover: hover) and (pointer: fine) { .ideenwerk-card:hover .ideenwerk-card__inner { transform: rotateY(180deg); } }
.ideenwerk-card__front, .ideenwerk-card__back { position: absolute; inset: 0; display: block; overflow: hidden; backface-visibility: hidden; }
.ideenwerk-card__back { transform: rotateY(180deg); }
.ideenwerk-card img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.ideenwerk-card img.ideenwerk-card__print-image, .ideenwerk-card img.ideenwerk-card__colour-image { filter: saturate(.9) contrast(1.02); }
.ideenwerk-card__back img { filter: none; }
.ideenwerk-card__label { position: absolute; right: .65rem; bottom: .6rem; padding: .2rem .35rem; color: darkblue; background: rgba(255,255,255,.84); font-size: clamp(.5rem,.7vw,.63rem); font-weight: 400; letter-spacing: .06em; }
.ideenwerk-card__label--print { padding: 0; color: rgba(0, 32, 96, .82); background: transparent; font-size: clamp(.6rem, .85vw, .76rem); font-weight: 500; letter-spacing: .08em; text-shadow: 0 1px 2px rgba(255, 255, 255, .45); }
.ideenwerk-card__label--orange { padding: 0; color: #FF711D; background: transparent; font-size: clamp(.6rem, .85vw, .76rem); font-weight: 500; letter-spacing: .08em; text-shadow: 0 1px 2px rgba(255, 255, 255, .45); }
.ideenwerk-card__front .ideenwerk-card__label { right: 2.45rem; }
.ideenwerk-card__flip-hint { position: absolute; right: .55rem; bottom: .48rem; display: grid; width: 1.2rem; height: 1.2rem; place-items: center; border: 0; border-radius: 50%; color: #fff; background: darkblue; font-size: .82rem; font-weight: 400; line-height: 1; transition: transform .3s ease; }
.ideenwerk-card:hover .ideenwerk-card__flip-hint, .ideenwerk-card:focus-visible .ideenwerk-card__flip-hint { transform: rotate(180deg); }
.ideenwerk-card:focus-visible { outline: 3px solid #FF711D; outline-offset: 5px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .atmosphere-stage.is-ready .atmosphere-frame, .atmosphere-stage.is-ready .atmosphere-frame img { animation: none; } .atmosphere-frame:first-child { opacity: 1; } .pitch h2::after, #ueberuns-teaser h2::after, #spuren h2::after, .contact-request h2::after, .ideenwerk-teaser p::after, .spur-card__inner, .ideenwerk-card__inner { transition: none; } }

#ueberuns-teaser, .contact-request { padding: var(--section-heading-offset) 12% 6%; text-align: center; }
#ueberuns-teaser { background: #fff; }
.contact-request { background: #fff; }
.pitch h2, #ueberuns-teaser h2, #spuren h2, .contact-request h2 { margin-bottom: 25px; color: #FF711D; font-size: clamp(22px, 2vw, 26px); font-weight: 800; letter-spacing: 3px; text-transform: uppercase; }
.section-heading-dot { color: darkblue; }
.pitch h2, #ueberuns-teaser h2, #spuren h2, .contact-request h2, .ideenwerk-teaser p { position: relative; display: inline-block; }
.pitch h2::after, #ueberuns-teaser h2::after, #spuren h2::after, .contact-request h2::after, .ideenwerk-teaser p::after { position: absolute; bottom: -10px; left: 0; width: 0; height: 2px; content: ""; background: #FF711D; opacity: 0; transition: width .38s ease-out, opacity .12s ease-out; }
.pitch.is-current-section h2::after, #ideenwerk.is-current-section .ideenwerk-teaser p::after, #ueberuns-teaser.is-current-section h2::after, #spuren.is-current-section h2::after, #anfrage.is-current-section h2::after { width: 42px; opacity: 1; }
#ueberuns-teaser p { margin-bottom: 40px; }
.contact-request p { max-width: 900px; margin: 0 auto 25px; color: darkblue; font-size: clamp(17px, 2vw, 24px); line-height: 155%; }
.contact-request a { color: darkblue; font-size: clamp(19px, 2.2vw, 26px); font-weight: 800; text-decoration: none; }
.contact-request a:hover, .contact-request a:focus-visible { color: #FF711D; }
.team-illustrations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: clamp(12px, 3vw, 42px); max-width: 1100px; margin: 0 auto 24px; }
.team-person { position: relative; min-width: 0; }
.team-portrait-stage { position: relative; }
.team-visual { position: relative; display: block; width: min(100%, 290px); padding: 0; border: 0; margin: 0 auto; background: transparent; cursor: pointer; transform-origin: center bottom; transition: transform .35s ease; }
.team-person--petra .team-visual { width: min(80%, 232px); }
.team-visual > img { display: block; width: 100%; height: auto; transition: filter .35s ease, opacity .35s ease; }
.team-photo-slot { position: absolute; top: 50%; left: 50%; display: grid; width: clamp(3.75rem, 9vw, 7.5rem); aspect-ratio: 1; place-items: center; border-radius: 50%; color: darkblue; background: #fff; box-shadow: 0 .4rem 1rem rgba(0, 0, 78, .12); font-size: clamp(.65rem, 1.1vw, .9rem); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.75); transition: opacity .25s ease, transform .25s ease; }
.team-photo-slot img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.team-person-label { position: absolute; bottom: 7%; left: 50%; display: grid; min-width: 82%; padding: .55rem .7rem; gap: .15rem; color: darkblue; background: rgba(255, 255, 255, .88); box-shadow: 0 .4rem 1rem rgba(0, 0, 78, .12); cursor: pointer; transform: translateX(-50%); }
.team-person-region { color: #6b6b6b; font-size: clamp(.52rem, .75vw, .7rem); font-weight: 800; letter-spacing: .08em; line-height: 1.25; text-transform: uppercase; }
.team-person-name { font-size: clamp(.8rem, 1.15vw, 1rem); font-weight: 900; line-height: 1.1; }
.team-person-contacts { display: grid; max-height: 0; gap: .35rem; overflow: hidden; color: darkblue; font-size: clamp(.7rem, 1vw, .88rem); line-height: 1.2; opacity: 0; pointer-events: none; text-align: left; visibility: hidden; transition: max-height .35s ease, margin .35s ease, opacity .25s ease, visibility .25s ease; }
.team-person-contacts a { display: grid; grid-template-columns: 2.7rem 1fr; gap: .45rem; overflow-wrap: anywhere; color: darkblue; cursor: pointer; text-decoration: none; }
.team-person-contacts a:last-child { display: block; padding-top: .15rem; border-top: 1px solid rgba(0, 0, 139, .28); }
.team-person-contacts a:hover, .team-person-contacts a:focus-visible { color: #FF711D; text-decoration: underline; text-underline-offset: .2rem; }
.team-person-contacts span { color: #FF711D; font-size: .7em; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.team-person.is-selected { z-index: 1; }
.team-person.is-selected .team-visual { transform: scale(1.45); }
.team-person.is-selected .team-visual > img { opacity: .52; filter: blur(2.5px) saturate(.65); }
.team-person.is-selected .team-photo-slot { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.team-person.is-selected .team-person-contacts { max-height: 10rem; margin-top: .55rem; opacity: 1; pointer-events: auto; visibility: visible; }
.team-visual:focus-visible { outline: 3px solid #FF711D; outline-offset: 5px; }
@media (min-width: 601px) {
    .team-illustrations { align-items: start; }
    .team-person { display: grid; justify-items: center; }
    .team-portrait-stage { width: min(100%, 290px); height: 22.5rem; }
    .team-visual { position: absolute; right: 0; bottom: 0; left: 0; margin: 0 auto; }
    .team-photo-slot { top: auto; bottom: 0; z-index: 2; width: clamp(5.4375rem, 13.05vw, 10.875rem); transform: translate(-50%, 0) scale(.75); }
    .team-person.is-selected .team-photo-slot { transform: translate(-50%, 0) scale(1); }
    .team-person-label { position: relative; bottom: auto; left: auto; z-index: 3; width: min(100%, 290px); min-width: 0; margin: 20px auto 0; transform: none; }
}
@media (max-width: 600px) {
    .team-illustrations { grid-template-columns: 1fr; gap: 2.5rem; max-width: 22rem; }
    .team-person { display: grid; justify-items: center; width: 100%; }
    .team-portrait-stage { width: min(100%, 250px); height: 312px; }
    .team-visual, .team-person--petra .team-visual { position: absolute; right: 0; bottom: 0; left: 0; width: min(100%, 250px); margin: 0 auto; }
    .team-photo-slot { top: auto; bottom: 0; z-index: 2; width: clamp(7rem, 38vw, 9rem); transform: translate(-50%, 0) scale(.75); }
    .team-person.is-selected .team-photo-slot { transform: translate(-50%, 0) scale(1); }
    .team-person-label { position: relative; bottom: auto; left: auto; z-index: 3; width: min(100%, 250px); min-width: 0; padding: .55rem .7rem; margin: 16px auto 0; transform: none; }
    .team-person-region { font-size: .65rem; }
    .team-person-name { font-size: .95rem; }
    .team-person-contacts { font-size: .82rem; }
    .team-person.is-selected .team-visual { transform: scale(1.1); }
}
.btn { display: inline-block; padding: 14px 34px; margin-top: 22px; border-radius: 0; color: #fff; background: #FF711D; font-size: 13px; letter-spacing: 1px; text-decoration: none; text-transform: uppercase; transition: background-color .3s ease, transform .3s ease; }
.btn:hover { background: darkblue; transform: translateY(-3px); }

.spuren-section { padding: var(--section-heading-offset) 10% 5%; background: #eee; text-align: center; }
.spuren-intro { max-width: 900px; margin: 0 auto 40px; color: darkblue; font-size: clamp(17px, 2vw, 24px); line-height: 155%; }
.spuren-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 30px); max-width: 940px; margin: 0 auto; }
.spur-card { min-width: 0; aspect-ratio: 1; padding: 0; border: 0; background: transparent; cursor: pointer; perspective: 1200px; transition: transform .35s ease, box-shadow .35s ease; }
.spur-card__inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .65s cubic-bezier(.2, .7, .2, 1); }
.spur-card:focus-visible .spur-card__inner, .spur-card.is-flipped .spur-card__inner { transform: rotateY(180deg); }
@media (hover: hover) and (pointer: fine) { .spur-card:hover .spur-card__inner { transform: rotateY(180deg); } }
.spur-card__front, .spur-card__back { position: absolute; inset: 0; display: block; overflow: hidden; backface-visibility: hidden; }
.spur-card__front { background: #e8e8e8; }
.spur-card__front img { display: block; width: 100%; height: 100%; object-fit: cover; }
.spur-card__front--placeholder { background: #FF711D; }
.spur-card__flip-hint { position: absolute; right: .55rem; bottom: .48rem; display: grid; width: 1.2rem; height: 1.2rem; place-items: center; border-radius: 50%; color: #fff; background: darkblue; font-size: .82rem; font-weight: 400; line-height: 1; transition: transform .3s ease; }
.spur-card:hover .spur-card__flip-hint, .spur-card:focus-visible .spur-card__flip-hint { transform: rotate(180deg); }
.spur-card__back { display: flex; padding: clamp(.7rem, 1.25vw, 1rem); flex-direction: column; gap: .28rem; color: #111; background: #fff; text-align: left; transform: rotateY(180deg); }
.spur-card__back-image { display: block; width: 100%; height: 28%; flex: 0 0 auto; object-fit: cover; }
.spur-card__photo-space { display: block; width: 100%; height: 28%; flex: 0 0 auto; }
.spur-card__title { display: block; font-size: clamp(.63rem, .85vw, .74rem); font-weight: 800; line-height: 1.12; letter-spacing: .03em; text-transform: uppercase; }
.spur-card__copy { display: block; font-size: clamp(.46rem, .58vw, .54rem); font-weight: 400; line-height: 1.27; }
.spur-card:focus-visible { outline: 3px solid #FF711D; outline-offset: 5px; }
.spur-backdrop { position: fixed; inset: 0; z-index: 300; background: rgba(0, 0, 139, .18); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.spur-backdrop.is-visible { opacity: 1; pointer-events: auto; }
.spur-card.is-expanded { position: fixed; top: 50%; left: 50%; z-index: 310; width: min(42rem, calc(100vw - 3rem)); height: min(80dvh, 44rem); aspect-ratio: auto; box-shadow: 0 1.2rem 3rem rgba(0, 0, 78, .24); transform: translate(-50%, -50%); }
.spur-card.is-expanded .spur-card__back { padding: clamp(1rem, 2vw, 1.5rem); gap: .45rem; }
.spur-card.is-expanded .spur-card__back-image { height: 26%; }
.spur-card.is-expanded .spur-card__title { font-size: clamp(.8rem, 1.1vw, .95rem); }
.spur-card.is-expanded .spur-card__copy { font-size: clamp(.62rem, .86vw, .76rem); line-height: 1.32; }
.spur-card--pfarrbrief .spur-card__back-image { object-fit: contain; }
.spur-card--pfarrbrief.is-expanded .spur-card__back-image { height: 44%; object-fit: contain; }
.spur-card--pfarrbrief.is-expanded .spur-card__title { margin-bottom: clamp(.55rem, 1vw, .8rem); }
.spur-card--pfarrbrief.is-expanded .spur-card__copy { font-size: clamp(.78rem, 1.05vw, .95rem); line-height: 1.38; }
.spur-card--rallye.is-expanded .spur-card__photo-space { height: 44%; }
.spur-card--rallye.is-expanded .spur-card__title { margin-bottom: clamp(.55rem, 1vw, .8rem); }
.spur-card--rallye.is-expanded .spur-card__copy { font-size: clamp(.78rem, 1.05vw, .95rem); line-height: 1.38; }
.spur-card--rallye.is-expanded .spur-card__back-image { height: 44%; object-fit: cover; }
.spur-card--feuerwehr.is-expanded .spur-card__back-image { height: 44%; object-fit: cover; }
.spur-card--feuerwehr.is-expanded .spur-card__title { margin-bottom: clamp(.55rem, 1vw, .8rem); }
.spur-card--feuerwehr.is-expanded .spur-card__copy { font-size: clamp(.78rem, 1.05vw, .95rem); line-height: 1.38; }
@media (max-width: 850px) { .spuren-grid, .ideenwerk-cards { grid-template-columns: 1fr; max-width: 34rem; } .spur-card { width: 100%; } }
@media (max-width: 600px) {
    .spur-card.is-expanded { width: calc(100vw - 2rem); height: min(86dvh, 44rem); }
    .spur-card.is-expanded .spur-card__back-image { height: 23%; }
    .spur-card.is-expanded .spur-card__copy { font-size: .8rem; line-height: 1.38; }
    .spur-card--pfarrbrief.is-expanded .spur-card__back-image { height: 40%; }
    .spur-card--rallye.is-expanded .spur-card__photo-space { height: 40%; }
    .spur-card--rallye.is-expanded .spur-card__back-image { height: 40%; }
    .spur-card--feuerwehr.is-expanded .spur-card__back-image { height: 40%; }
}

.main-footer-centered { padding: 80px 20px 140px; color: #fff; background: darkblue; text-align: center; }
.footer-middle-row { display: flex; align-items: center; justify-content: center; gap: 80px; margin-bottom: 50px; }
.footer-companions { max-width: 34rem; margin: 0 auto 50px; color: #fff; }
.footer-companions__rule { display: block; width: 42px; height: 2px; margin: 0 auto 20px; background: #fff; }
.footer-companions__rule--bottom { margin: 24px auto 0; }
.footer-companions__title { margin: 0; color: #fff; font-size: clamp(1rem, 1.35vw, 1.2rem); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.footer-companions__title .section-heading-dot { color: #FF711D; }
.footer-companions__copy { margin: .45rem 0 0; color: #fff; font-size: 12px; letter-spacing: 1px; line-height: 1.45; opacity: .6; }
.footer-companions__logos { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(.9rem, 1.7vw, 1.3rem); margin-top: 1.55rem; }
.footer-companions__logo-row { display: flex; align-items: center; justify-content: center; width: 100%; gap: clamp(1.68rem, 4.2vw, 3.36rem); }
.footer-companions__logo-row:nth-child(3) { margin-top: .35rem; }
.footer-companions__logos a { display: grid; place-items: center; opacity: 1; transform: scale(1.32); transition: opacity .2s ease, transform .2s ease; }
.footer-companions__logos .footer-companions__logo-surface { transform: scale(1.452); }
.footer-companions__logos a:hover, .footer-companions__logos a:focus-visible { opacity: .6; }
.footer-companions__logos img { display: block; width: auto; max-width: min(28vw, 9rem); height: clamp(1.8rem, 3vw, 2.3rem); object-fit: contain; }
.footer-companions__logos .footer-companions__logo--dcm { height: clamp(1.15rem, 1.85vw, 1.4rem); filter: brightness(0) invert(1); }
.footer-companions__logos .footer-companions__logo--kiz { height: clamp(1rem, 1.65vw, 1.25rem); }
.footer-companions__logos .footer-companions__logo--busemeyer { height: clamp(1rem, 1.65vw, 1.25rem); }
.footer-companions__logos .footer-companions__logo--zimmermann { height: clamp(1.15rem, 1.85vw, 1.4rem); }
.footer-companions__logo-surface { width: clamp(2.473rem, 3.74vw, 2.924rem); height: clamp(1.505rem, 2.275vw, 1.78rem); background: #fff; }
.footer-companions__logos .footer-companions__logo--stadt-monheim { width: 100%; height: 100%; object-fit: contain; }
.footer-companions__logos .footer-companions__logo--vhs { height: clamp(1.265rem, 2.035vw, 1.54rem); }
.social-icons { display: flex; gap: 25px; }
.social-icons img { width: 30px; height: 30px; opacity: 1; filter: brightness(0) saturate(100%) invert(50%) sepia(82%) saturate(2392%) hue-rotate(338deg) brightness(103%) contrast(101%); transition: filter .25s ease; }
.social-icons span:hover img { filter: brightness(0) invert(1); }
.lokalhelden-link, .lokalhelden-link:visited { color: #FF711D; text-decoration: none; font-size: 11px; font-weight: normal; letter-spacing: 2px; line-height: 1.4; text-transform: uppercase; transition: color .25s ease; }
.lokalhelden-link:hover, .lokalhelden-link:focus, .lokalhelden-link:active, .lokalhelden-link.is-touched { color: #fff; }
@media (hover: none) {
    .lokalhelden-link { -webkit-tap-highlight-color: transparent; }
}
.footer-legal { margin-bottom: 40px; color: #fff; font-size: 15px; letter-spacing: 1px; opacity: .7; }
.footer-legal a { margin: 0 15px; color: #fff; text-decoration: none; }
.footer-copyright { padding-top: 20px; margin-top: 40px; font-size: 12px; letter-spacing: 1px; opacity: .6; }

@media (max-width: 850px) { .news-eintrag { flex-direction: column; align-items: flex-start; gap: 30px; } }
@media (max-width: 810px) {
    .header-container { height: 60vh; min-height: 450px; }
    .header-slide:not(.header-slide--mobile) { display: none; }
    .header-slide--mobile { display: block; opacity: 1 !important; transform: none !important; }
    .mobile-laptop-screen { position: absolute; z-index: 2; display: block; overflow: hidden; border-radius: 2px; pointer-events: none; }
    .mobile-laptop-screen__slide { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; animation: laptop-screensaver-cycle 25.5s ease-in-out infinite; }
    .mobile-laptop-screen__slide--one { animation-delay: -.8s; }
    .mobile-laptop-screen__slide--two { animation-delay: 4.3s; }
    .mobile-laptop-screen__slide--three { animation-delay: 9.4s; }
    .mobile-laptop-screen__slide--four { animation-delay: 14.5s; }
    .mobile-laptop-screen__slide--five { animation-delay: 19.6s; }
    .header-container > #StartÜberschrift { position: absolute; top: 1rem; left: 0; transform: none; }
    #h1groß { font-size: clamp(1.85rem, 7.5vw, 2.35rem); }
    header h1 { font-size: clamp(1.6rem, 6.4vw, 2.05rem); line-height: 1.08; }
    header h2 { margin-top: .45rem; font-size: clamp(1.2rem, 5vw, 1.55rem); }
    .hero-services { max-width: 21rem; margin-top: .7rem; font-size: clamp(.72rem, 3.2vw, .95rem); line-height: 1.3; }
    .hero-services span { margin-top: .2rem; }
    .hero-contact { flex-direction: row; gap: .3rem .55rem; margin-top: .7rem; }
    .hero-contact span { display: inline; }
    .navi { position: fixed; top: 20px; right: 20px; left: auto; width: auto; padding: 0; }
    .section-rail { display: none; }
    .hamburger { display: block; border: 0; color: #FF711D; background: none; font-size: 40px; cursor: pointer; }
    nav#mobile-menu { position: fixed; inset: 0; z-index: 999; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(255,113,29,.95); transform: translateX(100%); transition: transform .4s ease-in-out; }
    nav#mobile-menu.open { transform: translateX(0); }
    nav#mobile-menu ul { flex-direction: column; gap: 28px; }
    nav#mobile-menu a { color: #fff; font-size: 24px; }
    nav#mobile-menu .nav-dot { color: #fff; }
    .close-btn { position: absolute; top: 1rem; right: 1rem; display: grid; width: 2.4rem; height: 2.4rem; place-items: center; padding: 0; border: 1px solid rgba(255, 255, 255, .72); border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .12); box-shadow: 0 .2rem .7rem rgba(115, 45, 0, .12); font-size: 1.45rem; font-weight: 400; line-height: 1; cursor: pointer; transition: transform .2s ease, background .2s ease; }
    .close-btn:hover, .close-btn:focus-visible { background: rgba(255, 255, 255, .28); transform: translateX(-.15rem); }
    .contact-separator { display: none; }
    .contact-mobile-break { display: block; }
    .footer-jump { position: fixed; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 55; display: grid; width: 2.4rem; height: 2.4rem; place-items: center; border: 1px solid rgba(0, 0, 139, .35); border-radius: 50%; color: darkblue; background: rgba(255, 255, 255, .82); box-shadow: 0 .2rem .7rem rgba(0, 0, 78, .12); font-size: 1.45rem; line-height: 1; text-decoration: none; transition: transform .2s ease, background .2s ease; }
    .footer-jump:hover, .footer-jump:focus-visible { color: #fff; background: #FF711D; transform: translateY(.15rem); }
}

/* In phone landscape, retain the desktop workplace motif without forcing its
   wide image into the portrait-height mobile hero. */
@media (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-height: 600px) {
    .header-container { height: calc(100svh + 60px); min-height: 0; }
    .header-slide:not(.header-slide--mobile) { display: block; }
    .header-slide--mobile, .mobile-laptop-screen { display: none; }
    .navi { position: absolute; top: var(--landscape-navigation-top, max(40px, env(safe-area-inset-top))); right: 0; left: 0; width: 100%; padding: 0 20px; justify-content: center; }
    .hamburger, .close-btn { display: none; }
    nav#mobile-menu { position: static; inset: auto; z-index: auto; display: block; background: transparent; transform: none; transition: none; }
    nav#mobile-menu.open { transform: none; }
    nav#mobile-menu ul { flex-direction: row; flex-wrap: nowrap; gap: clamp(14px, 4vw, 40px); }
    nav#mobile-menu a { color: darkblue; font-size: 15px; }
    nav#mobile-menu .nav-dot { color: #FF711D; }
    .header-container > #StartÜberschrift {
        position: absolute;
        top: var(--landscape-copy-top, 0px);
        left: var(--landscape-copy-left, 0px);
        width: 700px;
        max-width: none;
        padding: 0;
        margin: 0;
        transform: scale(var(--landscape-copy-scale, 1));
        transform-origin: top left;
    }
    #StartÜberschrift #h1groß { margin-top: 0; }
}

@keyframes laptop-screensaver-cycle { 0% { opacity: 0; } 5%, 30% { opacity: 1; } 35%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .mobile-laptop-screen__slide { animation: none; } .mobile-laptop-screen__slide--one { opacity: 1; } }
@media (max-width: 768px) {
    .footer-middle-row { flex-direction: column; gap: 25px; }
    .footer-legal { display: flex; flex-direction: column; gap: 10px; }
}
@media (max-width: 768px) {
    .footer-companions__logos { flex-direction: column; flex-wrap: nowrap; gap: .7rem; }
    .footer-companions__logo-row { display: flex; align-items: center; justify-content: center; width: 100%; gap: clamp(1.68rem, 12vw, 3.24rem); }
    .footer-companions__logos img { max-width: min(22vw, 7rem); }
}
