/* =========================
   AK MOBILE – NAVIGATION
   ========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #222222;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: transparent;

    box-shadow: none;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 10px 30px;

    background: rgba(255, 255, 255, 0.30);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 18px;

    z-index: 0;
}
.nav-container {
    position: relative;
    z-index: 1;

    background: transparent;

    max-width: 1250px;
    min-height: 100px;

    margin: 0 auto;
    padding: 16px 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =========================
   SERVICE DROPDOWN
   ========================= */

.nav-dropdown {
    position: relative;
}

.nav-dropdown-button {
    border: 0;
    outline: none;
    background: transparent;

    color: #222222;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;

    padding: 6px 0;
    margin: 0;

    cursor: pointer;
}

.nav-dropdown-button:hover {
    color: #C1121F;
}

.nav-dropdown-button span {
    margin-left: 4px;
    font-size: 12px;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);

    min-width: 230px;
    padding: 8px;

    background: rgba(255, 255, 255, 0.98);
    border-radius: 10px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-dropdown-menu a {
    display: block;

    padding: 10px 12px;

    color: #222222;
    text-decoration: none;

    font-size: 14px;
    white-space: nowrap;

    border-radius: 6px;
}

.nav-dropdown-menu a:hover {
    background: #f7f7f7;
    color: #C1121F;
}

.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
/* =========================
   LOGO + NAVIGATION
   ========================= */

.brand-area {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 45px;
}
/* Logo */

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 135px;
    height: auto;
    display: block;
}

/* =========================
   NAVIGATION
   ========================= */

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 4px;
}

.main-nav a {
    position: relative;
    color: #222222;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 6px 0;
    transition: color 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #C1121F;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #C1121F;
    transition: width 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}
/* =========================
   HERO / EINGANGSBEREICH
   ========================= */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.hero-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-content {
    display: none;
}

/* =========================================
   AK MOBILE – HERO
   ========================================= */

@media (max-width: 800px) {

    .hero {
        width: 100%;
        height: auto;
        min-height: 0;
        overflow: hidden;
    }

    .hero picture {
        display: block;
        width: 100%;
    }

    .hero-image {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .hero-overlay,
    .hero-content {
        display: none;
    }
}
/* =========================
   LEISTUNGEN / KARTEN
   ========================= */

.services {
    background: #f7f7f7;
    padding: 90px 30px;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading p {
    color: #C1121F;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-heading h2 {
    color: #222222;
    font-size: 32px;
    font-weight: 600;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background: #ffffff;
    padding: 35px 30px;
    text-align: center;
    border-radius: 12px; 
    min-height: 265px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
  
    border-radius: 12px;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 30px;
}

.service-card h3 {
    color: #222222;
    font-size: 20px;
    margin-bottom: 12px;
}

.service-card p {
    color: #666666;
    font-size: 15px;
    line-height: 1.7;
}

.service-card-clickable {
    position: relative;
    cursor: pointer;
}

.service-card-open {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.service-card-clickable:focus-within {
    outline: 2px solid #C1121F;
    outline-offset: 4px;
}

.service-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.service-modal.active {
    opacity: 1;
    visibility: visible;
}

.service-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 60%);
}

.service-modal-content {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    padding: 36px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgb(0 0 0 / 25%);
    transform: translateY(16px);
    transition: transform 0.25s ease;
}

.service-modal.active .service-modal-content {
    transform: translateY(0);
}

.service-modal-close {
    position: absolute;
    top: 10px;
    right: 16px;
    border: 0;
    background: transparent;
    color: #333;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.service-modal-label {
    margin: 0 0 8px;
    color: #C1121F;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.service-modal-content h2 {
    margin: 0 32px 18px 0;
}

.service-modal-content p {
    line-height: 1.7;
}

.service-modal-highlight {
    font-weight: 700;
}

.service-modal-contact {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 20px;
    border-radius: 5px;
    background: #C1121F;
    color: #fff;
    text-decoration: none;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .service-modal-content {
        padding: 30px 22px;
    }
}

/* =========================
   BILD – HANDY-REPARATUR
   ========================= */

.service-image {
    width: 100%;
    height: 180px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================
   REPARATUR SECTION
   ========================= */

.repair-section {
    background: #ffffff;
    padding: 100px 30px;
}

.repair-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

/* Bild */

.repair-image {
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10);
}

.repair-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Inhalt */

.repair-content {
    max-width: 500px;
}

.repair-kicker {
    color: #C1121F;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.repair-content h2 {
    color: #222222;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

.repair-content > p {
    color: #666666;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Leistungen */

.repair-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.repair-content li {
    position: relative;
    padding: 8px 0 8px 25px;
    color: #333333;
    font-size: 15px;
}

.repair-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #C1121F;
    font-weight: 700;
}

/* Button */

.repair-button {
    display: inline-block;
    background: #C1121F;
    color: #ffffff;
    text-decoration: none;
    padding: 13px 24px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.repair-button:hover {
    background: #C1121F;
    transform: translateY(-2px);
}

/* =========================
   PARKEN
   ========================= */

.parking-section {
    padding: 70px 20px;
    background: #fff;
}

.parking-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.parking-image img {
    display: block;
    width: 100%;
    max-width: 850px;
    height: auto;
    margin: 0 auto;
    border-radius: 4px;
}

.parking-notice {
    max-width: 700px;
    margin: 28px auto 0;
    color: #C1121F;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 600;
}

.parking-notice strong {
    display: block;
    margin-top: 5px;
    font-weight: 700;
}

/* =========================
   MARKEN SCROLLER
   ========================= */
.brands-section {
    width: min(90%, 1100px);
    margin: 0 auto;
    overflow: hidden;
    background: #ffffff;
    padding: 35px 0;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
}
.brands-track {
    display: flex;
    width: max-content;
    animation: brands-scroll 24s linear infinite;
}

.brands-slide {
    display: flex;
    align-items: center;
    gap: 80px;
    padding-right: 80px;
    flex-shrink: 0;
}
.brands-slide img {
    width: 150px;
    height: 65px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.brands-slide img:hover {
    filter: grayscale(0%);
    transform: scale(1.06);
}
.brands-section:hover .brands-track {
    animation-play-state: paused;
}
@keyframes brands-scroll {
    0%, 20% {
        transform: translateX(0);
    }

    25%, 45% {
        transform: translateX(-12.5%);
    }

    50%, 70% {
        transform: translateX(-25%);
    }

    75%, 95% {
        transform: translateX(-37.5%);
    }

    100% {
        transform: translateX(-50%);
    }
}
/* =========================
   REPARATUR – SMARTPHONE
   ========================= */

@media (max-width: 800px) {

    .repair-section {
        padding: 70px 20px;
    }

    .repair-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .repair-image {
        height: 300px;
    }

    .repair-content h2 {
        font-size: 28px;
    }
}


/* =========================
   LEISTUNGEN – SMARTPHONE
   ========================= */

@media (max-width: 800px) {

    .services {
        padding: 60px 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-heading h2 {
        font-size: 27px;
    }
}

/* =========================================
   DSL-INSTALLATION VOR ORT
   ========================================= */

.dsl-installation-section {
    padding: 100px 40px;
    background: #ffffff;
}

.dsl-installation-container {
    max-width: 1100px;
    margin: 0 auto;
}

.dsl-label {
    margin-bottom: 14px;

    color: #C1121F;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

.dsl-installation-container h2 {
    margin-bottom: 20px;

    color: #111111;
    font-size: 40px;
    line-height: 1.15;
    font-weight: 600;
}

.dsl-intro {
    max-width: 700px;
    margin-bottom: 45px;

    color: #555555;
    font-size: 16px;
    line-height: 1.7;
}

.dsl-installation-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 50px;
    align-items: center;
}

.dsl-installation-text {
    padding: 30px;

    background: #f7f7f7;
    border-radius: 14px;
}

.dsl-installation-text h3 {
    margin-bottom: 20px;

    color: #222222;
    font-size: 22px;
}

.dsl-installation-text ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.dsl-installation-text li {
    position: relative;

    margin-bottom: 14px;
    padding-left: 28px;

    color: #444444;
    font-size: 15px;
    line-height: 1.6;
}

.dsl-installation-text li::before {
    content: "✓";

    position: absolute;
    left: 0;
    top: 0;

    color: #C1121F;
    font-weight: 700;
}

.dsl-price-box {
    padding: 35px 25px;

    background: #fff0f1;
    border-radius: 14px;

    text-align: center;
}

.dsl-price-box span {
    display: block;
    margin-bottom: 12px;

    color: #555555;
    font-size: 15px;
}

.dsl-price-box strong {
    display: block;

    color: #C1121F;
    font-size: 38px;
    line-height: 1.1;
}

.dsl-price-box small {
    display: block;
    margin-top: 10px;

    color: #666666;
    font-size: 13px;
}


/* =========================================
   DSL-INSTALLATION – MOBILE
   ========================================= */

@media (max-width: 800px) {

    .dsl-installation-section {
        padding: 70px 20px;
    }

    .dsl-installation-container h2 {
        font-size: 30px;
    }

    .dsl-installation-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .dsl-installation-text {
        padding: 25px;
    }

    .dsl-price-box {
        padding: 30px 20px;
    }

}
/* =========================
   TELEFON BUTTON
   ========================= */

.phone-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #C1121F;
    color: #ffffff;
    text-decoration: none;
    padding: 13px 20px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    margin-top: 8px;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.phone-button:hover {
    background: #C1121F;
    transform: translateY(-1px);
}

/* =========================
   HEADER BEIM SCROLLEN
   ========================= */

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 2px 15px rgba(0, 0, 0, 0.08);
}

/* =========================
   ÜBER UNS
   ========================= */

.about-section {
    padding: 110px 40px;
    background: #ffffff;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;

    align-items: center;
}

/* BILD */

.about-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;

    border-radius: 14px;
    display: block;

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.10);
}

/* TEXT */

.about-content {
    color: #333;
}

.about-label {
    margin-bottom: 18px;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;

    color: #C1121F;
}

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

    font-size: 38px;
    line-height: 1.15;

    color: #111;
}

.about-content p {
    margin-bottom: 18px;

    font-size: 16px;
    line-height: 1.7;

    color: #555;
}

/* HIGHLIGHT */

.about-highlight {
    margin: 28px 0;
    padding: 20px 24px;

    border-left: 4px solid #e30613;
    background: #f7f7f7;

    display: flex;
    flex-direction: column;
    gap: 5px;
}

.about-highlight strong {
    font-size: 18px;
    color: #111;
}

.about-highlight span {
    font-size: 15px;
    color: #666;
}

/* SLOGAN */

.about-slogan {
    margin-top: 25px;

    font-size: 22px;
    font-weight: 700;

    color: #C1121F;
}

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

.contact-section {
    padding: 110px 40px;
    background: #f7f7f7;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;

    align-items: center;
}

/* TEXT */

.contact-label {
    margin-bottom: 18px;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;

    color: #C1121F;
}

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

    font-size: 40px;
    line-height: 1.15;

    color: #111;
}

.contact-intro {
    max-width: 520px;
    margin-bottom: 35px;

    font-size: 16px;
    line-height: 1.7;

    color: #555;
}

/* KONTAKT INFORMATIONEN */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.contact-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: #C1121F;
    color: #ffffff;

    border-radius: 8px;

    font-size: 19px;
}

.contact-item strong {
    display: block;
    margin-bottom: 4px;

    font-size: 16px;
    color: #111;
}

.contact-item p {
    margin: 0;

    font-size: 15px;
    line-height: 1.5;

    color: #555;
}

/* BUTTONS */

.contact-buttons {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.contact-button {
    display: inline-block;

    padding: 14px 24px;

    background: #C1121F;
    color: #ffffff;

    border: 2px solid #C1121F;
    border-radius: 6px;

    font-size: 15px;
    font-weight: 700;

    text-decoration: none;

    transition: 0.2s ease;
}

.contact-button:hover {
    background: #C1121F;
    border-color: #C1121F;
}

.contact-button-outline {
    background: transparent;
    color: #C1121F;
}

.contact-button-outline:hover {
    background: #C1121F;
    color: #ffffff;
}
/* =========================
   KONTAKTFORMULAR – AK MOBILE
   ========================= */

.contact-form {
    width: min(700px, calc(100% - 40px));
    margin: 55px auto 70px;
    padding: 42px;
    background: #ffffff;

    border: 1px solid #e30613;
    border-radius: 16px;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);

    position: relative;
}


/* Rote Akzentlinie */

.contact-form::before {
    content: "";
    position: absolute;

    top: -1px;
    left: 55px;
    right: 55px;

    height: 4px;

    background: #e30613;
    border-radius: 0 0 5px 5px;
}


/* Überschrift */

.contact-form-label {
    margin: 0 0 8px;

    color: #e30613;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.contact-form h3 {
    margin: 0 0 32px;

    color: #222222;
    font-size: 30px;
    font-weight: 600;
}


/* Formular */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;

    color: #222222;
    font-size: 14px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;

    padding: 14px 16px;

    background: #fafafa;
    border: 1px solid #dddddd;
    border-radius: 7px;

    color: #222222;
    font-family: inherit;
    font-size: 15px;

    outline: none;

    transition: all 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999999;
}

.form-group input:focus,
.form-group textarea:focus {
    background: #ffffff;
    border-color: #e30613;

    box-shadow:
        0 0 0 3px rgba(227, 6, 19, 0.08);
}

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


/* Datenschutz */

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin: 8px 0 26px;

    color: #666666;
    font-size: 13px;
    line-height: 1.5;

    cursor: pointer;
}

.form-checkbox input {
    width: 16px;
    height: 16px;
    margin: 2px 0 0;

    accent-color: #e30613;
}


/* Button */

.contact-form-button {
    display: block;
    width: 100%;

    padding: 15px 24px;

    background: #C1121F;
    color: #ffffff;

    border: 1px solid #C1121F;
    border-radius: 7px;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition: all 0.2s ease;
}

.contact-form-button:hover {
    background: #C1121F;
    border-color: #C1121F;

    transform: translateY(-1px);

    box-shadow:
        0 7px 18px rgba(227, 6, 19, 0.20);
}


/* =========================
   KONTAKTFORMULAR – MOBILE
   ========================= */

@media (max-width: 800px) {

    .contact-form {
        width: calc(100% - 30px);
        margin: 40px auto 50px;
        padding: 30px 22px;
        border-radius: 14px;
    }

    .contact-form::before {
        left: 35px;
        right: 35px;
    }

    .contact-form h3 {
        font-size: 26px;
        margin-bottom: 26px;
    }

}
/* =========================
   GOOGLE MAP – VOLLE BREITE
   ========================= */

.map-section {
    width: 100%;
    margin: 0;
    padding: 0;
}

.map-container {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 18px;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 800px) {

    .contact-section {
        padding: 80px 20px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-content h2 {
        font-size: 30px;
    }

    .contact-map {
        min-height: 300px;
    }

    .map-placeholder {
        height: 300px;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .contact-button {
        text-align: center;
    }

}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 800px) {

    .about-section {
        padding: 80px 20px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img {
        height: 300px;
    }

    .about-content h2 {
        font-size: 30px;
    }

}
/* =========================
   MOBILE MENÜ BUTTON
   ========================= */

.menu-toggle {
    display: none;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    margin: 5px auto;
    background: #222222;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


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

@media (max-width: 1050px) {

    .main-nav {
        gap: 20px;
    }

    .phone-button {
        padding: 11px 14px;
        font-size: 14px;
    }
}


/* =========================
   SMARTPHONE
   ========================= */

@media (max-width: 800px) {

    .nav-container {
        height: 75px;
        padding: 0 20px;
    }

    .logo img {
        width: 135px;
    }


    /* Mobile Navigation – elegantes Gleiten */

    .main-nav {
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        box-sizing: border-box;
        z-index: 1001;

        padding: 20px;

        background: rgba(255, 255, 255, 0.98);

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

        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;

        max-height: 0;
        overflow: hidden;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(-20px);
        transform-origin: top;

        transition:
            max-height 0.45s ease,
            opacity 0.3s ease,
            transform 0.45s ease,
            visibility 0.45s ease;
    }

    .main-nav.open {
        max-height: calc(100vh - 75px);
        max-height: calc(100dvh - 75px);
        overflow-y: auto;

        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform: translateY(0);
    }

    .main-nav a {
        width: 100%;
        padding: 12px 5px;
    }

    /* Untermenü auf dem Smartphone in den Menüfluss setzen. */
    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-button {
        width: 100%;
        padding: 12px 5px;
        text-align: left;
    }

    .nav-dropdown-menu,
    .nav-dropdown:hover .nav-dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0 0 0 12px;
        transform: none;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-dropdown-menu a {
        white-space: normal;
    }


    /* Telefon auf Smartphone ausblenden */

    .phone-button {
        display: none;
    }


    /* Hamburger anzeigen */

    .menu-toggle {
        display: block;
    }


    /* =========================
       HAMBURGER → X
       ========================= */

    .menu-toggle.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

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

.site-footer {
    background: #e8e8e8;
    color: #222222;
    padding: 45px 40px 25px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* LOGO */

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-brand img {
    width: 220px;
    height: auto;
    display: block;
}

.footer-brand p {
    margin: 0;
    font-size: 14px;
    color: #666666;
}

/* KONTAKT / ÖFFNUNGSZEITEN */

.footer-column h3 {
    margin-bottom: 10px;
    font-size: 16px;
    color: #222222;
}

.footer-column p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #555555;
}

/* UNTERE ZEILE */

.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    padding-top: 20px;

     border-top: 1px solid #cccccc;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: #222222;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;

    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #C1121F;
}

.footer-bottom p {
    margin: 0;
    color: #777777;
    font-size: 13px;
}
/* =========================
   RECHTLICHE SEITEN
   DATENSCHUTZ / IMPRESSUM
   ========================= */

.legal-page {
    min-height: 100vh;
    padding: 100px 20px 80px;
    background: #f3f3f3;
}

.legal-page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 60px;

    background: #ffffff;
    border-radius: 14px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ZURÜCK */

.legal-back {
    display: inline-block;
    margin-bottom: 35px;

    color: #C1121F;
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;
}

.legal-back:hover {
    text-decoration: underline;
}

/* ÜBERSCHRIFT */

.legal-page-container h1 {
    margin-bottom: 45px;

    font-size: 38px;
    line-height: 1.2;

    color: #222222;
}

/* ABSCHNITTE */

.legal-page-container h2 {
    margin-top: 40px;
    margin-bottom: 15px;

    font-size: 24px;
    color: #222222;
}

.legal-page-container h3 {
    margin-top: 30px;
    margin-bottom: 12px;

    font-size: 19px;
    color: #222222;
}

/* TEXT */

.legal-page-container p {
    margin-bottom: 18px;

    font-size: 15px;
    line-height: 1.75;

    color: #555555;
}

/* LISTEN */

.legal-page-container ul {
    margin: 0 0 20px 25px;
    padding: 0;
}

.legal-page-container li {
    margin-bottom: 10px;

    font-size: 15px;
    line-height: 1.6;

    color: #555555;
}

/* LINKS */

.legal-page-container a {
    color: #C1121F;
}

.legal-page-container a:hover {
    text-decoration: underline;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 700px) {

    .legal-page {
        padding: 80px 15px 50px;
    }

    .legal-page-container {
        padding: 35px 25px;
        border-radius: 10px;
    }

    .legal-page-container h1 {
        font-size: 30px;
        margin-bottom: 35px;
    }

    .legal-page-container h2 {
        font-size: 21px;
    }

    .legal-page-container h3 {
        font-size: 18px;
    }

    .legal-page-container p,
    .legal-page-container li {
        font-size: 14px;
    }

}
footer a[href^="mailto:"] {
    color: #C1121F;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 700px) {

    .site-footer {
        padding: 35px 20px 20px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 35px;
    }

    .footer-brand img {
        margin: 0 auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-links {
        gap: 20px;
    }

}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #f5f5f5;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.service-icon img {
    width: 90x;
    height: 90px;
    object-fit: contain;
    display: block;
}

.internet-kabel-icon img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.internet-kabel-card {
    grid-column: 2;
}

@media (max-width: 800px) {
    .internet-kabel-card {
        grid-column: auto;
    }
}
.service-card-link {
  position: relative;
  z-index: 1;
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.service-card-link:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}
.services-grid .service-card:nth-child(3),
.services-grid .service-card:nth-child(3) .service-card-clickable {
  border: 0 !important;
  box-shadow: none !important;
}
.services-grid .service-card:nth-child(3).service-card-clickable:focus-within,
.services-grid .service-card:nth-child(3) .service-card-clickable:focus-within {
  outline: none;
}
.form-trap {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
.contact-form .form-trap {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
/* Cookie consent banner */
.cookie-banner {
    position: fixed;
    z-index: 9999;
    right: 24px;
    bottom: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 28px;
    color: #222;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
    font-family: inherit;
}
.cookie-banner__content { max-width: 700px; }
.cookie-banner__content h2 { margin: 0 0 8px; font-size: 21px; color: #171717; }
.cookie-banner__content p { margin: 0; color: #555; font-size: 14px; line-height: 1.55; }
.cookie-banner__content a { color: #C1121F; text-decoration: underline; }
.cookie-banner__settings { display: grid; gap: 10px; margin-top: 16px; font-size: 14px; }
.cookie-banner__settings[hidden], .cookie-banner__button[hidden] { display: none; }
.cookie-banner__settings label { display: flex; align-items: center; gap: 8px; }
.cookie-banner__settings input { accent-color: #C1121F; }
.cookie-banner__settings span { color: #777; }
.cookie-banner__actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.cookie-banner__button { min-height: 42px; padding: 10px 14px; border: 1px solid #d4d4d4; border-radius: 7px; background: #fff; color: #222; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.cookie-banner__button:hover { border-color: #C1121F; }
.cookie-banner__button:focus-visible { outline: 3px solid rgba(193, 18, 31, .3); outline-offset: 2px; }
.cookie-banner__button--accept { color: #fff; background: #C1121F; border-color: #C1121F; }
.cookie-banner__button--accept:hover { background: #C1121F; }
@media (max-width: 760px) {
    .cookie-banner { right: 12px; bottom: 12px; left: 12px; display: block; padding: 20px; }
    .cookie-banner__actions { justify-content: stretch; margin-top: 18px; }
    .cookie-banner__button { flex: 1 1 100%; }
}

/* AK-Rot für Telefon- und E-Mail-Links im Kontaktbereich und Footer */
.contact-item a,
.footer-column a {
    color:#C1121F;
}

.contact-item a:hover,
.footer-column a:hover {
    color: #C1121F;
}

/* Mehr-erfahren-Button auf Leistungskarten */
.service-card-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin-top: auto;
    padding: 11px 20px;

    background: #C1121F;
    color: #ffffff;

    border: 2px solid #C1121F;
    border-radius: 6px;

    font-size: 14px;
    font-weight: 700;
    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.service-card-more:hover {
    background: #ffffff;
    color: #C1121F;
    transform: translateY(-2px);
}

.service-card-more:focus-visible {
    outline: 3px solid #C1121F;
    outline-offset: 4px;
}
.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding: 11px 20px;
    background: #C1121F;
    color: #fff;
    border: 2px solid #C1121F;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.25s ease,
                color 0.25s ease,
                transform 0.25s ease;
}

.service-card-more:hover {
    background: #fff;
    color: #C1121F;
    transform: translateY(-2px);
}
.service-card-clickable {
    background: #ffffff;
}

.service-card-clickable .service-card-open.service-card-more {
    position: static;
    inset: auto;
    width: auto;
    height: auto;
    margin-top: auto;
    align-self: center;
    z-index: 1;
}
