/****************************************************************************
------------------- FONTS, VARIABLES & GLOBAL BASICS ------------------------
 ****************************************************************************/
@font-face { font-family: Unageo; local: Unageo Regular; font-weight: normal; font-style: normal; src: url(../fonts/Unageo-Regular.ttf); }
@font-face { font-family: Unageo; local: Unageo Regular Italic; font-weight: normal; font-style: italic; src: url(../fonts/Unageo-Regular-Italic.ttf); }
@font-face { font-family: Unageo; local: Unageo Light; font-weight: 300; font-style: normal; src: url(../fonts/Unageo-Light.ttf); }
@font-face { font-family: Unageo; local: Unageo Light Italic; font-weight: 300; font-style: italic; src: url(../fonts/Unageo-Light-Italic.ttf); }
@font-face { font-family: Unageo; local: Unageo Medium; font-weight: 500; font-style: normal; src: url(../fonts/Unageo-Medium.ttf); }
@font-face { font-family: Unageo; local: Unageo Medium Italic; font-weight: 500; font-style: italic; src: url(../fonts/Unageo-Medium-Italic.ttf); }
@font-face { font-family: Unageo; local: Unageo SemiBold; font-weight: 600; font-style: normal; src: url(../fonts/Unageo-SemiBold.ttf); }
@font-face { font-family: Unageo; local: Unageo SemiBold Italic; font-weight: 600; font-style: italic; src: url(../fonts/Unageo-SemiBold-Italic.ttf); }
@font-face { font-family: Unageo; local: Unageo Bold; font-weight: bold; font-style: normal; src: url(../fonts/Unageo-Bold.ttf); }
@font-face { font-family: Unageo; local: Unageo Bold Italic; font-weight: bold; font-style: italic; src: url(../fonts/Unageo-Bold-Italic.ttf); }
@font-face { font-family: Unageo; local: Unageo ExtraBold; font-weight: 800; font-style: normal; src: url(../fonts/Unageo-ExtraBold.ttf); }
@font-face { font-family: Unageo; local: Unageo ExtraBold Italic; font-weight: 800; font-style: italic; src: url(../fonts/Unageo-ExtraBold-Italic.ttf); }
@font-face { font-family: Unageo; local: Unageo Black; font-weight: 900; font-style: normal; src: url(../fonts/Unageo-Black.ttf); }
@font-face { font-family: Unageo; local: Unageo Black Italic; font-weight: 900; font-style: italic; src: url(../fonts/Unageo-Black-Italic.ttf); }

/* ==========================================================================
   ROOT VARIABLES & GLOBAL STYLES
   ========================================================================== */
:root {
    --color-bg-dark: #1a1a1a;
    --color-bg-darker: #111111;
    --color-white-light: #f8f9fa;
    --color-white-pure: #ffffff;
	
	--infinite_tango: #FF3300; 
    --infinite_gray_light: #E8EAEA;
    --infinite_gray_medium: #AFB0B4; 
    --infinite_gray_dark: #333944; 
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #1c1c1c 0%, #2a2a2a 100%);
    --gradient-white: linear-gradient(135deg, #ffffff 0%, #d3d3d3 100%);
    --gradient-slate: linear-gradient(135deg, #2c3540 0%, #1e242b 100%);
    --gradient-red-orange: linear-gradient(135deg, #e63946 0%, #f4a261 100%);
    
    /* Brand Colors */
    --color-cyan: #00e5ff;
    --color-neon-pink: #ff007f;
	--color-neon-yellow: #ffff00;
    --color-neon-orange: #ff6600;
    
    /* Typo */
    --font-family: 'Unageo', sans-serif;
}

body {
    font-family: var(--font-family);
    color: var(--color-white-pure);
    background-color: var(--color-bg-dark);
    font-size: 22px;
    line-height: 1.4;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

p {
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    max-width: 1800px;
    margin: 0 auto;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 3000;
    /* Standard (Mobile/Tablet): Immer mit Hintergrund für gute Lesbarkeit */
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

/* Desktop-Anpassung (ab 1401px): Startet transparent und fadet beim Scrollen ein */
@media (min-width: 1401px) {
    .main-header {
        background: transparent;
        backdrop-filter: none;
    }
    
    /* Diese Klasse wird via JavaScript beim Scrollen hinzugefügt */
    .main-header.is-scrolled {
        background: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(10px);
    }
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#main_logo {
    height: 50px;
    width: auto;
}

.burger-menu {
    display: none; 
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 3000; 
}

.burger-menu .bar {
    width: 100%;
    height: 3px;
    background: var(--color-white-pure);
    transition: all 0.3s ease-in-out;
    transform-origin: left;
}

.burger-menu.open .bar:nth-child(1) { transform: rotate(45deg) translate(2px, -2px); }
.burger-menu.open .bar:nth-child(2) { opacity: 0; }
.burger-menu.open .bar:nth-child(3) { transform: rotate(-45deg) translate(2px, 2px); }

/* Overlay Menu */
.menu-overlay {
    position: fixed;
    top: -100vh;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    z-index: 2500;
    display: flex;
    align-items: flex-start; /* Verhindert Abschneiden oben */
    justify-content: center;
    transition: top 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    padding-top: 120px; /* Mindestabstand zum Header */
    padding-bottom: 40px;
    overflow-y: auto; /* Erlaubt scrollen im Querformat */
    box-sizing: border-box;
}

.menu-overlay.active {
    top: 0;
}

.overlay-nav {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 100%;
}

.overlay-link {
    color: var(--color-white-pure);
    font-size: 2.4rem;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    padding: 20px 0;
    width: 100%;
    display: block;
    transition: all 0.3s ease;
}

.overlay-link:hover {
    background: var(--color-white-pure);
    color: #000;
}

/* ==========================================================================
   SECTION GLOBALS & TYPOGRAPHY
   ========================================================================== */
section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 160px 0;
    box-sizing: border-box; 
    position: relative;
    overflow: hidden;
}

.section-hero {
    position: relative;
    background: var(--gradient-hero); /* Fallback, falls Video lädt */
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Bildschirmfüllend skaliert */
    filter: blur(6px); /* 4px Blur laut Vorgabe */
    transform: scale(1.05); /* Verhindert weiße/unscharfe Ränder an den Kanten durch den Blur */
}

/* Abdunklung über dem Video für maximale Textlesbarkeit */
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.65); /* Bei Bedarf anpassen (0.5 bis 0.8) */
    z-index: 1;
}

.hero-content {
    padding-top: 60px;
	position: relative;
    z-index: 2;
}

.badge { font-size: 24px; line-height: 24px; }
h1 { font-size: 20px; line-height: 23px; font-weight: 300; margin-top: 0px; margin-bottom: 20px; }
h2 { font-size: 96px; line-height: 110px; font-weight: 700; margin-top: 0px; margin-bottom: 30px; }
/* ==========================================================================
   FLUID TEXT GRADIENT
   ========================================================================== */
.fluid-text {
    /* Gradient von Weiß über Neonpink und Cyanblau zurück zu Weiß für nahtlosen Loop */
    background: linear-gradient(270deg, #ffffff, var(--color-neon-pink), var(--color-cyan), #ffffff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fluidGradient 6s ease infinite;
}

@keyframes fluidGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.subline { font-size: 36px; line-height: 40px; font-weight: 500; margin-bottom: 60px; }
h3 { font-size: 54px; line-height: 60px; font-weight: 700; margin-top: 0px; margin-bottom: 30px; }
h4 { font-size: 36px; line-height: 40px; font-weight: 700; margin-top: 0px; margin-bottom: 20px; }

.quote-huge {
	color: var(--infinite_gray_dark);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
}

.section-content-1 a {
		color: var(--infinite_gray_dark);
		text-decoration: underline;
}

.section-content-1 a:visited {
  color: var(--infinite_gray_dark); 
}

.section-content-1 a:hover {
  color: var(--color-neon-pink); 
  text-decoration: none; 
}

/* ==========================================================================
   SHIMMER EFFEKT FÜR HIGHLIGHT-TEXT (.quote-huge-key)
   ========================================================================== */
.quote-huge-key {
    background: linear-gradient(
        -45deg, 
        var(--color-neon-pink) 40%, 
        var(--color-cyan) 50%, 
        var(--color-neon-pink) 60%
    );
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback */
    display: inline-block; /* Verhindert Darstellungsfehler beim Umbruch */
    animation: neonShimmerSweep 4s infinite;
}

/* 0% bis 25% (1 Sekunde) animiert der Sweep, danach bis 100% (3 Sekunden) Pause */
@keyframes neonShimmerSweep {
    0% { background-position: 100% center; }
    25% { background-position: 0% center; }
    100% { background-position: 0% center; }
}

/* ==========================================================================
   SECTION HINTERGRÜNDE
   ========================================================================== */
.section-content-1 { background: var(--gradient-white); color: var(--color-bg-darker); }
.section-content-2 { 
    background: url('../graphics/infinite-werbeagentur-brand-identity-guide-background-brand-integrity.webp') center center / cover no-repeat; 
    color: var(--color-white-pure); 
}
.section-content-3 { background: var(--gradient-slate); color: var(--color-white-pure); }
.section-content-4 { 
    background: url('../graphics/infinite-werbeagentur-brand-identity-guide-background-logo.webp') center center / cover no-repeat; 
    color: var(--color-white-pure); 
}
.section-content-5 { background: var(--gradient-red-orange); color: var(--color-white-pure); }
.section-content-6 { 
    background: linear-gradient(135deg, #333333 0%, #111111 100%); 
    color: var(--color-white-pure); 
}
.section-content-7 { 
    background: url('../graphics/infinite-werbeagentur-brand-identity-guide-background-left.webp') center center / cover no-repeat; 
    color: var(--color-bg-darker); 
}

/* ==========================================================================
   LAYOUTS & GRIDS
   ========================================================================== */
.split-screen {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center; 
}
.split-left, .split-right {
    flex: 1 1 400px;
    text-align: left; 
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

/* ==========================================================================
   CARDS ALS LINKS MIT LADE-BALKEN-EFFEKT
   ========================================================================== */
.card {
    position: relative;
    display: block; 
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.07);
    padding: 50px;
    border-radius: 4px;
    backdrop-filter: blur(5px);
    
    /* Keine generellen Delays hier, nur die exakten Hover-Transitions */
    transition: 
	box-shadow 0.7s ease, 
	background 0.7s ease, 
	backdrop-filter 0.5s ease,
	opacity 0.9s cubic-bezier(0.25, 1, 0.5, 1) var(--fade-delay, 0s),
    transform 0.9s cubic-bezier(0.25, 1, 0.5, 1) var(--fade-delay, 0s),
    filter 0.9s cubic-bezier(0.25, 1, 0.5, 1) var(--fade-delay, 0s);
    
    overflow: hidden; 
}

/* Der statische weiße Balken */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    z-index: 1;
}

/* Der animierte Neon-Gradient (lädt von oben nach unten auf) */
.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-neon-yellow), var(--color-neon-orange));
    transform-origin: top; 
    transform: scaleY(0);  
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 2;
}

.card h4 {
    transition: color 0.4s ease;
}

/* Hover Status */
.card:hover {
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.5);
    background: rgba(40, 50, 52, 1);
	backdrop-filter: blur(0px);
}

.card:hover h4 {
    color: var(--color-neon-yellow);
}

/* Trigger für den Ladebalken */
.card:hover::after {
    transform: scaleY(1); 
}

.small-text 
{
	font-size: 14px;
	line-height: 1.1;
}

/* ==========================================================================
   CASE STUDIES GRID & ITEM TYPES
   ========================================================================== */
.case-grid {
    display: grid;
    /* Festes 4-Spalten-Layout für die asymmetrischen Blöcke */
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

/* 1. TYP: Farbige Text-Box (bestehend) */
.case-item {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.0rem;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.2);
    border-radius: 4px;
}
.case-color-pink { background: #FF0055; color: var(--color-white-pure); }
.case-color-green { background: #00E676; color: var(--color-white-pure); }
.case-color-blue { background: #2979FF; color: var(--color-white-pure); }
.case-color-yellow { background: #FFEA00; color: #000; }

/* 2. TYP: Image-Box (mit Zoom & Lightbox) */
.case-item-image {
    aspect-ratio: 1;
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: var(--color-bg-darker);
    cursor: pointer;
}
.case-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: block;
}
.case-item-image:hover img {
    transform: scale(1.05); /* 5% Zoom wie gewünscht */
}

/* 3. TYP: Text-Box (ohne Hover, reines Info-Element) */
.case-item-text {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    /* border-left entfernt */
    border-radius: 4px;
    backdrop-filter: blur(5px);
    box-sizing: border-box; /* Verhindert, dass Padding die Box vergrößert */
    overflow: hidden; /* Verhindert, dass zu viel Text das Quadrat aufbricht */
}
.case-item-client {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--color-white-pure);
    margin-bottom: 12px;
    line-height: 1.1;
}
.case-item-info {
    font-size: 1.05rem;
    color: var(--infinite_gray_medium);
    line-height: 1.3;
}

/* 4. MODIFIER: Double-Item (2x Breit, 2x Hoch) */
.case-item-double {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto; /* WICHTIG: Hebt die 1:1 Regel auf, damit das Grid die exakte Höhe diktiert */
    height: 100%;
}

/* ==========================================================================
   PROCESS GRID & HOVER EFFECTS
   ========================================================================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.process-step {
    position: relative;
    padding: 150px 24px 60px 24px;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    overflow: hidden;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.step-number {
    position: absolute;
    top: -20px;
    right: 10px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255,255,255,0.05); /* Standard: 5% Deckkraft */
    line-height: 1;
    transition: color 0.4s ease;
}

.step-content h4 {
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.step-content p {
    position: relative;
    z-index: 2;
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s ease;
}

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    max-width: 1000px;
    margin-top: 50px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    box-sizing: border-box; /* Verhindert das Ausbrechen aus dem Formular-Container */
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--color-white-pure);
    font-family: var(--font-family);
    font-size: 1.3rem;
}
.contact-form textarea { min-height: 200px; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary, .btn-start {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center; /* Horizontale Zentrierung des Textes */
    box-sizing: border-box;
    padding: 20px 40px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
}

.btn-primary {
    position: relative;
    background: var(--color-white-pure);
    color: var(--color-bg-dark);
    font-size: 1.5rem;
	line-height: 1.7rem;
    border: none;
    outline: none;
    z-index: 1;
    overflow: hidden;
    transition: color 0.5s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 250%;
    height: calc(100% + 4px);
    background: linear-gradient(90deg, var(--color-neon-pink) 0%, var(--color-neon-pink) 40%, rgba(255, 0, 127, 0) 100%);
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -1;
}

.btn-primary:hover::before { transform: translateX(0%); }
.btn-primary:hover { color: var(--color-white-pure); }

/* ==========================================================================
   CONTENT 6 & 7: BACKGROUNDS & BASE STYLES
   ========================================================================== */

.brand-info-container,
.faq-container {
    align-items: flex-start;
}

/* Info-Text Blöcke (Sektion 6) */
.info-text-block {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.info-text-block h4 {
    font-size: 2.1rem;
    line-height: 1.2;
    color: var(--color-neon-pink);
    margin-bottom: 20px;
    margin-top: 0;
}

.info-text-block p {
    font-size: 20px;
    line-height: 1.4;
    color: #e0e0e0; /* Leicht gedimmtes Weiß für perfekte Lesbarkeit bei langen Texten */
    margin: 0;
}

/* FAQ Bereich (Sektion 7) */
.faq-container {
    align-items: flex-start; /* Verhindert das stretchen der Spalten */
}

.faq-item {
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 35px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-question {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-bg-darker);
    margin-bottom: 18px;
}

.faq-answer {
    font-size: 20px;
    line-height: 1.5;
    color: #444444; /* Dunkelgrau für den Fließtext */
}

/* ==========================================================================
   BUTTON VERTICAL SLOT SWAP (Pure CSS)
   ========================================================================== */
.btn-slot-swap {
    position: relative;
    overflow: hidden;
}

.btn-slot-swap .text-original {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.4s ease;
}

.btn-slot-swap .text-hover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 150%); /* Startet unterhalb des Buttons */
    white-space: nowrap;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.4s ease;
}

/* Hover-Zustand */
.btn-slot-swap:hover .text-original {
    transform: translateY(-150%); /* Fährt nach oben raus */
    opacity: 0;
}

.btn-slot-swap:hover .text-hover {
    transform: translate(-50%, -50%); /* Fährt exakt in die Mitte */
    opacity: 1;
}

/* Eigenständiger Start-Button (100% Breite, Cyanblau) */
.btn-start {
    position: relative;
    background: var(--color-white-pure);
    color: var(--color-bg-dark);
    font-size: 2.0rem;
	line-height: 2.3rem;
    border: none;
    outline: none;
    z-index: 1;
    overflow: hidden;
    transition: color 0.5s ease;
    width: 100%;
}

.btn-start::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 250%;
    height: calc(100% + 4px);
    background: linear-gradient(90deg, var(--color-cyan) 0%, var(--color-cyan) 40%, rgba(0, 229, 255, 0) 100%);
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -1;
}

.btn-start:hover::before { transform: translateX(0%); }

/* ==========================================================================
   BUTTON LOADING BAR STATE
   ========================================================================== */
.btn-start.is-loading {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--color-white-pure) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none; /* Verhindert doppeltes Klicken */
    animation: none; /* Schaltet den Glow-Effekt beim Laden ab */
}

/* Versteckt den normalen Hover-Hintergrund beim Laden */
.btn-start.is-loading::before {
    display: none;
}

/* Der animierte Ladebalken */
.btn-start.is-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-neon-pink) 0%, var(--color-cyan) 100%);
    z-index: -1;
    animation: formLoadBar 3s linear forwards;
}

@keyframes formLoadBar {
    0% { width: 0%; }
    100% { width: 100%; }
}

.btn-secondary {
    position: relative;
    background: transparent;
    color: var(--color-white-pure);
    font-size: 1.5rem;
	line-height: 1.7rem;
    border: 2px solid var(--color-white-pure);
    overflow: hidden;
    transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}
.btn-secondary .btn-text {
    transition: transform 0.4s ease;
    display: inline-block;
}
.btn-secondary .btn-arrows {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: top 0.4s ease;
    color: var(--color-bg-dark); 
}
.btn-secondary:hover {
    background: #39ff14; 
    border-color: #39ff14;
    color: var(--color-bg-dark);
}
.btn-secondary:hover .btn-text { transform: translateY(200%); }
.btn-secondary:hover .btn-arrows {
    top: 50%;
    transform: translate(-50%, -50%);
}

.btn-glow {
    animation: pulseGlow 4s infinite;
}
@keyframes pulseGlow {
    0%, 90%, 100% { box-shadow: 0 0 0 rgba(255,255,255,0); }
    95% { box-shadow: 0 0 25px rgba(255,255,255,0.9); }
}

/* ==========================================================================
   SUCCESS MESSAGE BOX
   ========================================================================== */
.success-message {
    background: rgba(0, 229, 255, 0.8);
    border-left: 5px solid var(--color-cyan);
    padding: 40px;
    border-radius: 4px;
    backdrop-filter: blur(5px);
    width: 100%;
    max-width: 1000px;
    margin-top: 50px;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.25);
    box-sizing: border-box; /* FIX: Zwingt Padding & Border nach innen */
}

.success-message h4 {
    font-size: 2.4rem;
    color: var(--color-neon-yellow);
    margin-bottom: 15px;
}

.success-message p {
    font-size: 1.4rem;
    color: var(--color-white-pure);
    line-height: 1.4;
}

/* ==========================================================================
   ERROR MESSAGE BOX
   ========================================================================== */
.error-message {
    background: rgba(255, 51, 0, 0.75);
    border-left: 5px solid var(--infinite_tango);
    padding: 40px;
    border-radius: 4px;
    backdrop-filter: blur(5px);
    width: 100%;
    max-width: 1000px;
    margin-top: 50px;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.25);
    box-sizing: border-box; /* FIX: Zwingt Padding & Border nach innen */
}

.error-message h4 {
    font-size: 2.4rem;
    color: var(--color-neon-yellow);
    margin-bottom: 15px;
}

.error-message p {
    font-size: 1.4rem;
    color: var(--color-white-pure);
    line-height: 1.4;
}

.error-message a {
	color: #ffffff;	
	text-decoration: underline;	
}

.error-message a:hover {
	color: #ffffff;	
	text-decoration: none;	
}

.error-message a:visited {
	color: #ffffff;	
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background: var(--color-bg-darker);
    padding: 60px 0 120px 0;
    text-align: left;
    font-size: 0.9rem;
}
.footer-content { display: flex; flex-direction: column; }
.footer-contact a, .footer-nav a { 
    color: var(--color-white-pure); 
    text-decoration: none; 
}
.footer-spacing { height: 10px; }
.footer-contact a:hover, .footer-nav a:hover { text-decoration: underline; }
.footer-copyright { opacity: 0.5; margin-top: 20px; }

/* ==========================================================================
   FOOTER BUTTON LINKS
   ========================================================================== */
.footer-services-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 10px 0;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background-color: #2a2a2a; /* Dunkelgrau Normalzustand */
    color: #d3d3d3;            /* Hellgraue Schrift */
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 1. Button: Neon-Pink / Schrift Weiß */
.footer-btn.btn-pink:hover {
    background-color: var(--color-neon-pink);
    color: var(--color-white-pure);
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.4);
}

/* 2. Button: Neon-Grün / Schrift Schwarz */
.footer-btn.btn-green:hover {
    background-color: #39ff14;
    color: #000000;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
}

/* 3. Button: Neon-Cyan / Schrift Weiß */
.footer-btn.btn-cyan:hover {
    background-color: var(--color-cyan);
    color: var(--color-white-pure);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

/* 4. Button: Neon-Orange / Schrift Weiß */
.footer-btn.btn-tango:hover {
    background-color: var(--infinite_tango);
    color: var(--color-white-pure);
    box-shadow: 0 0 20px rgba(255, 51, 0, 0.4);
}

/* Smartphone Anpassung (Media Query) */
@media (max-width: 768px) {
    .footer-services-nav {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .footer-btn {
        width: 100%; /* 100% Breite auf Smartphones */
        text-align: center;
    }
}

/* ------------------------------------------------------------------------------------ 
   ______ ____  ____  __ __  ____ ______ ____   ___    ____ 
  / ____// __ \/ __ \/ //_/ /  _// ____// __ ) /   |  / __ \
 / /    / / / / / / / ,<    / / / __/  / __  |/ /| | / /_/ /
/ /___ / /_/ / /_/ / /| | _/ / / /___ / /_/ // ___ |/ _, _/ 
\____/ \____/\____/_/ |_|/___//_____//_____//_/  |_/_/ |_|  

/* ------------------------------------------------------------------------------------ */

#cookie_box {
    display: none; /* Wird per JS eingeblendet */
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
	transition: opacity 0.3s ease-in-out;
    width: calc(100% - 40px);
    max-width: 800px;
    background-color: var(--infinite_gray_light);
    padding: 20px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
    z-index: 2000;
    box-sizing: border-box;
}

#cookie_box_icon {
    float: right;
    width: 74px;
    height: 84px;
    margin-left: 20px;
}

#cookie_box_headline {
    font-family: 'Unageo';
    font-weight: 300;
    font-size: 24px;
    line-height: 100%;
    color: var(--infinite_gray_dark);
    margin-bottom: 12px;
}

#cookie_box_headline strong {
    font-weight: bold;
}

#cookie_box_text {
    font-family: 'Unageo';
    font-weight: 300;
    font-size: 16px;
    line-height: 1.1;
    color: var(--infinite_gray_dark);
    margin-bottom: 16px;
}

#cookie_box_text strong {
    font-weight: bold;
}

.cookie_box_button_container {
    display: flex;
    gap: 10px;
}

.cookie_box_button {
    flex: 1;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Unageo';
    font-weight: bold;
    font-size: 17px;
    line-height: 36px;
    color: #FFFFFF;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.cookie_box_button:hover {
    opacity: 0.6;
}

#cookie_reject {
    background-color: var(--infinite_gray_medium);
}

#cookie_accept {
    background-color: var(--infinite_tango);
}

@media screen and (max-width: 600px) {
	#cookie_box {
    bottom: 20px;
    padding: 14px;
	width: 90%;
	}
    .cookie_box_button_container {
    flex-direction: column;
    }
    #cookie_box_headline {
    font-size: 15px;
    line-height: 100%;
    color: var(--infinite_gray_dark);
    margin-bottom: 6px;
	}
	#cookie_box_icon {
        display: none; 
    }
	#cookie_box_text {
    font-size: 12px;
    margin-bottom: 14px;
	}
	.cookie_box_button {
    height: 28px;
    font-size: 13px;
    line-height: 28px;
	}
	.cookie_box_button_container {
    gap: 6px;
	}
}

/* ==========================================================================
   ANIMATIONS (Einblend-Effekt via Keyframes getrennt von Hover-Transitions)
   ========================================================================== */
.blur-fade {
    opacity: 0; /* Unsichtbar bevor das JS triggert */
}

.blur-fade.is-visible {
    /* Führt die Animation 1x aus und bleibt beim Endzustand stehen (forwards) */
    animation: blurFadeIn 0.9s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: var(--fade-delay, 0s);
}

@keyframes blurFadeIn {
    0% { 
        opacity: 0; 
        transform: translateY(-50px); 
        filter: blur(15px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
        filter: blur(0); 
    }
}

/* ==========================================================================
   TYPEWRITER & GLITCH EFFEKT
   ========================================================================== */
.type-glitch-container {
    display: inline-block;
    position: relative;
    margin-top: 0;
    margin-bottom: 30px;
}

/* Der blinkende Cursor */
.type-cursor {
    display: inline-block;
    width: 4px;
    height: 1em;
    background-color: var(--color-white-pure);
    margin-left: 8px;
    vertical-align: text-bottom;
    animation: blinkCursor 0.9s step-end infinite;
    transition: opacity 0.5s ease;
}

/* Klasse zum Ausfaden des Cursors */
.type-cursor.fade-out {
    opacity: 0;
    animation: none;
}

@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Der Glitch-Effekt wird via JS beim Tippen hinzugefügt */
.type-text.is-glitching {
    position: relative;
    display: inline-block;
    animation: textGlitch 0.15s linear infinite;
}

/* Cyan & Neon-Pink Schatten erzeugen die chromatische Aberration */
@keyframes textGlitch {
    0% { text-shadow: 2px 0 var(--color-cyan), -2px 0 var(--color-neon-pink); transform: translate(0); }
    20% { text-shadow: -2px 0 var(--color-cyan), 2px 0 var(--color-neon-pink); transform: translate(-1px, 1px); }
    40% { text-shadow: 2px 0 var(--color-cyan), -2px 0 var(--color-neon-pink); transform: translate(1px, -1px); }
    60% { text-shadow: -2px 0 var(--color-cyan), 2px 0 var(--color-neon-pink); transform: translate(-1px, -1px); }
    80% { text-shadow: 2px 0 var(--color-cyan), -2px 0 var(--color-neon-pink); transform: translate(1px, 1px); }
    100% { text-shadow: -2px 0 var(--color-cyan), 2px 0 var(--color-neon-pink); transform: translate(0); }
}

/* ==========================================================================
   BONUS BOX (Sticky Overlay via JavaScript)
   ========================================================================== */
.bonus-box {
    position: fixed;
    bottom: 30px;
    right: -500px; /* Startposition außerhalb des Viewports */
    width: 650px;
    
    /* NEU: Begrenzt die Höhe auf Bildschirmhöhe minus 60px (30px oben + 30px unten) */
    max-height: calc(100vh - 60px);
    overflow-y: auto; /* NEU: Scrollbalken erscheint automatisch, wenn nötig */
    
    background: rgba(26, 26, 26, 0.95);
    border-left: 5px solid var(--color-cyan);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 35px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.45);
    border-radius: 4px;
    z-index: 4000;
    backdrop-filter: blur(15px);
    transition: right 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
    opacity: 0;
    box-sizing: border-box;
}

.bonus-box.is-visible {
    right: 30px; /* Endposition auf Desktop */
    opacity: 1;
}

.bonus-box.is-hidden {
    opacity: 0;
    pointer-events: none; /* Keine versehentlichen Klicks während des Ausfadens */
}

.bonus-box-close {
    position: absolute;
    top: 10px;
    right: 20px;
    background: none;
    border: none;
    color: var(--infinite_gray_medium);
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.bonus-box-close:hover {
    color: var(--color-neon-pink);
    transform: rotate(90deg);
}

.bonus-box-headline {
    font-size: 2.4rem;
    line-height: 1.1;
    font-weight: 900;
    color: var(--color-cyan);
    margin-bottom: 12px;
    padding-right: 25px; /* Damit der Text nicht in das X läuft */
}

.bonus-box-text {
    font-size: 1.2rem;
    line-height: 1.4;
    color: var(--color-white-pure);
    margin-bottom: 15px;
}

.bonus-box-price {
    font-size: 5rem;
    font-weight: 900;
    color: var(--color-neon-pink);
    line-height: 1;
    margin-bottom: 5px;
}

.bonus-box-sub {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-white-pure);
    margin-bottom: 20px;
    line-height: 1.25;
}

.bonus-box-legal {
    font-size: 0.85rem;
    line-height: 1.3;
    color: var(--infinite_gray_medium);
    margin-bottom: 25px;
}

.bonus-box-btn {
    display: block;
    text-align: center;
    background: var(--infinite_tango);
    color: var(--color-white-pure);
    text-decoration: none;
    font-weight: 800;
    padding: 18px;
    border-radius: 4px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.bonus-box-btn:hover {
    background: var(--color-white-pure);
    color: var(--infinite_tango);
    box-shadow: 0 0 20px rgba(255, 51, 0, 0.6);
}

/* -----------------------------------------------------------
   MEDIA QUERIES - BONUS BOX MOBILE ANPASSUNG
   ----------------------------------------------------------- */
@media (max-width: 768px) {
    .bonus-box {
        width: calc(100% - 30px); /* Bildschirmbreite abzüglich Ränder */
        bottom: 15px;
        right: -100%; /* Sichert das Verstecken auf kleinen Screens */
        padding: 25px;
        
        /* NEU: Auch auf Mobile die Höhe begrenzen (15px oben + 15px unten = 30px) */
        max-height: calc(100vh - 30px);
    }
    
    .bonus-box.is-visible {
        right: 15px; /* Zentrierte Position auf Mobile */
    }
    
    .bonus-box-headline { font-size: 1.3rem; }
    .bonus-box-text { font-size: 0.95rem; }
    .bonus-box-price { font-size: 4rem; }
    .bonus-box-sub { font-size: 1rem; margin-bottom: 15px; }
    .bonus-box-legal { font-size: 0.8rem; margin-bottom: 20px; }
    .bonus-box-btn { padding: 12px; font-size: 1.2rem; }
}

/* ==========================================================================
   FAQ TYPEWRITER CURSOR (Schwarz #111111)
   ========================================================================== */
.faq-type-cursor {
    display: inline-block;
    width: 4px;
    height: 1em;
    background-color: #111111; /* Exakt die dunkle Textfarbe von Content 7 */
    margin-right: 6px;
    vertical-align: text-bottom;
    opacity: 0; /* Initial unsichtbar */
    transition: opacity 0.4s ease;
}

.faq-type-cursor.is-blinking {
    opacity: 1;
    animation: blinkFaqCursor 0.8s step-end infinite;
}

.faq-type-cursor.fade-out {
    opacity: 0;
    animation: none;
}

@keyframes blinkFaqCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
   
/* Desktop / Notebook - Grid bricht auf 3 Spalten um */
@media (max-width: 1800px) {
    .case-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Double-Items werden ab 3 Spalten auf Normalgröße (1x1) gesetzt */
    .case-item-double {
        grid-column: span 1;
        grid-row: span 1;
    }
	.case-item-text { padding: 24px; }
}   

/* Desktop / Notebook - Grid bricht auf 3 Spalten um */
@media (max-width: 1600px) {
    .case-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Double-Items werden ab 3 Spalten auf Normalgröße (1x1) gesetzt */
    .case-item-double {
        grid-column: span 1;
        grid-row: span 1;
    }
	.case-item-client { font-size: 1.5rem; }
}

/* Desktop (Klassisches Menü) */
@media (min-width: 1401px) {
    .container { width: 80%; }
    .desktop-nav { display: flex; gap: 30px; align-items: center; }
    .nav-link {
        color: #777777;
        text-decoration: none;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 1.1rem; 
        letter-spacing: 1px;
        transition: color 0.3s ease;
    }
    .nav-link:hover {
        color: var(--color-cyan); 
    }
}

/* Umbruch ab 1400px (Responsive Menü übernimmt) */
@media (max-width: 1400px) {
    .desktop-nav { display: none; }
    .burger-menu { display: flex; }
}

/* ==========================================================================
   DESKTOP ONLY: PROCESS STEP HOVER ANIMATIONS (> 1024px)
   ========================================================================== */
@media (min-width: 1025px) {
    /* Text im Normalzustand versteckt, nimmt aber weiterhin Platz für die Höhe ein */
    .step-content p {
        opacity: 0;
        filter: blur(10px);
        transform: translateX(-30px); /* Leicht nach links versetzt */
    }

    /* Diese Klasse wird via JavaScript beim Hovern gesetzt */
    .process-step.is-hovered {
        background: rgba(0, 0, 0, 0.55); /* 55% Deckkraft */
        box-shadow: 0 0px 15px rgba(0,0,0,0.4);
    }

    /* Die Nummer geht auf 15% Deckkraft */
    .process-step.is-hovered .step-number {
        color: rgba(255, 255, 255, 0.15); 
    }

    /* Der Text fadet sauber, scharf und an die richtige Position ein */
    .process-step.is-hovered .step-content p {
        opacity: 1;
        filter: blur(0);
        transform: translateX(0);
    }
}

/* Tablet - Schriftgrößen & Paddings anpassen */
@media (max-width: 1024px) {
    h2 { font-size: 70px; line-height: 80px; }
    h3 { font-size: 42px; line-height: 50px; }
    .subline { font-size: 28px; line-height: 34px; }
    .quote-huge { font-size: 2.8rem; }
    .overlay-link { font-size: 2.2rem; }
    .card { padding: 40px; }
	.case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
	/* Anpassungen für Content 6 & 7 auf Tablet */
    .info-text-block h4 { font-size: 1.5rem; }
    .info-text-block p { font-size: 1.05rem; }
    .faq-question { font-size: 1.25rem; }
    .faq-answer { font-size: 1rem; }
	
	.success-message, .error-message { padding: 30px; }    
    .success-message h4, .error-message h4 { font-size: 2.0rem; margin-bottom: 12px; }    
    .success-message p, .error-message p { font-size: 1.2rem; }
}

/* Smartphone - Feinjustierung & Formularbreite */
@media (max-width: 768px) {
    .container { width: 90%; }
    body { font-size: 18px; }
    h1 { font-size: 16px; line-height: 18px; margin-top: 0px; margin-bottom: 20px; }
    h2 { font-size: 46px; line-height: 50px; margin-top: 20px; margin-bottom: 10px; }
    h3 { font-size: 32px; line-height: 36px; margin-bottom: 20px; }
    h4 { font-size: 24px; line-height: 30px; }
    .subline { font-size: 20px; line-height: 26px; margin-bottom: 40px; }
    .quote-huge { font-size: 2rem; }
    
    .hero-actions { display: flex; flex-direction: column; gap: 15px; }
    .overlay-link { font-size: 1.8rem; padding: 15px 0; }
	
	.btn-primary, .btn-secondary { font-size: 1.2rem; line-height: 1.3rem; padding: 10px 30px; }
	.btn-start { font-size: 1.2rem; line-height: 1.3rem; }
    
    section { padding: 100px 0; }
	.grid-cards { gap: 20px; }
    .card { padding: 30px; }
	.case-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .case-item { font-size: 1.8rem; }
    .case-item-text { padding: 20px; } /* border-left Anweisung entfernt */
    .case-item-client { font-size: 1.2rem; margin-bottom: 8px; }
    .case-item-info { font-size: 0.9rem; line-height: 1.3; }
	.process-grid { gap: 20px; }
    .process-step { padding: 70px 20px 30px 20px; }
    #main_logo { height: 36px; }
	
	/* Anpassungen für Content 6 & 7 auf Smartphone */
    .info-text-block { gap: 36px; }
    .info-text-block h4 { font-size: 1.5rem; margin-bottom: 15px; }
    .info-text-block p { font-size: 1.05rem; line-height: 1.5; }
    
    .faq-item { margin-bottom: 35px; padding-bottom: 35px; }
    .faq-question { font-size: 1.35rem; margin-bottom: 12px; }
    .faq-answer { font-size: 1.05rem; line-height: 1.4; }
	
	.success-message, .error-message { padding: 20px; margin-top: 30px; border-left-width: 3px; }    
    .success-message h4, .error-message h4 { font-size: 1.5rem; margin-bottom: 8px; }    
    .success-message p, .error-message p { font-size: 1.05rem; }
}