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

body {
    font-family: 'Inter', sans-serif;
    background-color: transparent; /* Transparenz für ::before Sichtbarkeit */
    color: #1a1a1a;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: #fafafa; /* Basisfarbe */
    background-image:
        /* Blaue Wolke */
        radial-gradient(circle at 20% 30%, rgba(65, 105, 225, 0.12) 0%, rgba(65, 105, 225, 0.05) 30%, transparent 60%),
        /* Weiße/Helle Wolke */
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 40%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Neuer Container Divider Stil */
.container-divider {
    padding: 0 clamp(2rem, 4vw, 4rem);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.container-divider .divider {
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
    margin: 4rem 0 0;
    opacity: 1 !important;
    transform: none !important;
}

:root {
    --bg-scale: 1;
}

.scroll-container {
    min-height: 200vh;
}

.spacer {
    height: 100vh;
}

.spacer:first-child {
    height: 0;
}

.quote-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 100vh;
    padding: clamp(2rem, 4vw, 4rem);
    padding-top: clamp(1rem, 2vw, 2rem);
    text-align: left;
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 1;
}

.quote-line {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: clamp(0.4rem, 0.8vw, 1.2rem);
    margin: clamp(0.15rem, 0.3vw, 0.45rem) 0;
    line-height: 0.9;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    opacity: 0; /* Initiale Transparenz für Animation */
    visibility: hidden; /* Verhindert Interaktion vor Animation */
}

.word-small {
    font-size: clamp(1.5rem, 5vw, 4rem);
    font-weight: 300;
}

.word-large {
    font-size: clamp(70px, 18vw, 220px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 0.9;
}

.word-huge {
    font-size: clamp(90px, 26vw, 360px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.9;
}

.word-massive {
    font-size: clamp(80px, 28vw, 320px);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.9;
    max-width: 100%;
    word-break: keep-all;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

.word-huge.looks-outline {
    font-family: 'Inter', sans-serif !important;
    font-style: italic !important;
    font-weight: 900 !important;
    -webkit-text-stroke-width: clamp(1.2px, 0.18vw, 3px);
    -webkit-text-stroke-color: #1a1a1a;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    background: none !important;
    display: inline-block;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow:
        0.6px 0.6px 0 #1a1a1a,
       -0.6px 0.6px 0 #1a1a1a,
        0.6px -0.6px 0 #1a1a1a,
       -0.6px -0.6px 0 #1a1a1a;
    transform: translateZ(0);
}

.word-huge.not-outline {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    -webkit-text-stroke-width: clamp(1.2px, 0.18vw, 3px);
    -webkit-text-stroke-color: #1a1a1a;
    -webkit-text-fill-color: transparent;
    color: transparent;
    letter-spacing: -0.04em;
}

.quote-line.line-3 .looks-outline {
    font-style: italic !important;
    font-family: 'Inter', sans-serif !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}

.bold {
    font-weight: 900;
}

.author {
    margin-top: 0.3rem;
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    color: #888;
    font-weight: 400;
    align-self: center;
    width: 100%;
    text-align: center;
    opacity: 0;
    visibility: hidden;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: #e0e0e0; /* Gleiche Farbe wie container-divider .divider */
    margin-top: 1rem;
    max-width: 100%;
    position: relative;
    overflow: visible;
    opacity: 1 !important;
    transform: scaleX(1) !important;
}

.below-divider {
    width: 100%;
    background: transparent;
    padding: 3rem clamp(1.5rem, 4vw, 4rem) 0.5rem; /* Minimaler Abstand zu Bildern */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    box-sizing: border-box;
}

.subtitle-main,
h1.subtitle-main {
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #111;
    text-align: center;
    margin: 0;
}

.subtitle-sub {
    margin-top: 1.5rem;
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    font-weight: 500;
    color: #444;
    max-width: 34rem;
    line-height: 1.5;
    text-align: center;
}

.contact-button {
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    background-color: #1a1a1a;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    align-self: center;
    opacity: 1;
    transform: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-button.visible {
    opacity: 1;
    transform: none;
}

.contact-button:hover {
    background-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.contact-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.reelyx-section {
    position: relative;
    width: 100%;
    padding: 0 0 3rem;
    background: transparent;
}

.reelyx-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.reelyx-scroller {
    display: flex;
    gap: 2rem;
    padding: 0 clamp(2rem, 6vw, 6rem);
    will-change: transform;
}

.reelyx-item {
    flex: 0 0 auto;
    width: min(320px, 70vw);
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    display: block;
}

.reelyx-explanation {
    margin-top: 2.5rem;
    padding: 0 clamp(2rem, 6vw, 6rem);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    font-weight: 400;
    color: #555;
    text-align: center;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .reelyx-sticky {
        position: relative;
        height: auto;
        justify-content: flex-start;
    }

    .reelyx-scroller {
        padding: 0 1.5rem;
    }
}

.site-footer {
    width: 100%;
    padding: 1.5rem clamp(2rem, 6vw, 6rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #777;
}

.footer-left,
.footer-center,
.footer-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-left {
    flex: 1;
}

.footer-center {
    flex: 1;
    justify-content: center;
}

.footer-right {
    flex: 1;
    justify-content: flex-end;
}

.footer-logo {
    height: 48px;
    width: auto;
}

.footer-link {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: #555;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.footer-link:hover {
    color: #111;
}

.footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
}

.footer-icon:hover {
    border-color: #111;
    color: #111;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem 2.5rem;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    position: relative;
}

.modal-title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #111;
}

.modal-body {
    margin-top: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #444;
}

.modal-body h3 {
    margin-top: 1.2rem;
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
}

.modal-body h4 {
    margin-top: 0.9rem;
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

.modal-body p {
    margin: 0.3rem 0;
}

.modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    border: none;
    background: none;
    font-size: 1.4rem;
    cursor: pointer;
}

.services-section {
    width: 100%;
    padding: 3rem clamp(2rem, 6vw, 6rem);
    background: transparent;
}


.location-text {
    text-align: center;
    font-size: clamp(0.85rem, 1.1vw, 0.95rem);
    color: #666;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 2rem;
    margin-bottom: 0;
}

.services-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-name {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.service-desc {
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.contact-section {
    width: 100%;
    padding: 6rem clamp(2rem, 6vw, 6rem);
    background: transparent;
}

.contact-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    width: 100%;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    background-color: #1a1a1a;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    align-self: center;
    min-width: 200px;
}

.submit-button:hover {
    background-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.submit-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


/* =============================================
   TABLET OPTIMIERUNGEN (max-width: 900px)
   ============================================= */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .service-item {
        padding: 1.5rem;
    }
}

/* =============================================
   SMARTPHONE OPTIMIERUNGEN (max-width: 768px)
   ============================================= */
@media (max-width: 768px) {
    /* Grundlegende Container-Anpassungen */
    .quote-container {
        padding: 1.5rem;
        padding-top: 1rem;
        min-height: auto;
    }
    
    /* Typografie für Smartphones */
    .word-small {
        font-size: clamp(1rem, 4.5vw, 1.5rem);
    }
    
    .word-large {
        font-size: clamp(50px, 15vw, 90px);
    }
    
    .word-huge {
        font-size: clamp(60px, 20vw, 120px);
    }
    
    .word-massive {
        font-size: clamp(50px, 18vw, 100px);
    }
    
    .word-huge.looks-outline {
        -webkit-text-stroke-width: 1.5px;
        text-shadow:
            0.4px 0.4px 0 #1a1a1a,
           -0.4px 0.4px 0 #1a1a1a,
            0.4px -0.4px 0 #1a1a1a,
           -0.4px -0.4px 0 #1a1a1a;
    }
    
    .author {
        font-size: 0.95rem;
        margin-top: 1rem;
    }
    
    .quote-line {
        flex-wrap: wrap;
        gap: 0.3rem;
        margin: 0.1rem 0;
    }
    
    /* Below Divider Bereich */
    .below-divider {
        padding: 2rem 1rem 0.5rem; /* Minimaler Abstand zu Bildern */
    }
    
    .subtitle-main {
        font-size: clamp(1.4rem, 5.5vw, 1.8rem);
        line-height: 1.3;
    }
    
    .subtitle-sub {
        font-size: 1rem;
        margin-top: 1rem;
    }
    
    /* Reelyx Galerie für Touch-Scroll */
    .reelyx-section {
        padding: 0 0 2rem;
    }
    
    .reelyx-sticky {
        position: relative;
        height: auto;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .reelyx-sticky::-webkit-scrollbar {
        display: none;
    }
    
    .reelyx-scroller {
        padding: 1rem;
        gap: 1rem;
    }
    
    .reelyx-item {
        width: 260px;
        flex-shrink: 0;
    }
    
    .reelyx-explanation {
        margin-top: 1.5rem;
        padding: 0 1.5rem;
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .location-text {
        font-size: 0.75rem;
        margin-top: 1.5rem;
    }
    
    /* Services Section für Smartphones */
    .services-section {
        padding: 2.5rem 1.5rem;
    }
    
    .services-title {
        font-size: 1.6rem;
        margin-bottom: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-item {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .service-item:hover {
        transform: none;
        box-shadow: none;
    }
    
    .service-item:active {
        transform: scale(0.98);
        background: #f5f5f5;
    }
    
    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .service-name {
        font-size: 1.1rem;
    }
    
    .service-desc {
        font-size: 0.9rem;
    }
    
    /* Kontakt-Section für Smartphones */
    .contact-section {
        padding: 3rem 1.5rem;
    }
    
    .contact-title {
        font-size: 1.25rem;
        margin-bottom: 2rem;
        line-height: 1.5;
    }
    
    .contact-form {
        gap: 1rem;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 0.9rem 1rem;
        font-size: 16px; /* Verhindert Zoom auf iOS */
        border-radius: 10px;
    }
    
    .contact-form textarea {
        min-height: 100px;
    }
    
    .submit-button {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        min-width: unset;
        border-radius: 10px;
        /* Touch-freundliche Größe */
        min-height: 48px;
    }
    
    .submit-button:hover {
        transform: none;
    }
    
    .submit-button:active {
        transform: scale(0.98);
        background-color: #333;
    }
    
    /* Footer für Smartphones */
    .site-footer {
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-left,
    .footer-center,
    .footer-right {
        flex: none;
        width: 100%;
        justify-content: center;
    }
    
    .footer-left {
        order: 1;
    }
    
    .footer-center {
        order: 2;
        gap: 1.5rem;
    }
    
    .footer-right {
        order: 3;
        gap: 0.75rem;
    }
    
    .footer-logo {
        height: 40px;
    }
    
    .footer-link {
        padding: 0.5rem;
        font-size: 0.95rem;
        /* Touch-freundliche Größe */
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    
    .footer-icon {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }
    
    /* Modal für Smartphones */
    .modal {
        max-width: 100%;
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
        padding: 1.5rem;
        padding-top: 3rem;
    }
    
    .modal-title {
        font-size: 1.3rem;
    }
    
    .modal-body {
        max-height: calc(100vh - 120px);
        font-size: 0.85rem;
        padding-bottom: 2rem;
    }
    
    .modal-body h3 {
        font-size: 1rem;
    }
    
    .modal-body h4 {
        font-size: 0.9rem;
    }
    
    .modal-close {
        top: 1rem;
        right: 1rem;
        font-size: 1.6rem;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* =============================================
   KLEINE SMARTPHONES (max-width: 380px)
   ============================================= */
@media (max-width: 380px) {
    .quote-container {
        padding: 1rem;
    }
    
    .word-large {
        font-size: clamp(40px, 14vw, 60px);
    }
    
    .word-huge {
        font-size: clamp(50px, 18vw, 80px);
    }
    
    .word-massive {
        font-size: clamp(40px, 16vw, 70px);
    }
    
    .subtitle-main {
        font-size: 1.25rem;
    }
    
    .reelyx-item {
        width: 220px;
    }
    
    .services-section,
    .contact-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* =============================================
   TOUCH-GERÄTE OPTIMIERUNGEN
   ============================================= */
@media (hover: none) and (pointer: coarse) {
    /* Deaktiviert Hover-Effekte auf Touch-Geräten */
    .service-item:hover,
    .submit-button:hover,
    .contact-button:hover,
    .footer-icon:hover,
    .footer-link:hover {
        transform: none;
        box-shadow: none;
    }
    
    /* Bessere Touch-Feedbacks */
    .service-item:active {
        transform: scale(0.98);
        background: #f0f0f0;
    }
    
    .submit-button:active,
    .contact-button:active {
        transform: scale(0.98);
        background-color: #333;
    }
    
    .footer-icon:active {
        background: #f0f0f0;
    }
}

/* =============================================
   LANDSCAPE MODUS FÜR SMARTPHONES
   ============================================= */
@media (max-height: 500px) and (orientation: landscape) {
    .quote-container {
        min-height: auto;
        padding: 1rem 2rem;
    }
    
    .word-huge {
        font-size: clamp(40px, 12vw, 80px);
    }
    
    .word-massive {
        font-size: clamp(35px, 10vw, 70px);
    }
    
    .modal {
        padding-top: 2rem;
    }
    
    .modal-body {
        max-height: calc(100vh - 80px);
    }
}
