/* =========================================================
   SHK MEISTERBETRIEB HELLWIG
   style.css
========================================================= */

:root {
    --background: #fafaf8;
    --surface: #ffffff;
    --surface-dark: #20282b;
    --footer-dark: #171d1f;

    --text: #202629;
    --text-light: #667176;

    --primary: #315d6b;
    --primary-dark: #23464f;
    --primary-light: #e9f0f2;

    --heizung: #dd9854;
    --sanitaer: #719dcc;
    --klima: #6598c9;
    --wartung: #72bd8b;
    --baeder: #a989dc;

    --border: #dde2e3;
    --max-width: 1400px;
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, Arial, Helvetica, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

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

button {
    cursor: pointer;
}


/* =========================================================
   GRUNDLAYOUT
========================================================= */

.container {
    width: min(calc(100% - 48px), var(--max-width));
    margin-inline: auto;
}

.section {
    padding: 110px 0;
}

section {
    scroll-margin-top: 90px;
}


/* =========================================================
   TYPOGRAFIE
========================================================= */

h1,
h2,
h3 {
    color: var(--text);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.7rem, 5.5vw, 5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 700;
}

h3 {
    font-size: 1.35rem;
    font-weight: 700;
}

p {
    line-height: 1.7;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow-light {
    color: #b8d0d6;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 55px;
}

.section-heading h2 {
    margin-bottom: 20px;
}

.section-heading p {
    max-width: 640px;
    color: var(--text-light);
    font-size: 1.08rem;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(250, 250, 248, 0.96);

    border-bottom:
        1px solid
        var(--border);

    backdrop-filter: blur(12px);
}

.navbar {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 84px;

    gap: 38px;
}


.logo {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

/* =========================================================
   LOGO – HEADER
========================================================= */

.header .logo {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;

    flex: 0 0 auto;

    width: auto;
    height: 44px;

    margin: 0;

    line-height: 1;
}

.header .logo-icon {
    display: block;

    flex: 0 0 auto;

    width: 32px;
    height: 32px;

    max-width: 32px;
    max-height: 32px;

    object-fit: contain;
    object-position: center;

    margin: 0;
    padding: 0;
}

.header .logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;

    width: auto;
    height: 44px;
}

.header .logo-main {
    color: var(--text);

    font-size: 1.5rem;
    font-weight: 800;

    line-height: 1;
    letter-spacing: 0.08em;

    white-space: nowrap;
}

.header .logo-sub {
    margin-top: 3px;

    color: var(--text-light);

    font-size: 0.68rem;
    font-weight: 600;

    line-height: 1;
    letter-spacing: 0.12em;

    text-transform: uppercase;

    white-space: nowrap;
}

/* NAVIGATION */


.nav {
    display: flex;
    align-items: center;

    gap: 32px;

    margin-left: auto;
}

.nav a {
    position: relative;

    padding: 8px 0;

    color: var(--text-light);

    font-size: 0.9rem;
    font-weight: 600;

    transition:
        color 0.2s ease;
}

.nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--primary);

    transition:
        width 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
    color: var(--text);
}

.nav a:hover::after,
.nav a:focus-visible::after {
    width: 100%;
}


/* TELEFON */

.header-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 9px 15px;

    border:
        1px solid
        var(--border);

    border-radius: 5px;

    color: var(--text);

    font-size: 0.85rem;
    font-weight: 600;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.header-phone:hover,
.header-phone:focus-visible {
    background: var(--primary);
    color: #ffffff;
}


/* MOBILE BUTTON */

.menu-toggle {
    display: none;

    padding: 5px;

    border: 0;

    background: transparent;

    color: var(--text);

    font-size: 1.8rem;
    line-height: 1;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    padding:
        90px
        0
        110px;
}


/*
   WICHTIG:
   Der Hero besteht aus zwei Spalten.
   Links Text, rechts Ronny-Foto.
*/

.hero-inner {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(480px, 760px);

    align-items: center;

    gap: 60px;

    overflow: visible;
}


.hero-content {
    min-width: 0;
    max-width: 900px;
}

.hero-content h1 {
    max-width: 900px;
}

.hero-content h1 span {
    display: block;
    color: var(--primary);
}

.hero-text {
    max-width: 700px;

    margin:
        30px
        0;

    color: var(--text-light);

    font-size: 1.18rem;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding:
        14px
        22px;

    border:
        1px solid
        transparent;

    border-radius: 6px;

    font-weight: 600;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--primary);
    color: #ffffff;
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--primary-dark);
}

.button-secondary {
    border-color: var(--border);

    background: #ffffff;

    color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    border-color: var(--primary);
    color: var(--primary);
}


/* =========================================================
   HERO INFORMATION
========================================================= */

.hero-info {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

    max-width: 800px;

    margin-top: 55px;
    padding-top: 30px;

    border-top:
        1px solid
        var(--border);
}

.hero-info div {
    display: flex;
    flex-direction: column;

    gap: 4px;
}

.hero-info strong {
    font-size: 0.95rem;
}

.hero-info span {
    color: var(--text-light);
    font-size: 0.82rem;
}


/* =========================================================
   LEISTUNGEN
========================================================= */

.services {
    background: #ffffff;
}

.service-grid {
    display: grid;

    grid-template-columns:
        repeat(
            5,
            minmax(0, 1fr)
        );

    align-items: stretch;

    gap: 12px;
}

.service-card {
    overflow: hidden;

    display: flex;
    flex-direction: column;

    min-width: 0;

    border:
        1px solid
        var(--border);

    border-radius: 9px;

    background: #ffffff;

    box-shadow:
        0 6px 18px
        rgba(
            22,
            33,
            36,
            0.04
        );

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.service-card:hover {
    transform:
        translateY(-5px);

    border-color: #cbd2d4;

    box-shadow:
        0 16px 36px
        rgba(
            22,
            33,
            36,
            0.10
        );
}

.service-image {
    overflow: hidden;

    width: 100%;
    height: 350px;

    background: #eeeeec;
}

.service-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.4s ease;
}

.service-card:hover
.service-image img {
    transform:
        scale(1.025);
}

.service-content {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding:
        25px
        22px
        28px;
}

.service-icon {
    display: flex;
    align-items: center;

    width: 40px;
    height: 40px;

    margin-bottom: 15px;
}

.service-icon svg {
    display: block;

    width: 100%;
    height: 100%;
}

.service-heizung .service-icon {
    color: var(--heizung);
}

.service-sanitaer .service-icon {
    color: var(--sanitaer);
}

.service-klima .service-icon {
    color: var(--klima);
}

.service-wartung .service-icon {
    color: var(--wartung);
}

.service-baeder .service-icon {
    color: var(--baeder);
}

.service-content h3 {
    margin-bottom: 13px;

    font-size: 1.3rem;
}

.service-content > p {
    margin-bottom: 21px;

    color: var(--text-light);

    font-size: 0.94rem;
    line-height: 1.65;
}

.service-content ul {
    display: grid;

    gap: 10px;

    margin-top: auto;

    list-style: none;
}

.service-content li {
    position: relative;

    padding-left: 25px;

    color: #394145;

    font-size: 0.92rem;
    line-height: 1.5;
}

.service-content li::before {
    content: "✓";

    position: absolute;

    top: 0;
    left: 0;

    font-weight: 700;
}

.service-heizung li::before {
    color: var(--heizung);
}

.service-sanitaer li::before {
    color: var(--sanitaer);
}

.service-klima li::before {
    color: var(--klima);
}

.service-wartung li::before {
    color: var(--wartung);
}

.service-baeder li::before {
    color: var(--baeder);
}


/* =========================================================
   ÜBER MICH
========================================================= */

.about {
    background: var(--background);
}

.about-inner {
    max-width: 900px;
}

.about-content {
    max-width: 800px;
}

.about-content h2 {
    margin-bottom: 25px;
}

.about-content p {
    max-width: 700px;

    margin-bottom: 18px;

    color: var(--text-light);
}

.about-content .about-intro {
    color: var(--text);

    font-size: 1.2rem;
    font-weight: 500;
}

.about-values {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

    margin-top: 38px;
}

.about-values div {
    display: flex;
    flex-direction: column;

    padding-top: 17px;

    border-top:
        2px solid
        var(--primary);
}

.about-values strong {
    margin-bottom: 3px;
}

.about-values span {
    color: var(--text-light);
    font-size: 0.85rem;
}


/* =========================================================
   VORTEILE
========================================================= */

.advantages {
    background: var(--primary-light);
}

.advantages-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.advantages-grid article {
    padding:
        38px
        30px;

    border-radius: 8px;

    background: #ffffff;

    box-shadow:
        0 4px 12px
        rgba(
            0,
            0,
            0,
            0.025
        );
}

.advantages-grid h3 {
    margin-bottom: 14px;
}

.advantages-grid p {
    color: var(--text-light);
    font-size: 0.95rem;
}


/* =========================================================
   KONTAKT
========================================================= */

.contact-cta {
    padding: 110px 0;

    background: var(--surface-dark);

    color: #ffffff;
}

.contact-grid {
    display: grid;

    grid-template-columns:
        0.9fr
        1.1fr;

    gap: 90px;
}

.contact-content h2 {
    margin-bottom: 25px;

    color: #ffffff;
}

.contact-content > p {
    max-width: 500px;

    color: #b9c1c4;

    font-size: 1.08rem;
}

.contact-details {
    display: grid;

    gap: 20px;

    margin-top: 45px;
}

.contact-details > a,
.contact-details > div {
    display: flex;
    flex-direction: column;

    padding-top: 16px;

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            0.15
        );
}

.contact-details span {
    margin-bottom: 4px;

    color: #aab3b7;

    font-size: 0.78rem;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.contact-details strong {
    color: #ffffff;

    font-weight: 600;

    overflow-wrap: anywhere;
}

.contact-details a:hover strong,
.contact-details a:focus-visible strong {
    color: #c4dce2;
}


/* =========================================================
   KONTAKTFORMULAR
========================================================= */

.contact-form {
    position: relative;

    padding: 40px;

    border-radius: 10px;

    background: #ffffff;

    color: var(--text);

    box-shadow:
        0 20px 50px
        rgba(
            0,
            0,
            0,
            0.12
        );
}


/* Honeypot */

.form-honeypot {
    position: absolute;

    left: -10000px;
    top: auto;

    width: 1px;
    height: 1px;

    overflow: hidden;
}

.form-row {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;

    gap: 7px;

    margin-bottom: 18px;
}

.form-group label {
    color: var(--text);

    font-size: 0.87rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding:
        13px
        14px;

    border:
        1px solid
        #cfd5d7;

    border-radius: 5px;

    outline: none;

    background: #fbfbfb;

    color: var(--text);

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);

    background: #ffffff;

    box-shadow:
        0 0 0 3px
        rgba(
            49,
            93,
            107,
            0.10
        );
}

textarea {
    min-height: 150px;

    resize: vertical;
}

.checkbox {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    margin-bottom: 22px;

    color: var(--text-light);

    font-size: 0.84rem;

    line-height: 1.55;
}

.checkbox > input {
    flex: 0 0 auto;

    width: 16px;
    height: 16px;

    margin-top: 4px;
}

.checkbox-text {
    display: flex;

    flex-wrap: wrap;

    gap: 0.25rem;
}

.privacy-dialog-button {
    padding: 0;

    border: 0;

    background: transparent;

    color: var(--primary);

    font: inherit;

    text-decoration: underline;

    text-underline-offset: 2px;
}

.privacy-dialog-button:hover,
.privacy-dialog-button:focus-visible {
    color: var(--primary-dark);
}

.button-submit {
    width: 100%;

    background: var(--primary);

    color: #ffffff;
}

.button-submit:hover,
.button-submit:focus-visible {
    background: var(--primary-dark);
}


/* =========================================================
   RECHTLICHES
========================================================= */

.legal-section {
    background: #f7f7f5;
}

.legal-section-alt {
    background: #ffffff;
}

.legal-content {
    max-width: 920px;
}

.legal-content h2 {
    margin-bottom: 1.5rem;
}

.legal-content h3 {
    margin-top: 2.2rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    margin-bottom: 1rem;

    color: var(--text-light);

    line-height: 1.75;
}

.legal-content strong {
    color: var(--text);
}

.legal-content ul {
    margin:
        0
        0
        1.5rem
        1.25rem;

    padding-left: 1rem;
}

.legal-content li {
    margin-bottom: 0.45rem;

    color: var(--text-light);

    line-height: 1.7;
}

.legal-content a {
    color: var(--primary);

    text-decoration: underline;

    text-underline-offset: 3px;

    overflow-wrap: anywhere;
}

.legal-content a:hover,
.legal-content a:focus-visible {
    color: var(--primary-dark);
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding:
        70px
        0
        25px;

    background: var(--footer-dark);

    color: #ffffff;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        2fr
        1fr
        1.2fr
        1fr;

    gap: 50px;
}

.footer-grid > div {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo .logo-main {
    color: #ffffff;
}

.footer-logo .logo-sub {
    color: #aeb7ba;
}

.footer-grid h3 {
    margin-bottom: 8px;

    color: #ffffff;

    font-size: 1rem;
}

.footer-grid p,
.footer-grid a {
    color: #aeb7ba;

    font-size: 0.9rem;

    line-height: 1.7;
}

.footer-grid a {
    transition:
        color 0.2s ease;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
    color: #ffffff;
}

.footer-bottom {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    margin-top: 60px;

    padding-top: 22px;

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            0.10
        );

    color: #879195;

    font-size: 0.8rem;
}


/* =========================================================
   RECHTLICHE BUTTONS IM FOOTER
========================================================= */

.footer-legal-button {
    padding: 0;

    border: 0;

    background: transparent;

    color: #aeb7ba;

    font: inherit;

    font-size: 0.9rem;

    line-height: 1.7;

    text-align: left;

    cursor: pointer;

    transition:
        color 0.2s ease;
}

.footer-legal-button:hover,
.footer-legal-button:focus-visible {
    color: #ffffff;
}


/* =========================================================
   IMPRESSUM / DATENSCHUTZ DIALOG
========================================================= */

.legal-dialog {
    width:
        min(
            900px,
            calc(100% - 40px)
        );

    max-height: 88vh;

    margin: auto;

    padding: 0;

    border: 0;

    border-radius: 12px;

    background: #ffffff;

    color: var(--text);

    box-shadow:
        0 30px 90px
        rgba(
            0,
            0,
            0,
            0.30
        );
}

.legal-dialog::backdrop {
    background:
        rgba(
            12,
            17,
            19,
            0.72
        );

    backdrop-filter: blur(4px);
}

.legal-dialog-inner {
    display: flex;

    flex-direction: column;

    max-height: 88vh;
}

.legal-dialog-header {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 20px;

    padding:
        30px
        34px
        22px;

    border-bottom:
        1px solid
        var(--border);

    background: #ffffff;
}

.legal-dialog-header .eyebrow {
    margin-bottom: 8px;
}

.legal-dialog-header h2 {
    font-size:
        clamp(
            1.8rem,
            4vw,
            2.5rem
        );
}

.legal-dialog-close {
    flex: 0 0 auto;

    width: 42px;
    height: 42px;

    border:
        1px solid
        var(--border);

    border-radius: 50%;

    background: #ffffff;

    color: var(--text);

    font-size: 1.7rem;

    line-height: 1;
}

.legal-dialog-close:hover,
.legal-dialog-close:focus-visible {
    border-color: var(--primary);

    color: var(--primary);
}

.legal-dialog-content {
    overflow-y: auto;

    padding:
        28px
        34px
        38px;
}

.legal-dialog-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;

    font-size: 1.15rem;
}

.legal-dialog-content h3:first-of-type {
    margin-top: 0;
}

.legal-dialog-content p {
    margin-bottom: 1rem;

    color: var(--text-light);

    line-height: 1.75;
}

.legal-dialog-content strong {
    color: var(--text);
}

.legal-dialog-content ul {
    margin:
        0
        0
        1.5rem
        1.25rem;

    padding-left: 1rem;
}

.legal-dialog-content li {
    margin-bottom: 0.45rem;

    color: var(--text-light);

    line-height: 1.7;
}

.legal-dialog-content a {
    color: var(--primary);

    text-decoration: underline;

    text-underline-offset: 3px;

    overflow-wrap: anywhere;
}

.legal-dialog-content a:hover,
.legal-dialog-content a:focus-visible {
    color: var(--primary-dark);
}


/* =========================================================
   DESKTOP BIS 1250 PX
========================================================= */

@media (max-width: 1250px) {

    .hero-inner {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(360px, 0.8fr);

        gap: 55px;
    }

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

        gap: 18px;
    }

    .service-image {
        height: 340px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .section {
        padding: 90px 0;
    }

    .hero {
        padding:
            80px
            0
            90px;
    }

    .hero-inner {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .hero-content {
        max-width: 900px;
    }

    .hero-portrait {
        width: 100%;
        max-width: 650px;

        margin-inline: auto;
    }

    .nav {
        position: absolute;

        top: 84px;
        left: 0;
        right: 0;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding:
            12px
            24px
            24px;

        border-bottom:
            1px solid
            var(--border);

        background: var(--background);

        box-shadow:
            0 10px 20px
            rgba(
                0,
                0,
                0,
                0.05
            );
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        padding: 15px 0;

        border-bottom:
            1px solid
            var(--border);
    }

    .nav a:last-child {
        border-bottom: 0;
    }

    .nav a::after {
        display: none;
    }

    .menu-toggle {
        display: block;

        order: 3;
    }

    .header-phone {
        margin-left: auto;
    }

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

        gap: 20px;
    }

    .service-image {
        height: 360px;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }

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


/* =========================================================
   HANDY
========================================================= */

@media (max-width: 650px) {

    .container {
        width:
            min(
                calc(100% - 28px),
                var(--max-width)
            );
    }

    .section {
        padding: 72px 0;
    }

    .navbar {
        min-height: 72px;

        gap: 15px;
    }

    .nav {
        top: 72px;
    }

    .header .logo {
        height: 38px;
        gap: 7px;
    }

    .header .logo-icon {
        width: 24px;
        height: 24px;

        max-width: 24px;
        max-height: 24px;
    }

    .header .logo-text {
        height: 38px;
    }

    .header .logo-main {
        font-size: 1.25rem;
    }

    .header .logo-sub {
        font-size: 0.62rem;
    }

    .header-phone {
        display: none;
    }

    .hero {
        padding:
            60px
            0
            75px;
    }

    .hero-inner {
        gap: 40px;
    }

    .hero-text {
        margin:
            24px
            0;

        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    /*
       Das Foto bleibt auch auf dem Handy
       komplett sichtbar.
    */

    .hero-portrait {
        max-width: 100%;

        border-radius: 20px;
    }

    .hero-portrait img {
        border-radius: 20px;
    }

    .hero-info {
        grid-template-columns: 1fr;

        gap: 15px;

        margin-top: 40px;
    }

    .hero-info div {
        padding-bottom: 12px;

        border-bottom:
            1px solid
            var(--border);
    }

    .hero-info div:last-child {
        border-bottom: 0;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .service-grid {
        grid-template-columns: 1fr;

        gap: 22px;
    }

    .service-image {
        height: 350px;
    }

    .service-content {
        padding: 25px;
    }

    .about-values {
        grid-template-columns: 1fr;

        gap: 18px;
    }

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

    .advantages-grid article {
        padding:
            30px
            25px;
    }

    .contact-cta {
        padding: 75px 0;
    }

    .contact-grid {
        gap: 45px;
    }

    .contact-form {
        padding: 24px;
    }

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

    .footer {
        padding-top: 55px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 38px;
    }

    .footer-bottom {
        flex-direction: column;

        margin-top: 45px;

        gap: 8px;
    }

    .legal-dialog {
        width:
            min(
                94vw,
                900px
            );

        max-height: 92vh;
    }

    .legal-dialog-inner {
        max-height: 92vh;
    }

    .legal-dialog-header {
        padding:
            24px
            22px
            18px;
    }

    .legal-dialog-content {
        padding:
            24px
            22px
            32px;
    }
}


/* =========================================================
   SEHR KLEINE HANDYS
========================================================= */

@media (max-width: 400px) {

    h1 {
        font-size: 2.35rem;
    }

    h2 {
        font-size: 1.9rem;
    }

    .service-image {
        height: 300px;
    }

    .contact-form {
        padding: 20px;
    }
}


/* =========================================================
   REDUZIERTE ANIMATION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }
}


/* =========================================================
   RONNY HELLWIG – FOTO
   FINAL: NATIVES SEITENVERHÄLTNIS / KEIN CROPPING
========================================================= */

.hero,
.hero-inner,
.hero-photo {
    overflow: visible !important;
}

.hero-photo {
    display: block !important;

    width: 100% !important;
    max-width: 760px !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 auto !important;
    padding: 0 !important;

    aspect-ratio: auto !important;

    background: transparent !important;

    border-radius: 28px !important;

    box-shadow:
        0 20px 55px
        rgba(22, 33, 36, 0.10) !important;
}

.hero-photo img {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    min-width: 0 !important;
    min-height: 0 !important;

    max-width: 100% !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    aspect-ratio: auto !important;

    object-fit: contain !important;
    object-position: center center !important;

    border-radius: 28px !important;
}

@media (max-width: 1000px) {
    .hero-inner {
        grid-template-columns: 1fr !important;
        gap: 50px !important;
    }

    .hero-photo {
        width: 100% !important;
        max-width: 700px !important;
        margin-inline: auto !important;
    }
}

@media (max-width: 650px) {
    .hero-photo {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 20px !important;
    }

    .hero-photo img {
        width: 100% !important;
        height: auto !important;
        border-radius: 20px !important;
    }
}