:root {
    --petrol-deep: #071f25;
    --petrol-dark: #0d343c;
    --petrol-main: #135565;
    --petrol-light: #287283;

    --accent: #22c4e9;
    --accent-light: #55ddf6;

    --white: #ffffff;
    --off-white: #f5f8f9;

    --text-dark: #102f37;
    --text-muted: #65777c;

    --border-light: rgba(255, 255, 255, 0.15);
    --border-dark: rgba(16, 47, 55, 0.09);

    --container-width: 1280px;
    --radius-card: 18px;
    --transition: 180ms ease;
}


/* RESET */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;

    min-height: 100vh;
    margin: 0;

    color: var(--text-dark);
    background: #061b20;

    font-family:
        "Segoe UI Variable",
        "Segoe UI",
        Arial,
        sans-serif;

    line-height: 1.5;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

main {
    display: flex;
    flex: 1;
    flex-direction: column;
}



img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}


/* LAYOUT */

.container {
    width: min(
        calc(100% - 64px),
        var(--container-width)
    );

    margin-inline: auto;
}


/* HERO */

.hero {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 220px;
    padding: 24px;

    overflow: hidden;

    color: var(--white);

    background:
    linear-gradient(
        145deg,
        #04171c 0%,
        #072329 55%,
        #092b32 100%
    );
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.08);
    pointer-events: none;
    z-index: 1;
}

.hero__brand{
    z-index: 3;
}

.hero__wave{
    z-index: 2;
}


.hero__brand {
    position: relative;
    z-index: 3;

    display: flex;
    flex-direction: column;
    align-items: center;

    width: min(100%, 1050px);
}

.hero__logo-row {
    position: relative;

    display: flex;
    justify-content: center;
}

.hero__wordmark {
    margin: 0;

    color: var(--white);

    font-family:
        "Arial Rounded MT Bold",
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: clamp(3.9rem, 6vw, 5.7rem);
    font-weight: 700;
    line-height: 0.82;
    letter-spacing: -0.045em;

    text-transform: lowercase;

    text-shadow:
        0 9px 14px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: clamp(16px, 2.6vw, 32px);

    margin-top: 19px;
}

.hero__subtitle strong {
    color: var(--white);

    font-size: clamp(1rem, 1.7vw, 1.45rem);
    font-weight: 700;
    letter-spacing: 0.26em;
    line-height: 1;
    white-space: nowrap;

    text-shadow:
        0 5px 9px rgba(0, 0, 0, 0.22);
}

.hero__subtitle > span {
    display: block;

    width: clamp(50px, 6vw, 86px);
    height: 4px;

    border-radius: 999px;

    background: var(--accent);

    box-shadow:
        0 0 10px rgba(34, 196, 233, 0.35);
}


/* HERO WELLEN */

.hero__waves {
    position: absolute;
    inset: 0;

    z-index: 2;

    width: 100%;
    height: 100%;

    overflow: hidden;
    pointer-events: none;
}

.hero__wave-shape,
.hero__wave-edge {
    transform-origin: center;
    will-change: transform;
}

.hero__wave-shape--top {
    opacity: 0.72;

    animation:
        hero-wave-top
        25s
        ease-in-out
        infinite
        alternate;
}

.hero__wave-shape--main {
    opacity: 0.82;

    animation:
        hero-wave-main
        30s
        ease-in-out
        infinite
        alternate;
}

.hero__wave-shape--bottom {
    opacity: 0.55;

    animation:
        hero-wave-bottom
        35s
        ease-in-out
        infinite
        alternate;
}

.hero__wave-edge {
    fill: none;

    stroke:
        rgba(190, 237, 244, 0.13);

    stroke-width: 0.9;

    vector-effect:
        non-scaling-stroke;

    filter:
        url("#soft-wave-edge");
}

.hero__wave-edge--main {
    animation:
        hero-wave-main
        30s
        ease-in-out
        infinite
        alternate;
}

@keyframes hero-wave-top {
    0% {
        transform:
            translate3d(-12px, -2px, 0)
            scaleX(1.015)
            scaleY(1);
    }

    100% {
        transform:
            translate3d(14px, 2px, 0)
            scaleX(1.035)
            scaleY(1.025);
    }
}

@keyframes hero-wave-main {
    0% {
        transform:
            translate3d(-8px, 1px, 0)
            scaleX(1.015)
            scaleY(1);
    }

    100% {
        transform:
            translate3d(12px, -2px, 0)
            scaleX(1.03)
            scaleY(1.018);
    }
}

@keyframes hero-wave-bottom {
    0% {
        transform:
            translate3d(10px, 1px, 0)
            scaleX(1.02);
    }

    100% {
        transform:
            translate3d(-12px, -2px, 0)
            scaleX(1.04);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__wave-shape,
    .hero__wave-edge {
        animation: none;
    }
}


/* LANGSAME, WEICHE WELLENBEWEGUNG */

@keyframes wave-float-top {
    0% {
        transform:
            translate3d(-1.2%, -2px, 0)
            rotate(-1.4deg)
            scaleX(1.01)
            scaleY(1);
    }

    50% {
        transform:
            translate3d(0.2%, 1px, 0)
            rotate(-0.8deg)
            scaleX(1.025)
            scaleY(1.015);
    }

    100% {
        transform:
            translate3d(1.2%, 3px, 0)
            rotate(-0.3deg)
            scaleX(1.04)
            scaleY(1.01);
    }
}

@keyframes wave-float-middle {
    0% {
        transform:
            translate3d(1.1%, 2px, 0)
            rotate(1.9deg)
            scaleX(1.025)
            scaleY(1.01);
    }

    50% {
        transform:
            translate3d(0%, -1px, 0)
            rotate(1.2deg)
            scaleX(1.01)
            scaleY(1.02);
    }

    100% {
        transform:
            translate3d(-1.1%, -3px, 0)
            rotate(0.6deg)
            scaleX(1)
            scaleY(1);
    }
}

@keyframes wave-float-bottom {
    0% {
        transform:
            translate3d(-0.8%, 1px, 0)
            rotate(-1.1deg)
            scaleX(1)
            scaleY(1.015);
    }

    50% {
        transform:
            translate3d(0%, -1px, 0)
            rotate(-0.6deg)
            scaleX(1.018)
            scaleY(1);
    }

    100% {
        transform:
            translate3d(0.8%, -2px, 0)
            rotate(-0.2deg)
            scaleX(1.032)
            scaleY(1.01);
    }
}


/* BEWEGUNG BEI ENTSPRECHENDER SYSTEMEINSTELLUNG ABSCHALTEN */

@media (prefers-reduced-motion: reduce) {
    .hero__wave {
        animation: none;
    }
}


/* LEISTUNGEN */

.services {
    padding-block: 26px 30px;

    color: var(--white);

    background:
        linear-gradient(
            180deg,
            #123943 0%,
            #174650 100%
        );
}

.service-grid {
    display: grid;
    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    align-items: stretch;

    gap: 16px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;

    min-width: 0;
    min-height: 290px;
    padding: 18px 16px 14px;

    text-align: center;

    border: 1px solid rgba(85, 221, 246, 0.28);
    border-radius: var(--radius-card);

    background:
        linear-gradient(
            155deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.018)
        );

    box-shadow:
        0 14px 30px rgba(3, 20, 25, 0.15);

    transition:
        transform var(--transition),
        border-color var(--transition),
        background-color var(--transition),
        box-shadow var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);

    border-color: rgba(85, 221, 246, 0.52);

    background:
        linear-gradient(
            155deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.03)
        );

    box-shadow:
        0 20px 40px rgba(3, 20, 25, 0.22);
}

.service-card__icon {
    display: grid;
    place-items: center;

    width: 68px;
    height: 68px;

    color: var(--accent-light);

    border: 1px solid rgba(34, 196, 233, 0.48);
    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(34, 196, 233, 0.08),
            rgba(34, 196, 233, 0.015) 68%,
            transparent 70%
        );

    box-shadow:
        0 0 20px rgba(34, 196, 233, 0.08);
}

.service-card__icon svg {
    width: 39px;
    height: 39px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2.3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h2 {
    margin: 12px 0 0;

    color: var(--white);

    font-size: 1.18rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.service-card__accent {
    display: block;

    width: 38px;
    height: 2px;

    margin: 11px 0 12px;

    border-radius: 999px;

    background: var(--accent);

    box-shadow:
        0 0 8px rgba(34, 196, 233, 0.3);
}


.service-card p {
    min-height: 34px;
    margin: 0;

    color: rgba(255, 255, 255, 0.82);

    font-size: 0.76rem;
    line-height: 1.4;
    white-space: nowrap;
}

.service-card ul {
    width: 100%;

    margin: 8px 0 0;
    padding: 8px 0 0;

    text-align: left;
    list-style: none;

    border-top: 1px solid rgba(85, 221, 246, 0.14);
}


.service-card li {
    position: relative;

    padding-left: 18px;

    font-size: 0.9rem;
    line-height: 1.45;
}

.service-card li::before {
    content: "✓";

    position: absolute;
    top: 0;
    left: 0;

    color: var(--accent);

    font-size: 0.95rem;
    font-weight: 700;
}

/* KONTAKT */

.contact {
    display: flex;
    flex: 1;
    align-items: center;

    padding-block: 27px 30px;

    color: var(--white);

    background:
        radial-gradient(
            circle at 50% 15%,
            rgba(34, 196, 233, 0.08),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            var(--petrol-deep),
            var(--petrol-dark)
        );
}

.contact-heading {
    margin-bottom: 19px;

    text-align: center;
}

.contact-heading p {
    margin: 0;

    font-size: clamp(1.25rem, 1.8vw, 1.7rem);
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -0.025em;

    text-align: center;
}

.contact-heading__accent {
    color: var(--accent);
}

.contact-heading__white {
    color: var(--white);
}

.contact-heading small {
    display: block;

    margin-top: 8px;

    color: rgba(255,255,255,.92);

    font-size: 1.05rem;
    font-weight: 500;

    text-align: center;
}

.contact-intro {
    margin-bottom: 19px;
    text-align: center;
}

.contact-intro p {
    margin: 0;

    color: var(--white);

    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.3;
}

.contact-intro span {
    display: inline-block;

    margin-top: 6px;

    color: var(--accent);

    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;

    animation: contact-cta-pulse 2.4s ease-in-out infinite;
}

@keyframes contact-cta-pulse {
    0%,
    100% {
        transform: translateY(0);
        opacity: 0.85;
    }

    50% {
        transform: translateY(3px);
        opacity: 1;
    }
}

.contact-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 100px;
    padding: 12px 20px;

    text-align: center;

    border: 1px solid var(--border-light);
    border-radius: var(--radius-card);

    background:
        rgba(255, 255, 255, 0.035);

    transition:
        transform var(--transition),
        border-color var(--transition),
        background-color var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);

    border-color:
        rgba(34, 196, 233, 0.5);

    background:
        rgba(255, 255, 255, 0.065);
}

.contact-card__icon {
    display: grid;
    place-items: center;

    width: 32px;
    height: 32px;

    margin-bottom: 5px;

    color: var(--accent);
}

.contact-card__icon svg {
    width: 27px;
    height: 27px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2.3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-card__icon .fa {
    color: currentColor;
    font-size: 27px;
    line-height: 1;
}

.contact-card strong {
    margin-bottom: 3px;

    font-size: 0.95rem;
    letter-spacing: 0.06em;

    text-transform: uppercase;
}

.contact-card small {
    color:
        rgba(255, 255, 255, 0.9);

    font-size: 0.82rem;
}



/* LINK ZUR QUALIFIKATIONSSEITE */

.contact-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    margin-top: 22px;
    padding: 18px 24px;

    border: 1px solid rgba(34, 196, 233, 0.45);
    border-radius: 16px;

    background: rgba(255, 255, 255, 0.025);
    color: rgba(255, 255, 255, 0.9);

    transition:
        background var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.contact-more:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.contact-more__icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;

    color: var(--accent);
}

.contact-more span {
    font-size: 0.98rem;
    font-weight: 500;
}

.contact-more strong {
    color: var(--accent);
    font-weight: 700;
}

/* FOOTER */

.footer {
    padding-block: 14px;

    color:
        rgba(255, 255, 255, 0.72);

    background: #061b20;
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;
}

.footer p {
    margin: 0;

    font-size: 0.78rem;
}

.footer p strong {
    color: var(--accent);

    font-weight: 600;
}

.footer nav {
    display: flex;

    gap: 28px;

    font-size: 0.78rem;
}

.footer nav a {
    transition:
        color var(--transition);
}

.footer nav a:hover {
    color: var(--accent);
}


/* NIEDRIGE DESKTOP-BILDSCHIRME */

@media (max-height: 760px) and (min-width: 1051px) {
    .hero {
        height: 275px;
    }

    .hero__wordmark {
        font-size: clamp(3.5rem, 5.5vw, 5rem);
    }

    .hero__subtitle {
        margin-top: 16px;
    }

    .problems {
        padding-block: 24px 26px;
    }

    .contact {
    padding-block: 24px 26px;
}

.contact-heading {
    margin-bottom: 16px;
}

.contact-heading p {
    font-size: 1.1rem;
}

.contact-heading small {
    margin-top: 7px;
    font-size: 0.83rem;
}

.contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.contact-card {
    min-width: 0;
    min-height: 88px;
    padding: 10px 4px;
}

.contact-card__icon {
    width: 25px;
    height: 25px;
    margin-bottom: 4px;
}

.contact-card__icon svg {
    width: 22px;
    height: 22px;
}

.contact-card__icon .fa {
    font-size: 22px;
}

.contact-card strong {
    margin-bottom: 2px;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
}

.contact-card small {
    font-size: 0.55rem;
    line-height: 1.25;
    white-space: nowrap;
}

.contact-more {
    width: 100%;
    margin-top: 12px;
    padding: 14px 6px;
}

.contact-more span {
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}
}


/* TABLET */

@media
    (min-width: 621px) and (max-width: 1366px) and (hover: none),
    (min-width: 621px) and (max-width: 1366px) and (pointer: coarse) {

    .container {
        width: min(
            calc(100% - 20px),
            var(--container-width)
        );
    }

    /* Alle fünf Kacheln nebeneinander */
    .service-grid {
        grid-template-columns:
            repeat(5, minmax(0, 1fr));

        gap: 8px;
    }

    .service-card,
    .service-card:nth-child(4),
    .service-card:nth-child(5) {
        grid-column: auto;

        min-width: 0;
        min-height: 285px;

        padding: 16px 10px 13px;
    }

    /* Fragen vollständig innerhalb der Kacheln */
    .service-card p {
        min-height: 38px;

        font-size: 0.64rem;
        line-height: 1.35;

        white-space: normal;
    }

    .service-card ul {
        margin-top: 5px;
        padding-top: 7px;
    }

    /* Leistungen kleiner und kompakter */
    .service-card li {
        position: relative;

        padding-left: 15px;

        font-size: 0.59rem;
        line-height: 1.42;
    }

    /* Haken auf Tablets sichtbar */
    .service-card li::before {
        content: "✓";

        position: absolute;
        top: 0;
        left: 0;

        color: var(--accent);

        font-size: 0.66rem;
        font-weight: 700;
    }
}


/* MOBIL */

@media (max-width: 620px) {
    .container {
        width: min(
            calc(100% - 28px),
            var(--container-width)
        );
    }


    /* MOBILER HEADER */

    .hero {
        height: auto;
        min-height: 205px;
        padding: 20px 14px;
    }

    .hero__wordmark {
        font-size:
            clamp(3rem, 16.5vw, 4.25rem);

        line-height: 0.84;
    }

    .hero__subtitle {
        gap: 11px;
        margin-top: 14px;
    }

    .hero__subtitle strong {
        font-size:
            clamp(0.76rem, 4vw, 1rem);

        letter-spacing: 0.18em;
    }

    .hero__subtitle > span {
        width:
            clamp(28px, 9vw, 38px);

        height: 3px;
    }


  /* MOBILE LEISTUNGSKARTEN */

.services {
    padding-block: 18px 22px;


    
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

/* Automatisierung über die komplette Breite */
.service-card:last-child {
    grid-column: 1 / -1;
}

.service-card {
    min-width: 0;
    min-height: 250px;
    padding: 16px 10px 14px;
}

.service-card__icon {
    width: 54px;
    height: 54px;
}

.service-card__icon svg {
    width: 31px;
    height: 31px;
}

.service-card h2 {
    margin-top: 9px;

    font-size: 1rem;
}

.service-card__accent {
    width: 32px;

    margin: 8px 0 9px;
}

.service-card p {
    min-height: 44px;
    margin: 0;

    font-size: 0.68rem;
    line-height: 1.35;

    white-space: normal;
}

/* Hakenbereich wieder schlicht und sauber */
.service-card ul {
    width: 100%;

    margin: 8px 0 0;
    padding: 8px 0 0;

    text-align: left;

    border-top:
        1px solid rgba(85, 221, 246, 0.14);
}



.service-card li {
    position: relative;

    padding-left: 15px;

    font-size: 0.67rem;
    line-height: 1.55;
}

.service-card li::before {
    content: "✓";

    position: absolute;
    left: 0;
    top: 0;

    color: var(--accent);

    font-size: 0.72rem;
    font-weight: 700;
}

/* Letzte, breite Karte etwas großzügiger */
.service-card:last-child {
    min-height: 225px;
    padding-inline: 22px;
}

.service-card:last-child p {
    min-height: 30px;
}

.service-card:last-child ul {
    width: fit-content;
    margin: 10px auto 0;
    padding-top: 8px;

    text-align: left;
}

.service-card:last-child li {
    white-space: nowrap;
}


/* MOBILER KONTAKTBEREICH */

.contact {
    padding-block: 24px 26px;
}

.contact-heading {
    margin-bottom: 16px;
}

.contact-heading p {
    font-size: 1.1rem;
}

.contact-heading small {
    margin-top: 7px;
    font-size: 0.83rem;
}

.contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.contact-card {
    min-width: 0;
    min-height: 78px;
    padding: 10px 4px;
}

.contact-card__icon {
    width: 25px;
    height: 25px;
    margin-bottom: 4px;
}

.contact-card__icon svg {
    width: 22px;
    height: 22px;
}

.contact-card__icon .fa {
    font-size: 22px;
}

.contact-card strong {
    margin-bottom: 0;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
}

/* Telefonnummer, Nachricht und E-Mail-Adresse mobil ausblenden */
.contact-card small {
    display: none;
}

.contact-more {
    width: 100%;
    margin-top: 12px;
    padding: 13px 4px;
}

.contact-more span {
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

}

/* KLEINERE SMARTPHONES BIS 380 PX */

@media (max-width: 380px) {

    .container {
        width: calc(100% - 18px);
    }

    /* Header etwas kompakter */
    .hero {
        min-height: 190px;
        padding-inline: 10px;
    }

    .hero__wordmark {
        font-size: clamp(2.8rem, 16vw, 3.7rem);
    }

    .hero__subtitle {
        gap: 8px;
    }

    .hero__subtitle strong {
        font-size: 0.72rem;
        letter-spacing: 0.15em;
    }

    .hero__subtitle > span {
        width: 25px;
    }


    /* Leistungskacheln weiterhin 2 nebeneinander */
    .service-grid {
        gap: 7px;
    }

    .service-card {
        min-height: 245px;
        padding: 14px 7px 12px;
    }

    .service-card__icon {
        width: 48px;
        height: 48px;
    }

    .service-card__icon svg {
        width: 28px;
        height: 28px;
    }

    .service-card h2 {
        font-size: 0.9rem;
    }

    .service-card p {
        min-height: 42px;
        font-size: 0.61rem;
        line-height: 1.3;
    }

    .service-card ul {
        margin-top: 6px;
        padding-top: 7px;
    }

    .service-card li {
        padding-left: 13px;

        font-size: 0.58rem;
        line-height: 1.5;
    }

    .service-card li::before {
        font-size: 0.65rem;
    }

    .service-card:last-child {
        min-height: 215px;
        padding-inline: 14px;
    }


    /* Kontaktbereich etwas kompakter */
    .contact-grid {
        gap: 5px;
    }

    .contact-card {
        min-height: 74px;
        padding-inline: 2px;
    }

    .contact-card strong {
        font-size: 0.62rem;
    }

    .contact-more span {
        font-size: 0.68rem;
    }


    /* Footer passend zusammenziehen */
    .footer__inner {
        gap: 10px;
    }

    .footer p,
    .footer nav {
        font-size: 0.68rem;
    }
}

/* SEHR KLEINE SMARTPHONES */

@media (max-width: 340px) {

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .service-card:last-child {
        grid-column: auto;

        min-height: 0;
        padding: 16px 14px 14px;
    }

    .service-card p,
    .service-card:last-child p {
        min-height: 30px;
    }

    .service-card:last-child ul {
        width: 100%;
    }

    .contact-heading p {
        font-size: 1rem;
    }

    .contact-heading small {
        font-size: 0.75rem;
    }

    .contact-more span {
        font-size: 0.61rem;
    }
}

/* DATENSCHUTZ / IMPRESSUM */

.legal-page {
    min-height: 100vh;
    padding: 60px 0 80px;

    color: rgba(255, 255, 255, 0.84);

    background:
        radial-gradient(
            circle at top,
            rgba(34, 196, 233, 0.06),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #04171c 0%,
            #072329 55%,
            #092b32 100%
        );
}

.legal-page__content {
    max-width: 900px;

    background: transparent;
    color: inherit;

    border: 0;
    border-radius: 0;

    padding: 0;

    box-shadow: none;
}

.legal-page__back {
    display: inline-block;

    margin-bottom: 42px;

    color: var(--accent);

    font-weight: 600;

    transition: color var(--transition);
}

.legal-page__back:hover {
    color: var(--accent-light);
}

.legal-page h1 {
    margin-top: 0;
    margin-bottom: 50px;

    color: var(--white);

    font-size: 3rem;
    line-height: 1.1;
}

.legal-page h2 {
    margin: 52px 0 18px;

    color: var(--accent);

    font-size: 1.7rem;
}

.legal-page p,
.legal-page li {
    color: rgba(255, 255, 255, 0.82);

    font-size: 1.05rem;
    line-height: 1.9;
}

.legal-page ul {
    padding-left: 24px;
}

.legal-page strong {
    color: var(--white);
}

.legal-page a {
    color: var(--accent);
}

.legal-page a:hover {
    color: var(--accent-light);
}

.services .contact-heading {
    margin-top: 26px;
    margin-bottom: 0;
}

/* DESKTOP: LEISTUNGSKARTEN BREITER UND LISTEN OHNE ZEILENUMBRUCH */

@media (min-width: 1367px) {

    .services .container {
        width: min(
            calc(100% - 64px),
            1480px
        );
    }

    .service-grid {
        gap: 14px;
    }

    .service-card {
        padding-inline: 14px;
    }

    .service-card li {
        padding-left: 17px;

        font-size: 0.84rem;
        line-height: 1.5;
        letter-spacing: -0.01em;

        white-space: nowrap;
    }

    .service-card li::before {
        font-size: 0.9rem;
    }
}

