:root {
    --navy: #082B5F;
    --navy-2: #041B3D;
    --navy-3: #06172F;
    --green: #9BC440;
    --green-2: #DDEFB1;
    --sand: #F2EFE7;
    --paper: #FFFFFF;
    --ink: #142033;
    --muted: #5D6A7E;
    --line: #DCE3EE;
    --shadow: 0 24px 60px rgba(8, 43, 95, .13);
    --radius: 28px;
    --heading: "Science Gothic", "Bahnschrift", "Roboto Condensed", "Arial Narrow", Arial, Helvetica, system-ui, sans-serif;
    --body: Arial, Helvetica, system-ui, sans-serif;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: var(--body);
    color: var(--ink);
    background: #F7F9FC;
    line-height: 1.65
}

body.menu-open {
    overflow: hidden
}

img {
    max-width: 100%;
    display: block
}

a {
    color: inherit;
    text-decoration: none
}

button,
input,
textarea,
select {
    font: inherit
}

.container {
    width: min(1180px, calc(100% - 2rem));
    margin-inline: auto
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--navy);
    color: white;
    padding: .8rem 1rem;
    z-index: 999
}

.skip-link:focus {
    left: 1rem;
    top: 1rem
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0)
}

h1,
h2,
h3,
.site-nav__link,
.button,
.eyebrow,
.kicker {
    font-family: var(--heading);
    letter-spacing: .01em
}

h1,
h2,
h3 {
    line-height: 1.05;
    margin: 0;
    color: var(--navy-2)
}

p {
    margin-top: 0
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(8, 43, 95, .08);
    transition: box-shadow .25s ease, background .25s ease
}

.site-header.is-scrolled {
    box-shadow: 0 14px 34px rgba(8, 43, 95, .09);
    background: rgba(255, 255, 255, .98)
}

.topbar {
    background: var(--navy-2);
    color: rgba(255, 255, 255, .92);
    font-size: .92rem
}

.topbar__inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem
}

.topbar a {
    font-weight: 800;
    color: #fff;
    white-space: nowrap
}

.header-main {
    position: relative
}

.header__inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    z-index: 2
}

.brand__logo--desktop {
    width: 252px;
    height: auto
}

.brand__logo--mobile {
    display: none;
    width: 62px;
    height: auto
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: .35rem;
    list-style: none;
    padding: 0;
    margin: 0
}

.site-nav li {
    position: relative
}

.site-nav__row {
    display: flex;
    align-items: center;
    gap: .1rem
}

.site-nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: .74rem .95rem;
    border-radius: 999px;
    color: var(--navy-2);
    font-weight: 700;
    transition: background .2s ease, color .2s ease, transform .2s ease
}

.site-nav__link:hover,
.site-nav__link.is-active {
    background: var(--green-2);
    color: var(--navy)
}

.dropdown-toggle {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
    color: var(--navy);
    cursor: pointer;
    transition: background .2s ease
}

.dropdown-toggle:hover {
    background: var(--green-2)
}

.dropdown-toggle span {
    transition: transform .2s ease
}

.has-dropdown.is-open .dropdown-toggle span {
    transform: rotate(180deg)
}

.dropdown-menu {
    position: absolute;
    left: 0;
    top: calc(100% + .45rem);
    min-width: 290px;
    display: none;
    padding: .55rem;
    margin: 0;
    list-style: none;
    background: white;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow)
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown.is-open .dropdown-menu {
    display: block
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .78rem .9rem;
    border-radius: 16px;
    font-weight: 800;
    color: var(--navy-2);
    line-height: 1.15
}

.dropdown-menu a::before {
    content: "";
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: var(--green);
    flex: 0 0 .55rem
}

.dropdown-menu a:hover,
.dropdown-menu a.is-active {
    background: #F2F7E5
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: .88rem 1.22rem;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(135deg, var(--green), #7fac2f);
    color: var(--navy-2);
    font-weight: 900;
    box-shadow: 0 18px 35px rgba(155, 196, 64, .26);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
    line-height: 1.1
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 45px rgba(155, 196, 64, .32)
}

.button--sm {
    min-height: 42px;
    padding: .68rem 1rem
}

.button--ghost {
    background: white;
    color: var(--navy);
    border: 1px solid var(--line);
    box-shadow: none
}

.button--light {
    background: white;
    color: var(--navy);
    box-shadow: none
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: white;
    cursor: pointer;
    z-index: 2
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    margin: 4px auto;
    border-radius: 999px
}

section {
    padding: clamp(3.8rem, 7vw, 6.5rem) 0
}

.hero {
    position: relative;
    min-height: min(760px, 78vh);
    display: grid;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    color: white
}

.hero__bg,
.hero__bg::after {
    position: absolute;
    inset: 0
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero__bg::after {
    content: "";
    background: linear-gradient(90deg, rgba(4, 27, 61, .90), rgba(4, 27, 61, .62) 46%, rgba(4, 27, 61, .16)), radial-gradient(circle at 16% 26%, rgba(155, 196, 64, .28), transparent 28%)
}

.hero__inner {
    position: relative;
    z-index: 1;
    padding: 5.2rem 0
}

.hero__copy {
    max-width: 820px
}

.eyebrow {
    display: inline-flex;
    padding: .38rem .78rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .13);
    color: #fff;
    backdrop-filter: blur(8px);
    text-transform: uppercase;
    font-size: .88rem;
    font-weight: 900;
    letter-spacing: .06em;
    margin-bottom: 1rem
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.8rem, 7vw, 6.8rem);
    letter-spacing: .015em;
    margin-bottom: 1rem;
    text-transform: uppercase;
    max-width: 9ch
}

.hero p {
    max-width: 58ch;
    color: rgba(255, 255, 255, .92);
    font-size: clamp(1.05rem, 2vw, 1.26rem);
    margin-bottom: 1.6rem
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem
}

.page-hero {
    background: radial-gradient(circle at top left, rgba(155, 196, 64, .22), transparent 28%), linear-gradient(180deg, #fff, #F5F8FD);
    padding: clamp(4rem, 8vw, 7rem) 0 clamp(2rem, 4vw, 3.2rem)
}

.page-hero h1 {
    font-size: clamp(2.3rem, 5vw, 4.7rem);
    text-transform: uppercase;
    max-width: 920px
}

.page-hero p {
    font-size: 1.15rem;
    max-width: 760px;
    color: var(--muted);
    margin: .95rem 0 0
}

.page-hero .eyebrow {
    background: var(--green-2);
    color: var(--navy)
}

.section-head {
    max-width: 790px;
    margin-bottom: 2rem
}

.kicker {
    display: inline-block;
    color: var(--green);
    text-transform: uppercase;
    font-weight: 900;
    font-size: .9rem;
    letter-spacing: .08em;
    margin-bottom: .6rem
}

.section-head h2 {
    font-size: clamp(1.9rem, 3.6vw, 3.3rem);
    text-transform: uppercase
}

.section-head p {
    color: var(--muted);
    font-size: 1.06rem
}

.grid {
    display: grid;
    gap: 1.2rem
}

.grid--2 {
    grid-template-columns: repeat(2, 1fr)
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr)
}

.grid--4 {
    grid-template-columns: repeat(4, 1fr)
}

.card {
    position: relative;
    overflow: hidden;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.45rem;
    box-shadow: var(--shadow)
}

.card h3 {
    font-size: 1.28rem;
    text-transform: uppercase;
    margin-bottom: .55rem;
    overflow-wrap: anywhere;
    hyphens: auto
}

.card p {
    color: var(--muted);
    margin: 0
}

.service-card {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    isolation: isolate
}

.service-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform .55s cubic-bezier(.2, .8, .2, 1)
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 27, 61, .08), rgba(4, 27, 61, .90));
    z-index: -1
}

.service-card:hover img {
    transform: scale(1.06)
}

.service-card h3 {
    color: #fff;
    font-size: clamp(1.15rem, 2.3vw, 1.45rem);
    line-height: 1.08
}

.service-card p {
    color: rgba(255, 255, 255, .88)
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center
}

.media-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 32px;
    box-shadow: var(--shadow)
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 0;
    display: grid;
    gap: .8rem
}

.checklist li {
    display: flex;
    gap: .8rem;
    align-items: flex-start
}

.checklist li::before {
    content: "";
    width: 1.5rem;
    height: 1.5rem;
    margin-top: .15rem;
    border-radius: 50%;
    background: var(--green);
    box-shadow: inset 0 0 0 5px #EAF5D2;
    flex: 0 0 1.5rem
}

.band {
    background: linear-gradient(135deg, var(--navy-2), var(--navy));
    color: white;
    position: relative;
    overflow: hidden
}

.band h2,
.band h3 {
    color: #fff
}

.band p {
    color: rgba(255, 255, 255, .84)
}

.mower-line {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--green), var(--green));
    transform: scaleX(0);
    transform-origin: left
}

.mower-line::after {
    display: none
}

.mower-line.is-drawn {
    animation: mowerLine 1.4s cubic-bezier(.2, .8, .2, 1) forwards
}

@keyframes mowerLine {
    to {
        transform: scaleX(1)
    }
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem
}

.process-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 1.2rem
}

.process-card span {
    font-family: var(--heading);
    font-size: 2rem;
    color: var(--green);
    font-weight: 900
}

.process-card h3 {
    font-size: 1.1rem;
    margin: .3rem 0 .5rem;
    text-transform: uppercase
}

.process-card p {
    color: var(--muted);
    margin: 0
}

.cta-band {
    background: linear-gradient(135deg, var(--green), #B6D65C);
    padding: 3rem 0
}

.cta-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem
}

.cta-band h2 {
    font-size: clamp(1.8rem, 3vw, 3rem);
    text-transform: uppercase
}

.cta-band p {
    margin: 0;
    color: var(--navy-2);
    font-weight: 700
}

.gallery {
    display: grid;
    grid-template-columns: 1.1fr .9fr 1fr;
    gap: 1rem
}

.gallery img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: var(--shadow)
}

.gallery img:nth-child(2) {
    height: 390px
}

.faq-list {
    display: grid;
    gap: .8rem
}

.faq-list details {
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1rem 1.1rem;
    box-shadow: 0 12px 30px rgba(8, 43, 95, .06)
}

.faq-list summary {
    cursor: pointer;
    font-family: var(--heading);
    font-weight: 800;
    color: var(--navy);
    text-transform: uppercase
}

.faq-list p {
    margin: .8rem 0 0;
    color: var(--muted)
}

.az-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem
}

.az-item strong {
    font-family: var(--heading);
    color: var(--navy);
    text-transform: uppercase
}

.az-item p {
    margin: .25rem 0 0;
    color: var(--muted)
}

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 1.2rem
}

.form-card,
.info-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: var(--shadow);
    padding: 1.5rem
}

.form-grid {
    display: grid;
    gap: 1rem
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem
}

label {
    display: grid;
    gap: .4rem;
    font-weight: 700;
    color: var(--navy-2)
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1rem;
    background: #fff;
    color: var(--ink)
}

textarea {
    min-height: 160px;
    resize: vertical
}

.notice {
    border-radius: 18px;
    padding: 1rem;
    background: #EEF7DA;
    color: var(--navy);
    font-weight: 700
}

.error {
    background: #FFF2EC;
    color: #78340D
}

.note {
    font-size: .94rem;
    color: var(--muted)
}

.site-footer {
    background: #06172F;
    color: rgba(255, 255, 255, .84);
    padding-top: 3.2rem
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
    gap: 1.4rem
}

.footer__logo {
    width: 210px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1)
}

.site-footer h3 {
    color: #fff;
    font-size: 1.05rem;
    text-transform: uppercase;
    margin: 0 0 .8rem
}

.footer__list {
    display: grid;
    gap: .5rem;
    list-style: none;
    padding: 0;
    margin: 0
}

.site-footer a {
    color: white
}

.footer__design {
    display: flex;
    flex-direction: column
}

.designed-by {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    padding: .5rem .7rem
}

.designed-by img {
    width: 30px;
    height: 30px;
    border-radius: 7px
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .14);
    padding: 1.1rem 0 2rem;
    margin-top: 2rem;
    font-size: .92rem
}

.reveal {
    opacity: 0;
    transform: translateY(34px) scale(.985);
    clip-path: inset(0 0 18% 0);
    transition: opacity .75s ease, transform .85s cubic-bezier(.2, .8, .2, 1), clip-path .85s cubic-bezier(.2, .8, .2, 1);
    transition-delay: var(--reveal-delay, 0ms)
}

.reveal--hero {
    transform: translateY(18px) scale(1);
    clip-path: inset(0 0 0 0)
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 0 0)
}

@media (prefers-reduced-motion:reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important
    }

    .reveal {
        opacity: 1;
        transform: none;
        clip-path: none
    }
}

@media (max-width:1050px) {
    .brand__logo--desktop {
        width: 215px
    }

    .site-nav__link {
        padding: .65rem .7rem
    }
}

@media (max-width:920px) {
    .topbar {
        font-size: .82rem
    }

    .topbar__inner {
        min-height: 34px;
        display: grid;
        grid-template-columns: 1fr auto;
        gap: .5rem;
        align-items: center
    }

    .topbar__inner span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis
    }

    .brand__logo--desktop {
        display: none
    }

    .brand__logo--mobile {
        display: block
    }

    .nav-toggle {
        display: block
    }

    .header__inner {
        min-height: 76px
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1;
        max-height: calc(100vh - 110px);
        overflow: auto;
        padding: 1rem;
        background: white;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: transform .22s ease, opacity .22s ease
    }

    .site-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto
    }

    .site-nav__list {
        flex-direction: column;
        align-items: stretch
    }

    .site-nav__list>li {
        width: 100%
    }

    .site-nav__row {
        display: grid;
        grid-template-columns: 1fr auto
    }

    .site-nav__link {
        width: 100%;
        justify-content: flex-start
    }

    .dropdown-menu {
        position: static;
        min-width: 0;
        box-shadow: none;
        margin: .25rem 0 0;
        display: none
    }

    .has-dropdown:hover .dropdown-menu {
        display: none
    }

    .has-dropdown.is-open .dropdown-menu {
        display: block
    }

    .site-nav__cta .button {
        width: 100%
    }

    .hero {
        min-height: 68vh
    }

    .hero__inner {
        padding: 4rem 0
    }

    .hero h1 {
        font-size: clamp(2.4rem, 13vw, 4rem);
        max-width: 10ch
    }

    .grid--2,
    .grid--3,
    .grid--4,
    .split,
    .process-grid,
    .contact-grid,
    .footer__grid,
    .az-grid {
        grid-template-columns: 1fr
    }

    .gallery {
        grid-template-columns: 1fr
    }

    .gallery img,
    .gallery img:nth-child(2) {
        height: auto;
        aspect-ratio: 4/3
    }

    .cta-band__inner {
        align-items: flex-start;
        flex-direction: column
    }
}

@media (max-width:560px) {
    .container {
        width: min(100% - 1.1rem, 1180px)
    }

    .topbar__inner {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: .35rem 0
    }

    .topbar__inner span {
        max-width: 100%
    }

    .header__inner {
        min-height: 70px
    }

    .brand__logo--mobile {
        width: 58px
    }

    .hero h1,
    .page-hero h1 {
        font-size: 2.3rem
    }

    .form-row {
        grid-template-columns: 1fr
    }

    section {
        padding: 3.2rem 0
    }
}


/* v4: mobile text, image focal points, footer bottom alignment */
h1,
h2,
h3,
.button,
.site-nav__link,
.dropdown-menu a {
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

.hero h1,
.page-hero h1,
.section-head h2,
.cta-band h2 {
    text-wrap: balance;
}

.hero__bg img {
    object-position: var(--hero-position, center center);
}

.hero--home {
    --hero-position: 58% center;
}

.hero--hausmeisterservice {
    --hero-position: center center;
}

.hero--gartenpflege {
    --hero-position: 56% center;
}

.hero--winterdienst {
    --hero-position: 48% center;
}

.hero--reinigungsdienst {
    --hero-position: 55% center;
}

.site-footer {
    padding-bottom: 0;
}

.footer__bottom {
    align-items: center;
}

.footer__bottom .designed-by {
    margin-left: auto;
}

.footer__bottom-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.footer__bottom .designed-by {
    margin-top: 0;
    align-self: center;
    padding: .42rem .65rem;
}

.footer__bottom .designed-by img {
    width: 26px;
    height: 26px;
}

@media (max-width:920px) {
    .hero__bg img {
        object-position: var(--hero-position-mobile, var(--hero-position, center center));
    }

    .hero--home {
        --hero-position-mobile: 63% center;
    }

    .hero--gartenpflege {
        --hero-position-mobile: 58% center;
    }

    .hero--winterdienst {
        --hero-position-mobile: 45% center;
    }

    .hero--reinigungsdienst {
        --hero-position-mobile: 56% center;
    }

    .hero h1 {
        max-width: min(100%, 720px);
        font-size: clamp(2.05rem, 12vw, 3.6rem);
        line-height: .98;
    }

    .page-hero h1 {
        max-width: 100%;
        font-size: clamp(2rem, 10vw, 3.4rem);
    }

    .section-head h2 {
        font-size: clamp(1.75rem, 8vw, 2.7rem);
    }

    .hero p,
    .page-hero p {
        max-width: 100%;
    }

    .service-card h3 {
        font-size: clamp(1.05rem, 6vw, 1.35rem);
    }
}

@media (max-width:560px) {
    .topbar__inner {
        grid-template-columns: 1fr;
        gap: .15rem;
    }

    .topbar__inner span,
    .topbar__inner a {
        max-width: 100%;
        overflow-wrap: anywhere;
        white-space: normal;
        line-height: 1.25;
    }

    .hero h1 {
        font-size: clamp(1.9rem, 11vw, 3rem);
        max-width: 100%;
    }

    .hero__copy {
        max-width: 100%;
    }

    .footer__bottom {
        align-items: flex-start;
    }

    .footer__bottom-right {
        margin-left: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: .55rem;
    }
}


/* v5 desktop typography and menu refinement */
@media (min-width:921px) {
    .hero h1 {
        font-size: clamp(2.6rem, 4.5vw, 4.55rem);
        max-width: 12ch;
        line-height: 1;
    }

    .page-hero h1 {
        font-size: clamp(2.15rem, 3.7vw, 3.55rem);
    }

    .section-head h2 {
        font-size: clamp(1.75rem, 2.6vw, 2.55rem);
    }

    .cta-band h2 {
        font-size: clamp(1.7rem, 2.6vw, 2.5rem);
    }

    .card h3 {
        font-size: 1.16rem;
    }

    .service-card h3 {
        font-size: 1.28rem;
    }
}

/* Leistungen ist jetzt ein einheitlicher Button */
.dropdown-trigger {
    gap: .45rem;
    border: none;
    cursor: pointer;
    background: transparent;
}

.dropdown-trigger__chevron {
    display: inline-block;
    transition: transform .2s ease;
    font-size: .9em;
    line-height: 1;
}

.has-dropdown.is-open .dropdown-trigger__chevron,
.has-dropdown:hover .dropdown-trigger__chevron {
    transform: rotate(180deg);
}

.has-dropdown {
    padding-bottom: .75rem;
    margin-bottom: -.75rem;
}

.dropdown-menu {
    top: calc(100% - .05rem);
}

.has-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: .8rem;
}

.site-nav__row,
.dropdown-toggle {
    display: none;
}

.faq-section {
    background: linear-gradient(180deg, #fff, #F6F8FC);
}

.faq-section .section-head {
    margin-bottom: 1.2rem;
}

.faq-list details[open] {
    border-color: rgba(155, 196, 64, .55);
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.faq-list summary::after {
    content: "+";
    color: var(--green);
    font-size: 1.2rem;
}

.faq-list details[open] summary::after {
    content: "–";
}

/* Desktop footer: Designed-by rechts unten in Copyright-Zeile */
.footer__bottom {
    align-items: center;
}

.footer__bottom-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.footer__bottom .designed-by {
    margin: 0;
    align-self: center;
}

@media (max-width:920px) {
    .has-dropdown {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .has-dropdown::after {
        display: none;
    }

    .dropdown-trigger {
        width: 100%;
        justify-content: space-between;
    }
}


100% {
    background-position: -60% 0
}
}

/* bigger SEO A-Z grid on desktop */
@media (min-width: 921px) {
    .az-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


/* v7: ruhigere, wertigere Typografie */
h1,
h2,
h3 {
    font-weight: 600;
    letter-spacing: -0.025em;
}

.site-nav__link,
.button,
.dropdown-menu a {
    font-weight: 700;
    letter-spacing: -0.005em;
}

.hero h1,
.page-hero h1,
.section-head h2,
.cta-band h2,
.card h3,
.service-card h3,
.process-card h3,
.faq-list summary,
.az-item strong {
    text-transform: none !important;
}

.hero h1 {
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.page-hero h1 {
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.04;
}

.section-head h2,
.cta-band h2 {
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.card h3,
.process-card h3 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

.az-item strong,
.faq-list summary {
    font-weight: 600;
    letter-spacing: -0.015em;
}

/* v7: Desktop-Größen nochmals reduziert */
@media (min-width:921px) {
    .hero h1 {
        font-size: clamp(2.25rem, 3.35vw, 3.75rem);
        max-width: 15ch;
    }

    .page-hero h1 {
        font-size: clamp(2rem, 2.9vw, 3rem);
        max-width: 980px;
    }

    .section-head h2 {
        font-size: clamp(1.55rem, 2.05vw, 2.15rem);
    }

    .cta-band h2 {
        font-size: clamp(1.55rem, 2vw, 2.1rem);
    }

    .card h3 {
        font-size: 1.05rem;
    }

    .service-card h3 {
        font-size: 1.12rem;
    }

    .process-card span {
        font-size: 1.55rem;
    }
}

/* v7: hochwertigerer Hero mit weniger Druck */
.hero {
    min-height: min(700px, 72vh);
}

.hero__inner {
    padding: 4.2rem 0;
}

.hero__copy {
    max-width: 760px;
}

.hero p {
    font-size: clamp(1rem, 1.35vw, 1.15rem);
    max-width: 56ch;
}

.eyebrow,
.kicker {
    font-weight: 700;
    letter-spacing: .035em;
}

/* v7: Favicon-Preview optional */
.favicon-preview {
    display: flex;
    align-items: center;
    gap: .6rem;
}


/* v8: flexible value cards when 5 items appear */
.grid--4 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

@media (max-width:560px) {
    .topbar__inner {
        font-size: .78rem;
    }
}


/* v9: Karten ruhiger, keine grauen Radius-Schatten an den unteren Ecken */
.card,
.process-card,
.form-card,
.info-card,
.faq-list details {
    box-shadow: 0 14px 34px rgba(8, 43, 95, .075);
    background-clip: padding-box;
}

.card::before,
.card::after,
.process-card::before,
.process-card::after {
    pointer-events: none;
}

100% {
    background-position: -60% 0
}
}




/* v11: Topbar sauberer Umbruch auf Mobile */
.topbar__claim {
    display: flex;
    align-items: center;
    gap: .45rem;
    min-width: 0;
}

.topbar__claim span:first-child::after {
    content: "·";
    margin-left: .45rem;
}

/* v11: Karten ohne graue Schatten-Dreiecke an den unteren Rundungen */
.card,
.process-card,
.form-card,
.info-card,
.faq-list details {
    box-shadow: none !important;
    border-color: #E2E9F2;
    background: #fff;
    background-clip: padding-box;
}

.card {
    transform: translateZ(0);
}

.card:hover,
.process-card:hover,
.faq-list details:hover {
    border-color: rgba(155, 196, 64, .65);
}

16% {
    opacity: 1;
    clip-path: inset(0 28% 98% 28%);
}

42% {
    opacity: 1;
    clip-path: inset(0 0 92% 0);
}

76% {
    opacity: 1;
    clip-path: inset(0 0 12% 0);
}

100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
}
}

/* v11: Mobile Hero-Inhalt etwas höher setzen */
@media (max-width:920px) {
    .topbar__claim {
        display: grid;
        grid-template-columns: 1fr;
        gap: .05rem;
        line-height: 1.18;
        text-align: center;
    }

    .topbar__claim span:first-child::after {
        content: "";
        margin: 0;
    }

    .topbar__inner {
        align-items: center;
    }

    .hero {
        align-items: start;
        min-height: 70vh;
    }

    .hero__inner {
        padding: 2.4rem 0 5.2rem;
    }
}

@media (max-width:560px) {
    .hero {
        min-height: 68vh;
    }

    .hero__inner {
        padding: 2rem 0 4.8rem;
    }
}


/* v12: horizontales Überlaufen verhindern */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

* {
    min-width: 0;
}

.container,
.site-header,
.header-main,
.site-footer,
main,
section {
    max-width: 100%;
}

/* v12: Service-Karten behalten Bild-Reveal, Rahmen wird langsam scrollgesteuert gezeichnet */
.service-card {
    position: relative;
    overflow: hidden;
    border: 0;
    box-shadow: none !important;
    isolation: isolate;
}

/* Rahmen liegt exakt auf der Karten-/Bildkante, nicht eingerückt auf dem Bild */
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    border-radius: inherit;
    opacity: var(--frame-opacity, 0);
    background:
        linear-gradient(rgba(255, 255, 255, .92), rgba(255, 255, 255, .92)) top center / var(--frame-top, 0%) 2px no-repeat,
        linear-gradient(rgba(255, 255, 255, .92), rgba(255, 255, 255, .92)) left top / 2px var(--frame-side, 0%) no-repeat,
        linear-gradient(rgba(255, 255, 255, .92), rgba(255, 255, 255, .92)) right top / 2px var(--frame-side, 0%) no-repeat,
        linear-gradient(rgba(255, 255, 255, .92), rgba(255, 255, 255, .92)) bottom center / var(--frame-bottom, 0%) 2px no-repeat;
    transition: opacity .22s ease;
}

/* Bild-Scroll-Reveal bleibt erhalten, zusätzlich dezente Tiefe */
.service-card img {
    transform: scale(1.035);
}

.service-card.reveal.is-visible img {
    transform: scale(1);
    transition: transform 1.05s cubic-bezier(.2, .8, .2, 1);
}

/* Karten nicht größer als Viewport werden lassen */
.service-card,
.card {
    max-width: 100%;
}



to {
    background-position: -420px 0
}
}





/* v15: Topbar reduziert – nur Claim + Telefon */
.topbar__claim {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar__claim span:first-child::after {
    content: "";
    margin: 0;
}

@media (max-width:560px) {
    .topbar__inner {
        grid-template-columns: 1fr auto;
        justify-items: stretch;
        text-align: left;
        gap: .45rem;
    }

    .topbar__claim {
        white-space: normal;
        line-height: 1.2;
    }

    .topbar__inner a {
        justify-self: end;
        white-space: nowrap;
    }
}

@media (max-width:390px) {
    .topbar__inner {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .topbar__inner a {
        justify-self: center;
    }
}






/* v18: etwas mehr Luft zwischen Überschrift und Text (außerhalb der Karten) */
.hero h1,
.page-hero h1,
.section-head h2,
.cta-band h2 {
    margin-bottom: .42rem;
}

/* v18: Service-Rahmen – gleichmäßiger, leicht außerhalb liegend */
.service-card {
    overflow: visible !important;
    isolation: isolate;
}

.service-card img,
.service-card::after {
    border-radius: inherit;
}

.service-frame-svg {
    position: absolute;
    inset: -14px;
    width: calc(100% + 28px);
    height: calc(100% + 28px);
    z-index: 4;
    pointer-events: none;
    overflow: visible;
}

.service-frame-svg .frame-path {
    fill: none;
    stroke: rgba(255, 255, 255, .98);
    stroke-width: 3.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .12));
    opacity: 1;
}

/* v18: CTA-Linien – ruhiger, edler, ohne Verschwinden */
.cta-band {
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .12),
        inset 0 6px 0 rgba(255, 255, 255, .18),
        inset 0 -7px 0 rgba(8, 43, 95, .62);
}

.cta-band>.container {
    position: relative;
    z-index: 1;
}

.cta-band::before,
.cta-band::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

/* obere helle Highlight-Linie */
.cta-band::before {
    top: 0;
    left: -65%;
    width: 230%;
    height: 6px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 28%,
            rgba(255, 255, 255, .08) 38%,
            rgba(255, 255, 255, .28) 45%,
            rgba(255, 255, 255, .72) 50%,
            rgba(255, 255, 255, .28) 55%,
            rgba(255, 255, 255, .08) 62%,
            rgba(255, 255, 255, 0) 72%,
            rgba(255, 255, 255, 0) 100%);
    animation: ctaTopGlide 9.8s linear infinite;
}

/* untere blaue Highlight-Linie */
.cta-band::after {
    bottom: 0;
    left: -65%;
    width: 230%;
    height: 7px;
    background: linear-gradient(90deg,
            rgba(8, 43, 95, 0) 0%,
            rgba(8, 43, 95, 0) 28%,
            rgba(8, 43, 95, .14) 38%,
            rgba(8, 43, 95, .38) 45%,
            rgba(8, 43, 95, .95) 49%,
            rgba(39, 91, 150, .76) 50%,
            rgba(8, 43, 95, .95) 51%,
            rgba(8, 43, 95, .38) 55%,
            rgba(8, 43, 95, .14) 62%,
            rgba(8, 43, 95, 0) 72%,
            rgba(8, 43, 95, 0) 100%);
    animation: ctaBottomGlide 12.8s linear infinite;
}

@keyframes ctaTopGlide {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(56.5%)
    }
}

@keyframes ctaBottomGlide {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-56.5%)
    }
}


/* v19: Rechts-/Datenschutzseite, lange Links sauber umbrechen */
.card a {
    overflow-wrap: anywhere;
}

.card ol,
.card ul {
    padding-left: 1.25rem;
}

.card li+li {
    margin-top: .45rem;
}

.card h2+p,
.card h3+p {
    margin-top: .55rem;
}


/* v20: Servicekarten sauber neu aufgebaut */
.service-card {
    position: relative;
    padding: 0 !important;
    min-height: 320px;
    overflow: hidden !important;
    background: transparent !important;
    border: none !important;
    box-shadow: var(--shadow) !important;
    isolation: isolate;
}

.service-card__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    border-radius: inherit;
}

.service-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    z-index: 0;
    transition: transform 1.05s cubic-bezier(.2, .8, .2, 1), opacity .7s ease;
}

.service-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 27, 61, .08), rgba(4, 27, 61, .90));
    z-index: 1;
}

.service-card__body {
    position: relative;
    z-index: 3;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.45rem;
}

.service-card__body h3 {
    color: #fff;
    margin-bottom: .45rem;
}

.service-card__body p {
    color: rgba(255, 255, 255, .9);
}

.service-card.reveal:not(.is-visible) .service-card__media img {
    opacity: 0;
    transform: scale(1.05) translateY(14px);
}

.service-card.reveal.is-visible .service-card__media img {
    opacity: 1;
    transform: scale(1);
}

/* v20: Rahmen exakt auf Bildkante, über allem sichtbar */
.service-card__media .service-frame-svg {
    position: absolute;
    inset: 3px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    z-index: 2;
    pointer-events: none;
    overflow: visible;
}

.service-card__media .service-frame-svg .frame-path {
    fill: none;
    stroke: rgba(255, 255, 255, .98);
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .18));
}

.service-card__media .service-frame-svg .top-left,
.service-card__media .service-frame-svg .top-right,
.service-card__media .service-frame-svg .side-left,
.service-card__media .service-frame-svg .side-right,
.service-card__media .service-frame-svg .bottom-left,
.service-card__media .service-frame-svg .bottom-right {
    opacity: 1;
}

/* mehr Luft unter Überschriften außerhalb von Karten */
.hero h1+p,
.page-hero h1+p,
.section-head h2+p,
.cta-band h2+p {
    margin-top: .3rem;
}

/* v20: CTA-Linien eleganter - Basis immer sichtbar, Highlight läuft weich darüber */
.cta-band {
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 4px 0 rgba(255, 255, 255, .18),
        inset 0 -5px 0 rgba(8, 43, 95, .62);
}

.cta-band>.container {
    position: relative;
    z-index: 2;
}

.cta-band::before,
.cta-band::after {
    content: "";
    position: absolute;
    left: -80%;
    width: 260%;
    pointer-events: none;
    z-index: 1;
    will-change: transform;
    background-repeat: no-repeat;
}

.cta-band::before {
    top: 0;
    height: 4px;
    background-image: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 38%,
            rgba(255, 255, 255, .08) 45%,
            rgba(255, 255, 255, .48) 49%,
            rgba(255, 255, 255, .80) 50%,
            rgba(255, 255, 255, .48) 51%,
            rgba(255, 255, 255, .08) 55%,
            rgba(255, 255, 255, 0) 62%,
            rgba(255, 255, 255, 0) 100%);
    animation: ctaTopFlow 11s linear infinite;
}

.cta-band::after {
    bottom: 0;
    height: 5px;
    background-image: linear-gradient(90deg,
            rgba(8, 43, 95, 0) 0%,
            rgba(8, 43, 95, 0) 38%,
            rgba(8, 43, 95, .14) 45%,
            rgba(8, 43, 95, .58) 49%,
            rgba(39, 91, 150, .92) 50%,
            rgba(8, 43, 95, .58) 51%,
            rgba(8, 43, 95, .14) 55%,
            rgba(8, 43, 95, 0) 62%,
            rgba(8, 43, 95, 0) 100%);
    animation: ctaBottomFlow 13.5s linear infinite;
}

@keyframes ctaTopFlow {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(46%)
    }
}

@keyframes ctaBottomFlow {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-46%)
    }
}



/* Rahmen exakt auf der Bildkante, nur auf Startseite */
.home-service-card .service-card__media .service-frame-svg {
    position: absolute;
    inset: 3px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    z-index: 2;
    pointer-events: none;
    overflow: visible;
}

.home-service-card .service-card__media .service-frame-svg .frame-path {
    fill: none;
    stroke: rgba(255, 255, 255, .98);
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .18));
}

@media (max-width: 920px) {

    .home-service-card,
    .home-service-card .service-card__body {
        min-height: 280px;
    }
}



/* Rahmen exakt auf Bildkante */
.home-service-card .service-card__media .service-frame-svg {
    position: absolute;
    inset: 1.5px;
    width: calc(100% - 3px);
    height: calc(100% - 3px);
    z-index: 2;
    pointer-events: none;
    overflow: visible;
}

.home-service-card .service-card__media .service-frame-svg .frame-path {
    fill: none;
    stroke: rgba(255, 255, 255, .98);
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .16));
}

@media (max-width: 1180px) {
    .compact-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .compact-services-grid {
        grid-template-columns: 1fr;
    }

    .home-service-card,
    .home-service-card .service-card__body {
        min-height: 240px;
    }
}


/* v23: Header/Menü sticky */
[data-header] {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* v23: Startseite Tätigkeiten links Text, rechts 2x2 Karten */
.home-services-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 1.6rem;
    align-items: start;
}

.home-services-split .section-copy {
    padding-top: .25rem;
}

.compact-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.home-service-card {
    position: relative;
    padding: 0 !important;
    min-height: 220px;
    overflow: hidden;
    background: transparent !important;
    border: none !important;
    box-shadow: var(--shadow) !important;
    isolation: isolate;
}

.home-service-card .service-card__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: visible;
}

.home-service-card .service-card__image {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
}

.home-service-card .service-card__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    z-index: 0;
    transition: transform 1.05s cubic-bezier(.2, .8, .2, 1), opacity .7s ease;
}

.home-service-card .service-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 27, 61, .06), rgba(4, 27, 61, .90));
    z-index: 1;
}

.home-service-card .service-card__body {
    position: relative;
    z-index: 3;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
}

.home-service-card .service-card__body h3 {
    color: #fff;
    margin-bottom: .3rem;
    font-size: 1.02rem;
}

.home-service-card .service-card__body p {
    color: rgba(255, 255, 255, .92);
    font-size: .95rem;
    line-height: 1.45;
}

.home-service-card.reveal:not(.is-visible) .service-card__image img {
    opacity: 0;
    transform: scale(1.05) translateY(14px);
}

.home-service-card.reveal.is-visible .service-card__image img {
    opacity: 1;
    transform: scale(1);
}

/* Rahmen leicht außerhalb der Bildkante, dadurch ragt das Bild nicht darüber */
.home-service-card .service-card__media .service-frame-svg {
    position: absolute;
    inset: -2.5px;
    width: calc(100% + 5px);
    height: calc(100% + 5px);
    z-index: 2;
    pointer-events: none;
    overflow: visible;
}

.home-service-card .service-card__media .service-frame-svg .frame-path {
    fill: none;
    stroke: rgba(255, 255, 255, .98);
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .16));
}

@media (max-width: 980px) {
    .home-services-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .compact-services-grid {
        grid-template-columns: 1fr;
    }

    .home-service-card,
    .home-service-card .service-card__body {
        min-height: 240px;
    }
}


/* v24: endgültige Korrekturen Header, Rahmen und CTA/Footernähe */

/* Header zuverlässig oben halten */
:root {
    --header-offset: 122px;
}

body {
    padding-top: var(--header-offset);
}

.site-header,
[data-header] {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 5000 !important;
}

.skip-link {
    z-index: 6000;
}

/* Alte / doppelte Rahmenquellen konsequent deaktivieren */
.service-card::before,
.home-service-card::before {
    content: none !important;
    display: none !important;
    opacity: 0 !important;
    background: none !important;
}

.service-card>.service-frame-svg {
    display: none !important;
}

/* Startseiten-Tätigkeiten: Text links, 4 kleine Karten rechts */
.home-services-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 1.7rem;
    align-items: start;
}

.home-services-split .section-copy {
    padding-top: .25rem;
}

.compact-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

/* Kleine Karten behalten, Bild wird sauber geklippt, Rahmen liegt außen */
.home-service-card {
    position: relative;
    padding: 0 !important;
    min-height: 220px;
    overflow: visible !important;
    background: transparent !important;
    border: none !important;
    box-shadow: var(--shadow) !important;
    isolation: isolate;
}

.home-service-card .service-card__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: visible !important;
    border-radius: inherit;
}

.home-service-card .service-card__image {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
    z-index: 0;
}

.home-service-card .service-card__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    z-index: 0;
    transition: transform 1.05s cubic-bezier(.2, .8, .2, 1), opacity .7s ease;
}

.home-service-card .service-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 27, 61, .06), rgba(4, 27, 61, .90));
    z-index: 1;
}

.home-service-card .service-card__body {
    position: relative;
    z-index: 3;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
}

.home-service-card .service-card__body h3 {
    color: #fff;
    margin-bottom: .3rem;
    font-size: 1.02rem;
}

.home-service-card .service-card__body p {
    color: rgba(255, 255, 255, .92);
    font-size: .95rem;
    line-height: 1.45;
}

.home-service-card.reveal:not(.is-visible) .service-card__image img {
    opacity: 0;
    transform: scale(1.05) translateY(14px);
}

.home-service-card.reveal.is-visible .service-card__image img {
    opacity: 1;
    transform: scale(1);
}

/* Rahmen wirklich um das Bild herum: etwas größer als die Bildkante */
.home-service-card .service-card__media .service-frame-svg {
    position: absolute;
    inset: -5px;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    z-index: 2;
    pointer-events: none;
    overflow: visible;
}

.home-service-card .service-card__media .service-frame-svg .frame-path {
    fill: none;
    stroke: rgba(255, 255, 255, .98);
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .16));
}

/* CTA-Linien im footernahen Bereich konsistent */
.cta-band {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    box-shadow:
        inset 0 4px 0 rgba(255, 255, 255, .18),
        inset 0 -5px 0 rgba(8, 43, 95, .62) !important;
}

.cta-band>.container {
    position: relative;
    z-index: 2;
}

.cta-band::before,
.cta-band::after {
    content: "";
    position: absolute;
    left: -80%;
    width: 260%;
    pointer-events: none;
    z-index: 1;
    will-change: transform;
    background-repeat: no-repeat;
}

.cta-band::before {
    top: 0;
    height: 4px;
    background-image: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 38%,
            rgba(255, 255, 255, .08) 45%,
            rgba(255, 255, 255, .48) 49%,
            rgba(255, 255, 255, .80) 50%,
            rgba(255, 255, 255, .48) 51%,
            rgba(255, 255, 255, .08) 55%,
            rgba(255, 255, 255, 0) 62%,
            rgba(255, 255, 255, 0) 100%);
    animation: ctaTopFlow 11s linear infinite;
}

.cta-band::after {
    bottom: 0;
    height: 5px;
    background-image: linear-gradient(90deg,
            rgba(8, 43, 95, 0) 0%,
            rgba(8, 43, 95, 0) 38%,
            rgba(8, 43, 95, .14) 45%,
            rgba(8, 43, 95, .58) 49%,
            rgba(39, 91, 150, .92) 50%,
            rgba(8, 43, 95, .58) 51%,
            rgba(8, 43, 95, .14) 55%,
            rgba(8, 43, 95, 0) 62%,
            rgba(8, 43, 95, 0) 100%);
    animation: ctaBottomFlow 13.5s linear infinite;
}

@keyframes ctaTopFlow {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(46%)
    }
}

@keyframes ctaBottomFlow {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-46%)
    }
}

.site-footer {
    margin-top: 0;
    position: relative;
    z-index: 1;
}

@media (max-width: 980px) {
    .home-services-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .compact-services-grid {
        grid-template-columns: 1fr;
    }

    .home-service-card,
    .home-service-card .service-card__body {
        min-height: 240px;
    }
}


/* v25: saubere, abschnittsweise Reveal-Reihenfolge */
.reveal-sequence .reveal {
    transition-delay: var(--reveal-delay, 0ms);
}

.faq-section .section-head {
    margin-bottom: 1.35rem;
}

.faq-list details.reveal,
.az-grid .reveal {
    transform: translateY(22px) scale(.99);
}

.faq-list details.reveal.is-visible,
.az-grid .reveal.is-visible {
    transform: none;
}


/* v26: Grüne Mäherlinie ist auf Leistungsseiten entfernt; alte Rahmenanimation deaktivieren */
.service-frame-svg {
    display: none !important;
}

/* v26 Alternative statt weißem Rahmen:
   Bild-Reveal + dezenter Licht-Sweep + kleine Pfeilbewegung.
   Robuster als ein gezeichneter Rahmen, kein Z-Index-/Radiusproblem. */
.home-service-card {
    overflow: hidden !important;
}

.home-service-card .service-card__image {
    overflow: hidden;
}

.home-service-card .service-card__image::before {
    content: "";
    position: absolute;
    inset: -20%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(115deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 36%,
            rgba(255, 255, 255, .20) 48%,
            rgba(255, 255, 255, .42) 50%,
            rgba(255, 255, 255, .18) 52%,
            rgba(255, 255, 255, 0) 64%,
            rgba(255, 255, 255, 0) 100%);
    transform: translateX(-80%) skewX(-10deg);
    opacity: 0;
}

.home-service-card.reveal.is-visible .service-card__image::before {
    animation: serviceLightSweep 1.35s cubic-bezier(.2, .8, .2, 1) .25s forwards;
}

@keyframes serviceLightSweep {
    0% {
        transform: translateX(-82%) skewX(-10deg);
        opacity: 0;
    }

    18% {
        opacity: .9;
    }

    100% {
        transform: translateX(82%) skewX(-10deg);
        opacity: 0;
    }
}

/* Feine statische Kante statt gezeichnetem Vollrahmen */
.home-service-card .service-card__media {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32);
    border-radius: inherit;
}

.home-service-card::after {
    content: "→";
    position: absolute;
    right: .95rem;
    top: .85rem;
    z-index: 4;
    width: 2.05rem;
    height: 2.05rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(4, 27, 61, .32);
    border: 1px solid rgba(255, 255, 255, .35);
    transform: translateX(-6px);
    opacity: 0;
    transition: transform .35s ease, opacity .35s ease, background .35s ease;
}

.home-service-card.reveal.is-visible::after {
    transform: translateX(0);
    opacity: 1;
}

.home-service-card:hover::after {
    transform: translateX(3px);
    background: rgba(155, 196, 64, .82);
    color: var(--navy-2);
}

/* Auf Hover: hochwertige, ruhige Bewegung statt Rahmenzeichnen */
.home-service-card:hover .service-card__image img {
    transform: scale(1.045);
}

.home-service-card:hover .service-card__media {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), 0 0 0 1px rgba(155, 196, 64, .24);
}


/* v27: Statt Pfeil/Licht-Sweep jetzt magnetischer Hover-Effekt auf den Startseitenkarten */
.home-service-card::after {
    content: none !important;
    display: none !important;
}

.home-service-card .service-card__image::before {
    content: none !important;
    display: none !important;
    animation: none !important;
}

/* ruhige Ausgangslage */
.home-service-card {
    transform: translate3d(0, 0, 0);
    transition: transform .28s ease, box-shadow .28s ease;
}

.home-service-card .service-card__media {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
    transition: box-shadow .28s ease;
}

.home-service-card .service-card__image img {
    transform: translate3d(0, 0, 0) scale(1);
    transform-origin: center center;
    transition: transform .18s linear, opacity .7s ease;
    will-change: transform;
}

.home-service-card .service-card__body {
    transition: transform .18s linear;
    will-change: transform;
}

@media (hover:hover) and (pointer:fine) {
    .home-service-card.is-magnetic {
        box-shadow: 0 18px 40px rgba(8, 43, 95, .18);
    }

    .home-service-card.is-magnetic .service-card__media {
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .44);
    }

    .home-service-card.is-magnetic .service-card__image img {
        transform:
            translate3d(calc(var(--mag-x, 0px) * .42), calc(var(--mag-y, 0px) * .42), 0) scale(1.05);
    }

    .home-service-card.is-magnetic .service-card__body {
        transform: translate3d(calc(var(--mag-x, 0px) * .10), calc(var(--mag-y, 0px) * .10), 0);
    }
}


/* Tiefgaragenreinigung */
.gallery--tiefgarage {
    grid-template-columns: .75fr 1.25fr;
}

.gallery--tiefgarage img {
    height: 420px;
}

@media (max-width:920px) {
    .gallery--tiefgarage {
        grid-template-columns: 1fr;
    }

    .gallery--tiefgarage img {
        height: auto;
        aspect-ratio: 4/3;
    }
}


/* Hero-Update: Eyebrow wie Vorlage, zwei Buttons, Seit-2008-Sticker, Notdienst-Link */
.hero--home .hero__inner {
    padding: 4.2rem 0;
}

.hero--home .hero__copy--updated {
    position: relative;
    max-width: 780px;
}

.hero--home .hero__topline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .7rem;
    margin-bottom: 1rem;
}

.hero--home .hero__topline .eyebrow {
    margin-bottom: 0;
}

.hero__since-sticker {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: .34rem .72rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .9);
    backdrop-filter: blur(8px);
    font-family: var(--heading);
    font-weight: 700;
    font-size: .86rem;
    letter-spacing: .02em;
}

.hero--home .hero__copy--updated h1 {
    max-width: 13ch;
}

.hero--home .hero__copy--updated p {
    max-width: 62ch;
}

.hero--home .hero__copy--updated .actions {
    margin-top: 1.15rem;
}

.hero__notdienst-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: 1rem;
    color: #fff;
    text-decoration: none;
    font-family: var(--heading);
    font-weight: 700;
    font-size: .95rem;
    opacity: .92;
}

.hero__notdienst-link:hover {
    opacity: 1;
    transform: translateX(2px);
}

.hero__notdienst-link span:first-child {
    border-bottom: 1px solid rgba(155, 196, 64, .75);
}

.hero--home .button--ghost {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border-color: rgba(255, 255, 255, .22);
    backdrop-filter: blur(8px);
}

.hero--home .button--ghost:hover {
    background: #fff;
    color: var(--navy);
}

@media (max-width:560px) {
    .hero--home .hero__topline {
        gap: .55rem;
    }

    .hero__since-sticker {
        min-height: 31px;
        font-size: .8rem;
        padding: .3rem .62rem;
    }

    .hero__notdienst-link {
        margin-top: .85rem;
    }
}


/* Refinement update */
.topbar__inner {
    justify-content: space-between
}

.topbar__claim {
    opacity: .9
}

.topbar__notdienst {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .45rem .82rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--green), #7bc02b);
    color: var(--navy-2);
    font-family: var(--heading);
    font-weight: 800;
    letter-spacing: .01em;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .18)
}

.topbar__notdienst:hover {
    transform: translateY(-1px);
    filter: saturate(1.03)
}

.hero__copy--updated {
    position: relative;
    max-width: 820px;
    padding-right: 8rem
}

.hero__leadline,
.hero__leadline--home {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-bottom: 1rem
}

.hero__line {
    display: block;
    width: 58px;
    height: 2px;
    background: linear-gradient(90deg, var(--green), rgba(155, 196, 64, .1))
}

.hero__eyebrow {
    font-family: var(--heading);
    font-size: .94rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    opacity: .94
}

.hero__headline {
    max-width: 12ch;
    margin-bottom: .9rem
}

.hero--home .hero__copy--updated p {
    max-width: 58ch
}

.hero__since-stamp {
    position: absolute;
    right: 0;
    top: .75rem;
    width: 112px;
    height: 112px;
    border: 2px solid rgba(255, 255, 255, .42);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .1rem;
    background: rgba(4, 27, 61, .20);
    backdrop-filter: blur(4px);
    transform: rotate(-28deg);
    color: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .18)
}

.hero__since-stamp span {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-size: 1rem;
    line-height: 1
}

.hero__since-stamp strong {
    font-family: var(--heading);
    font-weight: 800;
    font-size: 1.45rem;
    line-height: 1
}

.site-nav__list {
    gap: 1.1rem
}

.site-nav__link {
    hyphens: none
}

.footer__bottom-right span {
    white-space: nowrap
}

/* Reduce hyphenation and improve heading rhythm */
h1,
h2,
h3,
.card h3,
.service-card__body h3,
.faq summary,
.section-head h2,
.section-copy h2 {
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
    text-wrap: balance
}

.card p,
.section-head p,
.section-copy p {
    hyphens: none;
    overflow-wrap: break-word
}

.card h3+p,
.service-card__body h3+p {
    margin-top: .72rem
}

@media (max-width:980px) {
    .hero__copy--updated {
        padding-right: 0
    }

    .hero__since-stamp {
        right: auto;
        left: min(72vw, 520px);
        top: -.1rem;
        width: 116px;
        height: 92px
    }
}

@media (max-width:760px) {
    .topbar__inner {
        min-height: 42px
    }

    .topbar__claim {
        font-size: .84rem
    }

    .topbar__notdienst {
        padding: .38rem .7rem;
        font-size: .84rem
    }

    .hero__leadline,
    .hero__leadline--home {
        margin-bottom: .8rem
    }

    .hero__line {
        width: 40px
    }

    .hero__eyebrow {
        font-size: .83rem;
        letter-spacing: .06em
    }

    .hero__since-stamp {
        display: none
    }
}


/* === Refinement: calmer notdienst, angled buttons, lighter hero labels === */
.hero__eyebrow,
.page-hero .eyebrow,
.hero .eyebrow {
    font-weight: 500 !important;
    letter-spacing: .07em;
}

.page-hero .eyebrow {
    border-radius: 0;
    clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
    padding: .42rem .95rem;
}

.hero__copy--updated {
    padding-right: 0;
}

.hero__since-stamp {
    left: .45rem;
    right: auto;
    top: -3.15rem;
    width: 110px;
    height: 110px;
    border: 2px solid rgba(255, 255, 255, .44);
    background: rgba(4, 27, 61, .18);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .14);
}

.hero__since-stamp span {
    font-size: .98rem;
}

.hero__since-stamp strong {
    font-size: 1.42rem;
}

.button,
.button--ghost,
.button--light,
.topbar__notdienst {
    border-radius: 0 !important;
    clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}

.button {
    box-shadow: 0 16px 34px rgba(8, 43, 95, .10), 0 12px 28px rgba(155, 196, 64, .20);
}

.button--ghost,
.button--light {
    border: 1px solid rgba(8, 43, 95, .14);
}

.topbar__notdienst {
    min-height: 34px;
    padding: .38rem .84rem;
    font-size: .84rem;
    font-weight: 700;
    color: #fff;
    border: 1px solid rgba(155, 196, 64, .38);
    background:
        linear-gradient(122deg, rgba(155, 196, 64, .24) 0%, rgba(155, 196, 64, .18) 38%, rgba(155, 196, 64, .06) 72%, rgba(155, 196, 64, 0) 100%),
        rgba(255, 255, 255, .04);
    box-shadow: none;
    backdrop-filter: blur(4px);
}

.topbar__notdienst:hover {
    transform: translateY(-1px);
    background:
        linear-gradient(122deg, rgba(155, 196, 64, .32) 0%, rgba(155, 196, 64, .22) 42%, rgba(155, 196, 64, .08) 74%, rgba(155, 196, 64, 0) 100%),
        rgba(255, 255, 255, .05);
}

.topbar__claim {
    opacity: .88;
}

/* Home service cards: subtle scroll + hover depth */
.home-service-card {
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    transform-style: preserve-3d;
    will-change: transform;
    overflow: visible;
}

.home-service-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 30px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .0), rgba(255, 255, 255, .34), rgba(155, 196, 64, .18));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .28s ease;
    pointer-events: none;
}

.home-service-card:hover,
.home-service-card:focus-within {
    box-shadow: 0 28px 48px rgba(8, 43, 95, .16);
}

.home-service-card:hover::before,
.home-service-card:focus-within::before {
    opacity: 1;
}

.home-service-card .service-card__image img {
    transition: transform .55s cubic-bezier(.2, .8, .2, 1), filter .35s ease;
}

.home-service-card:hover .service-card__image img,
.home-service-card:focus-within .service-card__image img {
    transform: scale(1.05);
    filter: saturate(1.04) contrast(1.02);
}

.home-service-card .service-card__body {
    transition: transform .28s ease;
}

.home-service-card:hover .service-card__body,
.home-service-card:focus-within .service-card__body {
    transform: translateY(-2px);
}

@media (max-width:980px) {
    .hero__since-stamp {
        left: .2rem;
        top: -2.8rem;
        width: 94px;
        height: 94px;
    }
}

@media (max-width:760px) {
    .topbar__notdienst {
        font-size: .8rem;
        padding: .34rem .72rem;
    }

    .hero__since-stamp {
        display: flex;
        width: 84px;
        height: 84px;
        top: -2.35rem;
        left: .1rem;
    }

    .hero__since-stamp span {
        font-size: .82rem;
    }

    .hero__since-stamp strong {
        font-size: 1.18rem;
    }

    .button,
    .button--ghost,
    .button--light {
        clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    }
}


/* Fix: Inhalte sichtbar lassen, falls JavaScript ausfällt oder einen Fehler hat */
html:not(.has-js) .reveal {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
}

/* Fix: 24h Notdienst dezenter, nicht fett */
.topbar__notdienst {
    font-weight: 500 !important;
}


/* Update: Hero-Stempel höher, Topbar-Notdienst dezenter mit Trenner, schräge Menü-Hover */
:root {
    --ui-angle: 10px;
}

.topbar__notdienst {
    position: relative;
    overflow: hidden;
    padding: .34rem .9rem .34rem 1.2rem;
    min-height: 34px;
    font-weight: 500 !important;
    background: linear-gradient(100deg, transparent 0 13px, rgba(155, 196, 64, .16) 13px, rgba(155, 196, 64, .12) 52%, rgba(155, 196, 64, .05) 82%, rgba(155, 196, 64, 0) 100%), rgba(255, 255, 255, .025);
    border: 0;
    color: #fff;
    clip-path: polygon(var(--ui-angle) 0, 100% 0, calc(100% - var(--ui-angle)) 100%, 0 100%);
}

.topbar__notdienst::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: rgba(255, 255, 255, .34);
    transform: skewX(-18deg);
}

.topbar__notdienst:hover {
    background: linear-gradient(100deg, transparent 0 13px, rgba(155, 196, 64, .22) 13px, rgba(155, 196, 64, .16) 56%, rgba(155, 196, 64, .07) 84%, rgba(155, 196, 64, 0) 100%), rgba(255, 255, 255, .035);
    box-shadow: none;
    filter: none;
}

.site-nav__link,
.dropdown-trigger {
    border-radius: 0 !important;
    clip-path: polygon(var(--ui-angle) 0, 100% 0, calc(100% - var(--ui-angle)) 100%, 0 100%);
}

.site-nav__link:hover,
.site-nav__link.is-active,
.has-dropdown.is-open>.dropdown-trigger,
.dropdown-trigger:hover {
    background: linear-gradient(135deg, rgba(155, 196, 64, .2), rgba(220, 241, 180, .62));
    color: var(--navy);
}

.site-nav__link,
.dropdown-trigger {
    min-height: 44px;
    padding: .72rem 1rem;
}

.hero__copy--updated {
    position: relative;
}

.hero__since-stamp {
    top: -5.5rem;
    left: .75rem;
    right: auto;
    z-index: 3;
}

.hero--home .hero__inner {
    padding-top: 5.2rem;
}

.hero--home .hero__copy--updated .hero__leadline--home {
    margin-top: .2rem;
}

/* Legal page: plain readable layout without animation boxes */
.legal-page .container,
.legal-page__section .container {
    max-width: 920px;
}

.legal-intro {
    padding-top: .2rem;
}

.legal-intro h1 {
    margin: .3rem 0 .6rem;
}

.legal-intro__text {
    margin: 0 0 1rem;
    max-width: 64ch;
    color: var(--muted, #506076);
}

.legal-page .card,
.legal-page__section .card,
.legal-card {
    box-shadow: none;
    border: 1px solid rgba(8, 43, 95, .08);
    background: #fff;
}

.legal-page section,
.legal-page__section,
.legal-page {
    padding-block: 1rem;
}

.legal-page .section-head,
.legal-page__section .section-head,
.legal-head {
    margin-bottom: .85rem;
}

.legal-page .section-head p,
.legal-page__section .section-head p,
.legal-page p,
.legal-page li {
    line-height: 1.6;
}

.legal-page p+p,
.legal-page ul+p,
.legal-page ol+p,
.legal-page h2+p,
.legal-page h3+p,
.legal-page__section p+p,
.legal-page__section ul+p,
.legal-page__section ol+p,
.legal-page__section h2+p,
.legal-page__section h3+p {
    margin-top: .45rem;
}

.legal-page h2,
.legal-page__section h2 {
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    margin-bottom: .55rem;
}

.legal-page h3,
.legal-page__section h3 {
    font-size: 1.05rem;
    margin: 1rem 0 .35rem;
}

.legal-page .legal-stack,
.legal-page__section .legal-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.legal-page .reveal,
.legal-page__section .reveal {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
}

@media (max-width:980px) {
    .hero__since-stamp {
        top: -4.6rem;
        left: .45rem;
    }

    .hero--home .hero__inner {
        padding-top: 4.6rem;
    }
}

@media (max-width:760px) {
    .topbar__notdienst {
        padding: .3rem .78rem .3rem 1rem;
        font-size: .79rem;
    }

    .topbar__notdienst::before {
        left: 6px;
    }

    .hero__since-stamp {
        top: -3.35rem;
        left: .15rem;
        width: 78px;
        height: 78px;
        display: flex;
    }

    .hero--home .hero__inner {
        padding-top: 3.8rem;
    }
}


/* Feinschliff: Winkel nach Logo-Signet ausgerichtet
   Im Logo liegen die prägenden Diagonalen bei ca. 27°. */
:root {
    --logo-angle: 27deg;
    --button-cut: 16px;
}

/* Stempel höher zwischen Header und Hero-Text */
.hero--home .hero__inner {
    padding-top: 6.8rem;
}

.hero__since-stamp {
    top: -7.05rem !important;
    left: .7rem !important;
    right: auto !important;
    z-index: 4;
    transform: rotate(-27deg);
}

/* Notdienst: dezenter, mit diagonalem Trenner links und Verlauf nach rechts */
.topbar__notdienst {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 34px;
    padding: .36rem 1rem .36rem 1.25rem;
    font-weight: 500 !important;
    letter-spacing: .01em;
    color: rgba(255, 255, 255, .94);
    background: rgba(255, 255, 255, .025) !important;
    border: 1px solid rgba(255, 255, 255, .09);
    box-shadow: none !important;
    clip-path: polygon(var(--button-cut) 0, 100% 0, calc(100% - var(--button-cut)) 100%, 0 100%);
}

.topbar__notdienst::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(117deg,
            transparent 0 16px,
            rgba(155, 196, 64, .23) 16px,
            rgba(155, 196, 64, .16) 48%,
            rgba(155, 196, 64, .08) 78%,
            rgba(155, 196, 64, .04) 100%);
}

.topbar__notdienst::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 14%;
    bottom: 14%;
    z-index: 1;
    width: 1px;
    background: rgba(255, 255, 255, .45);
    transform: rotate(var(--logo-angle));
    transform-origin: center;
}

.topbar__notdienst:hover {
    background: rgba(255, 255, 255, .035) !important;
    color: #fff;
    filter: none;
    box-shadow: none !important;
}

.topbar__notdienst:hover::after {
    background:
        linear-gradient(117deg,
            transparent 0 16px,
            rgba(155, 196, 64, .30) 16px,
            rgba(155, 196, 64, .20) 50%,
            rgba(155, 196, 64, .10) 80%,
            rgba(155, 196, 64, .05) 100%);
}

/* Menü und Dropdown: Hover-/Aktivflächen in derselben Formsprache */
.site-nav__link,
.dropdown-trigger,
.dropdown-menu a {
    border-radius: 0 !important;
    clip-path: polygon(var(--button-cut) 0, 100% 0, calc(100% - var(--button-cut)) 100%, 0 100%);
}

.site-nav__link:hover,
.site-nav__link.is-active,
.has-dropdown.is-open>.dropdown-trigger,
.dropdown-trigger:hover {
    background:
        linear-gradient(117deg,
            rgba(155, 196, 64, .30),
            rgba(221, 239, 177, .58) 70%,
            rgba(221, 239, 177, .42));
    color: var(--navy);
}

.dropdown-menu a {
    border-radius: 0 !important;
}

.dropdown-menu a:hover,
.dropdown-menu a.is-active {
    background:
        linear-gradient(117deg,
            rgba(155, 196, 64, .24),
            rgba(242, 247, 229, .95) 74%);
}

/* Buttons: Schrägen konsistent, aber nicht übertrieben */
.button,
.button--ghost,
.button--light {
    border-radius: 0 !important;
    clip-path: polygon(var(--button-cut) 0, 100% 0, calc(100% - var(--button-cut)) 100%, 0 100%);
}

.button:hover,
.button--ghost:hover,
.button--light:hover {
    transform: translateY(-2px);
}

@media (max-width:980px) {
    :root {
        --button-cut: 13px;
    }

    .hero--home .hero__inner {
        padding-top: 5.6rem;
    }

    .hero__since-stamp {
        top: -5.7rem !important;
        left: .45rem !important;
    }
}

@media (max-width:760px) {
    :root {
        --button-cut: 10px;
    }

    .hero--home .hero__inner {
        padding-top: 4.8rem;
    }

    .hero__since-stamp {
        top: -4.25rem !important;
        left: .15rem !important;
        width: 80px;
        height: 80px;
    }

    .topbar__notdienst {
        min-height: 31px;
        padding: .3rem .8rem .3rem 1rem;
        font-size: .78rem;
    }

    .topbar__notdienst::before {
        left: 7px;
    }
}


/* Impressum & Datenschutz: klare lineare Darstellung */
.legal-plain {
    padding: clamp(3.2rem, 6vw, 5.6rem) 0;
    background: linear-gradient(180deg, #fff, #F7F9FC);
}

.legal-plain .container {
    max-width: 920px;
}

.legal-plain__intro {
    margin-bottom: 1.4rem;
}

.legal-plain__intro h1 {
    margin: .35rem 0 .55rem;
}

.legal-plain__intro p {
    max-width: 68ch;
    color: var(--muted);
    margin: 0;
}

.legal-section {
    width: 100%;
    padding: 1.35rem 0;
    border-top: 1px solid rgba(8, 43, 95, .12);
}

.legal-section:last-of-type {
    border-bottom: 1px solid rgba(8, 43, 95, .12);
}

.legal-section h2 {
    margin: 0 0 .85rem;
    font-size: clamp(1.45rem, 2.2vw, 1.9rem);
}

.legal-section h3 {
    margin: 1rem 0 .32rem;
    font-size: 1.08rem;
    color: var(--navy);
}

.legal-section p,
.legal-section li {
    line-height: 1.58;
}

.legal-section p {
    margin: 0 0 .58rem;
}

.legal-section ul,
.legal-section ol {
    margin: .3rem 0 .7rem;
    padding-left: 1.25rem;
}

.legal-section .button {
    margin-top: .35rem;
}

.legal-updated {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: .95rem;
}


/* Update: Seit-2008-Stempel entfernt */
.hero__since-stamp {
    display: none !important;
}

.hero--home .hero__inner {
    padding-top: 4.8rem;
}

/* Update: 24h-Notdienst gleichmäßiger und dezenter.
   Kein Gesamt-Clip mehr, damit die vertikale Optik nicht unruhig wirkt.
   Der diagonale Trenner links bleibt als dezentes CI-Element. */
.topbar__notdienst {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    clip-path: none !important;
    min-height: 32px;
    padding: .32rem .92rem .32rem 1.18rem;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 0 !important;
    background:
        linear-gradient(117deg,
            transparent 0 15px,
            rgba(155, 196, 64, .14) 15px,
            rgba(155, 196, 64, .10) 55%,
            rgba(155, 196, 64, .055) 100%),
        rgba(255, 255, 255, .025) !important;
    color: rgba(255, 255, 255, .94);
    font-weight: 500 !important;
    box-shadow: none !important;
    filter: none !important;
}

.topbar__notdienst::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 17%;
    bottom: 17%;
    width: 1px;
    background: rgba(255, 255, 255, .42);
    transform: skewX(-27deg);
    transform-origin: center;
}

.topbar__notdienst::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, .045), transparent 38%);
    opacity: .55;
}

.topbar__notdienst:hover {
    background:
        linear-gradient(117deg,
            transparent 0 15px,
            rgba(155, 196, 64, .20) 15px,
            rgba(155, 196, 64, .13) 58%,
            rgba(155, 196, 64, .065) 100%),
        rgba(255, 255, 255, .03) !important;
    color: #fff;
}

/* Menü: bewusst nicht nahtlos verbunden.
   Kleine Abstände erhalten die Lesbarkeit und klare Klickflächen. */
.site-nav__list {
    gap: .28rem;
}

@media (max-width:760px) {
    .hero--home .hero__inner {
        padding-top: 3.9rem;
    }

    .topbar__notdienst {
        min-height: 30px;
        padding: .28rem .78rem .28rem 1rem;
        font-size: .78rem;
    }

    .topbar__notdienst::before {
        left: 7px;
    }
}


/* E-Mail-Anti-Crawling: Adresse wird im Browser zusammengesetzt */
.js-email-link {
    text-decoration: underline;
    text-underline-offset: .16em;
}

noscript {
    margin-left: .25rem;
}


/* Notdienst-Button: eleganter, ohne Cut-Artefakt / doppelte Linie */
.topbar__notdienst {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    clip-path: none !important;
    min-height: 31px;
    padding: .3rem .88rem .3rem 1.08rem;
    border-radius: 2px !important;
    border: 1px solid rgba(155, 196, 64, .20);
    color: rgba(255, 255, 255, .92);
    font-weight: 500 !important;
    letter-spacing: .01em;
    background:
        linear-gradient(117deg,
            rgba(155, 196, 64, .14) 0%,
            rgba(155, 196, 64, .095) 48%,
            rgba(155, 196, 64, .035) 100%),
        rgba(255, 255, 255, .025) !important;
    box-shadow: none !important;
    filter: none !important;
}

.topbar__notdienst::before {
    content: "";
    position: absolute;
    left: .48rem;
    top: 50%;
    width: 3px;
    height: 64%;
    background: var(--green);
    transform: translateY(-50%) skewX(-27deg);
    opacity: .82;
    border-radius: 2px;
}

.topbar__notdienst::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, .045), transparent 55%);
    opacity: .42;
}

.topbar__notdienst:hover {
    background:
        linear-gradient(117deg,
            rgba(155, 196, 64, .19) 0%,
            rgba(155, 196, 64, .12) 50%,
            rgba(155, 196, 64, .045) 100%),
        rgba(255, 255, 255, .03) !important;
    border-color: rgba(155, 196, 64, .28);
    color: #fff;
}

.topbar__notdienst:hover::before {
    opacity: 1;
}

@media (max-width:760px) {
    .topbar__notdienst {
        min-height: 29px;
        padding: .27rem .74rem .27rem .95rem;
        font-size: .78rem;
    }

    .topbar__notdienst::before {
        left: .38rem;
        width: 2px;
    }
}


/* Final: 24h-Notdienst ohne Slash, aber mit schräger Buttonform */
.topbar__notdienst {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 31px;
    padding: .32rem .98rem .32rem 1.02rem;
    border: 0 !important;
    border-radius: 0 !important;
    clip-path: polygon(13px 0, 100% 0, calc(100% - 13px) 100%, 0 100%) !important;
    color: rgba(255, 255, 255, .94);
    font-weight: 500 !important;
    letter-spacing: .01em;
    background:
        linear-gradient(117deg,
            rgba(155, 196, 64, .22) 0%,
            rgba(155, 196, 64, .14) 45%,
            rgba(155, 196, 64, .065) 100%),
        rgba(255, 255, 255, .035) !important;
    box-shadow: none !important;
    filter: none !important;
}

/* kein vorderer Slash / Trenner mehr */
.topbar__notdienst::before {
    content: none !important;
    display: none !important;
}

.topbar__notdienst::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(117deg,
            rgba(255, 255, 255, .075) 0%,
            rgba(255, 255, 255, .025) 42%,
            transparent 100%);
    opacity: .55;
}

.topbar__notdienst:hover {
    background:
        linear-gradient(117deg,
            rgba(155, 196, 64, .28) 0%,
            rgba(155, 196, 64, .18) 48%,
            rgba(155, 196, 64, .08) 100%),
        rgba(255, 255, 255, .045) !important;
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width:760px) {
    .topbar__notdienst {
        min-height: 29px;
        padding: .28rem .82rem .28rem .86rem;
        font-size: .78rem;
        clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%) !important;
    }
}


/* Finalfix: 24h-Notdienst Hover ohne doppelte Schrägen */
.topbar__notdienst {
    --notdienst-cut: 13px;
    clip-path: polygon(var(--notdienst-cut) 0, 100% 0, calc(100% - var(--notdienst-cut)) 100%, 0 100%) !important;
    background:
        linear-gradient(117deg,
            rgba(155, 196, 64, .22) 0%,
            rgba(155, 196, 64, .14) 54%,
            rgba(155, 196, 64, .07) 100%),
        rgba(255, 255, 255, .035) !important;
}

.topbar__notdienst::before,
.topbar__notdienst::after {
    content: none !important;
    display: none !important;
}

.topbar__notdienst:hover {
    clip-path: polygon(var(--notdienst-cut) 0, 100% 0, calc(100% - var(--notdienst-cut)) 100%, 0 100%) !important;
    background:
        linear-gradient(117deg,
            rgba(155, 196, 64, .28) 0%,
            rgba(155, 196, 64, .18) 54%,
            rgba(155, 196, 64, .09) 100%),
        rgba(255, 255, 255, .04) !important;
}

/* Dropdown: Schrift an Hauptmenü angleichen, Schrägen im Dropdown entfernen */
.dropdown-menu {
    border-radius: 22px !important;
    overflow: hidden;
}

.dropdown-menu a {
    font-family: var(--heading) !important;
    font-weight: 700 !important;
    letter-spacing: .01em;
    border-radius: 14px !important;
    clip-path: none !important;
    position: relative;
}

.dropdown-menu a::before {
    border-radius: 0 !important;
    width: 3px !important;
    height: 1.35em !important;
    transform: skewX(-27deg);
    background: var(--green) !important;
    flex: 0 0 3px !important;
    opacity: .85;
}

.dropdown-menu a:hover,
.dropdown-menu a.is-active {
    clip-path: none !important;
    background:
        linear-gradient(90deg, rgba(155, 196, 64, .16), rgba(242, 247, 229, .92) 62%, rgba(242, 247, 229, .55)) !important;
}

.dropdown-trigger {
    font-family: var(--heading) !important;
}

@media (max-width:760px) {
    .topbar__notdienst {
        --notdienst-cut: 10px;
    }
}


/* Baumfällung als fünfter Leistungsbereich */
@media (min-width: 621px) {
    .compact-services-grid .home-service-card:nth-child(5) {
        grid-column: 1 / -1;
        min-height: 210px;
    }

    .compact-services-grid .home-service-card:nth-child(5) .service-card__body {
        min-height: 210px;
    }
}

.services-overview-grid .service-card h3 {
    hyphens: none;
}


/* Kontaktseite: 24h Notdienst im Kontaktkasten */
.notdienst-box {
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(8, 43, 95, .12);
    scroll-margin-top: calc(var(--header-height, 120px) + 1.5rem);
}

.notdienst-box h3 {
    margin: 0 0 .35rem;
    color: #b42318;
    font-size: 1.05rem;
    letter-spacing: .04em;
}

.notdienst-box p {
    margin: .25rem 0 0;
}

.notdienst-box__phone {
    color: var(--navy);
}

.notdienst-box__phone span {
    color: var(--muted);
    font-size: .95rem;
}

.notdienst-box__phone strong {
    font-size: 1.18rem;
}


/* Kontakt: E-Mail und Telefonnummern klarer staffeln */
.info-card .js-email-link {
    font-weight: 800;
    color: var(--navy);
    text-decoration: none;
}

.contact-info-bottom {
    margin-top: 1rem !important;
}

.contact-phone-block {
    margin-top: 1rem;
    padding-top: .95rem;
    border-top: 1px solid rgba(8, 43, 95, .12);
    scroll-margin-top: calc(var(--header-height, 120px) + 1.5rem);
}

.contact-phone-block h3 {
    margin: 0 0 .3rem;
    font-size: 1.02rem;
    letter-spacing: .04em;
    color: var(--navy);
}

.contact-phone-block p {
    margin: .15rem 0 0;
}

.contact-phone-block a,
.contact-phone-block strong {
    font-weight: 800;
    color: var(--navy);
    text-decoration: none;
}

.contact-phone-block--emergency h3,
.contact-phone-block--emergency strong {
    color: #b42318;
}


/* Kontaktseite: Abstand zwischen Hero/Einleitung und Kontaktkästen reduzieren */
.page-hero+.contact-main-section {
    padding-top: clamp(1.1rem, 2.2vw, 1.8rem);
}

.contact-main-section .contact-grid {
    margin-top: 0;
}

@media (max-width:760px) {
    .page-hero+.contact-main-section {
        padding-top: 1rem;
    }
}


/* Mobile-Fix: Hero-Lesbarkeit, Footer-Umbruch und horizontale Überläufe */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}

@supports not (overflow-x:clip) {

    html,
    body {
        overflow-x: hidden;
    }
}

.container,
.footer__bottom,
.footer__bottom-right,
.hero__copy,
.page-hero .container {
    min-width: 0;
}

/* Footer darf auf Mobile sauber umbrechen */
.footer__bottom,
.footer__bottom-right {
    flex-wrap: wrap;
}

.footer__bottom-right span,
.footer__bottom>span {
    white-space: normal !important;
    overflow-wrap: break-word;
    word-break: normal;
    max-width: 100%;
}

/* lange Wörter in normalen Textbereichen dürfen umbrechen, Überschriften bleiben kontrolliert */
.site-footer p,
.site-footer li,
.card p,
.section-copy p,
.section-head p,
.page-hero p,
.hero p {
    overflow-wrap: break-word;
    word-break: normal;
}

/* Samsung-S23-/große Mobile-Ansicht: Hero höher, Headline kleiner und ohne Wortzerlegung */
@media (max-width:760px) {
    .hero--home {
        min-height: min(590px, 66vh);
        align-items: start;
    }

    .hero--home .hero__inner {
        padding-top: clamp(1.65rem, 5vh, 2.5rem) !important;
        padding-bottom: 2.8rem !important;
    }

    .hero--home .hero__copy,
    .hero--home .hero__copy--updated {
        max-width: 100%;
    }

    .hero--home .hero__headline,
    .hero--home h1 {
        max-width: 100% !important;
        font-size: clamp(1.78rem, 7.2vw, 2.08rem) !important;
        line-height: 1.08 !important;
        letter-spacing: -0.055em;
        overflow-wrap: normal !important;
        word-break: normal !important;
        hyphens: none !important;
        text-wrap: balance;
    }

    .hero--home .hero__leadline,
    .hero--home .hero__leadline--home {
        margin-bottom: .65rem;
    }

    .hero--home .hero p {
        font-size: .96rem;
        line-height: 1.55;
        margin-bottom: 1.1rem;
    }

    .hero--home .actions {
        gap: .55rem;
    }

    .hero--home .button {
        max-width: 100%;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start !important;
        gap: .65rem;
    }

    .footer__bottom-right {
        width: 100%;
        margin-left: 0 !important;
        flex-direction: column;
        align-items: flex-start !important;
        gap: .55rem;
    }

    .footer__bottom .designed-by {
        margin-left: 0 !important;
    }
}

@media (max-width:430px) {

    .hero--home .hero__headline,
    .hero--home h1 {
        font-size: clamp(1.68rem, 7.05vw, 1.95rem) !important;
        line-height: 1.1 !important;
    }

    .hero--home .hero__eyebrow {
        font-size: .78rem;
        letter-spacing: .045em;
    }

    .hero--home .hero__line {
        width: 34px;
    }
}

@media (max-width:360px) {

    .hero--home .hero__headline,
    .hero--home h1 {
        font-size: 1.55rem !important;
    }
}


/* Dezente lokale SEO-Zeile unterhalb des Hero */
.local-seo-line {
    padding: .78rem 0;
    background: linear-gradient(90deg, rgba(8, 43, 95, .035), rgba(155, 196, 64, .08), rgba(8, 43, 95, .025));
    border-bottom: 1px solid rgba(8, 43, 95, .07);
}

.local-seo-line p {
    margin: 0;
    color: var(--muted);
    font-size: .96rem;
    line-height: 1.45;
}

.local-seo-line p::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: .55rem;
    border-radius: 50%;
    background: var(--green);
    vertical-align: .08em;
}

@media (max-width:760px) {
    .local-seo-line {
        padding: .7rem 0;
    }

    .local-seo-line p {
        font-size: .9rem;
        overflow-wrap: break-word;
    }
}


/* Anker-Scroll: konsistente Offset-Höhe für Sticky Header */
#notdienst,
.contact-phone-block,
.notdienst-box {
    scroll-margin-top: calc(var(--header-offset, 120px) + 1rem) !important;
}


/* Notdienst-Anker: mehr Sicherheitsabstand unter dem Sticky Header */
html {
    scroll-padding-top: calc(var(--header-offset, 120px) + 34px);
}

#notdienst {
    scroll-margin-top: calc(var(--header-offset, 120px) + 34px) !important;
}

@media (max-width:760px) {
    html {
        scroll-padding-top: calc(var(--header-offset, 120px) + 30px);
    }

    #notdienst {
        scroll-margin-top: calc(var(--header-offset, 120px) + 30px) !important;
    }
}


/* Logo-Anordnung: Mobile Header horizontal, Footer gestapelt */
.brand__logo--mobile {
    width: clamp(154px, 42vw, 210px) !important;
    max-height: 58px;
    object-fit: contain;
}

@media (max-width:920px) {
    .header__inner {
        min-height: 72px;
        gap: .8rem;
    }

    .brand {
        max-width: calc(100% - 64px);
    }
}

@media (max-width:380px) {
    .brand__logo--mobile {
        width: 148px !important;
    }
}

.footer__logo--stacked {
    width: clamp(128px, 18vw, 170px);
    height: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}


/* v-next: Dezenter Scroll-Fortschrittsbalken */
.site-header {
    overflow: visible;
}

.scroll-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
    background: transparent;
}

.scroll-progress__bar {
    display: block;
    height: 100%;
    width: 100%;
    transform-origin: left center;
    transform: scaleX(var(--scroll-progress, 0));
    background: linear-gradient(90deg, rgba(8, 43, 95, .95) 0%, rgba(14, 74, 138, .92) 38%, rgba(153, 190, 47, .92) 100%);
    opacity: .78;
    transition: transform .08s linear, opacity .18s ease;
    will-change: transform;
}

.site-header.is-scrolled .scroll-progress__bar {
    opacity: .94;
}

@media (max-width: 760px) {
    .scroll-progress {
        height: 2px;
    }
}


/* Scroll-Fortschritt: oben im Header statt am Dropdown-Rand */
.scroll-progress {
    top: 0 !important;
    bottom: auto !important;
    height: 2px;
    z-index: 1;
}

.dropdown-menu {
    z-index: 95;
}


/* Final: ruhigeres Leistungs-Untermenü */
.dropdown-menu__all {
    font-weight: 800;
}

.dropdown-menu__service {
    position: relative;
    padding-left: 1.55rem !important;
}

.dropdown-menu__service::before {
    content: "";
    position: absolute;
    left: .75rem;
    top: 50%;
    width: .42rem;
    height: 1px;
    background: rgba(8, 43, 95, .34);
    transform: translateY(-50%);
}

/* Footer-Logo mit vollständigem Signet nicht invertieren */
.footer__logo--stacked {
    filter: none !important;
    background: #fff;
    padding: .42rem;
    border-radius: 14px;
}

/* Notdienstnummer seriös, aber nicht zu laut */
.contact-phone-block--emergency a.phone-link--emergency {
    color: var(--navy);
    font-weight: 850;
    text-decoration: none;
}

.contact-phone-block--emergency a.phone-link--emergency:hover {
    color: #b42318;
}

/* Datenschutz-Hinweis unter dem Formular */
.form-privacy-note {
    margin: .25rem 0 .2rem;
    font-size: .9rem;
    line-height: 1.45;
    color: var(--muted);
}

.form-privacy-note a {
    color: var(--navy);
    font-weight: 750;
}

/* Idle-Begrüßung: nur Desktop per JS aktiv */
.idle-greeter {
    position: fixed;
    left: clamp(1rem, 2vw, 1.6rem);
    bottom: clamp(1rem, 2vw, 1.6rem);
    z-index: 80;
    display: flex;
    align-items: flex-end;
    gap: .9rem;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(-10px, 8px, 0);
}

.idle-greeter.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.idle-greeter.is-visible .idle-greeter__signet {
    animation:
        idleSignetIn .78s cubic-bezier(.2, .82, .22, 1) forwards,
        idleSignetFloat 3.6s ease-in-out 1.15s infinite alternate;
}

.idle-greeter.is-visible .idle-greeter__bubble {
    animation: idleBubbleIn .72s cubic-bezier(.2, .82, .22, 1) .16s forwards;
}

.idle-greeter.is-leaving {
    animation: idleGreeterExit .42s ease forwards;
}

.idle-greeter__signet {
    width: 108px;
    height: 108px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    padding: .85rem;
    background: linear-gradient(180deg, rgba(6, 25, 52, .98), rgba(8, 35, 71, .94));
    box-shadow: 0 18px 42px rgba(8, 43, 95, .18);
    border: 1px solid rgba(255, 255, 255, .08);
    filter: drop-shadow(0 12px 18px rgba(8, 43, 95, .18));
    opacity: 0;
    transform: translate3d(-18px, 10px, 0) scale(.97) rotate(-2deg);
    transform-origin: left bottom;
}

.idle-greeter__signet img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.idle-greeter__bubble {
    max-width: 235px;
    padding: .78rem .95rem;
    border-radius: 18px 18px 18px 6px;
    background: #fff;
    color: var(--navy);
    font-weight: 700;
    line-height: 1.35;
    box-shadow: 0 18px 42px rgba(8, 43, 95, .16);
    border: 1px solid rgba(8, 43, 95, .08);
    opacity: 0;
    transform: translate3d(-8px, 8px, 0);
}

@keyframes idleSignetIn {
    0% {
        opacity: 0;
        transform: translate3d(-18px, 10px, 0) scale(.97) rotate(-2deg);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    }
}

@keyframes idleBubbleIn {
    0% {
        opacity: 0;
        transform: translate3d(-8px, 8px, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes idleGreeterExit {
    to {
        opacity: 0;
        transform: translate3d(-12px, 8px, 0);
    }
}

@keyframes idleSignetFloat {
    from {
        transform: translateY(0) rotate(-1deg);
    }

    to {
        transform: translateY(-3px) rotate(1deg);
    }
}

@media (max-width:920px),
(prefers-reduced-motion: reduce) {
    .idle-greeter {
        display: none !important;
    }
}


/* Korrektur: ruhiges Leistungs-Untermenü ohne Slash/Marker */
.dropdown-menu a::before,
.dropdown-menu__service::before {
    content: none !important;
    display: none !important;
}

.dropdown-menu__all {
    padding-left: .95rem !important;
}

.dropdown-menu__service {
    padding-left: 1.45rem !important;
    font-weight: 700 !important;
    color: rgba(8, 43, 95, .88) !important;
}

.dropdown-menu__service:hover,
.dropdown-menu__service.is-active {
    color: var(--navy) !important;
}


/* Kontaktformular-Fallback-Hinweis */
.contact-fallback-notice {
    background: rgba(8, 43, 95, .045);
    border-color: rgba(8, 43, 95, .16);
}

.contact-fallback-notice p {
    margin: .35rem 0 0;
}

.contact-fallback-notice a {
    color: var(--navy);
    font-weight: 750;
}


/* Font-Fallback / Mobile-Font-Ladeverhalten
   Die Wunschschrift wird lokal aus assets/fonts geladen, sobald die Dateien vorhanden sind.
   Auf mobilen Geräten wird sie dank font-display:swap nicht mehr übersprungen.
   Falls die Font-Dateien fehlen, fällt die Seite auf eine ruhige Systemschrift zurück. */
body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

@media (max-width:760px) {
    :root {
        --heading: "Science Gothic", "Bahnschrift", "Roboto Condensed", "Arial Narrow", Arial, Helvetica, system-ui, sans-serif;
    }
}


/* Feintuning: abschließender Hinweis im direkten Kontaktkasten etwas tiefer setzen */
.info-card .contact-info-bottom {
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(8, 43, 95, .08);
}



/* v-next: Bild-Fallbacks / Platzhalter */
.image-tile,
.service-special-card img,
.media-card--placeholder,
.media-card,
.gallery img {
    border-radius: 28px;
}

.image-tile {
    position: relative;
    min-height: 320px;
    overflow: hidden;
}

.image-tile img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
    box-shadow: var(--shadow);
}

.image-tile:nth-child(2) img {
    min-height: 390px;
}

.image-tile.is-fallback,
.media-card.is-fallback,
.service-card__media.is-fallback,
.service-card__image.is-fallback {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(10, 47, 107, .10), rgba(150, 193, 61, .12));
    border: 1px dashed rgba(10, 47, 107, .22);
}

.image-tile.is-fallback::before,
.media-card.is-fallback::before,
.service-card__media.is-fallback::before,
.service-card__image.is-fallback::before,
.media-card--placeholder .media-placeholder::before,
.placeholder-card::before {
    content: attr(data-fallback-label);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    color: var(--navy);
    font-family: var(--heading);
    font-size: 1rem;
    letter-spacing: .02em;
}

.media-card--placeholder {
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(10, 47, 107, .08), rgba(150, 193, 61, .12));
    border: 1px dashed rgba(10, 47, 107, .18);
}

.media-card--placeholder .media-placeholder {
    position: relative;
    width: min(100%, 420px);
    min-height: 180px;
    padding: 1.4rem;
}

.media-card--placeholder .media-placeholder::before {
    content: '';
}

.media-placeholder strong,
.placeholder-card strong {
    display: block;
    font-family: var(--heading);
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: .45rem;
    text-transform: uppercase;
}

.media-placeholder span,
.placeholder-card span {
    display: block;
    color: var(--muted);
    line-height: 1.55;
}

.placeholder-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin-top: 1rem;
}

.placeholder-card {
    position: relative;
    min-height: 104px;
    padding: 1rem;
    border: 1px dashed rgba(10, 47, 107, .18);
    border-radius: 20px;
    background: rgba(255, 255, 255, .72);
}

.placeholder-card::before {
    content: '';
}

/* v-next: Spezielle Reinigungskarten */
.service-special-grid {
    align-items: start;
}

.service-special-card {
    overflow: hidden;
}

.service-special-card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    margin: 0 0 1rem;
    display: block;
}

.service-special-card h3 {
    margin-bottom: .55rem;
}

/* v-next: Notdienst-Anker etwas höher / ruhiger */
html {
    scroll-padding-top: calc(var(--header-offset, 120px) + 38px);
}

#notdienst,
.contact-phone-block,
.notdienst-box {
    scroll-margin-top: calc(var(--header-offset, 120px) + 38px) !important;
}

@media (max-width:760px) {
    html {
        scroll-padding-top: calc(var(--header-offset, 120px) + 44px);
    }

    #notdienst,
    .contact-phone-block,
    .notdienst-box {
        scroll-margin-top: calc(var(--header-offset, 120px) + 44px) !important;
    }

    .image-tile,
    .image-tile img {
        min-height: auto;
    }

    .image-tile img,
    .service-special-card img {
        aspect-ratio: 4/3;
    }

    .placeholder-grid {
        grid-template-columns: 1fr;
    }
}


/* v-next: Piktogramme auf einzelnen Leistungsseiten */
.section-icon-badge {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin: 0 0 .95rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(10, 47, 107, .08), rgba(150, 193, 61, .14));
    border: 1px solid rgba(10, 47, 107, .08);
    box-shadow: 0 14px 28px rgba(10, 47, 107, .10);
}

.section-icon-badge img {
    width: 38px;
    height: 38px;
    display: block;
}

.section-icon-badge--small {
    width: 52px;
    height: 52px;
    margin-bottom: .8rem;
    border-radius: 16px;
}

.section-icon-badge--small img {
    width: 30px;
    height: 30px;
}

.band .card .section-icon-badge--small,
.split-highlight .card .section-icon-badge--small {
    margin-bottom: .75rem;
}

@media (max-width:760px) {
    .section-icon-badge {
        width: 58px;
        height: 58px;
        border-radius: 18px;
    }

    .section-icon-badge img {
        width: 34px;
        height: 34px;
    }

    .section-icon-badge--small {
        width: 48px;
        height: 48px;
        border-radius: 15px;
    }

    .section-icon-badge--small img {
        width: 28px;
        height: 28px;
    }
}


/* v-next refined icon system */
:root {
    --icon-badge-bg: linear-gradient(135deg, rgba(10, 47, 107, .07), rgba(60, 123, 224, .04) 56%, rgba(150, 193, 61, .12));
    --icon-badge-border: rgba(10, 47, 107, .10);
}

.section-icon-badge {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin: 0 0 .95rem;
    border-radius: 18px;
    background: var(--icon-badge-bg);
    border: 1px solid var(--icon-badge-border);
    box-shadow: 0 14px 28px rgba(10, 47, 107, .08);
    backdrop-filter: blur(4px);
}

.section-icon-badge img {
    width: 34px;
    height: 34px;
    display: block;
}

.section-icon-badge--small {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    margin-bottom: .8rem;
    box-shadow: none;
}

.section-icon-badge--small img {
    width: 28px;
    height: 28px;
}

.service-icon-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem;
    margin-top: 1.15rem;
}

.service-mini-icon {
    display: flex;
    align-items: center;
    gap: .8rem;
    min-height: 72px;
    padding: .9rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(10, 47, 107, .08);
    box-shadow: 0 14px 24px rgba(10, 47, 107, .07);
}

.service-mini-icon img {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
}

.service-mini-icon span {
    font-family: var(--heading);
    font-size: .86rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--navy);
    line-height: 1.25;
}

.band .card .section-icon-badge--small,
.split-highlight .card .section-icon-badge--small {
    margin-bottom: .75rem;
}

@media (max-width:980px) {
    .service-icon-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width:760px) {
    .section-icon-badge {
        width: 56px;
        height: 56px;
        border-radius: 16px;
    }

    .section-icon-badge img {
        width: 31px;
        height: 31px;
    }

    .section-icon-badge--small {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .section-icon-badge--small img {
        width: 26px;
        height: 26px;
    }

    .service-mini-icon {
        min-height: 66px;
        padding: .82rem .9rem;
    }

    .service-mini-icon span {
        font-size: .82rem;
    }
}



/* Icon system refinement: ruhiger, wertiger, einfarbig */
.section-icon-badge {
    width: 60px !important;
    height: 60px !important;
    margin: 0 0 1rem !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(247, 250, 255, .94)) !important;
    border: 1px solid rgba(10, 47, 107, .08) !important;
    box-shadow: 0 10px 24px rgba(10, 47, 107, .07) !important;
    backdrop-filter: none !important;
}

.section-icon-badge img {
    width: 30px !important;
    height: 30px !important;
    display: block;
}

.section-icon-badge--small {
    width: 46px !important;
    height: 46px !important;
    border-radius: 14px !important;
    margin-bottom: .78rem !important;
    box-shadow: 0 8px 18px rgba(10, 47, 107, .05) !important;
}

.section-icon-badge--small img {
    width: 24px !important;
    height: 24px !important;
}

.service-icon-strip {
    gap: .9rem !important;
    margin-top: 1.2rem !important;
}

.service-mini-icon {
    min-height: 68px !important;
    padding: .9rem 1rem !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, .9) !important;
    border: 1px solid rgba(10, 47, 107, .07) !important;
    box-shadow: 0 10px 20px rgba(10, 47, 107, .05) !important;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.service-mini-icon:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(10, 47, 107, .07) !important;
    border-color: rgba(10, 47, 107, .12) !important;
}

.service-mini-icon img {
    width: 24px !important;
    height: 24px !important;
    flex: 0 0 24px !important;
    opacity: .96;
}

.service-mini-icon span {
    font-family: var(--heading) !important;
    font-size: .9rem !important;
    letter-spacing: .015em !important;
    text-transform: none !important;
    color: var(--navy) !important;
    line-height: 1.28 !important;
}

@media (max-width:760px) {
    .section-icon-badge {
        width: 54px !important;
        height: 54px !important;
        border-radius: 16px !important;
    }

    .section-icon-badge img {
        width: 28px !important;
        height: 28px !important;
    }

    .section-icon-badge--small {
        width: 44px !important;
        height: 44px !important;
        border-radius: 13px !important;
    }

    .section-icon-badge--small img {
        width: 22px !important;
        height: 22px !important;
    }

    .service-mini-icon {
        min-height: 64px !important;
        padding: .82rem .9rem !important;
    }

    .service-mini-icon span {
        font-size: .84rem !important;
    }
}



/* Finaler Feinschliff: Rahmen-Texte, Piktogramme, Platzhalter, Spezialreinigung, Idle-Greeter */
.service-icon-strip {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    gap: .9rem !important;
}

.service-mini-icon {
    min-height: 0 !important;
    align-items: flex-start !important;
}

.service-mini-icon span {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    hyphens: none !important;
    font-size: .88rem !important;
    line-height: 1.3 !important;
}

.placeholder-card {
    min-height: 116px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.placeholder-card strong {
    font-size: .92rem !important;
    line-height: 1.25 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    hyphens: none !important;
}

.placeholder-card span {
    font-size: .95rem !important;
    line-height: 1.45 !important;
}

.media-placeholder strong {
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.media-placeholder span {
    max-width: 34ch !important;
}

.service-special-gallery {
    display: grid;
    gap: .85rem;
    margin: 0 0 1rem;
}

.service-special-gallery--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-special-gallery img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

.service-special-card>img {
    border-radius: 16px;
}

.idle-greeter {
    transform: none !important;
}

.idle-greeter.is-visible {
    opacity: 1;
    transform: none !important;
}

.idle-greeter__signet {
    width: 74px !important;
    height: 74px !important;
    padding: .8rem !important;
    background: rgba(255, 255, 255, .96) !important;
    border: 1px solid rgba(10, 47, 107, .10) !important;
    box-shadow: 0 12px 28px rgba(8, 43, 95, .10) !important;
    filter: none !important;
    opacity: 0;
    transform: translate3d(-8px, 4px, 0) scale(.985) !important;
}

.idle-greeter__bubble {
    max-width: none !important;
    min-width: 360px !important;
    padding: .78rem 1.05rem !important;
    box-shadow: 0 14px 30px rgba(8, 43, 95, .12) !important;
}

.idle-greeter__bubble span {
    display: block;
    white-space: nowrap;
}

.idle-greeter.is-visible .idle-greeter__signet {
    animation: idleSignetInSoft .52s ease-out forwards !important;
}

.idle-greeter.is-visible .idle-greeter__bubble {
    animation: idleBubbleInSoft .5s ease-out .08s forwards !important;
}

@keyframes idleSignetInSoft {
    from {
        opacity: 0;
        transform: translate3d(-8px, 4px, 0) scale(.985);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes idleBubbleInSoft {
    from {
        opacity: 0;
        transform: translate3d(-6px, 4px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (max-width:980px) {
    .service-icon-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width:760px) {
    .service-icon-strip {
        grid-template-columns: 1fr !important;
    }

    .service-mini-icon span {
        font-size: .84rem !important;
    }

    .service-special-gallery--2 {
        grid-template-columns: 1fr;
    }
}


/* Update: Gartenpflege-Fotos, Reinigungsblöcke, Platzhalter, Idle-Greeter */
.service-special-stack {
    display: grid;
    gap: 1.25rem;
}

.service-special-stack .service-special-card {
    max-width: 100%;
}

.media-placeholder,
.placeholder-card {
    color: var(--color-text, #17324d) !important;
}

.media-placeholder strong,
.placeholder-card strong,
.media-placeholder span,
.placeholder-card span {
    color: #17324d !important;
    opacity: 1 !important;
}

.media-card--placeholder,
.placeholder-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(244, 247, 251, .96)) !important;
    border: 1px dashed rgba(10, 47, 107, .18) !important;
}

.placeholder-card strong {
    display: block;
    margin-bottom: .25rem;
}

.idle-greeter {
    left: 1.25rem !important;
    bottom: 1.25rem !important;
}

.idle-greeter__panel {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .8rem 1rem;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(10, 47, 107, .10);
    border-radius: 20px;
    box-shadow: 0 18px 42px rgba(8, 43, 95, .16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.idle-greeter__signet {
    flex: 0 0 64px !important;
    width: 64px !important;
    height: 64px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.idle-greeter__signet img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.idle-greeter__bubble {
    min-width: 420px !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.idle-greeter__bubble span {
    line-height: 1.45;
}

.idle-greeter.is-visible .idle-greeter__panel {
    animation: idlePanelIn .44s ease-out forwards;
}

.idle-greeter.is-leaving .idle-greeter__panel {
    animation: idlePanelOut .32s ease-in forwards;
}

@keyframes idlePanelIn {
    from {
        opacity: 0;
        transform: translate3d(-12px, 10px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes idlePanelOut {
    from {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }

    to {
        opacity: 0;
        transform: translate3d(-10px, 10px, 0);
    }
}

@media (max-width: 1200px) {
    .idle-greeter__bubble {
        min-width: 360px !important;
    }
}


/* Final fix: unwanted house image replacement, stable home hero, centered idle panel, clearer placeholders */
.home-service-card .service-card__image img,
.media-card img,
.service-special-card img {
    display: block;
}

/* reduce CLS on homepage hero */
.hero--home {
    min-height: min(760px, 78vh);
}

.hero--home .hero__inner {
    min-height: clamp(420px, 58vh, 560px);
    display: flex;
    align-items: center;
}

.hero--home .hero__copy--updated {
    min-height: clamp(260px, 34vh, 340px);
}

.hero--home .hero__headline {
    min-height: 2.15em;
    line-height: .94;
}

.hero--home .hero__leadline--home {
    min-height: 1.4rem;
}

.hero--home .actions {
    min-height: 3.4rem;
}

/* idle info block */
.idle-greeter {
    left: 1.25rem !important;
    bottom: 1.25rem !important;
}

.idle-greeter__panel {
    display: grid !important;
    grid-template-columns: 56px auto;
    align-items: center !important;
    column-gap: .9rem;
    padding: .8rem 1rem;
    background: rgba(255, 255, 255, .76) !important;
    border: 1px solid rgba(10, 47, 107, .12);
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(8, 43, 95, .15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.idle-greeter__signet {
    width: 56px !important;
    height: 56px !important;
    align-self: center !important;
    justify-self: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.idle-greeter__signet img {
    width: 46px !important;
    height: 46px !important;
    object-fit: contain;
    display: block;
}

.idle-greeter__bubble {
    min-width: 430px !important;
    width: auto !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center !important;
    align-self: center !important;
    row-gap: .12rem;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.idle-greeter__bubble span {
    display: block;
    white-space: nowrap;
    line-height: 1.38;
    margin: 0;
}

.media-card--placeholder,
.placeholder-card {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(245, 248, 252, .98)) !important;
    border: 1px dashed rgba(10, 47, 107, .18) !important;
}

.media-placeholder,
.placeholder-card {
    color: #17324d !important;
}

.media-placeholder strong,
.placeholder-card strong,
.media-placeholder span,
.placeholder-card span {
    color: #17324d !important;
    opacity: 1 !important;
}

.media-placeholder strong,
.placeholder-card strong {
    display: block;
    margin-bottom: .28rem;
}

@media (max-width: 900px) {
    .hero--home .hero__inner {
        min-height: auto;
    }

    .hero--home .hero__copy--updated {
        min-height: auto;
    }

    .hero--home .hero__headline {
        min-height: auto;
    }

    .idle-greeter__panel {
        grid-template-columns: 48px auto;
        padding: .75rem .9rem;
    }

    .idle-greeter__signet {
        width: 48px !important;
        height: 48px !important;
    }

    .idle-greeter__signet img {
        width: 40px !important;
        height: 40px !important;
    }

    .idle-greeter__bubble {
        min-width: 0 !important;
    }

    .idle-greeter__bubble span {
        white-space: normal;
    }
}


/* final hotfix: stable hero, corrected signet block, readable cards, visible placeholders */
:root {
    --header-offset: 122px !important;
}

.topbar {
    min-height: 38px;
}

.topbar__inner {
    min-height: 38px;
}

.header__inner {
    min-height: 84px;
}

.brand__logo--desktop {
    display: block;
    height: 52px;
    width: auto;
}

.brand__logo--mobile {
    display: none;
    height: 54px;
    width: auto;
}

/* Prevent perceived jumping in heroes on refresh */
.hero .reveal,
.hero .reveal--hero,
.page-hero .reveal,
.hero .reveal.is-visible,
.hero .reveal--hero.is-visible,
.page-hero .reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
}

.hero,
.page-hero {
    overflow: hidden;
}

.hero__bg,
.hero__bg img {
    display: block;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero.section--first,
.page-hero.section--first {
    margin-top: 0 !important;
}

body {
    padding-top: 122px !important;
}

@media (max-width: 920px) {
    body {
        padding-top: 114px !important;
    }

    :root {
        --header-offset: 114px !important;
    }

    .topbar,
    .topbar__inner {
        min-height: 34px;
    }

    .header__inner {
        min-height: 80px;
    }
}

/* Better idle welcome block */
.idle-greeter {
    left: 1.5rem !important;
    bottom: 1.5rem !important;
}

.idle-greeter__panel {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1rem !important;
    padding: .78rem 1rem !important;
    background: rgba(255, 255, 255, .70) !important;
    border: 1px solid rgba(10, 47, 107, .10) !important;
    border-radius: 18px !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

.idle-greeter__signet {
    flex: 0 0 52px !important;
    width: 52px !important;
    height: 52px !important;
    margin: 0 0 0 .12rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    justify-self: auto !important;
    transform: none !important;
}

.idle-greeter__signet img {
    width: 42px !important;
    height: 42px !important;
    display: block !important;
    object-fit: contain !important;
}

.idle-greeter__bubble {
    min-width: 460px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: .14rem !important;
    align-self: center !important;
}

.idle-greeter__bubble span {
    white-space: nowrap !important;
    line-height: 1.36 !important;
    margin: 0 !important;
}

@media (max-width: 920px) {
    .idle-greeter__panel {
        gap: .8rem !important;
        padding: .7rem .85rem !important;
    }

    .idle-greeter__signet {
        flex-basis: 46px !important;
        width: 46px !important;
        height: 46px !important;
    }

    .idle-greeter__signet img {
        width: 36px !important;
        height: 36px !important;
    }

    .idle-greeter__bubble {
        min-width: 0 !important;
    }

    .idle-greeter__bubble span {
        white-space: normal !important;
    }
}

/* White cards inside dark bands must stay readable */
.band .card {
    background: #fff !important;
    border-color: rgba(8, 43, 95, .08) !important;
}

.band .card h3,
.band .card .kicker,
.band .card strong {
    color: var(--navy-2) !important;
}

.band .card p,
.band .card li,
.band .card span:not(.kicker) {
    color: var(--muted) !important;
}

/* Placeholders */
.media-card--placeholder,
.placeholder-card {
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%) !important;
    border: 1px dashed rgba(10, 47, 107, .18) !important;
    color: #17324d !important;
}

.media-placeholder,
.media-placeholder strong,
.media-placeholder span,
.placeholder-card,
.placeholder-card strong,
.placeholder-card span,
.placeholder-card div {
    color: #17324d !important;
}

.placeholder-grid {
    align-items: stretch;
}

.placeholder-card {
    min-height: 112px !important;
    padding: 1rem !important;
    text-align: center !important;
}

.placeholder-card>div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: .28rem;
}

.placeholder-card strong {
    display: block !important;
    font-size: 1rem !important;
    line-height: 1.2 !important;
}

.placeholder-card span {
    display: block !important;
    font-size: .94rem !important;
    line-height: 1.35 !important;
}


/* request hotfix: start hero, idle info, home cards, cleaning zig-zag */
.home-service-card,
.home-service-card::before,
.home-service-card::after,
.home-service-card .service-card__media,
.home-service-card .service-card__image,
.home-service-card .service-card__image::before,
.home-service-card .service-card__image::after {
    box-shadow: none !important;
    border: none !important;
}

.home-service-card {
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid rgba(8, 43, 95, .08) !important;
}

.home-service-card .service-card__media {
    border-radius: 26px 26px 0 0 !important;
    overflow: hidden !important;
    background: transparent !important;
}

.home-service-card .service-card__image {
    position: relative !important;
    border-radius: 26px 26px 0 0 !important;
    overflow: hidden !important;
    isolation: isolate !important;
}

.home-service-card .service-card__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: none !important;
    transform: none !important;
}

.home-service-card:hover .service-card__image img,
.home-service-card:focus-within .service-card__image img {
    transform: scale(1.025) !important;
    filter: none !important;
}

.home-service-card .service-card__body {
    background: #fff !important;
    color: var(--navy-2) !important;
}

.home-service-card .service-card__body h3 {
    color: var(--navy-2) !important;
}

.home-service-card .service-card__body p {
    color: var(--muted) !important;
}

/* idle info cleaner, without frame line */
.idle-greeter__panel {
    border: none !important;
    box-shadow: 0 16px 36px rgba(8, 43, 95, .10) !important;
    background: rgba(255, 255, 255, .20) !important;
}

.idle-greeter__signet {
    margin: 0 .1rem 0 .2rem !important;
    align-self: center !important;
}

.idle-greeter__bubble {
    min-width: 510px !important;
    margin-top: 0 !important;
    align-self: center !important;
}

.idle-greeter__panel .idle-greeter__bubble,
.idle-greeter__panel .idle-greeter__bubble span {
    text-shadow: none !important;
}

/* Placeholder texts visible */
.media-placeholder {
    min-height: 220px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: .45rem !important;
    color: #17324d !important;
}

.media-placeholder strong,
.media-placeholder span {
    color: #17324d !important;
}

.media-placeholder strong {
    font-size: 1.05rem !important;
}

.media-placeholder span {
    max-width: 34ch;
}

/* Snake layout for special cleaning */
.snake-service-list {
    display: grid;
    gap: 1.3rem;
}

.snake-service-item {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: 1.2rem;
    align-items: stretch;
}

.snake-service-item--reverse .snake-service-item__media {
    order: 2;
}

.snake-service-item--reverse .snake-service-item__copy {
    order: 1;
}

.snake-service-item__media,
.snake-service-item__copy {
    min-width: 0;
}

.snake-service-item__media img {
    display: block;
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 26px;
}

.snake-service-item__copy {
    background: #fff;
    border: 1px solid rgba(8, 43, 95, .08);
    border-radius: 26px;
    padding: 1.4rem 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.snake-service-item__copy h3 {
    margin-bottom: .65rem;
    font-size: 1.32rem;
}

.snake-service-item__copy p {
    margin: 0;
    color: var(--muted);
}

@media (max-width: 920px) {

    .snake-service-item,
    .snake-service-item--reverse {
        grid-template-columns: 1fr;
    }

    .snake-service-item--reverse .snake-service-item__media,
    .snake-service-item--reverse .snake-service-item__copy {
        order: initial;
    }

    .snake-service-item__copy {
        padding: 1.1rem 1rem;
    }

    .idle-greeter__bubble {
        min-width: 0 !important;
    }
}


/* v-next final adjustments: larger header logo, calmer idle greeter, visible home card images */
.brand {
    overflow: visible !important;
}

.brand__logo--desktop {
    width: auto !important;
    height: 64px !important;
    max-width: none !important;
    display: block !important;
}

.brand__logo--mobile {
    width: auto !important;
    height: 58px !important;
    max-width: none !important;
    display: none !important;
}

.header__inner {
    min-height: 84px !important;
    overflow: visible !important;
}

@media (max-width:1050px) {
    .brand__logo--desktop {
        height: 58px !important;
    }
}

@media (max-width:920px) {
    .brand__logo--desktop {
        display: none !important;
    }

    .brand__logo--mobile {
        display: block !important;
        height: 52px !important;
    }

    .header__inner {
        min-height: 78px !important;
    }
}

/* Home service cards: images visible again */
.home-service-card {
    display: grid !important;
    grid-template-rows: 190px auto !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid rgba(8, 43, 95, .08) !important;
    border-radius: 26px !important;
}

.home-service-card .service-card__media {
    position: relative !important;
    inset: auto !important;
    height: 190px !important;
    overflow: hidden !important;
    border-radius: 26px 26px 0 0 !important;
    background: #dde6ef !important;
}

.home-service-card .service-card__image,
.home-service-card .service-card__image::before,
.home-service-card .service-card__image::after,
.home-service-card .service-card__media::before,
.home-service-card .service-card__media::after {
    position: relative !important;
    content: none !important;
    display: block !important;
}

.home-service-card .service-card__image {
    inset: auto !important;
    height: 100% !important;
    border-radius: inherit !important;
    overflow: hidden !important;
}

.home-service-card .service-card__image img {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 190px !important;
    object-fit: cover !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    transform: none !important;
}

.home-service-card .service-card__body {
    position: relative !important;
    z-index: 2 !important;
    min-height: auto !important;
    padding: 1rem 1rem 1.1rem !important;
    background: #fff !important;
}

.home-service-card .service-card__body h3,
.home-service-card .service-card__body p {
    color: inherit !important;
}

.home-service-card .service-card__body h3 {
    color: var(--navy-2) !important;
}

.home-service-card .service-card__body p {
    color: var(--muted) !important;
}

/* Delay info field calmer and more compact */
.idle-greeter {
    left: 1.25rem !important;
    bottom: 1.25rem !important;
}

.idle-greeter__panel {
    display: grid !important;
    grid-template-columns: 52px auto !important;
    align-items: center !important;
    gap: .8rem !important;
    width: auto !important;
    max-width: 460px !important;
    padding: .8rem .95rem !important;
    background: rgba(255, 255, 255, .90) !important;
    border: none !important;
    border-radius: 18px !important;
    box-shadow: 0 14px 34px rgba(8, 43, 95, .16) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.idle-greeter__signet {
    width: 52px !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    filter: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: center !important;
    align-self: center !important;
    transform: none !important;
}

.idle-greeter__signet img {
    width: 42px !important;
    height: 42px !important;
    display: block !important;
}

.idle-greeter__bubble {
    min-width: 0 !important;
    max-width: none !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: .12rem !important;
    align-self: center !important;
}

.idle-greeter__bubble span {
    display: block !important;
    white-space: nowrap !important;
    color: var(--navy-2) !important;
    line-height: 1.35 !important;
    margin: 0 !important;
}

@media (max-width:920px) {
    .idle-greeter__panel {
        max-width: calc(100vw - 2rem) !important;
        grid-template-columns: 46px auto !important;
    }

    .idle-greeter__signet {
        width: 46px !important;
        height: 46px !important;
    }

    .idle-greeter__signet img {
        width: 36px !important;
        height: 36px !important;
    }

    .idle-greeter__bubble span {
        white-space: normal !important;
    }
}

/* Cleaner footer credit */
.designed-by span {
    font-weight: 700 !important;
}

/* Generic error notice without extra heading */
.notice.error ul {
    margin: 0;
    padding-left: 1.1rem;
}

.notice.error strong {
    display: none !important;
}

/* Keep dark-on-light readability in info cards */
.card h3,
.card p,
.card li,
.info-card h2,
.info-card h3,
.info-card p,
.icon-text-card h3,
.icon-text-card p,
.service-card__body h3,
.service-card__body p {
    text-shadow: none;
}


/* v-final-user-feedback: larger header logo, overlay activity cards, calmer idle hint */
.header__inner {
    min-height: 84px !important;
    overflow: visible !important;
}

.brand {
    display: flex !important;
    align-items: center !important;
    overflow: visible !important;
}

.brand__logo--desktop {
    display: block !important;
    width: auto !important;
    height: 76px !important;
    max-width: none !important;
}

.brand__logo--mobile {
    display: none !important;
    width: auto !important;
    height: 62px !important;
    max-width: none !important;
}

@media (max-width:1050px) {
    .brand__logo--desktop {
        height: 68px !important;
    }
}

@media (max-width:920px) {
    .header__inner {
        min-height: 76px !important;
    }

    .brand__logo--desktop {
        display: none !important;
    }

    .brand__logo--mobile {
        display: block !important;
        height: 58px !important;
    }
}

@media (max-width:560px) {
    .header__inner {
        min-height: 72px !important;
    }

    .brand__logo--mobile {
        height: 54px !important;
    }
}

/* Startseite: Tätigkeitskarten wieder direkt auf Foto, ohne weißen Rahmen */
.compact-services-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem !important;
}

.home-service-card {
    position: relative !important;
    min-height: 220px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: none !important;
    background: transparent !important;
    border-radius: 28px !important;
    box-shadow: 0 14px 32px rgba(4, 27, 61, .22) !important;
    isolation: isolate !important;
}

.home-service-card::before,
.home-service-card::after,
.home-service-card .service-card__media::before,
.home-service-card .service-card__media::after,
.home-service-card .service-card__image::before {
    content: none !important;
    display: none !important;
}

.home-service-card .service-card__media {
    position: absolute !important;
    inset: 0 !important;
    height: auto !important;
    overflow: hidden !important;
    border-radius: inherit !important;
    background: #0d2a57 !important;
}

.home-service-card .service-card__image {
    position: absolute !important;
    inset: 0 !important;
    height: auto !important;
    overflow: hidden !important;
    border-radius: inherit !important;
}

.home-service-card .service-card__image img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    opacity: 1 !important;
    visibility: visible !important;
    border-radius: inherit !important;
    transform: scale(1) !important;
    transition: transform .9s ease, opacity .6s ease !important;
}

.home-service-card .service-card__image::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, rgba(4, 27, 61, .16) 0%, rgba(4, 27, 61, .32) 42%, rgba(4, 27, 61, .86) 100%) !important;
    z-index: 1 !important;
}

.home-service-card:hover .service-card__image img,
.home-service-card:focus-within .service-card__image img {
    transform: scale(1.03) !important;
}

.home-service-card .service-card__body {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 3 !important;
    min-height: auto !important;
    padding: 1rem 1rem 1.05rem !important;
    background: transparent !important;
    display: block !important;
}

.home-service-card .service-card__body h3,
.home-service-card .service-card__body p {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .22) !important;
}

.home-service-card .service-card__body h3 {
    margin: 0 0 .32rem !important;
    font-size: 1.03rem !important;
    line-height: 1.18 !important;
}

.home-service-card .service-card__body p {
    margin: 0 !important;
    font-size: .95rem !important;
    line-height: 1.38 !important;
    max-width: 92% !important;
}

.home-service-card.reveal:not(.is-visible) .service-card__image img {
    opacity: 0 !important;
    transform: scale(1.035) translateY(14px) !important;
}

.home-service-card.reveal.is-visible .service-card__image img {
    opacity: 1 !important;
    transform: scale(1) translateY(0) !important;
}

.home-service-card .service-frame-svg {
    display: none !important;
}

@media (max-width:620px) {
    .compact-services-grid {
        grid-template-columns: 1fr !important;
    }

    .home-service-card {
        min-height: 240px !important;
    }
}

/* Delay-Infofeld: schmaler, ruhiger, ohne Innenrahmen */
.idle-greeter {
    left: 1rem !important;
    bottom: 1rem !important;
}

.idle-greeter__panel,
.idle-greeter__panel::before,
.idle-greeter__panel::after,
.idle-greeter__bubble,
.idle-greeter__bubble::before,
.idle-greeter__bubble::after {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.idle-greeter__panel {
    display: grid !important;
    grid-template-columns: 48px auto !important;
    align-items: center !important;
    gap: .7rem !important;
    max-width: 350px !important;
    width: auto !important;
    padding: .78rem .9rem !important;
    background: rgba(255, 255, 255, .94) !important;
    border-radius: 18px !important;
    box-shadow: 0 14px 28px rgba(8, 43, 95, .16) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

.idle-greeter__signet {
    width: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    justify-self: center !important;
    align-self: center !important;
}

.idle-greeter__signet img {
    width: 40px !important;
    height: 40px !important;
    display: block !important;
}

.idle-greeter__bubble {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: .08rem !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    max-width: none !important;
}

.idle-greeter__bubble span {
    display: block !important;
    white-space: nowrap !important;
    line-height: 1.35 !important;
    color: var(--navy-2) !important;
}

@media (max-width:900px) {
    .idle-greeter__panel {
        max-width: calc(100vw - 1.5rem) !important;
    }

    .idle-greeter__bubble span {
        white-space: normal !important;
    }
}


/* FINAL: Header-Logo wirklich größer */
.header-main {
    overflow: visible !important;
}

.header__inner {
    min-height: 88px !important;
    overflow: visible !important;
}

.brand {
    display: flex !important;
    align-items: center !important;
    overflow: visible !important;
    flex: 0 0 auto !important;
}

.brand__logo,
.brand__logo--desktop {
    display: block !important;
    width: 370px !important;
    min-width: 370px !important;
    max-width: none !important;
    height: auto !important;
}

.brand__logo--mobile {
    width: 250px !important;
    min-width: 250px !important;
    max-width: none !important;
    height: auto !important;
}

@media (max-width:1180px) {

    .brand__logo,
    .brand__logo--desktop {
        width: 330px !important;
        min-width: 330px !important;
    }
}

@media (max-width:920px) {
    .brand__logo--desktop {
        display: none !important;
    }

    .brand__logo--mobile {
        display: block !important;
        width: 236px !important;
        min-width: 236px !important;
    }

    .header__inner {
        min-height: 78px !important;
    }
}

@media (max-width:520px) {
    .brand__logo--mobile {
        width: 210px !important;
        min-width: 210px !important;
    }
}

/* FINAL: Tätigkeiten-Karten wieder Foto-Karten ohne weißen Rahmen */
.compact-services-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem !important;
}

.home-service-card,
.band .home-service-card,
.card.home-service-card,
a.home-service-card {
    position: relative !important;
    display: block !important;
    min-height: 220px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    border-radius: 28px !important;
    box-shadow: 0 18px 40px rgba(4, 27, 61, .20) !important;
    isolation: isolate !important;
}

.home-service-card::before,
.home-service-card::after,
.home-service-card .service-card__media::before,
.home-service-card .service-card__media::after,
.home-service-card .service-card__image::before {
    content: none !important;
    display: none !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.home-service-card .service-card__media {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    border: 0 !important;
    outline: 0 !important;
    background: #0a2f6b !important;
    border-radius: inherit !important;
    box-shadow: none !important;
}

.home-service-card .service-card__image {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: inherit !important;
    box-shadow: none !important;
}

.home-service-card .service-card__image img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    opacity: 1 !important;
    visibility: visible !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: inherit !important;
    box-shadow: none !important;
    transform: none !important;
    filter: none !important;
    z-index: 0 !important;
}

.home-service-card .service-card__image::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: linear-gradient(180deg, rgba(4, 27, 61, .10) 0%, rgba(4, 27, 61, .34) 45%, rgba(4, 27, 61, .88) 100%) !important;
}

.home-service-card .service-card__body {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 3 !important;
    min-height: 0 !important;
    display: block !important;
    padding: 1rem 1rem 1.05rem !important;
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.home-service-card .service-card__body h3,
.home-service-card .service-card__body p {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .24) !important;
}

.home-service-card .service-card__body h3 {
    margin: 0 0 .32rem !important;
    font-size: 1.03rem !important;
    line-height: 1.17 !important;
}

.home-service-card .service-card__body p {
    margin: 0 !important;
    font-size: .95rem !important;
    line-height: 1.38 !important;
}

.home-service-card .service-frame-svg {
    display: none !important;
}

@media (max-width:620px) {
    .compact-services-grid {
        grid-template-columns: 1fr !important;
    }

    .home-service-card {
        min-height: 240px !important;
    }
}

/* FINAL: Notdienst-Anker etwas tiefer und ruhiger */
#notdienst,
.contact-phone-block--emergency {
    scroll-margin-top: calc(var(--header-offset, 120px) + 14px) !important;
}

html {
    scroll-padding-top: calc(var(--header-offset, 120px) + 14px) !important;
}

/* FINAL: mobiles Menü bleibt beim Verkleinern des Browserfensters geschlossen.
   Hintergrund: Beim Wechsel vom Desktop- zum Mobile-Breakpoint konnte die Desktop-Navigation
   durch die mobile Opacity-Transition kurz sichtbar werden. */
@media (max-width:920px) {
    .site-nav:not(.is-open) {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(-10px) !important;
        transition: none !important;
    }

    .site-nav.is-open {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
        transition: transform .22s ease, opacity .22s ease !important;
    }
}

@media (min-width:921px) {
    .site-nav {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto !important;
        transition: none !important;
    }
}

html.is-resizing .site-nav,
html.is-resizing .site-nav * {
    transition: none !important;
    animation: none !important;
}

/* FINAL: Mobile-Menü beim Link-Klick sofort hart ausblenden.
   Verhindert, dass Menü oder Untermenü während des Seitenwechsels kurz halbtransparent sichtbar bleiben. */
@media (max-width:920px) {

    html.is-menu-closing .site-nav,
    html.is-menu-closing .site-nav.is-open {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(-10px) !important;
        transition: none !important;
        animation: none !important;
    }

    html.is-menu-closing .dropdown-menu,
    html.is-menu-closing .has-dropdown.is-open .dropdown-menu {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: none !important;
        animation: none !important;
    }
}


/* v-fix-2026-05: Header-Logo und Mobile-Menü final beruhigt
   - Desktop nutzt nur die breite Wort-/Signet-Kombination und ist kleiner.
   - Mobile nutzt nur das Signet, zentriert zwischen leerem Ausgleich links und Burger rechts.
   - Link-Klicks im Mobile-Menü bleiben klickbar; das Menü wird ohne Fade ausgeblendet. */
.header__inner {
    min-height: 78px !important;
}

.brand {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 0 0 auto !important;
    overflow: visible !important;
    margin: 0 !important;
}

.brand__logo--desktop {
    display: block !important;
    width: 260px !important;
    min-width: 0 !important;
    max-width: 260px !important;
    height: auto !important;
}

.brand__logo--mobile {
    display: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 52px !important;
}

@media (max-width:1180px) {
    .brand__logo--desktop {
        width: 238px !important;
        max-width: 238px !important;
    }
}

@media (max-width:920px) {
    .header__inner {
        display: grid !important;
        grid-template-columns: 48px minmax(0, 1fr) 48px !important;
        align-items: center !important;
        justify-content: normal !important;
        gap: .5rem !important;
        min-height: 72px !important;
    }

    .brand {
        grid-column: 2 !important;
        justify-self: center !important;
        justify-content: center !important;
        max-width: none !important;
        width: auto !important;
    }

    .nav-toggle {
        grid-column: 3 !important;
        justify-self: end !important;
    }

    .brand__logo--desktop {
        display: none !important;
    }

    .brand__logo--mobile {
        display: block !important;
        height: 50px !important;
        width: auto !important;
        max-width: 50px !important;
        min-width: 0 !important;
        margin: 0 auto !important;
    }
}

@media (max-width:420px) {
    .brand__logo--mobile {
        height: 46px !important;
        max-width: 46px !important;
    }
}

@media (max-width:920px) {

    html.is-menu-closing .site-nav,
    html.is-menu-closing .site-nav.is-open {
        display: block !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(-10px) !important;
        transition: none !important;
        animation: none !important;
    }

    html.is-menu-closing .dropdown-menu,
    html.is-menu-closing .has-dropdown.is-open .dropdown-menu {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: none !important;
        animation: none !important;
    }
}


/* FINAL 2026-05: Mobile zeigt das Gesamtlogo mittig; Desktop-Logo wieder in normaler Größe.
   Diese Regeln liegen bewusst am Ende und überschreiben ältere Logo-/Hero-Hotfixes. */
.brand__logo--desktop {
    display: block !important;
    width: 252px !important;
    max-width: 252px !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
}

.brand__logo--mobile {
    display: none !important;
    height: auto !important;
    object-fit: contain !important;
}

@media (max-width:1180px) and (min-width:921px) {
    .brand__logo--desktop {
        width: 238px !important;
        max-width: 238px !important;
        max-height: none !important;
    }
}

@media (max-width:920px) {
    .header__inner {
        display: grid !important;
        grid-template-columns: 48px minmax(0, 1fr) 48px !important;
        align-items: center !important;
        gap: .5rem !important;
        min-height: 74px !important;
    }

    .brand {
        grid-column: 2 !important;
        justify-self: center !important;
        justify-content: center !important;
        width: auto !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    .nav-toggle {
        grid-column: 3 !important;
        justify-self: end !important;
    }

    .brand__logo--desktop {
        display: none !important;
    }

    .brand__logo--mobile {
        display: block !important;
        width: 158px !important;
        max-width: min(158px, 100%) !important;
        height: auto !important;
        max-height: 58px !important;
        margin: 0 auto !important;
    }
}

@media (max-width:430px) {
    .brand__logo--mobile {
        width: 144px !important;
        max-width: 144px !important;
    }
}

@media (max-width:360px) {
    .header__inner {
        grid-template-columns: 42px minmax(0, 1fr) 42px !important;
        gap: .35rem !important;
    }

    .brand__logo--mobile {
        width: 132px !important;
        max-width: 132px !important;
    }
}

@media (max-width:760px) {

    .hero:not(.hero--home),
    .hero--hausmeisterservice,
    .hero--gartenpflege,
    .hero--baumfaellung,
    .hero--winterdienst,
    .hero--reinigungsdienst {
        min-height: min(600px, 68vh) !important;
        align-items: start !important;
    }

    .hero:not(.hero--home) .hero__inner,
    .hero--hausmeisterservice .hero__inner,
    .hero--gartenpflege .hero__inner,
    .hero--baumfaellung .hero__inner,
    .hero--winterdienst .hero__inner,
    .hero--reinigungsdienst .hero__inner {
        padding-top: clamp(2rem, 5vh, 2.7rem) !important;
        padding-bottom: 3rem !important;
    }

    .hero .hero__copy,
    .hero .hero__copy--updated {
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .hero .hero__headline,
    .hero h1 {
        max-width: 100% !important;
        font-size: clamp(1.55rem, 6.35vw, 2.05rem) !important;
        line-height: 1.08 !important;
        letter-spacing: -0.045em !important;
        white-space: normal !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        hyphens: none !important;
        text-wrap: balance;
    }

    .hero .hero__eyebrow {
        font-size: .78rem !important;
        letter-spacing: .045em !important;
        line-height: 1.18 !important;
    }

    .hero .hero__line {
        width: 34px !important;
    }

    .hero p {
        font-size: .94rem !important;
        line-height: 1.52 !important;
        max-width: 100% !important;
    }
}

@media (max-width:430px) {

    .hero .hero__headline,
    .hero h1 {
        font-size: clamp(1.42rem, 6vw, 1.78rem) !important;
        line-height: 1.1 !important;
    }

    .hero p {
        font-size: .9rem !important;
    }
}

@media (max-width:360px) {

    .hero .hero__headline,
    .hero h1 {
        font-size: 1.34rem !important;
        letter-spacing: -0.035em !important;
    }
}

/* FINAL 2026-05-08: Breakpoint-Schnitt Header/Hero synchronisiert
   Bei 920px schaltet der Header auf Burger/Mobile-Logo. Ab diesem Punkt
   gelten auch die Mobile-Hero-Größen, damit es keinen Größen-Sprung gibt. */
@media (min-width: 921px) {
    .brand__logo--desktop {
        display: block !important;
        width: 252px !important;
        max-width: 252px !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
    }

    .brand__logo--mobile {
        display: none !important;
    }
}

@media (max-width: 920px) {
    .header__inner {
        display: grid !important;
        grid-template-columns: 48px minmax(0, 1fr) 48px !important;
        align-items: center !important;
        gap: .5rem !important;
        min-height: 74px !important;
    }

    .brand {
        grid-column: 2 !important;
        justify-self: center !important;
        justify-content: center !important;
        width: auto !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    .nav-toggle {
        grid-column: 3 !important;
        justify-self: end !important;
    }

    .brand__logo--desktop {
        display: none !important;
    }

    .brand__logo--mobile {
        display: block !important;
        width: min(158px, 100%) !important;
        max-width: 158px !important;
        height: auto !important;
        max-height: 58px !important;
        margin: 0 auto !important;
        object-fit: contain !important;
    }

    .hero,
    .hero--home,
    .hero--hausmeisterservice,
    .hero--gartenpflege,
    .hero--baumfaellung,
    .hero--winterdienst,
    .hero--reinigungsdienst {
        min-height: min(620px, 68vh) !important;
        align-items: start !important;
    }

    .hero__inner,
    .hero--home .hero__inner {
        padding-top: clamp(2rem, 5vh, 2.8rem) !important;
        padding-bottom: 3rem !important;
    }

    .hero__copy,
    .hero__copy--updated {
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        padding-right: 0 !important;
    }

    .hero .hero__headline,
    .hero h1,
    .hero--home .hero__headline,
    .hero--home h1,
    .page-hero h1 {
        max-width: 100% !important;
        font-size: clamp(1.58rem, 4.1vw, 2.25rem) !important;
        line-height: 1.08 !important;
        letter-spacing: -0.04em !important;
        white-space: normal !important;
        overflow: visible !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        hyphens: none !important;
        text-wrap: balance !important;
    }

    .hero p,
    .page-hero p {
        max-width: 100% !important;
        font-size: clamp(.92rem, 2.15vw, 1.02rem) !important;
        line-height: 1.52 !important;
    }

    .hero__leadline,
    .hero__leadline--home {
        margin-bottom: .75rem !important;
    }

    .hero__eyebrow {
        font-size: clamp(.72rem, 1.75vw, .84rem) !important;
        line-height: 1.18 !important;
        letter-spacing: .045em !important;
    }

    .hero__line {
        width: 34px !important;
    }
}

@media (max-width: 430px) {
    .brand__logo--mobile {
        width: 144px !important;
        max-width: 144px !important;
    }

    .hero .hero__headline,
    .hero h1,
    .hero--home .hero__headline,
    .hero--home h1,
    .page-hero h1 {
        font-size: clamp(1.42rem, 6vw, 1.62rem) !important;
        line-height: 1.1 !important;
        letter-spacing: -0.035em !important;
    }
}

@media (max-width: 360px) {
    .header__inner {
        grid-template-columns: 42px minmax(0, 1fr) 42px !important;
        gap: .35rem !important;
    }

    .brand__logo--mobile {
        width: 132px !important;
        max-width: 132px !important;
    }

    .hero .hero__headline,
    .hero h1,
    .hero--home .hero__headline,
    .hero--home h1,
    .page-hero h1 {
        font-size: 1.34rem !important;
    }
}