:root {
    color-scheme: light;
    --base-bg: #4a9e8e;
    --surface: #ffffff;
    --text: #103246;
    --muted: #456476;
    --sky: #45b2f0;
    --sky-deep: #1f78c7;
    --water: #00d4b3;
    --water-deep: #007e6f;
    --line: #8fd3c5;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Noto Sans", "Segoe UI", sans-serif;
    color: var(--text);
    line-height: 1.65;
    background:
    radial-gradient(600px 700px at 0% 30%, rgba(0, 110, 90, 0.55), rgba(0, 110, 90, 0) 55%),
    radial-gradient(500px 600px at 0% 80%, rgba(0, 95, 78, 0.42), rgba(0, 95, 78, 0) 50%),
    radial-gradient(600px 700px at 100% 20%, rgba(0, 100, 82, 0.50), rgba(0, 100, 82, 0) 52%),
    radial-gradient(500px 580px at 100% 70%, rgba(0, 90, 74, 0.44), rgba(0, 90, 74, 0) 50%),
    linear-gradient(180deg, #e8f7f4 0%, #d4efe9 32%, #bce5db 66%, #a8dbd0 100%);
}

header,
main,
footer {
    width: min(980px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

main {
    width: min(1180px, calc(100% - 32px));
}

header {
    width: min(1180px, calc(100% - 32px));
}

footer {
    width: min(1280px, calc(100% - 32px));
}

header {
    background: #0d5d5a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(0, 80, 75, 0.28);
    padding: 0 14px;
    margin-top: 14px;
}

footer {
    background: color-mix(in srgb, var(--surface) 92%, #ffffff 8%);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(0, 169, 183, 0.16);
    padding: 20px 22px;
}

main {
    margin-top: 18px;
    margin-bottom: 18px;
}

footer {
    margin-bottom: 20px;
    position: relative;
    isolation: isolate;
    z-index: 0;
}

footer::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -24px;
    transform: translateX(-50%);
    width: 100vw;
    height: calc(100% + 42px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.98;
    background-image: url("stone-flagstone.svg?v=2");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    filter: contrast(1.08) saturate(0.94);
}

footer::after {
    content: "";
    position: absolute;
    left: 50%;
    top: -24px;
    transform: translateX(-50%);
    width: 100vw;
    height: calc(100% + 42px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.12;
    background:
        linear-gradient(180deg, rgba(29, 124, 111, 0.13) 0%, rgba(29, 124, 111, 0.07) 44%, rgba(29, 124, 111, 0.1) 100%),
        radial-gradient(130% 80% at 40% 10%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 62%);
}

h1,
h2,
h3 {
    font-family: "Noto Serif", Georgia, serif;
    color: #11324c;
    line-height: 1.35;
    margin-top: 0;
}

header .header-container {
    display: flex;
    align-items: center;
    background: transparent;
    padding: 0;
    margin: 0;
}

header .header-left {
    display: grid;
    grid-template-columns: 1fr 3fr;
    align-items: center;
    width: 100%;
    gap: 0;
}

a.logo-home-link {
    display: contents;
}

header .header-logo {
    width: clamp(302px, 36.8vw, 487px);
    max-width: 100%;
    height: auto;
    flex-shrink: 0;
    border-radius: 0;
    box-shadow: none;
    justify-self: center;
    padding-right: 0;
    margin-left: 8.5cm;
    mix-blend-mode: screen;
}

header .header-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-left: 0;
}

header .header-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
}

header .header-title {
    font-family: "Noto Serif", Georgia, serif;
    font-size: clamp(1.7rem, 3.8vw, 2.55rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: 0.3px;
}

header .header-subtitle {
    font-family: "Noto Sans", "Segoe UI", sans-serif;
    font-size: clamp(0.88rem, 1.65vw, 1.1rem);
    font-weight: 600;
    color: rgba(168, 244, 232, 0.88);
    letter-spacing: 1.6px;
    text-transform: uppercase;
    align-self: center;
}

header h1 {
    font-size: clamp(1.7rem, 4.2vw, 2.5rem);
    margin: 0;
    color: #ffffff;
    line-height: 1.05;
}

main > h1 {
    font-size: clamp(1.5rem, 3.4vw, 2.1rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.2rem, 2.6vw, 1.7rem);
    margin-bottom: 0.65rem;
}

h3 {
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    margin-bottom: 0.35rem;
}

p,
li {
    color: var(--muted);
}

nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 0;
    color: rgba(255, 255, 255, 0.85);
}

header nav {
    justify-content: flex-start;
    margin-left: 0;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(168, 244, 232, 0.34);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

header nav a {
    position: relative;
    padding: 3px 6px;
    border-radius: 4px;
    color: #a8f4e8 !important;
    font-size: clamp(1rem, 1.05vw, 1.12rem);
    font-weight: 700;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

header nav a::after {
    content: '';
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: 0;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

header nav a:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}

header nav a:hover::after {
    transform: scaleX(1);
}

a {
    color: var(--water-deep);
    text-decoration: none;
    font-weight: 600;
}

a:hover {
    color: var(--sky-deep);
    text-decoration: underline;
}

hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(31, 120, 199, 0.55), rgba(0, 212, 179, 0.68), transparent);
    margin: 20px 0;
}

header hr {
    background: linear-gradient(90deg, transparent, rgba(168, 244, 232, 0.35), rgba(168, 244, 232, 0.45), transparent);
    margin: 2px 0 0;
}

section {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 10px 24px rgba(0, 140, 118, 0.14);
    margin-bottom: 16px;
}

section {
    border-left: 5px solid var(--water);
}

ul,
ol {
    padding-left: 1.2rem;
}

#gut-zu-wissen h2 {
    text-align: center;
    margin-bottom: 0.8rem;
}

#gut-zu-wissen .why-lead {
    max-width: 860px;
    margin: 0 auto 1rem;
    text-align: center;
    color: #2f5d6f;
    font-weight: 600;
}

#gut-zu-wissen .why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

#gut-zu-wissen .why-card {
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(73, 195, 255, 0.11), rgba(73, 195, 255, 0) 62%),
        linear-gradient(160deg, #ffffff 0%, #f5fffb 100%);
    border: 1px solid rgba(143, 211, 197, 0.85);
    border-radius: 12px;
    padding: 14px 14px 13px;
    box-shadow: 0 10px 20px rgba(7, 93, 84, 0.08);
    transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 380ms cubic-bezier(0.22, 1, 0.36, 1), border-color 380ms ease;
    animation: why-card-enter 820ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

#gut-zu-wissen .why-card:nth-child(1) {
    animation-delay: 120ms;
}

#gut-zu-wissen .why-card:nth-child(2) {
    animation-delay: 240ms;
}

#gut-zu-wissen .why-card:nth-child(3) {
    animation-delay: 360ms;
}

#gut-zu-wissen .why-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 26px rgba(7, 93, 84, 0.14);
    border-color: rgba(79, 198, 179, 0.95);
}

#gut-zu-wissen .why-card h3 {
    margin: 0 0 0.42rem;
    font-size: 1.08rem;
    color: #0f4d66;
    text-align: center;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid rgba(143, 211, 197, 0.62);
}

#gut-zu-wissen .why-card p {
    margin: 0;
    color: #3d6274;
    line-height: 1.55;
    text-align: center;
}

#gut-zu-wissen .why-summary {
    margin: 1rem 0 0;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(0, 212, 179, 0.1), rgba(69, 178, 240, 0.08));
    border: 1px solid rgba(143, 211, 197, 0.82);
    color: #2e576b;
    font-weight: 600;
    text-align: center;
}

@keyframes why-card-enter {
    0% {
        opacity: 0;
        transform: translateY(14px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#unser-method h2 {
    text-align: center;
    margin-bottom: 0.8rem;
}

#unser-method .method-lead {
    max-width: 860px;
    margin: 0 auto 1rem;
    text-align: center;
    color: #2f5d6f;
    font-weight: 600;
}

#unser-method .method-benefits-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

#unser-method .method-benefits-row p {
    margin: 0;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: linear-gradient(160deg, #0c7f73 0%, #0a6f65 100%);
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 95, 84, 0.2);
}

#unser-method .method-benefits-row strong {
    display: block;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.025em;
    margin-bottom: 7px;
    padding-bottom: 7px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

#unser-method .method-timeline {
    position: relative;
    display: grid;
    gap: 12px;
    counter-reset: method-step;
}

#unser-method .method-timeline::before {
    content: "";
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: linear-gradient(180deg, rgba(20, 151, 212, 0.2) 0%, rgba(0, 184, 159, 0.62) 35%, rgba(0, 184, 159, 0.62) 65%, rgba(20, 151, 212, 0.2) 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03);
}

#unser-method .method-timeline-item {
    counter-increment: method-step;
    position: relative;
    width: calc(50% - 22px);
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(143, 211, 197, 0.85);
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(73, 195, 255, 0.12), rgba(73, 195, 255, 0) 62%),
        linear-gradient(160deg, #ffffff 0%, #f5fffb 100%);
    box-shadow: 0 10px 20px rgba(7, 93, 84, 0.08);
    animation: method-step-enter 820ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

#unser-method .method-timeline-item:nth-child(1) { animation-delay: 100ms; }
#unser-method .method-timeline-item:nth-child(2) { animation-delay: 220ms; }
#unser-method .method-timeline-item:nth-child(3) { animation-delay: 340ms; }
#unser-method .method-timeline-item:nth-child(4) { animation-delay: 460ms; }

#unser-method .method-timeline-item::before {
    content: counter(method-step);
    position: absolute;
    top: 14px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: linear-gradient(180deg, #00b89f 0%, #1497d4 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 8px 18px rgba(20, 151, 212, 0.25);
    z-index: 2;
}

#unser-method .method-timeline-item-left {
    justify-self: start;
}

#unser-method .method-timeline-item-right {
    justify-self: end;
}

#unser-method .method-timeline-item-left::before {
    right: -34px;
}

#unser-method .method-timeline-item-right::before {
    left: -34px;
}

#unser-method .method-timeline-item h3 {
    margin: 0 0 0.42rem;
    color: #0f4d66;
    font-size: 1.03rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(143, 211, 197, 0.6);
}

#unser-method .method-timeline-item p {
    margin: 0;
    color: #3d6274;
    line-height: 1.55;
}

@keyframes method-step-enter {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Legacy format for "In 3 Schritten" section */
#ueber-uns h2 {
    text-align: center;
    margin-bottom: 2.2rem;
}

#ueber-uns .steps-legacy-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: 8px;
    position: relative;
}

#ueber-uns .step-row {
    --step-shift: 0px;
    display: inline-flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 8px;
    padding-bottom: 88px;
    opacity: 0;
    position: relative;
    z-index: 1;
    transform: translateX(var(--step-shift)) translateY(14px);
    filter: saturate(0.95);
    animation: step-row-enter 1100ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), filter 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

#ueber-uns .step-row:hover,
#ueber-uns .step-row:focus-within {
    z-index: 20;
    transform: translateX(var(--step-shift)) translateY(0);
    filter: saturate(1.01);
}

#ueber-uns .step-row:nth-child(1) {
    animation-delay: 120ms;
}

#ueber-uns .step-row:nth-child(2) {
    animation-delay: 320ms;
}

#ueber-uns .step-row:nth-child(3) {
    animation-delay: 520ms;
}

#ueber-uns .step-row-left {
    --step-shift: -54px;
}

#ueber-uns .step-row-right {
    --step-shift: 54px;
}

#ueber-uns .step-badge {
    min-width: 72px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(170deg, #008f80 0%, #007367 100%);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.86);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(0, 95, 84, 0.38);
    cursor: pointer;
    animation: step-badge-breath 6.5s ease-in-out infinite;
    transition: transform 480ms ease, box-shadow 480ms ease;
}

#ueber-uns .step-row:nth-child(1) .step-badge {
    animation-delay: 0.25s;
}

#ueber-uns .step-row:nth-child(2) .step-badge {
    animation-delay: 0.5s;
}

#ueber-uns .step-row:nth-child(3) .step-badge {
    animation-delay: 0.75s;
}

#ueber-uns .step-row:hover .step-badge,
#ueber-uns .step-row:focus-within .step-badge {
    transform: scale(1.02);
    box-shadow: 0 12px 28px rgba(0, 95, 84, 0.44);
}

#ueber-uns .step-card {
    background: linear-gradient(160deg, #0c7f73 0%, #0a6f65 100%);
    border-left: 4px solid #ffffff;
    border-right: 4px solid #ffffff;
    border-radius: 9px;
    padding: 18px 28px;
    width: min(760px, calc(100vw - 180px));
    box-sizing: border-box;
    position: relative;
    overflow: visible;
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

#ueber-uns .step-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(112deg, rgba(255, 255, 255, 0) 20%, rgba(210, 255, 250, 0.26) 48%, rgba(255, 255, 255, 0) 76%);
    transform: translateX(-135%);
    transition: transform 1900ms cubic-bezier(0.2, 1, 0.34, 1);
    pointer-events: none;
    border-radius: 9px;
}

#ueber-uns .step-row:hover .step-card,
#ueber-uns .step-row:focus-within .step-card {
    transform: translateY(0);
    box-shadow: 0 16px 30px rgba(0, 72, 64, 0.28);
}

#ueber-uns .step-row:hover .step-card::after,
#ueber-uns .step-row:focus-within .step-card::after {
    transform: translateX(130%);
}

#ueber-uns .step-info {
    position: relative;
}

#ueber-uns .step-trigger {
    margin: 0;
    font-weight: 700;
    font-size: 1.18rem;
    letter-spacing: 0.2px;
    color: #ffffff;
}

#ueber-uns .step-popup {
    position: absolute;
    left: auto;
    right: 0;
    top: calc(100% + 10px);
    width: min(520px, calc(100% - 4px));
    max-width: 100%;
    background: #0a5f57;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    color: #f3fbf8;
    padding: 12px 14px;
    font-size: 0.98rem;
    line-height: 1.5;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(3px) scale(0.992);
    transform-origin: top left;
    transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1), visibility 700ms ease;
    z-index: 30;
}

#ueber-uns .step-popup a {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    padding: 7px 12px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #0bb89e 0%, #1497d4 100%);
    border: 1px solid rgba(255, 255, 255, 0.36);
    box-shadow: 0 8px 20px rgba(20, 151, 212, 0.28);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.2px;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

#ueber-uns .step-popup a:hover,
#ueber-uns .step-popup a:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(20, 151, 212, 0.35);
    filter: saturate(1.05);
}

#ueber-uns .step-badge:hover + .step-card .step-popup,
#ueber-uns .step-badge:focus-visible + .step-card .step-popup,
#ueber-uns .step-row:hover .step-popup,
#ueber-uns .step-row:focus-within .step-popup {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

@keyframes step-row-enter {
    0% {
        opacity: 0;
        transform: translateX(var(--step-shift)) translateY(14px);
    }
    100% {
        opacity: 1;
        transform: translateX(var(--step-shift)) translateY(0);
    }
}

@keyframes step-badge-breath {
    0%,
    100% {
        box-shadow: 0 10px 24px rgba(0, 95, 84, 0.34);
    }
    50% {
        box-shadow: 0 14px 30px rgba(0, 95, 84, 0.48);
    }
}

@media (prefers-reduced-motion: reduce) {
    #ueber-uns .step-row,
    #ueber-uns .step-badge,
    #ueber-uns .step-popup {
        animation: none;
        transition: none;
    }

    #ueber-uns .step-row {
        opacity: 1;
        transform: translateX(var(--step-shift)) translateY(0);
        filter: none;
    }

    #ueber-uns .step-card::after {
        display: none;
    }
}

#kontakt {
    text-align: center;
}

#kontakt h2 {
    text-align: center;
    margin-bottom: 1rem;
}

#kontakt .contact-spotlight {
    max-width: 880px;
    margin: 0 auto;
    padding: 22px 20px 18px;
    background:
        radial-gradient(circle at 50% 0%, rgba(73, 195, 255, 0.18), rgba(73, 195, 255, 0) 32%),
        linear-gradient(160deg, #f9fffd 0%, #eefaf5 52%, #e7f8f0 100%);
    border: 1px solid rgba(108, 211, 187, 0.9);
    border-radius: 24px;
    box-shadow: 0 22px 44px rgba(7, 93, 84, 0.14);
}

#kontakt .contact-spotlight-kicker {
    display: inline-block;
    margin: 0 0 0.8rem;
    padding: 0.34rem 0.7rem;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #0bb89e 0%, #1497d4 100%);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    box-shadow: 0 10px 22px rgba(20, 151, 212, 0.18);
}

#kontakt .contact-spotlight-text {
    max-width: 760px;
    margin: 0 auto 1.2rem;
    font-size: clamp(1.02rem, 2vw, 1.18rem);
    color: #1b5060;
}

#kontakt .contact-phone-chip-wrap {
    margin: 0;
}

#kontakt .contact-phone-chip {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin: 0 auto;
    min-width: min(100%, 430px);
    padding: 16px 18px;
    border-radius: 24px;
    background: linear-gradient(135deg, #12ba9e 0%, #0ea08b 42%, #1497d4 100%);
    border: 1px solid rgba(9, 129, 114, 0.16);
    box-shadow: 0 20px 34px rgba(9, 129, 114, 0.22);
    text-decoration: none !important;
    position: relative;
    animation: contact-phone-pulse 2.4s ease-in-out infinite;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
    overflow: hidden;
}

#kontakt .contact-phone-chip::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 42%),
        radial-gradient(circle at 14% 20%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 24%);
    pointer-events: none;
}

#kontakt .contact-whatsapp-logo {
    width: clamp(52px, 7vw, 64px);
    height: clamp(52px, 7vw, 64px);
    display: block;
    filter: drop-shadow(0 8px 16px rgba(6, 84, 73, 0.22));
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
}

#kontakt .contact-phone-chip-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 2px;
    position: relative;
    z-index: 1;
}

#kontakt .contact-phone-chip-label {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#kontakt .contact-phone-chip-number {
    color: #ffffff;
    font-size: clamp(1.08rem, 2.1vw, 1.28rem);
    font-weight: 800;
    letter-spacing: 0.45px;
}

#kontakt .contact-phone-chip:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 24px 42px rgba(9, 129, 114, 0.28);
    filter: saturate(1.08) brightness(1.02);
}

@keyframes contact-phone-pulse {
    0%, 100% {
        box-shadow: 0 20px 34px rgba(9, 129, 114, 0.22), 0 0 0 0 rgba(20, 151, 212, 0.18);
    }
    50% {
        box-shadow: 0 24px 42px rgba(9, 129, 114, 0.28), 0 0 0 16px rgba(20, 151, 212, 0);
    }
}

footer p {
    margin: 0.35rem 0;
}

footer .footer-textbox {
    background: #ffffff;
    border: 1px solid rgba(220, 227, 224, 0.92);
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    padding: 20px 24px;
    max-width: none;
    margin: 0;
}

footer .footer-textbox-layout {
    display: grid;
    grid-template-columns: minmax(280px, 1.05fr) minmax(420px, 1.65fr);
    gap: 18px;
    align-items: stretch;
}

footer .footer-map {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(220, 227, 224, 0.92);
    background: #ffffff;
}

footer .footer-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 228px;
    border: 0;
    filter: grayscale(0.16) contrast(1.03) saturate(0.9);
}

footer .footer-details {
    align-self: stretch;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 38%);
    gap: 18px;
    align-items: stretch;
}

footer .footer-details-text {
    align-self: start;
}

footer .footer-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 14px 20px;
    background: #0d5d5a;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 95, 84, 0.28);
    isolation: isolate;
}

footer .footer-logo-wrap img {
    display: block;
    width: min(100%, 315px);
    height: auto;
    background: transparent;
    border-radius: 0;
    mix-blend-mode: screen;
}

footer .footer-textbox p {
    color: #2d4d5f;
}

footer .footer-textbox a {
    color: #1f5565;
}

footer .footer-textbox a:hover {
    color: #0f3f4d;
}

a[href*="wa.me"]:not(.wa-float) {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(0, 212, 179, 0.26), rgba(69, 178, 240, 0.22));
    border: 1px solid rgba(0, 159, 138, 0.52);
}

a[href*="wa.me"]:not(.wa-float):hover {
    background: linear-gradient(90deg, rgba(0, 212, 179, 0.36), rgba(69, 178, 240, 0.3));
}

@media (max-width: 900px) {
    footer .footer-textbox-layout {
        grid-template-columns: 1fr;
    }

    footer .footer-details {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    footer .footer-logo-wrap {
        justify-content: flex-start;
    }

    footer .footer-logo-wrap img {
        width: min(100%, 266px);
    }

    footer .footer-map iframe {
        min-height: 220px;
    }
}

/* ── WhatsApp floating side tab ──────────────────────────────── */
.wa-float {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: #25D366;
    border-radius: 14px 0 0 14px;
    padding: 18px 12px;
    text-decoration: none !important;
    color: #ffffff !important;
    overflow: hidden;
    box-shadow: -4px 0 20px rgba(37, 211, 102, 0.45);
    transition: box-shadow 0.25s;
}

.wa-float:hover {
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: -6px 0 28px rgba(37, 211, 102, 0.65);
}

.wa-float svg {
    flex-shrink: 0;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.18));
}

.wa-float .wa-number {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
    font-family: "Noto Sans", sans-serif;
}

.wa-float::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.55) 50%,
        transparent 100%
    );
    transform: translateY(-110%);
    pointer-events: none;
}

.wa-float.wa-sweep::after {
    animation: wa-sweep 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 22px;
    border-top: 1px solid rgba(143, 211, 197, 0.85);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -12px 26px rgba(7, 93, 84, 0.16);
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-banner p {
    margin: 0;
    color: #234457;
    font-size: 0.94rem;
    line-height: 1.5;
    max-width: 920px;
}

.cookie-banner a {
    color: #0b6d63;
    font-weight: 700;
}

.cookie-banner-actions {
    display: flex;
    flex-shrink: 0;
    gap: 10px;
    align-items: center;
}

.cookie-banner-actions button {
    font: inherit;
    white-space: nowrap;
}

.cookie-banner-accept {
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    background: linear-gradient(160deg, #0c7f73 0%, #0a6f65 100%);
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 95, 84, 0.2);
}

.cookie-banner-accept:hover {
    filter: brightness(1.04);
}

.cookie-banner-reject {
    border: 1px solid rgba(12, 127, 115, 0.28);
    border-radius: 999px;
    padding: 11px 18px;
    background: rgba(255, 255, 255, 0.92);
    color: #1d4e59;
    font-weight: 700;
    cursor: pointer;
}

.cookie-banner-reject:hover {
    background: rgba(236, 247, 244, 0.96);
}

.cookie-banner-necessary {
    border: 1px solid rgba(30, 75, 92, 0.28);
    border-radius: 999px;
    padding: 11px 18px;
    background: rgba(243, 250, 248, 0.96);
    color: #1e4b5c;
    font-weight: 700;
    cursor: pointer;
}

.cookie-banner-necessary:hover {
    background: rgba(232, 244, 240, 0.98);
}

@keyframes wa-sweep {
    from { transform: translateY(-110%); }
    to   { transform: translateY(110%); }
}

/* ───────────────────────────────────── Reference Gallery ───────────────────────────────────── */
#referenzen h2 {
    text-align: center;
}

.reference-topline {
    margin: 4px 0 10px;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--water);
    letter-spacing: 0.5px;
}

.reference-topline-arrow {
    display: inline-block;
    width: 90px;
    height: 22px;
    margin: 0 10px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    transform: translateY(2px);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 28'%3E%3Cpath d='M3 17 C 18 3, 34 24, 52 15 S 84 11, 104 13' fill='none' stroke='%2300b9a4' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M99 6 L113 13 L99 20' fill='none' stroke='%2300b9a4' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.reference-gallery {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 74px;
    gap: 20px;
    margin-top: 14px;
}

.reference-item {
    margin: 0;
    text-align: center;
    background: #ffffff;
    border: 1px solid rgba(160, 214, 202, 0.65);
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 10px 22px rgba(7, 93, 84, 0.16);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.reference-item-a {
    grid-column: span 2;
    grid-row: span 4;
    transform: rotate(-1deg);
}

.reference-item-b {
    grid-column: span 4;
    grid-row: span 4;
    transform: rotate(1deg);
}

.reference-item-c {
    grid-column: span 3;
    grid-row: span 3;
    transform: rotate(0.8deg);
}

.reference-item-d {
    grid-column: span 3;
    grid-row: span 3;
    transform: rotate(-0.8deg);
}

.reference-item-e {
    grid-column: span 3;
    grid-row: span 3;
    transform: rotate(0.9deg);
}

.reference-item-f {
    grid-column: span 3;
    grid-row: span 3;
    transform: rotate(-0.9deg);
}

.reference-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(0, 180, 140, 0.18);
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reference-item .reference-zoomable {
    cursor: zoom-in;
}

.reference-item img:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 180, 140, 0.28);
}

.reference-item:hover {
    transform: translateY(-3px) rotate(0deg);
    box-shadow: 0 14px 28px rgba(7, 93, 84, 0.22);
}

.reference-item-e img {
    object-position: center 42%;
}

.reference-item-f img {
    object-position: center 38%;
}

.reference-item figcaption {
    margin-top: 10px;
    font-weight: 600;
    color: var(--water);
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(7, 26, 34, 0.86);
    z-index: 10000;
}

.image-lightbox.is-open {
    display: flex;
}

.image-lightbox img {
    width: min(1100px, 96vw);
    max-height: 88vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.42);
    background: #ffffff;
}

.image-lightbox-close {
    position: absolute;
    top: 14px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}

.image-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.34);
}

@media (max-width: 640px) {
    #unser-method .method-benefits-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    #unser-method .method-timeline {
        gap: 10px;
    }

    #unser-method .method-timeline::before {
        left: 12px;
        transform: none;
    }

    #unser-method .method-timeline-item,
    #unser-method .method-timeline-item-left,
    #unser-method .method-timeline-item-right {
        width: 100%;
        justify-self: stretch;
        padding: 11px 11px 11px 34px;
        animation: none;
    }

    #unser-method .method-timeline-item::before,
    #unser-method .method-timeline-item-left::before,
    #unser-method .method-timeline-item-right::before {
        left: 0;
        right: auto;
        top: 12px;
    }

    #gut-zu-wissen .why-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    #gut-zu-wissen .why-lead {
        text-align: center;
        margin-bottom: 0.8rem;
    }

    #gut-zu-wissen .why-card {
        animation: none;
    }

    #gut-zu-wissen .why-summary {
        margin-top: 0.8rem;
    }

    #ueber-uns .step-row,
    #ueber-uns .step-row-left,
    #ueber-uns .step-row-right {
        width: 100%;
        transform: none;
        gap: 14px;
        margin-bottom: 12px;
        padding-bottom: 0;
        animation: none;
        opacity: 1;
        filter: none;
        transition: none;
    }

    #ueber-uns .step-badge {
        min-width: 56px;
        width: 56px;
        height: 56px;
        font-size: 1.6rem;
        animation: none;
        transition: none;
        align-self: flex-start;
    }

    #ueber-uns .step-card {
        width: 100%;
        padding: 14px 16px;
        background: #ffffff;
        border: 1px solid rgba(143, 211, 197, 0.95);
        border-left: 1px solid rgba(143, 211, 197, 0.95);
        border-right: 1px solid rgba(143, 211, 197, 0.95);
        box-shadow: 0 8px 18px rgba(7, 93, 84, 0.12);
        transform: none;
    }

    #ueber-uns .step-card::after {
        display: none;
    }

    #ueber-uns .step-trigger {
        font-size: 1.03rem;
        color: var(--text);
    }

    #ueber-uns .step-popup {
        position: static;
        width: 100%;
        margin-top: 10px;
        background: #ffffff;
        border: 1px solid rgba(143, 211, 197, 0.95);
        color: var(--text);
        box-shadow: 0 8px 18px rgba(7, 93, 84, 0.1);
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

    #ueber-uns .step-popup a {
        color: #ffffff;
        background: linear-gradient(135deg, #0bb89e 0%, #1497d4 100%);
        border-color: rgba(20, 151, 212, 0.35);
    }

    .reference-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .reference-topline {
        margin-bottom: 12px;
        font-size: 1.06rem;
    }

    .reference-topline-arrow {
        width: 74px;
        height: 18px;
        margin: 0 8px;
    }

    .reference-item-a,
    .reference-item-b,
    .reference-item-c,
    .reference-item-d,
    .reference-item-e,
    .reference-item-f {
        grid-column: auto;
        grid-row: auto;
        transform: none;
    }

    .reference-item img {
        height: auto;
        aspect-ratio: 1.5;
    }

    .image-lightbox {
        padding: 14px;
    }

    .image-lightbox img {
        width: min(96vw, 760px);
    }

    #kontakt .contact-spotlight {
        padding: 12px 10px 10px;
    }

    #kontakt .contact-phone-chip {
        min-width: 100%;
        padding: 12px 14px;
        gap: 12px;
        border-radius: 18px;
    }

    #kontakt .contact-whatsapp-logo {
        width: 48px;
        height: 48px;
    }

    #kontakt .contact-phone-chip-label {
        font-size: 0.74rem;
    }

    #kontakt .contact-phone-chip-number {
        font-size: 1rem;
    }

    header,
    main,
    footer {
        width: calc(100% - 20px);
    }

    header,
    footer,
    section {
        border-radius: 12px;
        padding: 14px;
    }

    header {
        padding: 8px 10px;
    }

    header .header-logo {
        max-width: min(62vw, 220px);
        width: min(62vw, 220px);
        float: none;
        shape-outside: none;
        justify-self: center;
        padding-right: 0;
        margin-left: 0;
    }

    header .header-left {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    header .header-content {
        align-items: center;
    }


    header .header-brand {
        align-items: center;
        text-align: center;
    }

    header nav {
        justify-content: center;
        margin-top: 10px;
        padding-top: 9px;
        border-top: 1px solid rgba(168, 244, 232, 0.3);
        row-gap: 8px;
    }

    header nav a {
        font-size: 0.98rem;
        padding: 4px 7px;
    }

    header .header-title {
        font-size: clamp(1.3rem, 7vw, 1.85rem);
    }

    header .header-subtitle {
        font-size: clamp(0.75rem, 3.4vw, 0.92rem);
        letter-spacing: 1px;
    }

    nav {
        gap: 8px;
    }

    .wa-float {
        gap: 9px;
        padding: 14px 9px;
    }

    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        align-items: stretch;
        justify-content: flex-start;
        flex-direction: column;
        gap: 12px;
        padding: 14px;
        border: 1px solid rgba(143, 211, 197, 0.85);
        border-radius: 16px;
        box-shadow: 0 12px 24px rgba(7, 93, 84, 0.18);
    }

    .cookie-banner-accept {
        flex: 1;
        width: 100%;
    }

    .cookie-banner-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-banner-reject {
        width: 100%;
    }

    .cookie-banner-necessary {
        width: 100%;
    }

    .wa-float .wa-number {
        font-size: 0.7rem;
    }

    footer .footer-textbox {
        border-radius: 12px;
        padding: 14px;
    }

    footer .footer-map {
        border-radius: 12px;
    }

    footer .footer-map iframe {
        min-height: 200px;
    }

    footer::before {
        top: -18px;
        height: calc(100% + 30px);
        opacity: 0.9;
        background-size: cover;
    }

    footer::after {
        top: -18px;
        height: calc(100% + 30px);
        opacity: 0.09;
    }
}
