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

#menu_bar_background { background-color: #000000 !important; }
.topframe_menubar_sub a { background-color: #000000 !important; color: #ffffff !important; }
.topframe_menubar_sub a:hover { background-color: #ffffff !important; color: #000000 !important; }

@media screen and (max-width: 1440px) {
    .top_frame_menubar { background-color: #000000 !important; }
    .top_frame_menubar a { background-color: #000000 !important; color: #ffffff !important; }
    .top_frame_menubar a:hover,
    .top_frame_menubar a.active { background-color: #ffffff !important; color: #000000 !important; }
}

#top_frame h1 {
    font-family: 'Archivo';
    font-weight: 900;
	font-style: italic;
    font-size: 92px;
    line-height: 92%;
	color: #ffffff;
    text-shadow: 0px 0px 15px rgba(0, 0, 0, 0.65);
    margin: 20px 0 10px 0;
	max-width: 1000px;
}

/* ==========================================================================
   SCROLL SNAPPING - GLOBAL (NUR IN METHODE.CSS)
   ========================================================================== */
html {
    scroll-snap-type: y mandatory !important;
    scroll-behavior: smooth !important;
    overflow-x: hidden !important;
}

body.page-methode { overflow: visible !important; margin: 0; padding: 0; }

body.page-methode #top_frame {
    height: 100vh !important; /* Fallback für ältere Browser */
    height: 100dvh !important; /* Dynamische Höhe für Mobile (behebt das Adressleisten-Problem) */ 
    box-sizing: border-box !important; 
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
    margin: 0 !important;
}

body.page-methode .top_frame_container {
    height: 100vh !important; /* Fallback für ältere Browser */
    height: 100dvh !important; /* Dynamische Höhe für Mobile (behebt das Adressleisten-Problem) */
	min-height: 800px!important;
    box-sizing: border-box !important;
    scroll-snap-align: none !important; 
}

body.page-methode #content_frame { overflow: visible !important; margin: 0 !important; padding: 0 !important; }

.methode_content_section {
    position: relative;
    width: 100%;
    height: max(100vh, 800px) !important;
    height: max(100dvh, 800px) !important;
    min-height: 760px !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
    overflow: hidden !important; 
    display: flex;
}

body.page-methode #footer_frame { scroll-snap-align: end !important; }

/* ==========================================================================
   ALLGEMEINE KLASSEN (Wiederverwendbar)
   ========================================================================== */
.methode_headline {
    font-family: 'RedHatDisplay', sans-serif;
    font-weight: 900;
    line-height: 1.1;
}

.methode_scroll_link {
    display: flex;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    opacity: 0; 
    transition: opacity 0.9s ease;
}

.methode_scroll_link.is-animating,
.methode_scroll_link.is-visible {
    opacity: 1;
}

.methode_scroll_text {
    font-family: 'RedHatDisplay', sans-serif;
    font-weight: 700;
    font-size: 24px;
    transition: color 0.3s ease;
}

.methode_scroll_icon {
    width: 36px;
    height: 36px;
	flex-shrink: 0;
    opacity: 0;
    transform: translateY(-15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.methode_scroll_link.is-animating .methode_scroll_icon,
.methode_scroll_link.is-visible .methode_scroll_icon {
    opacity: 1;
    transform: translateY(0);
}

.methode_scroll_link:hover .methode_scroll_icon {
    animation: arrowDrop 0.6s ease forwards;
}

@keyframes arrowDrop {
    0% { transform: translateY(0); opacity: 1; }
    40% { transform: translateY(15px); opacity: 0; }
    41% { transform: translateY(-15px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.methode_grid_item {
    flex: 1;
    font-family: 'RedHatDisplay', sans-serif;
    font-weight: 400;
    font-size: clamp(18px, 2.5vw, 28px);
    line-height: 1.3;
    opacity: 0;
    transform: translateY(30px);
    /* 40% langsamer: 0.8s -> 1.12s (auf 1.1s gerundet) */
    transition: opacity 1.1s ease, transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.methode_grid_item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   CONTENT 1 - BACKGROUND & LAYOUT
   ========================================================================== */
.content_1_bg { background-color: var(--infinite_gray_light); }

.content_1_bg::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../graphics/methode/erfolgreiches-markendesign-infinite-agentur-oberoesterreich-background.webp');
    background-size: cover; background-position: center; z-index: 1;
    transform: scale(1.1); filter: blur(20px);
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), filter 1.2s ease-out;
}

.content_1_bg.is-snapped::before { transform: scale(1); filter: blur(0px); }

.content_1_wrapper {
    display: flex; height: 100%; width: 100%; position: relative; z-index: 2; 
}
.content_1_col_left { flex: 0 0 50%; position: relative; }
.content_1_col_right { flex: 0 0 50%; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; padding-left: 40px; }

/* Content 1 Spezifisch */
.content_1_headline {
    font-size: clamp(28px, 4vw, 68px);
    color: var(--infinite_gray_dark);
}

/* FIX 1: Teil 1 darf nach unten KEINEN Abstand haben, damit Teil 2 bündig anschließt */
.content_1_headline.hl-part-1 {
    margin-bottom: 0;
}

/* FIX 1: Teil 2 bekommt den Abstand zum Subtext nach unten */
.content_1_headline.hl-part-2 {
    margin-bottom: 24px;
}

.content_1_headline .line-wrapper { display: block; overflow: hidden; }

/* Standard: Teil 1 fliegt von LINKS nach rechts rein (translateX -40px) */
.content_1_headline.hl-part-1 .line-inner {
    display: inline-block; 
    opacity: 0; 
    transform: translateX(40px); 
    filter: blur(8px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.8s ease;
}

/* FIX 1: Teil 2 fliegt von RECHTS nach links rein (translateX 40px) */
.content_1_headline.hl-part-2 .line-inner {
    display: inline-block; 
    opacity: 0; 
    transform: translateX(40px); 
    filter: blur(8px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.8s ease;
}

/* Beide Teile enden auf ihrer Null-Position */
.content_1_headline.is-animating .line-inner { 
    opacity: 1; 
    transform: translateX(0); 
    filter: blur(0); 
}

.content_1_subtext {
    font-family: 'RedHatDisplay', sans-serif; font-weight: 400; font-size: clamp(22px, 1.5vw, 32px); line-height: 1.3;
    background: linear-gradient(to right, var(--infinite_gray_dark) 50%, rgba(51,57,68,0) 50%);
    background-size: 200% 100%; background-position: 100% 0;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
    transition: background-position 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.content_1_subtext.is-animating { background-position: 0 0; }

/* Content 1 Link Farben (gilt für Desktop UND Mobile) */
.content_1_wrapper .methode_scroll_link { position: absolute; bottom: 50px; left: 0; color: var(--infinite_gray_dark); }
.content_1_wrapper .methode_scroll_icon { stroke: var(--infinite_tango); }
.content_1_wrapper .methode_scroll_link:hover .methode_scroll_text { color: var(--infinite_tango); }


/* ==========================================================================
   CONTENT 2 - BACKGROUND & LAYOUT
   ========================================================================== */
.content_2_bg { background-color: var(--infinite_gray_dark) !important; }

.content_2_bg::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../graphics/methode/werbung-besser-anders-infinite-branding-background.webp');
    background-size: cover; background-position: center; z-index: 1;
    transform: scale(1.1); filter: blur(20px);
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), filter 1.2s ease-out;
}
.content_2_bg.is-snapped::before { transform: scale(1); filter: blur(0px); }

.content_2_wrapper {
    position: relative; z-index: 2; display: flex; flex-direction: column; 
    justify-content: center; align-items: center; width: 100%; height: 100%; 
    max-width: 1300px; margin: 0 auto;
}

/* Content 2 Spezifisch */
.content_2_headline_wrapper { width: 100%; text-align: center; margin-bottom: 80px; }
.content_2_headline { font-size: clamp(32px, 4vw, 56px); color: #ffffff; min-height: 120px; }

.typewriter-word { display: inline-block; white-space: nowrap; }
.typewriter-char { display: inline-block; opacity: 0; }
.typewriter-char.is-typed { opacity: 1; animation: typeShake 0.1s linear; }

@keyframes typeShake {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-1px, 1px); }
    50% { transform: translate(1px, -1px); }
    75% { transform: translate(-1px, -1px); }
    100% { transform: translate(0, 0); }
}

.glitch-word { display: inline-block; color: #ffffff; opacity: 0; }
.glitch-word.is-typed { opacity: 1; }
.glitch-word.is-glitching { animation: glitchCycle 3s infinite linear; }

@keyframes glitchCycle {
    0% { color: #ffffff; transform: scaleX(1) skewX(0deg); }
    1% { color: var(--infinite_tango); transform: scaleX(-1) skewX(-5deg) translate(-2px, 1px); }
    2% { color: #ffffff; transform: scaleX(1) skewX(5deg) translate(2px, -1px); }
    3% { color: var(--infinite_tango); transform: scaleX(-1) skewX(-2deg) translate(-1px, -1px); }
    4% { color: #ffffff; transform: scaleX(1) skewX(2deg) translate(1px, 1px); }
    5% { color: var(--infinite_tango); transform: scaleX(-1) skewX(0deg); }
    33% { color: var(--infinite_tango); transform: scaleX(-1) skewX(0deg); }
    34% { color: #ffffff; transform: scaleX(1) skewX(-5deg) translate(-2px, 1px); }
    35% { color: var(--infinite_tango); transform: scaleX(-1) skewX(5deg) translate(2px, -1px); }
    36% { color: #ffffff; transform: scaleX(1) skewX(-2deg) translate(-1px, -1px); }
    37% { color: var(--infinite_tango); transform: scaleX(-1) skewX(2deg) translate(1px, 1px); }
    38% { color: #ffffff; transform: scaleX(1) skewX(0deg); }
    100% { color: #ffffff; transform: scaleX(1) skewX(0deg); }
}

.content_2_text_grid { display: flex; justify-content: space-between; gap: 40px; width: 100%; }
.content_2_text_grid .methode_grid_item { color: #ffffff; text-align: center; }

.content_2_wrapper .methode_scroll_link { 
    position: absolute; bottom: 50px; left: 50%; transform: translateX(-50%); 
    color: #ffffff; 
}
.content_2_wrapper .methode_scroll_icon { stroke: var(--infinite_tango); }
.content_2_wrapper .methode_scroll_link:hover .methode_scroll_text { color: var(--infinite_tango); }

/* ==========================================================================
   CONTENT 3 - BACKGROUND & LAYOUT
   ========================================================================== */
.content_3_bg { background-color: var(--infinite_gray_dark) !important; }

.content_3_bg::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../graphics/methode/methode-ansatz-infinite-werbeagentur-background.webp');
    background-size: cover; background-position: center; z-index: 1;
    transform: scale(1.1); filter: blur(20px);
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), filter 1.2s ease-out;
}
.content_3_bg.is-snapped::before { transform: scale(1); filter: blur(0px); }

.content_3_wrapper {
    display: flex; height: 100%; width: 100%; position: relative; z-index: 2; 
}

/* Umgekehrte Spalten: Text links, Motiv (Link) rechts */
.content_3_col_left { flex: 0 0 50%; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; padding-right: 40px; }
.content_3_col_right { flex: 0 0 50%; position: relative; }

/* ==========================================================================
   Typografie & Blur-Headline Animation (Content 3)
   ========================================================================== */
.content_3_headline {
    font-size: clamp(28px, 4vw, 68px);
    color: #ffffff;
    margin-bottom: 24px;
}
/* Teil 1 darf keinen Abstand nach unten haben, damit der Text nahtlos anschließt */
.content_3_headline.hl-part-1 {
    margin-bottom: 0;
}

.content_3_headline .line-wrapper { display: block; overflow: hidden; }
.content_3_headline .line-inner {
    display: inline-block; 
    opacity: 0; 
    transform: translateX(-40px); 
    filter: blur(8px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.8s ease;
}

/* Der normale Trigger vom globalen Script */
.content_3_headline.is-animating .line-inner { 
    opacity: 1; 
    transform: translateX(0); 
    filter: blur(0); 
}

/* --- DIE HARTE PAUSE FÜR TEIL 2 --- */
/* Wir überschreiben das globale Script für Part 2 und zwingen ihn, unsichtbar zu bleiben */
.content_3_headline.hl-part-2.is-animating .line-inner {
    opacity: 0;
    transform: translateX(-40px);
    filter: blur(8px);
}
/* Erst wenn JS unsere Zusatzklasse 'start-delayed' setzt, startet die Animation (inkl. dem zeilenweisen Effekt!) */
.content_3_headline.hl-part-2.is-animating.start-delayed .line-inner {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

/* Subtext 2-Phasen Animation */
.content_3_subtext_container {
    position: relative;
    font-family: 'RedHatDisplay', sans-serif; 
    font-weight: 400; 
    font-size: clamp(22px, 1.5vw, 32px); 
    line-height: 1.3;
    min-height: 90px; /* Verhindert Layout-Sprünge beim Ebenenwechsel */
}

.subtext-sequence {
    position: absolute;
    top: 0; left: 0; width: 100%;
    opacity: 1; filter: blur(0px);
    transition: opacity 1s ease, filter 1s ease;
}

.subtext-sequence.seq-2 {
    opacity: 0; pointer-events: none;
}

/* Verblassen & Blur für Phase 1 */
.subtext-sequence.is-faded-out {
    opacity: 0; filter: blur(10px); pointer-events: none;
}
/* Einblenden für Phase 2 */
.subtext-sequence.is-active {
    opacity: 1; filter: blur(0px); pointer-events: auto;
}

/* Der Color-Fill-Stil (wie Content 1, aber für einzelne Spans optimiert) */
.fill-part {
    background: linear-gradient(to right, #ffffff 50%, rgba(255,255,255,0) 50%);
    background-size: 200% 100%; 
    background-position: 100% 0;
    -webkit-background-clip: text; 
    background-clip: text;
    -webkit-text-fill-color: transparent; 
    color: transparent;
    transition: background-position 1.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fill-part.is-animating {
    background-position: 0 0;
}

/* Link ganz rechts unten in der rechten Spalte */
.content_3_col_right .methode_scroll_link { 
    position: absolute; bottom: 50px; right: 0; 
    color: #ffffff; 
}
.content_3_wrapper .methode_scroll_icon { stroke: var(--infinite_tango); }
.content_3_wrapper .methode_scroll_link:hover .methode_scroll_text { color: var(--infinite_tango); }

/* ==========================================================================
   CONTENT 4 - BACKGROUND & LAYOUT
   ========================================================================== */
.content_4_bg { background-color: var(--infinite_gray_light) !important; position: relative; }

/* Hintergrund Desktop */
.content_4_bg::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../graphics/methode/unvergleichbares-markendesign-preiskampf-background.webp');
    background-size: cover; background-position: center; z-index: 1;
}

/* Der animierte Superheld (Parallax) */
.hero-parallax-img {
    position: absolute;
    bottom: 0; left: 0; 
    
    /* FIX: Genau 45% der Bildschirmbreite und max-width aufgehoben */
    width: 45vw; 
    max-width: none; 
    
    z-index: 2; pointer-events: none;
    transform-origin: bottom left; /* Skaliert sauber von der Ecke aus */
    will-change: transform, filter, opacity;
    
    transform: translate(-400px, 400px) scale(1);
    filter: blur(20px);
    opacity: 0; 
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.6s ease, opacity 0.6s ease;
}

/* Layout */
.content_4_wrapper { display: flex; height: 100%; width: 100%; position: relative; z-index: 3; }
.content_4_col_left { flex: 0 0 50%; position: relative; }
.content_4_col_right { flex: 0 0 50%; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; padding-left: 40px; }


/* ==========================================================================
   CONTENT 4 - TYPOGRAFIE & EFFEKTE
   ========================================================================== */

/* Headline (von rechts) */
.content_4_headline {
    font-size: clamp(28px, 4vw, 68px);
    color: var(--infinite_gray_dark);
    margin-bottom: 50px; /* Fixer Abstand zum Subtext */
	white-space: nowrap;
}
.content_4_headline .line-wrapper { display: block; overflow: hidden; }
.content_4_headline .line-inner {
    display: inline-block; opacity: 0; transform: translateX(40px); filter: blur(8px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.8s ease;
}
.content_4_headline.is-animating .line-inner { opacity: 1; transform: translateX(0); filter: blur(0); }

.h4-glitch-active {
    animation: glitchBlurC4 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes glitchBlurC4 {
    0% { filter: blur(0px); text-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2); }
    10% { filter: blur(8px); text-shadow: 0px 0px 30px rgba(255, 51, 0, 0.8); }
    75% { filter: blur(3px); text-shadow: 0px 0px 20px rgba(255, 51, 0, 0.4); }
    100% { filter: blur(0px); text-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2); }
}

/* Subtext */
.content_4_subtext {
    font-family: 'RedHatDisplay', sans-serif; font-weight: 400; font-size: clamp(22px, 1.5vw, 32px); line-height: 1.3;
    margin-bottom: 50px;
    
    background: linear-gradient(to right, var(--infinite_gray_dark) 50%, rgba(51,57,68,0) 50%);
    background-size: 200% 100%; background-position: 100% 0;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    transition: background-position 1.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0; 
}
.content_4_subtext.is-animating { background-position: 0 0; opacity: 1; }

/* Slider */
.content_4_slider_wrapper {
    display: flex; align-items: center; gap: 30px;
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    min-height: 140px; 
}
.content_4_slider_wrapper.is-animating { opacity: 1; transform: translateY(0); }

.slider-arrow {
    width: 36px; height: 36px;
    stroke: var(--infinite_gray_dark);
    opacity: 0.4; cursor: pointer;
    transition: opacity 0.3s ease, stroke 0.3s ease;
    flex-shrink: 0;
}
.slider-arrow:hover { opacity: 1; stroke: var(--infinite_tango); }

.slider-track {
    position: relative; flex: 1; height: 100%;
    display: flex; align-items: center; overflow: hidden;
}

.slide-item {
    position: absolute; width: 100%;
    display: flex; flex-direction: column; justify-content: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease, filter 0.6s ease;
}

.slide-top {
    font-family: 'RedHatDisplay', sans-serif; font-weight: 400; font-size: clamp(16px, 1.5vw, 22px);
    letter-spacing: 0.15em; color: var(--infinite_gray_dark);
}
.slide-bottom {
    font-family: 'RedHatDisplay', sans-serif; font-weight: 900; font-size: clamp(32px, 3.5vw, 56px);
    line-height: 1; color: var(--infinite_gray_dark);
}

/* Slider States */
.slide-item.is-active { opacity: 1; filter: blur(0px); transform: translateX(0); z-index: 2; }
.slide-item.hidden-left { opacity: 0; filter: blur(6px); transform: translateX(-40px); pointer-events: none; }
.slide-item.hidden-right { opacity: 0; filter: blur(6px); transform: translateX(40px); pointer-events: none; }

/* FIX 4: Links Content 4 (wieder dark gray) */
.content_4_wrapper .methode_scroll_link { position: absolute; bottom: 50px; left: 0; color: var(--infinite_gray_dark); }
.content_4_wrapper .methode_scroll_text { color: #ffffff; }
.content_4_wrapper .methode_scroll_icon { stroke: var(--infinite_tango); }
.content_4_wrapper .methode_scroll_link:hover .methode_scroll_text { color: var(--infinite_tango); }

/* ==========================================================================
   CONTENT 5 - BACKGROUND & LAYOUT
   ========================================================================== */
.content_5_bg { background-color: #000000 !important; } /* Backup-Farbe */

.content_5_bg::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../graphics/methode/brand-design-markenstars-agentur-infinite-background.webp');
    background-size: cover; background-position: center; z-index: 1;
    transform: scale(1.1); filter: blur(20px);
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), filter 1.2s ease-out;
}
.content_5_bg.is-snapped::before { transform: scale(1); filter: blur(0px); }

.content_5_wrapper { display: flex; height: 100%; width: 100%; position: relative; z-index: 2; }
.content_5_col_left { flex: 0 0 50%; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; padding-right: 40px; }
.content_5_col_right { flex: 0 0 50%; position: relative; }


/* ==========================================================================
   CONTENT 5 - TYPOGRAFIE & EFFEKTE
   ========================================================================== */
.content_5_headline {
    font-size: clamp(28px, 4vw, 68px);
    color: #ffffff;
    margin-bottom: 24px;
    /* Container selbst hat jetzt keine Animation mehr */
}

/* Die beiden Text-Teile */
.content_5_headline .headline-part {
    display: inline-block;
    opacity: 0; 
    transform: translateX(-40px); 
    filter: blur(8px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.8s ease;
}

/* Teil 1 kommt sofort */
.content_5_headline.is-animating .part-1 {
    opacity: 1; transform: translateX(0); filter: blur(0);
}

/* Teil 2 kommt mit 0.8 Sekunden Verzögerung hinterher */
.content_5_headline.is-animating .part-2 {
    opacity: 1; transform: translateX(0); filter: blur(0);
    transition-delay: 1.2s; 
}

/* ==========================================================================
   DER "KNALLT" GLITCH (Hardcore-Flicker & Partikel)
   ========================================================================== */
.glitch-knallt {
    display: inline-block;
    position: relative;
    color: #ffffff;
}

.glitch-knallt.is-glitching {
    animation: textFlicker 0.4s steps(1) forwards;
}

/* Erzeugt die zerschnittenen Cyan/Magenta Kopien für echten Glitch */
.glitch-knallt.is-glitching::before,
.glitch-knallt.is-glitching::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: transparent;
    pointer-events: none;
}

.glitch-knallt.is-glitching::before {
    left: 2px;
    text-shadow: -2px 0 cyan;
    animation: glitchSlice1 0.4s infinite linear alternate-reverse;
}

.glitch-knallt.is-glitching::after {
    left: -2px;
    text-shadow: 2px 0 magenta;
    animation: glitchSlice2 0.4s infinite linear alternate-reverse;
}

/* Hartes, flackerndes Verzerren des Hauptwortes in alle Richtungen */
@keyframes textFlicker {
    0% { transform: translate(0, 0) scaleX(1); color: #ffffff; }
    20% { transform: translate(-4px, 2px) scaleX(1.3); color: var(--infinite_tango); }
    40% { transform: translate(4px, -2px) scaleX(0.8); color: #ffffff; }
    60% { transform: translate(-3px, -1px) scaleX(1.4); color: var(--infinite_tango); }
    80% { transform: translate(3px, 1px) scaleX(1.1); color: #ffffff; }
    100% { transform: translate(0, 0) scaleX(1); color: #ffffff; }
}

/* Zerschneidet die Farbebenen wild horizontal */
@keyframes glitchSlice1 {
    0% { clip-path: inset(20% 0 80% 0); transform: translate(-4px, 1px); }
    20% { clip-path: inset(60% 0 10% 0); transform: translate(4px, -1px); }
    40% { clip-path: inset(40% 0 50% 0); transform: translate(-4px, 2px); }
    60% { clip-path: inset(80% 0 5% 0); transform: translate(4px, -2px); }
    80% { clip-path: inset(10% 0 70% 0); transform: translate(-4px, 1px); }
    100% { clip-path: inset(30% 0 50% 0); transform: translate(4px, -1px); }
}
@keyframes glitchSlice2 {
    0% { clip-path: inset(10% 0 60% 0); transform: translate(4px, -1px); }
    20% { clip-path: inset(30% 0 20% 0); transform: translate(-4px, 1px); }
    40% { clip-path: inset(70% 0 10% 0); transform: translate(4px, -2px); }
    60% { clip-path: inset(20% 0 50% 0); transform: translate(-4px, 2px); }
    80% { clip-path: inset(50% 0 30% 0); transform: translate(4px, -1px); }
    100% { clip-path: inset(5% 0 80% 0); transform: translate(-4px, 1px); }
}

/* Partikel-Knall */
.knall-particle {
    position: absolute;
    top: 50%; left: 50%;
    background-color: var(--infinite_tango);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    pointer-events: none;
    z-index: -1;
    /* FIX: Dauer auf 3s verdoppelt für extrem lange Sichtbarkeit */
    animation: particleShoot 3s cubic-bezier(0.1, 0.8, 0.3, 1) forwards; 
}

@keyframes particleShoot {
    0% {
        transform: translate(-50%, -50%) rotate(var(--rot)) scale(1);
        opacity: 1; filter: blur(var(--sb));
    }
    100% {
        /* Extra Rotation für coolen Spin-Effekt */
        transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) rotate(calc(var(--rot) + 540deg)) scale(0.1);
        opacity: 0; filter: blur(var(--eb));
    }
}

/* Subtext */
.content_5_subtext_container {
    font-family: 'RedHatDisplay', sans-serif; font-weight: 400; font-size: clamp(22px, 1.5vw, 32px); line-height: 1.3;
}

.subtext-line {
    background: linear-gradient(to right, #ffffff 50%, rgba(255,255,255,0) 50%);
    background-size: 200% 100%; background-position: 100% 0;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    transition: background-position 1.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 8px; /* Abstand zwischen den beiden Zeilen */
}

.subtext-line.is-animating { background-position: 0 0; }

/* Links Content 5 */
.content_5_col_right .methode_scroll_link { position: absolute; bottom: 50px; right: 0; color: #ffffff; }
.content_5_wrapper .methode_scroll_icon { stroke: var(--infinite_tango); }
.content_5_wrapper .methode_scroll_link:hover .methode_scroll_text { color: var(--infinite_tango); }

/* ==========================================================================
   CONTENT 6 - BACKGROUND & LAYOUT
   ========================================================================== */
.content_6_bg { background-color: #ffffff !important; position: relative; }

.content_6_bg::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../graphics/methode/brand-design-differenzierung-background.webp');
    background-size: cover; background-position: center; z-index: 1;
    transform: scale(1.1); filter: blur(20px);
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), filter 1.2s ease-out;
}
.content_6_bg.is-snapped::before { transform: scale(1); filter: blur(0px); }

.content_6_wrapper {
    position: relative; z-index: 2; display: flex; flex-direction: column; 
    justify-content: center; align-items: center; width: 100%; height: 100%; 
    max-width: 1300px; margin: 0 auto;
}

/* ==========================================================================
   CONTENT 6 - TYPOGRAFIE & EFFEKTE
   ========================================================================== */
.content_6_headline_wrapper { width: 100%; text-align: center; margin-bottom: 80px; }
.content_6_headline { 
    font-size: clamp(32px, 4vw, 56px); 
    color: var(--infinite_gray_dark); 
    min-height: 120px; 
}

.content_6_headline .typewriter-word {
    display: inline-block;
    white-space: nowrap;
}

/* 2-Spalten Grid */
.content_6_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px 40px; 
    width: 100%;
    max-width: 1000px; /* Hält das Grid kompakt zentriert */
}

.c6-grid-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Hält die Paare linksbündig untereinander */
}

/* Durchstreich-Wort (Oben) */
.strike-word {
    position: relative;
    font-family: 'RedHatDisplay', sans-serif;
    font-weight: 400;
    font-size: clamp(16px, 1.5vw, 22px);
    color: var(--infinite_gray_medium);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: 0; 
    transform: translateY(-15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.strike-word.is-visible { opacity: 1; transform: translateY(0); }

/* Die Linie für das Durchstreichen */
.strike-word::after {
    content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 2px;
    background-color: var(--infinite_tango);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.strike-word.is-struck::after { width: 100%; }

/* Enthüllungs-Wort (Unten, größer und fetter) */
.reveal-word {
    font-family: 'RedHatDisplay', sans-serif;
    font-weight: 900;
    font-size: clamp(28px, 3vw, 42px);
    color: var(--infinite_gray_dark);
    text-transform: uppercase;
    line-height: 1.1;
    opacity: 0; 
    transform: translateY(-20px); 
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-word.is-visible { opacity: 1; transform: translateY(0); }

/* Link unten zentriert */
.content_6_wrapper .methode_scroll_link { 
    position: absolute; bottom: 50px; left: 50%; transform: translateX(-50%); 
    color: var(--infinite_gray_dark); 
}
.content_6_wrapper .methode_scroll_icon { stroke: var(--infinite_tango); }
.content_6_wrapper .methode_scroll_link:hover .methode_scroll_text { color: var(--infinite_tango); }

/* ==========================================================================
   CONTENT 7 - BACKGROUND & LAYOUT
   ========================================================================== */
.content_7_bg { background-color: var(--infinite_tango) !important; position: relative; }

.content_7_bg::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../graphics/methode/mutiges-marketing-werbeagentur-oberoesterreich-background.webp');
    background-size: cover; background-position: center; z-index: 1;
    transform: scale(1.1); filter: blur(20px);
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), filter 1.2s ease-out;
}
.content_7_bg.is-snapped::before { transform: scale(1); filter: blur(0px); }

.content_7_wrapper {
    display: flex; height: 100%; width: 100%; position: relative; z-index: 2; 
    will-change: transform, filter; /* Für den Screen Shake */
}
.content_7_col_left { flex: 0 0 50%; position: relative; }
.content_7_col_right { flex: 0 0 50%; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; padding-left: 40px; }


/* ==========================================================================
   CONTENT 7 - BILDER & ANIMATIONEN (LINKS)
   ========================================================================== */

/* 1. Der Stempel */
.c7-stamp-img {
    position: absolute;
    left: 0; top: 50%;
    width: 70%; 
    opacity: 0; 
    /* Start: 40% größer (scale 1.4), stark geblurred, -18 Grad verdreht */
    transform: translateY(-50%) scale(1.4) rotate(-18deg);
    filter: blur(30px);
}
.c7-stamp-img.is-stamping {
    /* Endet bei normaler Größe und 0 Grad */
    animation: stampImpact 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes stampImpact {
    100% { transform: translateY(-50%) scale(1) rotate(0deg); opacity: 1; filter: blur(0px); }
}

/* Der wuchtige Screen-Shake (wird auf den Wrapper angewandt) */
.c7-screen-shake {
    animation: shakeWild 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) forwards;
}

@keyframes shakeWild {
    0% { transform: translate(0, 0) rotate(0deg); filter: blur(0); }
    15% { transform: translate(-12px, 15px) rotate(-1deg); filter: blur(3px); }
    30% { transform: translate(18px, -12px) rotate(2deg); filter: blur(2px); }
    45% { transform: translate(-15px, -18px) rotate(-2deg); filter: blur(4px); }
    60% { transform: translate(12px, 16px) rotate(1deg); filter: blur(1px); }
    75% { transform: translate(-10px, 8px) rotate(-1deg); filter: blur(2px); }
    90% { transform: translate(8px, -10px) rotate(0deg); filter: blur(1px); }
    100% { transform: translate(0, 0) rotate(0deg); filter: blur(0); }
}

/* Das Megafon (Horizontal 70%, Vertikal 35% -> entspricht 15% nach oben versetzt vom Zentrum) */
.c7-mega-container {
    position: absolute;
    left: 70%; 
    top: 35%; 
    width: 20%; 
}

.c7-mega-img {
    width: 100%;
    opacity: 0;
    filter: blur(20px);
    transform: translateY(-50px); /* Startet 50px zu weit oben */
    transition: opacity 1s ease, filter 1s ease, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.c7-mega-container.is-visible .c7-mega-img {
    opacity: 1; filter: blur(0); transform: translateY(0);
}

/* 3. Megafon Strahlen */
.c7-rays-anchor {
    position: absolute; width: 100%; height: 100%; top: 0; left: 0; pointer-events: none;
}
.c7-ray {
    position: absolute;
    background-color: #ffffff;
    height: 3px; border-radius: 2px;
    width: 32px; /* Länger gemacht */
    opacity: 0;
    transform-origin: left center;
    animation: rayShoot 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes rayShoot {
    0% { transform: translate(0, 0) rotate(var(--angle)) scaleX(0.2); opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) rotate(var(--angle)) scaleX(1.5); opacity: 0; }
}


/* ==========================================================================
   CONTENT 7 - TYPOGRAFIE & TEXT (RECHTS)
   ========================================================================== */
.content_7_headline {
    font-size: clamp(28px, 4vw, 68px); color: #ffffff; margin-bottom: 24px;
}
.content_7_headline .line-wrapper { display: block; overflow: hidden; }
.content_7_headline .line-inner {
    display: inline-block; opacity: 0; transform: translateX(40px); filter: blur(8px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.8s ease;
}
.content_7_headline.is-animating .line-inner { opacity: 1; transform: translateX(0); filter: blur(0); }

/* Subtexte */
.content_7_subtext_container {
    font-family: 'RedHatDisplay', sans-serif; font-weight: 400; font-size: clamp(22px, 1.5vw, 32px); line-height: 1.3;
}
.content_7_subtext_container .subtext-line {
    background: linear-gradient(to right, #ffffff 50%, rgba(255,255,255,0) 50%);
    background-size: 200% 100%; background-position: 100% 0;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
    transition: background-position 1.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 8px;
}
.content_7_subtext_container .subtext-line.is-animating { background-position: 0 0; }

/* Die speziellen Wörter in Sonsie One */
.highlight-sonsie {
    font-family: 'SonsieOne', cursive; /* Backup: cursive */
    font-weight: 600;
    color: #000000;
    -webkit-text-fill-color: #000000; /* Überschreibt den Gradient vom Parent */
}

/* Links Content 7 */
.content_7_col_left .methode_scroll_link { position: absolute; bottom: 50px; left: 0; color: #ffffff; }
.content_7_wrapper .methode_scroll_link:hover .methode_scroll_text { color: #000000; }

/* ==========================================================================
   CONTENT 8 - BACKGROUND & LAYOUT
   ========================================================================== */
.content_8_bg { background-color: var(--infinite_gray_dark) !important; position: relative; }

.content_8_bg::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../graphics/methode/marken-power-modernes-marketing-infinite-background.webp');
    background-size: cover; background-position: center; z-index: 1;
    transform: scale(1.1); filter: blur(20px);
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), filter 1.2s ease-out;
}
.content_8_bg.is-snapped::before { transform: scale(1); filter: blur(0px); }

.content_8_wrapper {
    position: relative; z-index: 2; display: flex; flex-direction: column; 
    justify-content: center; align-items: center; width: 100%; height: 100%; 
}

/* ==========================================================================
   CONTENT 8 - TYPOGRAFIE & HEADLINE
   ========================================================================== */
.content_8_headline_wrapper { width: 100%; max-width: 1300px; text-align: center; margin-bottom: 80px; }
.content_8_headline { font-size: clamp(32px, 4vw, 56px); min-height: 120px; line-height: 1.2; padding-bottom: 60px; }

.content_8_headline .tw-part-1,
.content_8_headline .tw-part-2 { display: inline; }

.content_8_headline .tw-word, .content_8_headline .tw-space { display: inline-block; white-space: nowrap; }
.mobile-only { display: none; }

/* Normale Wörter (Echte, Power) */
.std-word {
    font-family: 'RedHatDisplay', sans-serif; font-weight: 400; color: var(--infinite_gray_medium);
}

/* Hervorgehobene Wörter (Recharge Font + Gradient/Glow) */
.recharge-fx {
    font-family: 'Recharge', sans-serif;
    font-weight: 700;
    color: transparent;
    /* FIX: Harte Stops garantieren, dass der Text außerhalb des gelben Streifens REINWEISS ist */
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 35%, #B3FFFF 50%, #ffffff 65%, #ffffff 100%);
    background-size: 350% 100%;
    background-position: 100% 0; /* Startet im reinweißen Bereich */
    -webkit-background-clip: text; 
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 0px 0px rgba(255, 255, 255, 0));
}

.recharge-fx.is-pulsing {
    animation: fxSweep 4s infinite linear;
}

/* 0.6s Durchlaufzeit entspricht genau 20% von der 3s Gesamtdauer */
@keyframes fxSweep {
    0% { background-position: 100% 0; filter: drop-shadow(0px 0px 0px rgba(255,255,255,0)); }
    20% { background-position: 50% 0; filter: drop-shadow(0px 0px 10px rgba(255,255,255,0.6)); } /* Weißer Glow */
    40% { background-position: 0% 0;  filter: drop-shadow(0px 0px 0px rgba(255,255,255,0)); }
    100% { background-position: 0% 0; filter: drop-shadow(0px 0px 0px rgba(255,255,255,0)); }
}

/* ==========================================================================
   CONTENT 8 - GRID & KREUZ ANIMATION
   ========================================================================== */
.content_8_grid {
    display: flex; justify-content: space-between; gap: 20px; width: 100%; max-width: 1300px;
}

.c8-grid-item {
    position: relative; flex: 1; display: flex; flex-direction: column; 
    justify-content: center; align-items: center;
}

/* 3-Zeiler Text-Block */
.c8-text {
    text-align: center; z-index: 2; opacity: 0; 
    transform: translateY(-50px); filter: blur(20px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.6s ease;
}
.c8-text.is-visible { opacity: 1; transform: translateY(0); filter: blur(0); }

.c8-t-bold { font-weight: 900; font-size: clamp(20px, 2.5vw, 32px); color: #ffffff; line-height: 1.0; text-transform: uppercase; }
.c8-t-light { font-weight: 400; font-size: clamp(14px, 1.2vw, 18px); color: var(--infinite_gray_medium); margin: 0; letter-spacing: 0.05em; text-transform: uppercase; }

/* SVG Kreuz Container (Ca. 35% verkleinert -> von 110% auf 75%) */
.c8-x-container {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 75%; 
    height: 75%;
    z-index: 1; display: flex; justify-content: center; align-items: center; pointer-events: none;
}
.c8-x-container img { position: absolute; width: 100%; height: auto; }

.x-left, .x-right { clip-path: inset(0 100% 0 0); transition: clip-path 0.4s ease-out; }
.x-left.is-drawn, .x-right.is-drawn { clip-path: inset(0 0 0 0); }

/* Link unten rechts */
.content_8_wrapper .methode_scroll_link { position: absolute; bottom: 50px; right: auto; left: auto; align-self: flex-end; margin:0; display: flex; align-items: center; color: #ffffff; }
.content_8_wrapper .methode_scroll_link:hover .methode_scroll_text { color: var(--infinite_tango); }
.content_8_wrapper .methode_scroll_link:hover .methode_scroll_icon { stroke: var(--infinite_tango); }

/* ==========================================================================
   CONTENT 9 - BACKGROUND & LAYOUT
   ========================================================================== */
.content_9_bg { background-color: #fff200 !important; position: relative; }

.content_9_bg::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../graphics/methode/chancen-finden-markenpotenzial-background.webp');
    background-size: cover; background-position: center; z-index: 1;
    transform: scale(1.1); filter: blur(20px);
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), filter 1.2s ease-out;
}
.content_9_bg.is-snapped::before { transform: scale(1); filter: blur(0px); }

.content_9_wrapper {
    display: flex; height: 100%; width: 100%; position: relative; z-index: 2; 
}
.content_9_col_left { flex: 0 0 50%; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; }
.content_9_col_right { flex: 0 0 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; padding-left: 40px; padding-top: 40px;}

/* ==========================================================================
   CONTENT 9 - LINKS (TAPE & TEXT)
   ========================================================================== */
/* Tape-Bild (ragt links heraus) */
.c9-tape-img {
    width: 105%;
    margin-left: -5%;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateX(-140px);
	filter: blur(10px);
    transition: opacity 1.2s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 1.2s ease;
}
.c9-tape-img.is-animating {
    opacity: 1; transform: translateX(0);
    filter: blur(0px) drop-shadow(4px 10px 15px rgba(0,0,0,0.2));
}

/* Subtext in Schwarz */
.content_9_subtext_container {
    font-family: 'RedHatDisplay', sans-serif; font-weight: 400; font-size: clamp(22px, 1.5vw, 32px); line-height: 1.3;
}
.content_9_subtext_container .subtext-line {
    background: linear-gradient(to right, #000000 50%, rgba(0,0,0,0) 50%);
    background-size: 200% 100%; background-position: 100% 0;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
    transition: background-position 1.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 8px;
}
.content_9_subtext_container .subtext-line.is-animating { background-position: 0 0; }

/* ==========================================================================
   CONTENT 9 - RECHTS (SMASH BOX)
   ========================================================================== */
/* Zwingt die Mobile-Box auf dem Desktop in die Unsichtbarkeit */
.mobile-link-box { display: none !important; }

/* Wrapper für die Einflug-Animation */
.c9-smash-wrapper {
    position: relative; width: 100%; display: flex; justify-content: center; align-items: center;
    opacity: 0;
    transform: translateY(-100px);
    filter: blur(20px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.8s ease;
}
.c9-smash-wrapper.is-animating { opacity: 1; transform: translateY(0); filter: blur(0); }

/* Die enthüllte E-Mail Adresse */
.c9-revealed-email {
    position: absolute;
    font-family: 'RedHatDisplay', sans-serif;
    font-weight: 900;
    font-size: clamp(22px, 2.5vw, 36px);
    color: #000000;
    text-decoration: none;
    z-index: 1;
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none; /* Blockiert Klicks VOR dem Smash */
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.c9-revealed-email.is-revealed { 
    opacity: 1; transform: scale(1); 
    pointer-events: auto; /* Aktiviert den mailto-Link NACH dem Smash */
}
.c9-revealed-email:hover { color: #000000; text-decoration: underline; }

/* Die interaktive, schwarze Box */
.c9-black-box {
    position: relative; background-color: #000000; border-radius: 8px;
    padding: 36px; width: 100%; display: flex; justify-content: center; align-items: center;
    z-index: 2; cursor: pointer; box-sizing: border-box;
}
a.c9-black-box { text-decoration: none; }

.c9-cta-text {
    font-family: 'RedHatDisplay', sans-serif; font-weight: 800; font-size: clamp(18px, 2.2vw, 28px);
    color: #ffffff; letter-spacing: 0.15em; line-height: 1.5; text-align: center;
    z-index: 3; pointer-events: none;
}

/* Hazard Streifen Overlay */
.c9-hazard-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(45deg, #000000, #000000 20px, #fff200 20px, #fff200 40px);
    opacity: 0; border-radius: 8px; z-index: 2; pointer-events: none; transition: opacity 0.2s ease;
}

/* Hover-Effekt */
@media (hover: hover) and (pointer: fine) {
    .c9-black-box:not(.is-smashed):hover { animation: hazardShake 0.15s infinite; }
    .c9-black-box:not(.is-smashed):hover .c9-hazard-overlay { opacity: 0.15; }
}
@keyframes hazardShake {
    0% { transform: translate(0, 0); }
    25% { transform: translate(2px, -2px); }
    50% { transform: translate(-2px, 2px); }
    75% { transform: translate(2px, 2px); }
    100% { transform: translate(0, 0); }
}

/* Zustand nach dem Klick */
.c9-black-box.is-smashed { background-color: transparent !important; cursor: default; pointer-events: none; }
.c9-black-box.is-smashed .c9-cta-text,
.c9-black-box.is-smashed .c9-hazard-overlay { display: none; }

/* CSS Physik für die fallenden Glassplitter */
.c9-shard {
    position: absolute; background-color: #000000;
    pointer-events: none; /* Splitter verdecken keine Klicks auf die Mail */
    animation: shardFall 1s cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards;
}

@keyframes shardFall {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) rotate(var(--rot)); opacity: 0; }
}

/* ==========================================================================
   RESPONSIVE LAYOUTS & BREAKPOINTS
   ========================================================================== */
@media screen and (max-width: 1440px) {
    #top_frame h1 { font-size: 70px; }
    .content_1_wrapper { max-width: 1200px; margin: 0 auto; }
    .content_2_wrapper { max-width: 100%; padding: 0 40px; }
	.content_3_wrapper { max-width: 1200px; margin: 0 auto; }
	.content_4_wrapper { max-width: 1200px; margin: 0 auto; }
	.content_5_wrapper { max-width: 1200px; margin: 0 auto; }
	.content_6_wrapper { max-width: 100%; padding: 0 40px; }
	.content_7_wrapper { max-width: 1200px; margin: 0 auto; }
	.content_8_wrapper { max-width: 100%; padding: 0 40px; }
}

@media screen and (max-width: 1000px) {
	/* ==========================================================================
       MOBILE SCROLL LINKS (Einheitliches Raster für alle Sections)
       ========================================================================== */
    .content_1_wrapper .mobile_scroll_link,
    .content_2_wrapper .methode_scroll_link,
    .content_3_wrapper .mobile_scroll_link,
    .content_4_wrapper .mobile_scroll_link,
    .content_5_wrapper .mobile_scroll_link,
    .content_6_wrapper .methode_scroll_link,
    .content_7_wrapper .methode_scroll_link,
    .content_8_wrapper .methode_scroll_link {
        position: relative !important;
        bottom: auto !important;
        left: 0 !important;
        right: auto !important;
        transform: none !important;
        
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
        
        /* Drückt den Link immer GANZ nach unten */
        margin-top: auto !important; 
        
        /* Exakt gleicher Abstand zum unteren Bildschirmrand (30px) */
        margin-bottom: 30px !important;
        padding-bottom: 0 !important;
        
        /* Mindestabstand zum Text darüber, falls der Bildschirm extrem klein ist */
        padding-top: 40px !important;
    }
	
    #top_frame h1 { font-size: clamp(42px, 7.4vw, 74px); line-height: 104%; }
    
    .methode_content_section {
        height: auto !important; min-height: 100vh;
        scroll-snap-align: start !important; scroll-snap-stop: normal !important; 
        flex-direction: column; 
    }

    .content_1_bg::before {
        position: relative; display: block; width: 100%; height: 60vw; flex: 0 0 60vw; 
        margin-top: 80px; background-position: left center; background-size: 160% auto; z-index: 1;
    }
    
    .content_1_wrapper, .content_2_wrapper {
        display: flex; flex-direction: column; flex: 1; 
        padding: 0; margin: 0; z-index: 2; width: 100%;
    }
    
    .content_1_col_left { display: none; }
    
    .content_1_col_right {
        display: flex; flex-direction: column; flex: 1; 
        /* FIX: Hebt das vertikale Zentrieren vom Desktop auf */
        justify-content: flex-start; 
        /* FIX: Exakt 50px Abstand oben zum Bild */
        padding: 50px 30px 0px 30px; 
    }
    
    .content_1_headline { font-size: clamp(30px, 5vw, 42px); margin-bottom: 16px; }
    .content_1_subtext { font-size: clamp(20px, 3vw, 28px); margin-bottom: 0; }
    
    /* FIX: Höhere CSS-Spezifität (.content_1_wrapper hinzugefügt), 
       damit das "position: absolute; left: 0;" vom Desktop sicher überschrieben wird */
    .content_1_wrapper .mobile_scroll_link {
        position: relative; margin-top: auto; 
        left: auto; /* Zwingt den Link zurück in den normalen Fluss */
        padding-top: 40px; margin-bottom: 20px; 
        bottom: auto; 
    }
    .content_1_wrapper .mobile_scroll_link .methode_scroll_text { font-size: 20px !important; }
    
    .content_2_wrapper {
        justify-content: flex-start; align-items: flex-start; 
        padding: 120px 30px 0px 30px; 
    }
    
    .content_2_headline_wrapper { text-align: left; margin-bottom: 40px; width: 100%; }
    .content_2_headline { min-height: auto; font-size: clamp(30px, 5vw, 42px); }
    
    .content_2_text_grid { flex-direction: column; gap: 20px; width: 100%; }
    .content_2_text_grid .methode_grid_item { text-align: left; font-size: clamp(20px, 3vw, 28px); }
    
    .content_2_wrapper .methode_scroll_link {
        position: relative; bottom: 0; left: 0; transform: none; 
        justify-content: flex-start; margin-top: auto; 
        padding-top: 40px; padding-bottom: 20px; width: 100%;
    }
    .content_2_wrapper .methode_scroll_text { font-size: 20px !important; }
    
    /* Hintergrundbild oben, 160% gezoomt, und RECHTSBÜNDIG weil dort das Motiv steht */
    .content_3_bg::before {
        position: relative; display: block; width: 100%; height: 60vw; flex: 0 0 60vw; 
        margin-top: 80px; 
        background-position: right center; /* Fokus auf Motiv rechts! */
        background-size: 160% auto; 
        z-index: 1;
    }
    
    .content_3_wrapper {
        display: flex; flex-direction: column; flex: 1; 
        padding: 0; margin: 0; z-index: 2; width: 100%;
    }
    
    .content_3_col_right { display: none; /* Rechte Spalte inkl. Desktop-Link verschwindet */ }
    
    .content_3_col_left {
        display: flex; flex-direction: column; flex: 1; 
        justify-content: flex-start; 
        padding: 50px 30px 0px 30px; 
    }
    
    .content_3_headline { font-size: clamp(30px, 5vw, 42px); margin-bottom: 16px; }
    .content_3_subtext_container { font-size: clamp(20px, 3vw, 28px); min-height: 120px; } /* Etwas mehr Platz für Mobile-Umbruch */

    /* Die Farbregeln für den Mobile-Link anwenden */
    .content_3_wrapper .mobile_scroll_link {
        position: relative; margin-top: auto; 
        left: auto; padding-top: 40px; margin-bottom: 20px; bottom: auto;
        color: #ffffff; /* Weiß auf Mobile */
    }
    .content_3_wrapper .mobile_scroll_link .methode_scroll_text { font-size: 20px !important; }
	
	/* Mobile Hintergrund (platzhalter4a.webp gezoomt oben) */
    .content_4_bg::before {
        background-image: url('../graphics/methode/au-revoir-preiskampf-markenidentitaeten-background.webp');
        position: relative; display: block; width: 100%; height: 60vw; flex: 0 0 60vw; 
        margin-top: 80px; background-position: right center; background-size: 160% auto; z-index: 1;
    }
    
    .desktop-only { display: none !important; }

    /* LAYOUT FIX: Volle Breite erzwingen */
    .content_4_wrapper {
        display: flex; flex-direction: column; flex: 1; 
        justify-content: flex-start; align-items: flex-start; 
        margin: 0; 
        width: 100%; max-width: 100%; 
        box-sizing: border-box;
        padding: 50px 30px 0px 30px; 
    }
    
    .content_4_col_left { display: none; }
    
    .content_4_col_right {
        display: flex; flex-direction: column; flex: 1; 
        justify-content: flex-start; align-items: flex-start;
        padding: 0; width: 100%;
    }
    
    .content_4_headline { font-size: clamp(30px, 5vw, 42px); margin-bottom: 50px; }
    .content_4_subtext { font-size: clamp(20px, 3vw, 28px); margin-bottom: 40px; }
    
    /* FIX 3: Slider auf Mobile komplett ausblenden */
    .content_4_slider_wrapper { display: none !important; }

    /* Mobile Link */
    .content_4_wrapper .mobile_scroll_link {
        position: relative; margin-top: auto; left: auto; 
        padding-top: 40px; margin-bottom: 20px; bottom: auto;
    }
    .content_4_wrapper .mobile_scroll_link .methode_scroll_text { font-size: 20px !important; color: var(--infinite_gray_dark) !important; }
	
	.content_5_bg::before {
        position: relative; display: block; width: 100%; height: 60vw; flex: 0 0 60vw; 
        margin-top: 80px; background-position: right center; background-size: 160% auto; z-index: 1;
    }
    
    .content_5_wrapper {
        display: flex; flex-direction: column; flex: 1; 
        padding: 0; margin: 0; z-index: 2; width: 100%;
    }
    
    .content_5_col_right { display: none; }
    
    .content_5_col_left {
        display: flex; flex-direction: column; flex: 1; 
        justify-content: flex-start; 
        padding: 50px 30px 0px 30px; 
    }
    
    .content_5_headline { font-size: clamp(30px, 5vw, 42px); margin-bottom: 16px; }
    .content_5_subtext_container { font-size: clamp(20px, 3vw, 28px); }

    /* Mobile Link Content 5 */
    .content_5_wrapper .mobile_scroll_link {
        position: relative; margin-top: auto; 
        left: auto; padding-top: 40px; margin-bottom: 20px; bottom: auto;
        color: #ffffff; 
    }
    .content_5_wrapper .mobile_scroll_link .methode_scroll_text { font-size: 20px !important; }
	
	.content_6_wrapper {
        justify-content: flex-start; align-items: flex-start; 
        padding: 120px 30px 0px 30px; 
    }
    
    .content_6_headline_wrapper { text-align: left; margin-bottom: 40px; width: 100%; } /* Abstand verringert */
    .content_6_headline { min-height: auto; font-size: clamp(30px, 5vw, 42px); }
    
    /* Grid kompakter machen für Mobile */
    .content_6_grid {
        grid-template-columns: 1fr;
        gap: 30px; /* Reduziert von 50px */
    }
    
    .reveal-word { font-size: 26px; } /* Etwas kleiner für Mobile, damit es nicht so wuchtig wirkt */
    
    /* Mobile Link: Linksbündig und exakt gleiche Schriftgröße wie in anderen Sections */
	.content_6_wrapper {
        display: flex; flex-direction: column; flex: 1; /* WICHTIG: flex: 1 fehlte hier! */
        justify-content: flex-start; align-items: flex-start; 
        padding: 120px 30px 0px 30px; 
    }
	
    .content_6_wrapper .methode_scroll_link {
        position: relative; bottom: 0; left: 0; transform: none; 
        justify-content: flex-start; margin-top: auto; 
        padding-top: 30px; padding-bottom: 20px; width: 100%;
    }
    .content_6_wrapper .methode_scroll_text { font-size: 20px !important; }
	
	.content_7_wrapper {
        display: flex; flex-direction: column; flex: 1; 
        padding: 0; margin: 0; z-index: 2; width: 100%;
    }
    
    /* Linke Seite verschwindet komplett (Bilder & Megafon weg) */
    .content_7_col_left { display: none !important; }
    
    .content_7_col_right {
        display: flex; flex-direction: column; flex: 1; 
        justify-content: flex-start; 
        padding: 120px 30px 0px 30px; 
    }
    
    .content_7_headline { font-size: clamp(30px, 5vw, 42px); margin-bottom: 30px; }
    .content_7_subtext_container { font-size: clamp(20px, 3vw, 28px); }

    /* Mobile Link anpassen */
    .content_7_wrapper .methode_scroll_link {
        position: relative; margin-top: auto; 
        left: auto; padding-top: 40px; margin-bottom: 20px; bottom: auto;
    }
    .content_7_wrapper .methode_scroll_text { font-size: 20px !important; }
	
	.content_8_wrapper {
        display: flex; flex-direction: column; flex: 1; /* FIX: flex: 1 zwingt den Link nach unten! */
        justify-content: flex-start; align-items: flex-start; 
        padding: 120px 30px 0px 30px; 
    }
    
    .content_8_headline_wrapper { text-align: left; margin-bottom: 60px; width: 100%; }
    .content_8_headline { min-height: auto; font-size: clamp(30px, 5vw, 42px); padding-bottom: 10px; }
	
	.content_8_headline .tw-part-1,
    .content_8_headline .tw-part-2 { display: inline; }
    .mobile-only { display: inline-block; }
    
    /* Kreuz-Container auf Mobile nochmal ca. 10% kleiner (ca 45% gesamt) */
    .c8-x-container {
        width: 33%; height: 33%;
    }
    
    /* Grid 1-spaltig */
    .content_8_grid {
        flex-direction: column;
        gap: 60px; 
    }
    
    /* Mobile Link linksbündig */
    .content_8_wrapper .methode_scroll_link {
        position: relative; bottom: 0; right: auto; left: 0; transform: none; 
        justify-content: flex-start; margin-top: auto; 
        padding-top: 40px; padding-bottom: 20px; width: 100%;
    }
    .content_8_wrapper .methode_scroll_text { font-size: 20px !important; }
	
	.content_9_wrapper {
        flex-direction: column;
        justify-content: flex-start; align-items: flex-start; 
        padding: 120px 30px 60px 30px; 
    }
    
    .content_9_col_left { width: 100%; padding-top: 0; margin-bottom: 80px; }
    .content_9_col_right { width: 100%; padding-left: 0; padding-right: 0; }
    
    /* Das Bild überhängt auf Mobile nicht mehr */
    .c9-tape-img { width: 100%; margin-left: 0; }
	
	.mobile-link-box { display: flex !important; }
}

@media screen and (max-width: 600px) {
    body.page-methode .top_frame_container { padding-top: 0px!important; }
	
	.c9-tape-img { width: 114%; margin-left: -7%; }
}

@media screen and (min-width: 1001px) {
    .mobile_scroll_link { display: none !important; }
}

@media screen and (max-width: 1000px) and (orientation: landscape) {
    body.page-methode::before {
        content: "Bitte drehe dein Gerät ins Hochformat.";
        position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        background-color: var(--infinite_gray_dark); color: var(--infinite_tango);
        display: flex; align-items: center; justify-content: center;
        font-size: 24px; font-family: 'RedHatDisplay', sans-serif;
        text-align: center; padding: 40px; z-index: 999999;
    }
    body.page-methode > * { display: none !important; }
}