/*###############################
###
###     GLOBAL STYLES
###     BASED ON: HTML, JS, CSS 
###     AUTHOR: Benjamin Benenwitz
###
###
###       ██████╗  ▀█
###       ██╔══██╗ █▄
###       ██████╦╝
###       ██╔══██╗
###       ██████╦╝
###       ╚═════╝
###
###
#################################*/

/* Inhaltsverzeichnis
   1. ROOT VARIABLES + FONTS
   2. BASIS-RESET UND TYPOGRAFIE
   3. CONTAINER-HILFE
   4. HEADER & NAVIGATION
        4.1 Basis-Konfiguration
        4.2 Dynamischer Kontrast & Glass-Effekte
        4.3 Navigation Links & Underline (Adaptive)
        4.4 Mega-Menü (Desktop)
        4.5 Mobile Navigation (Overlay & Akkordeon)
   5. HERO SECTION ATF
   6. SERVICES-SEKTION
        6.1 Fensterreinigung
        6.2 Rahmenreinigung
        6.3 Wintergartenreinigung
        6.4 Pflegekasse Disclaimer
        + 6.5   fensterreinigung-koeln.html
                wintergartenreinigung-koeln.html
                fensterreinigung-bonn.html
                wintergartenreinigung-bonn.html
   7. ABOUT / MOTIVATION SECTION
   8. TEASER-SEKTION
   9. PREISE preise.html siehe preise.css
   10. FAQ
   11. BUTTONS
   12. FOOTER siehe footer.css
        12.1 Footer-Blocks (Sitemap, Kontakt, Formular)
        12.2 Separator
        12.3 Footer-Bottom
   13. SCROLL-TO-TOP BUTTON
   14. SCROLLBAR STYLES
   15. HINWEISE - AGB/DATENSCHUTZ
        15.1 404
        15.2 thank-you.html
        15.3 maintenance.html
        15.4 impressum.html
   16. BLOG siehe blog.css
   17. RESPONSIVE DESIGN siehe responsive-main.css
        17.1 Desktop-Small (bis 1200px)
        17.2 Tablet (bis 845px)
        17.3 Tablet (bis 690px)
        17.4 Mobile (bis 490px)
        17.5 Mobile (bis 400px)
        17.6 Micro-Mobile (bis 300px)
    18. Reveal Animations
    19. BASICS
*/

/* ==============================
   1. ROOT VARIABLES + FONTS
   ============================== */
:root {
    /* COLORS */
    --color-light: #fafafa;
    --color-dark: #231f20;
    --color-primary: #17214d;
    --color-accent: #f6f6f6;
    --color-highlight: #fbff00;
    --color-lightblue: #cfd9e2;
    --transition-speed: 150ms;
    /* SPACINGS */
    --section-pad-l: 8rem 2rem;
    --section-pad-m: 3rem 1rem;
}

/* styles/icons.css – Material Symbols (self-hosted) */
@font-face {
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    font-weight: 100 700;
    src: url('/fonts/MI-regular-outlined.woff2') format('woff2');
    font-display: swap;
}


.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Variations */
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ==============================
   2. BASIS-RESET UND TYPOGRAFIE
   ============================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: sans-serif;
    color: var(--color-dark);
    background-color: var(--color-light);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a,
button {
    cursor: pointer;
}

/* ==============================
   3. CONTAINER-HILFE
   ============================== */
.container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

/* ==============================
   4. HEADER & NAVIGATION
   siehe header.css
   ============================== */

/* ==============================
   5. HERO SECTION ATF
   ============================== */
.hero {
    position: relative;
    background-color: var(--color-accent);
    overflow: hidden;
}

video {
    filter: brightness(0.55);
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-caption {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    color: var(--color-light);
}

.hero-caption h1 {
    font-size: 3rem;
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
}

.hero-caption p {
    font-size: 2rem;
    margin: 0.75rem 0 1.5rem;
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
}

/* ==============================
   6. SERVICES-SEKTION
   ============================== */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: var(--section-pad-l);
    text-align: center;
    align-items: stretch;
}

#services-heading {
    box-sizing: border-box;
    max-width: fit-content;
    grid-column: 2 / -1;
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 3rem;
    border-bottom: 3px solid var(--color-primary);
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card img {
    width: 64px;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin: 0;
    margin-top: auto;
}

/* ==============================
   6.1 Fensterreinigung
   Fensterreinigung: Wisch-Effekt von oben nach unten 
   ============================== */
@keyframes windowDrop {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ==============================
   6.2 Rahmenreinigung
   Rahmenreinigung: Fenster Rotation
   ============================== */
/* Basis: Icon normal */
.service-window img {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Bei Hover: Spielt den Drop-In einmal ab */
.service-window:hover img {
    animation: windowDrop 0.6s ease-in-out forwards;
}

/* Rahmenreinigung: Vertikale Drehung wie eine Drehtür */
.service-frame {
    perspective: 600px;
}

.service-frame img {
    display: block;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
}

.service-frame:hover img {
    transform: rotateY(360deg);
}

/* ==============================
   6.3 Wintergartenreinigung
   Wintergartenreinigung: Sterne funkeln
   ============================== */
.service-winter .icon-wrapper {
    position: relative;
    display: inline-block;
}

.service-winter .star {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--color-primary);
    /* mask für moderne Browser */
    -webkit-mask: url('../images/star.svg') no-repeat center / contain;
    mask: url('../images/star.svg') no-repeat center / contain;
    opacity: 0.8;
    transform-origin: center;
    pointer-events: none;
}

.service-winter .star1 {
    top: -5%;
    left: 2%;
    width: 25px;
    height: 25px;
}

.service-winter .star2 {
    top: 50%;
    left: 35%;
    width: 18px;
    height: 18px;
}

.service-winter .star3 {
    top: 40%;
    left: 60%;
    width: 14px;
    height: 14px;
}

/* Animation beim Hover */
.service-winter:hover .star1 {
    animation: sparkle 1s ease-in-out infinite 0s;
}

.service-winter:hover .star2 {
    animation: sparkle 1s ease-in-out infinite 0.3s;
}

.service-winter:hover .star3 {
    animation: sparkle 1s ease-in-out infinite 0.6s;
}

@keyframes sparkle {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

/* ==============================
   6.4 Pflegekasse Disclaimer
   ============================== */
.pflegekasse-section {
    background: var(--color-primary);
    padding: var(--section-pad-l);
    display: flex;
    justify-content: center;
    align-items: center;
}

.pflegekasse-flex {
    display: flex;
    width: 100%;
    max-width: 1100px;
    min-height: 300px;
    overflow: hidden;
}

.pflegekasse-left,
.pflegekasse-right {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 0;
    padding: 2.5rem 2rem;
    border-radius: 16px;
}

.pflegekasse-left {
    background: var(--color-primary);
    color: var(--color-light);
    text-align: left;
}

.pflegekasse-left h2 {
    color: var(--color-light);
    font-size: 2rem;
    line-height: 1.3;
    margin: 0;
}

.highlight {
    color: var(--color-highlight);
}

.pflegekasse-right {
    background: var(--color-highlight, #fffae5);
    color: var(--color-primary);
    text-align: center;
}

.pflegekasse-right .entlastung-list {
    margin: 0 0 2rem 0;
    padding: 0;
    list-style: none;
    font-size: 1.15rem;
    color: var(--color-primary);
}

.pflegekasse-right .entlastung-list li {
    margin-bottom: 0.7em;
}

.pflegekasse-right .entlastung-benefit {
    color: var(--color-primary);
    margin-bottom: 2rem;
    font-weight: 500;
    font-size: 1.1rem;
}

.pflegekasse-right .btn {
    margin-top: 0.5rem;
}

/* Pflegekasse Overlay Temp */
.pflegekasse-section.is-disabled {
    position: relative;
}

.pflegekasse-section.is-disabled .pflegekasse-flex {
    pointer-events: none;
    user-select: none;
    opacity: 0.18;
}

.pflegekasse-disclaimer-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;
    background: rgba(112, 106, 26, 0.58);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.pflegekasse-disclaimer-card {
    width: 100%;
    max-width: 820px;
    background: rgba(250, 250, 250, 0.93);
    color: var(--color-primary);
    border-radius: 18px;
    padding: 2.2rem 2.2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.20);
    text-align: center;
}

.pflegekasse-disclaimer-title {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.9rem;
}

.pflegekasse-disclaimer-text {
    font-size: 1.07rem;
    line-height: 1.55;
    margin: 0 0 1.4rem 0;
}

@media (max-width: 690px) {
    .pflegekasse-disclaimer-overlay {
        padding: 2rem 1.2rem;
    }

    .pflegekasse-disclaimer-card {
        padding: 1.7rem 1.4rem;
        border-radius: 16px;
    }

    .pflegekasse-disclaimer-title {
        font-size: 1.35rem;
    }

    .pflegekasse-disclaimer-text {
        font-size: 1rem;
    }
}

@media (max-width: 490px) {
    .pflegekasse-disclaimer-overlay {
        padding: 1.6rem 1rem;
    }

    .pflegekasse-disclaimer-card {
        padding: 1.35rem 1.1rem;
    }

    .pflegekasse-disclaimer-title {
        font-size: 1.22rem;
    }

    .pflegekasse-disclaimer-text {
        font-size: 0.97rem;
    }
}

@media (max-width: 400px) {
    .pflegekasse-disclaimer-overlay {
        padding: 1.25rem 0.85rem;
    }

    .pflegekasse-disclaimer-card {
        padding: 1.15rem 0.95rem;
        border-radius: 14px;
    }

    .pflegekasse-disclaimer-title {
        font-size: 1.12rem;
    }

    .pflegekasse-disclaimer-text {
        font-size: 0.93rem;
    }
}

@media (max-width: 320px) {
    .pflegekasse-disclaimer-overlay {
        padding: 1rem 0.65rem;
    }

    .pflegekasse-disclaimer-card {
        padding: 1rem 0.8rem;
    }

    .pflegekasse-disclaimer-title {
        font-size: 1.05rem;
    }

    .pflegekasse-disclaimer-text {
        font-size: 0.9rem;
    }
}

/* ==============================
   7. ABOUT / MOTIVATION SECTION
   ============================== */
.about {
    padding: var(--section-pad-l);
}

.about-flex {
    display: flex;
    gap: 4rem;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#about-heading {
    max-width: fit-content;
    font-size: 2rem;
    text-align: center;
    color: var(--color-primary);
    margin-bottom: 3rem;
    border-bottom: 3px solid var(--color-primary);
}

.about-masonry {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    margin-bottom: 1rem;
}

.about-teaser {
    width: 150px;
    height: 350px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(34, 38, 70, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background 0.5s;
    cursor: pointer;
}

/* 100% Deckkraft, nur die Farbe */
.about-teaser:nth-child(1) {
    background: var(--color-primary);
}

.about-teaser:nth-child(2) {
    background: var(--color-highlight);
}

.about-teaser:nth-child(3) {
    background: #e9e9ef;
}

.about-teaser img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    position: absolute;
    inset: 0;
    transition: opacity 0.45s cubic-bezier(.7, .18, .39, .91);
    z-index: 2;
    pointer-events: none;
    border-radius: 22px;
}

.about-teaser:hover img,
.about-teaser:focus img {
    opacity: 1;
}

.about-text {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    gap: 2rem;
}

.about-block {
    width: 100%;
    background: transparent;
    padding: 0;
}

.about-block p {
    line-height: 1.6;
    color: var(--color-dark);
    margin: 0 0 1.5rem 0;
    text-align: justify;
}

/* ==============================
   8. TEASER-SEKTION
   ============================== */
.teaser {
    background: var(--color-lightblue);
    padding: var(--section-pad-l);
}

.teaser .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 1500px;
    margin: 0 auto;
    justify-items: center;
}

.teaser-card {
    border: 1px solid var(--color-light);
    border-radius: 8px;
    background: var(--color-light);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed);
}

.teaser-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.teaser-card p {
    margin-bottom: 2.5rem;
}

/* ==============================
   9. preise.html siehe preise.css
   ============================== */

/* ==============================
   10. FAQ
   ============================== */
#faq {
    width: 100%;
    padding: var(--section-pad-l);
    background: var(--color-accent);
}

.faq-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#faq-heading {
    max-width: fit-content;
    font-size: 2rem;
    text-align: center;
    color: var(--color-primary);
    margin-bottom: 3rem;
    border-bottom: 3px solid var(--color-primary);
}

/* Details-Container */
.faq details {
    border: 1px solid var(--color-primary);
    overflow: hidden;
    transition: all var(--transition-speed);
    min-width: 50%;
    max-width: 700px;
    margin-bottom: 1rem;
}

.faq details:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Summary-Titel */
.faq summary {
    background: var(--color-primary);
    color: var(--color-light);
    padding: 1rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: all var(--transition-speed);
}

.faq summary:hover {
    background: var(--color-light);
    color: var(--color-primary);
}

/* Remove default marker */
.faq summary::-webkit-details-marker {
    display: none;
}

/* Custom marker */
.faq summary::after {
    content: "+";
    position: absolute;
    right: 1rem;
    font-size: 1.2rem;
    transition: all var(--transition-speed);
}

.faq details[open] summary::after {
    content: "−";
    transform: rotate(0deg);
}

/* Antwort-Text */
.faq p {
    padding: 1rem;
    margin: 0;
    background: var(--color-light);
    color: var(--color-dark);
    line-height: 1.5;
}

/* faq.html */
.faq-hero {
    padding: 12rem 6rem;
    background: linear-gradient(135deg, var(--color-accent) 0%, #ffffff 100%);
    text-align: center;
}

.container-narrow {
    max-width: 850px;
    margin: 0 auto;
}

.faq-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--color-primary);
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
}

.faq-hero h1 span {
    display: block;
    font-size: 0.4em;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-dark);
    font-weight: 400;
    margin-top: 10px;
}

.hero-intro {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #444;
}

.faq-section {
    padding: 80px 20px 160px;
    background: var(--color-light);
}

.faq-category {
    margin-bottom: 80px;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 40px;
    font-weight: 800;
}

.category-title .material-symbols-outlined {
    font-size: 2rem;
    color: var(--color-primary);
    background: var(--color-accent);
    padding: 10px;
    border-radius: 12px;
}

.faq-item {
    background: #fdfdfd;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.faq-item[open] {
    background: var(--color-light);
    border-color: var(--color-primary);
    box-shadow: 0 15px 40px rgba(23, 33, 77, 0.08);
}

.faq-item summary {
    padding: 25px 30px;
    list-style: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Custom Marker entfernen */
.faq-item summary::-webkit-details-marker {
    display: none;
}

/* Neuer Plus-Minus-Indikator */
.faq-item summary::after {
    content: '+';
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
    /* Wird zum 'x' oder einfach drehen */
    content: '+';
}

.faq-content {
    padding: 0 30px 30px 30px;
    line-height: 1.7;
    color: #555;
    font-size: 1.05rem;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-footer-cta {
    text-align: center;
    margin-top: 100px;
    padding: 60px;
    background: var(--color-light-bg, #f8faff);
    border-radius: 30px;
}

.faq-footer-cta p {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--color-primary);
}

.btn-primary-modern {
    background: var(--color-primary);
    color: var(--color-light);
    padding: 18px 36px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(23, 33, 77, 0.2);
}

/* ==============================
   11. BUTTONS
   ============================== */
.btn-wrapper {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.btn-wrapper.spacing {
    margin-top: 32px
}

.btn,
.btn-outline-primary,
.btn-outline-light,
.btn-to-outline-primary,
.btn-light-to-outline-light {
    display: inline-block;
    text-decoration: none;
    padding: 1rem 2.5rem;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    transition: all var(--transition-speed);
}

.btn {
    background: var(--color-primary);
    color: var(--color-light);
    border: none;
}

.btn:hover {
    background: var(--color-light);
    color: var(--color-primary);
}

.btn-outline-primary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline-primary:hover {
    background: var(--color-primary);
    color: var(--color-light);
}

.btn-outline-light {
    background: transparent;
    color: var(--color-light);
    border: 2px solid var(--color-highlight);
}

.btn-outline-light:hover {
    background: var(--color-highlight);
    color: var(--color-primary);
}

.btn-to-outline-primary {
    background: var(--color-primary);
    color: var(--color-light);
    border: 2px solid transparent;
}

.btn-to-outline-primary:hover {
    border: 2px solid var(--color-primary);
    background-color: transparent;
    color: var(--color-primary);
}

.btn-to-outline-primary.blog {
    font-size: 1rem;
    padding: 0.5rem 1rem;
}

.btn-light-to-outline-light {
    background: var(--color-highlight);
    color: var(--color-primary);
    border: 3px solid transparent;
}

.btn-light-to-outline-light:hover {
    background: transparent;
    color: var(--color-primary);
    border: 3px solid var(--color-highlight);
}

.btn-preis {
    display: block;
    margin: 1rem 1.5rem;
    padding: 0.75rem 1.5rem;
    text-align: center;
    text-decoration: none;
    background: var(--color-primary);
    color: var(--color-light);
    transition: all 150ms;
    font-size: 1rem;
    font-weight: 400;
}

.btn-preis:hover {
    background-color: var(--color-lightblue);
    color: var(--color-primary);
    font-weight: 700;
}

/* ==============================
   12. FOOTER siehe footer.scss
   ============================== */

/* ==============================
   13. SCROLL-TO-TOP BUTTON
   ============================== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: var(--color-primary);
    color: var(--color-light);
    border: 1px solid var(--color-light);
    border-radius: 50%;
    font-size: 1.5rem;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-speed);
    z-index: 10;
}

.scroll-top.in-footer {
    background: var(--color-light);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.scroll-top.show {
    display: flex;
}

.scroll-top:hover {
    transform: scale(1.1);
}

/* ==============================
   14. SCROLLBAR STYLES
   ============================== */
/* Firefox (Gecko) */
@-moz-document url-prefix() {
    * {
        scrollbar-width: thin;
        scrollbar-color: var(--color-primary) var(--color-light);
    }
}

/* Chrome, Safari, Edge (WebKit) */
*::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

*::-webkit-scrollbar-track {
    background-color: var(--color-light);
}

*::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);
    border-radius: 10px;
}

*::-webkit-scrollbar-thumb:hover {
    background-color: #515fb3;
    cursor: pointer;
}

*::-webkit-scrollbar-button {
    display: none;
}

/* ==============================
   15. HINWEISE – AGB/DATENSCHUTZ
   ============================== */
.container.agb,
.container.dtz {
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 72px auto;
}

.container.dtz section,
.container.agb section {
    margin: 24px auto;
}

.dtz-headline {
    margin-top: 2rem;
}

main section p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-dark);
}

main.agb a,
main.dtz a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: color var(--transition-speed) ease;
}

main.agb a:hover,
main.dtz a:hover {
    color: #1f2a67;
}

/* ==============================
   15. FEHLERSEITEN & UTILITIES
   ============================== */

.not-found-hero {
    display: flex;
    min-height: 60vh;
    margin-top: 72px;
    background: var(--color-accent);
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12rem 6rem;
}

.not-found-content {
    max-width: 800px;
}

.error-code {
    font-size: clamp(5rem, 15vw, 10rem);
    font-weight: 950;
    line-height: 1;
    color: var(--color-primary);
    opacity: 0.1;
    margin-bottom: -2rem;
}

#error-heading {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.not-found-hero p {
    font-size: 1.2rem;
    color: var(--color-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.sections-wrapper {
    background: var(--color-primary);
    color: var(--color-light);
    padding: 80px 8%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.helpful-links h2,
.site-search h2 {
    color: var(--color-highlight);
    font-size: 1.8rem;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(255, 204, 0, 0.3);
    padding-bottom: 10px;
    display: inline-block;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    list-style: none;
    padding: 0;
}

.backlinks {
    color: var(--color-light);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--trans);
}

.backlinks::before {
    content: "chevron_right";
    font-family: 'Material Symbols Outlined';
    color: var(--color-highlight);
    font-size: 1.2rem;
}

.backlinks:hover {
    color: var(--color-highlight);
    transform: translateX(5px);
}

.search-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.search-form input[type="text"] {
    flex: 1;
    padding: 14px 20px;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    outline: none;
}

.search-form .btn {
    background: var(--color-highlight);
    color: var(--color-primary);
    border: none;
    padding: 0 25px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--trans);
}

.search-form .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
}

.form-hint {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-nav {
    padding: 20px 8%;
    background: var(--color-light);
}

.breadcrumb {
    display: flex;
    gap: 10px;
    list-style: none;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--color-secondary);
    text-decoration: none;
}

.breadcrumb li+li::before {
    content: "/";
    color: #ccc;
    margin-right: 10px;
}

.visually-hidden-focusable {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--color-primary);
    color: var(--color-light);
    padding: 10px;
    z-index: 9999;
}

.visually-hidden-focusable:focus {
    top: 0;
}

/* ==============================
   15.2 THANK-YOU SEKTION
   ============================== */

.thank-you-section {
    padding: 12rem 6rem;
    background: linear-gradient(180deg, var(--color-accent) 0%, #ffffff 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 80vh;
}

.thank-you-card {
    background: var(--color-light);
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 700px;
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
    border: 1px solid rgba(23, 33, 77, 0.05);
}

/* Erfolg-Icon Animation */
.success-icon-wrapper {
    margin-bottom: 30px;
}

.success-icon {
    font-size: 5rem;
    color: #28a745;
    /* Ein sattes, vertrauenswürdiges Grün */
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.thank-you-card h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 1rem;
    font-weight: 900;
}

.thank-you-lead {
    font-size: 1.2rem;
    color: var(--color-secondary);
    margin-bottom: 2rem;
}

.wait-info {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-accent);
    padding: 12px 24px;
    border-radius: 50px;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 30px;
}

.btn-container-ty {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mini-Timeline für Erwartungsmanagement */
.next-steps-mini {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.next-steps-mini h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--color-primary);
}

.next-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.next-step-item {
    background: rgba(255, 255, 255, 0.6);
    padding: 25px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(23, 33, 77, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-num {
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    color: var(--color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 15px;
}

.next-step-item p {
    font-size: 0.95rem;
    margin: 0;
    color: var(--color-dark);
    font-weight: 500;
}

/* ==============================
   15.3 MAINTENANCE SEKTION (MODERN)
   ============================== */

.maintenance-section {
    padding: 12rem 6rem;
    background: radial-gradient(circle at top left, #f8faff 0%, #e0e7ff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.maintenance-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 60px 40px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    max-width: 550px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-align: center;
}

/* Icon & Animation */
.maintenance-icon-wrapper {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    width: 120px;
    height: 120px;
    background: var(--color-light);
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.maintenance-icon {
    font-size: 3.5rem;
    color: var(--color-primary, #1a73e8);
    z-index: 2;
    animation: smoothWipe 3s infinite ease-in-out;
}

@keyframes smoothWipe {

    0%,
    100% {
        transform: rotate(-10deg) scale(1);
    }

    50% {
        transform: rotate(15deg) scale(1.1);
    }
}

/* Bubbles */
.bubble {
    position: absolute;
    background: var(--color-secondary, #80e2ff);
    border-radius: 50%;
    opacity: 0.5;
    z-index: 1;
    animation: floatUp 4s infinite ease-in-out;
}

.bubble:nth-child(2) {
    width: 20px;
    height: 20px;
    left: -10px;
    top: 20px;
    animation-delay: 0s;
}

.bubble:nth-child(3) {
    width: 15px;
    height: 15px;
    right: 0px;
    top: 10px;
    animation-delay: 1.5s;
}

.bubble:nth-child(4) {
    width: 25px;
    height: 25px;
    right: -15px;
    bottom: 30px;
    animation-delay: 0.8s;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-60px) scale(1.2);
        opacity: 0;
    }
}

/* Typografie */
.maintenance-card h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #17214d;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.maintenance-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #5f6368;
    margin-bottom: 40px;
}

/* Kontakt-Bereich */
.emergency-contact {
    background: #f1f4f9;
    padding: 25px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-label {
    font-weight: 600;
    color: #17214d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.emergency-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary, #1a73e8);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.emergency-phone:hover {
    transform: scale(1.02);
}

.emergency-phone .material-symbols-outlined {
    font-size: 1.5rem;
}

.contact-subtext {
    font-size: 0.85rem !important;
    margin-bottom: 0 !important;
    opacity: 0.8;
}

/* ==============================
   15.4 impressum.html
   ============================== */

#impressum-main {
    text-align: center;
    padding: var(--section-pad-l);
}

.impressum-headline {
    margin-top: 2rem;
}

/* ==============================
   16. BLOG siehe blog.css
   ============================== */

/* ==============================
17. RESPONSIVE DESIGN
    siehe responsive-main.css
   ============================== */

/* ==============================
18. Reveal Animations
   ============================== */

.reveal-ready [data-reveal] {
    --reveal-y: 56px;
    --reveal-move-dur: 1000ms;
    --reveal-fade-dur: 700ms;
    --reveal-ease: cubic-bezier(.22, 1, .36, 1);

    opacity: 0;
    transform: translateY(var(--reveal-y));
    transition:
        opacity var(--reveal-fade-dur) ease-out,
        transform var(--reveal-move-dur) var(--reveal-ease);
    will-change: opacity, transform;
}

.reveal-ready [data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-ready [data-reveal] {
        transition: none;
        transform: none;
        opacity: 1;
    }
}

/* ==============================
   19. BASICS
   ============================== */

.flex--col-fs {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
}