/* Fonts - Unageo Family */
@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 {
    --bg-dark: #121212;
    --card-bg: #1e1e1e;
    --text-light: #ffffff;
    --text-gray: #a0a0a0;
    --content-width: 1380px;
	
	--infinite_tango: #FF3300; 
    --infinite_gray_light: #E8EAEA;
    --infinite_gray_medium: #AFB0B4; 
    --infinite_gray_dark: #333944;  
}

body {
    background-image: url('../landingpages/graphics/infinite-logoerstellung-brand-development-background.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Unageo', sans-serif;
    margin: 0;
    padding: 70px 0;
    min-height: 100vh;
}

/* Container mit Anker für das absolute Logo */
.container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.agency-logo {
    position: absolute;
    top: 0;
    right: 20px;
    width: 180px;
    z-index: 50;
    transition: opacity 0.3s ease;
}

.agency-logo:hover {
    opacity: 0.8;
}

.agency-logo img {
    width: 100%;
    height: auto;
    display: block;
}

h1 {
    font-size: 2.6rem;
    font-weight: 500;
    margin: 20px 0 100px 0;
    letter-spacing: -1px;
    line-height: 1.1;
}

h2 {
    font-size: 6.5rem;
    font-weight: 300;
    color: var(--text-gray);
    margin: 0 0 0 0;
    letter-spacing: 0px;
    opacity: 0.8;
    line-height: 1.1;
}

.h2_subheadline {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-gray);
	max-width:1100px;
    margin: 0 0 36px 0;
    letter-spacing: 0px;
    opacity: 0.8;
    line-height: 1.1;
}

.intro_text {
    max-width: 800px; 
    font-size: 1.25rem;
    line-height: 1.3;
    color: var(--text-gray);
    margin: 0 0 40px 0;
    font-weight: 300;
    opacity: 0.9;
}

.keyword_bar {
    display: flex;
    align-items: center;
	flex-wrap: wrap;
    gap: 20px;
    margin: 0 0 90px 0;
    font-family: 'Unageo', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--infinite_tango);
    opacity: 0.8;
}

.keyword_bar .dot {
    width: 6px;
    height: 6px;
    background-color: var(--text-gray);
    border-radius: 50%;
    opacity: 0.4;
}

/* Das 5-spaltige Grid */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Die Logo-Kacheln */
.logo-card {
    background: rgba(30, 30, 30, 0.7);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.4s ease, border-color 0.4s ease; 
}

.logo-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(40, 40, 40, 0.9);
}

/* Das Logo im Ruhezustand (Morph-Transition) */
.logo-main {
    width: 75%;
	height: 40%;
    filter: grayscale(1) brightness(2);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    opacity: 1;
    pointer-events: none; 
}

/* Mockup-Hintergrund beim Hover */
.mockup-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    border-radius: 7px; 
}

/* Hover-Logik: Reiner Crossfade / Morphing */
.logo-card:hover .mockup-bg {
    opacity: 1; 
}

.logo-card:hover .logo-main {
    opacity: 0;
}

.text-content-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 100px;
    margin-bottom: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 50px;
}

.text-content-2col h3 {
    font-size: 1.5rem;
	line-height: 1.15;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.text-content-2col p {
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--text-gray);
    font-weight: 300;
    margin-top: 0px;
}

/* Die CTA-Spezialkachel */
.cta-card {
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.1) 0%, rgba(30, 30, 30, 0.9) 100%) !important;
    border: 1px solid rgba(255, 69, 0, 0.3) !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.cta-content {
    text-align: center;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cta-small {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-gray);
    opacity: 0.8;
}

.cta-main {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text-light);
}

.cta-icon {
    font-size: 1.5rem;
    color: var(--infinite_tango);
    transition: transform 0.4s ease;
}

/* Der exklusive Glow-Effekt */
.cta-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 69, 0, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Hover-Animationen */
.cta-card:hover {
    background: rgba(255, 69, 0, 0.15) !important;
    border-color: var(--infinite_tango) !important;
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.1);
}

.cta-card:hover .cta-glow {
    opacity: 1;
}

.cta-card:hover .cta-icon {
    transform: translateX(10px);
}

.cta-card:hover .cta-main {
    color: var(--infinite_tango);
}

/* Side-Panel (Glassmorphism & Slide-In) */
.side-panel {
    position: fixed;
    top: 0;
    right: -500px;
    width: 450px;
    height: 100%;
    background: #1a1a1a;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 100;
    padding: 60px 40px 80px 40px;
    box-sizing: border-box;
	overflow-y: auto; 
    scrollbar-width: thin; /* Für Firefox: dezentere Scrollbar */
    scrollbar-color: var(--infinite_tango) transparent;
}

.side-panel.active {
    right: 0;
}

/* Custom Scrollbar für Webkit-Browser */
.side-panel::-webkit-scrollbar {
    width: 5px;
}

.side-panel::-webkit-scrollbar-track {
    background: transparent;
}

.side-panel::-webkit-scrollbar-thumb {
    background: var(--infinite_tango);
    border-radius: 10px;
}

/* Slider im Sidepanel */
.panel-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #252525;
    margin-bottom: 30px;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.panel-slider img.active {
    display: block;
    opacity: 1;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s;
    z-index: 10;
    display: none;
}

.slider-nav:hover {
    background: var(--infinite_tango);
}

.slider-prev { left: 0; border-radius: 0 4px 4px 0; }
.slider-next { right: 0; border-radius: 4px 0 0 4px; }

/* Sidepanel Content Styling */
.panel-content h3 { font-size: 1.6rem; margin-bottom: 10px; font-weight: 500; line-height: 1.1;}
.tagline { color: var(--infinite_tango); font-weight: 600; margin-bottom: 20px; display: block; text-transform: uppercase; font-size: 1.0rem; letter-spacing: 1px; }
.strategy-text { line-height: 1.35; color: var(--text-gray); font-size: 1.10rem; }
.spacing_40 { height: 40px; }
.info-text { line-height: 1.35; color: var(--text-gray); font-size: 1.05rem; font-weight: 300; margin-top: 30px; opacity: 0.8; }


.brand-colors-container { margin-top: 40px; }
.brand-colors-container h4 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); margin-bottom: 15px; }
.color-swatch-grid { display: flex; gap: 6px; }
.color-swatch { width: 45px; height: 45px; border-radius: 2px; border: 1px solid rgba(255,255,255,0.1); }

.cta-btn {
    display: inline-block;
    margin-top: 40px;
    padding: 15px 30px;
    background: white;
    color: black;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border-radius: 4px;
    text-align: center;
}

.cta-btn:hover { background: var(--infinite_tango); color: white; }

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Background Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    z-index: 90;
}

/* Responsivität */
@media (max-width: 1400px) {
    .logo-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1100px) {
    .logo-grid { grid-template-columns: repeat(3, 1fr); }
    .agency-logo { width: 150px; }
}

@media (max-width: 768px) {
	body { padding: 30px 0; }
    .logo-grid { grid-template-columns: repeat(2, 1fr); }
	.logo-card { 
        aspect-ratio: 5 / 3; 
    }
	.logo-main { width: 60%; height: 40%; }
    h1 { font-size: 1.4rem; margin: 100px 0 20px 0; }
	h2 { font-size: 2.4rem; margin-top: 0px; margin: 0 0 4px 0; }
	.h2_subheadline { font-size: 1.2rem; margin: 0 0 20px 0; }
	.intro_text { font-size: 0.9rem; line-height: 1.3; margin: 0 0 20px 0; }
    .agency-logo { width: 130px; top: -100px; } /* Etwas hochschieben auf Mobil */
	.keyword_bar { font-size: 0.8rem; line-height: 1.1; gap: 10px 20px; margin-bottom: 60px; }    
    .keyword_bar .dot { display: none; }
	.text-content-2col { grid-template-columns: 1fr; gap: 40px; margin-top: 60px; padding-top: 40px; }  
	.text-content-2col h3 { font-size: 1.15rem; margin-bottom: 8px; }  
	.text-content-2col p { font-size: 0.9rem; }  
    .side-panel { width: 100%; right: -100%; }
	.panel-content h3 { font-size: 1.2rem; margin-bottom: 8px;}
	.tagline { margin-bottom: 12px; font-size: 0.8rem; }
	.strategy-text { font-size: 1.0rem; }
	.brand-colors-container h4 { font-size: 1.0rem; margin-bottom: 10px; }
	.color-swatch { width: 32px; height: 32px; }
	.info-text { font-size: 0.9rem; }
	.main-footer { margin-top: 60px; text-align: center; }
}

@media (max-width: 480px) {
    .logo-grid { grid-template-columns: repeat(1, 1fr); }
}

/* Footer Styling */
.main-footer {
    margin-top: 50px;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer-spacing {
    height: 10px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    opacity: 0.6; /* Dezentere Optik */
    transition: opacity 0.3s ease;
}

.footer-content:hover {
    opacity: 1; /* Erhellt sich beim Drüberfahren */
}

.main-footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-footer a:hover {
    color: var(--infinite_tango);
}

.footer-info strong {
    letter-spacing: 1px;
    font-weight: 600;
}

.footer-copyright {
    margin-top: 10px;
    font-size: 0.75rem;
    color: var(--text-gray);
}

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

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

#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;
	}
    .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;
	}
}




/****************************************************************************
--------------------------  GUERILLA MARKETING STYLES                         
 ****************************************************************************/

.body-guerilla {
    background-image: url('../landingpages/graphics/infinite-guerilla-marketing-ambient-media-oesterreich-background.webp');
}

.guerilla-grid {
    position: relative;
    z-index: 5;
    background: transparent; 
    overflow: visible;
    cursor: none; 
}

/* Die Taschenlampe */
#flashlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    background: radial-gradient(
        circle var(--flashlight-size, 150px) at var(--x) var(--y), 
        transparent 0%,
        rgba(0, 0, 0, var(--flashlight-opacity-outer, 0.95)) 100%
    );
}

.guerilla-card {
    background: #151515 !important;
    border: 1px solid #222 !important;
    position: relative;
    overflow: hidden; /* Wichtig, damit das schräge Overlay nicht übersteht */
}

/* Das echte Bild - liegt UNTER dem Overlay */
.guerilla-reveal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0; /* Standardmäßig unsichtbar */
    transition: opacity 0.5s ease;
    z-index: 1;
}

/* Censored Overlay - Deine diagonalen Streifen */
.censored-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(
        45deg,
        #111,
        #111 10px,
        #151515 10px,
        #151515 20px
    );
    z-index: 3; /* Liegt über dem Bild */
    transition: opacity 0.4s ease;
    opacity: 1;
}

.censored-text {
    background: #FF3300; /* Infinite Tango */
    color: white;
    padding: 5px 15px;
    font-weight: 900;
    font-size: 1.2rem;
    transform: rotate(-10deg);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Reveal Logik beim Hover */
.guerilla-card:hover .censored-overlay {
    opacity: 0; /* Streifen verschwinden */
}

.guerilla-card:hover .guerilla-reveal-img {
    opacity: 1; /* Bild wird voll sichtbar */
}

/* --- GUERILLA LIGHTBOX STYLES --- */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95); /* Fast schwarzer Hintergrund */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3000; /* Muss höher sein als Flashlight (1000) und Cookie Bar (2000) */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-in-out;
}

/* Wird per JS hinzugefügt */
.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

#lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border: 2px solid var(--infinite_tango);
    box-shadow: 0 0 40px rgba(255, 51, 0, 0.4);
    object-fit: contain;
}

#lightbox-caption {
    margin-top: 25px;
    color: #FFFFFF;
    font-size: 1.6rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Unageo', sans-serif;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #FFFFFF;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-lightbox:hover {
    color: var(--infinite_tango);
}

/* Verhindert das Scrollen im Hintergrund, wenn die Lightbox offen ist */
body.modal-open {
    overflow: hidden;
}

/* GUERILLA AUDIO CARD */

.audio-card .guerilla-reveal-img {
    filter: brightness(0.4) blur(1px); /* Bild dezent im Hintergrund */
}

.audio-play-indicator {
    position: absolute;
    z-index: 2;
    opacity: 0;
    transition: all 0.4s ease;
    transform: scale(0.5);
}

.guerilla-card:hover .audio-play-indicator {
    opacity: 1;
    transform: scale(1);
}

.play-icon {
    font-size: 4rem;
    color: var(--infinite_tango);
    text-shadow: 0 0 20px rgba(255, 51, 0, 0.5);
}

/* Puls-Effekt wenn Audio spielt */
.audio-card.playing {
    border-color: var(--infinite_tango) !important;
    box-shadow: inset 0 0 20px rgba(255, 51, 0, 0.3);
}

/* GUERILLA VIDEO CARD */

.video-play-indicator {
    position: absolute;
    z-index: 2;
    opacity: 0;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%) scale(0.5);
    top: 50%;
    left: 50%;
}

.video-card:hover .video-play-indicator {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.video-card .guerilla-reveal-img {
    filter: brightness(0.7); /* Video-Thumbnail etwas dunkler für den Play-Button */
}



/* --- GUERILLA SECRET CARD & MODAL --- */

.secret-card {
    cursor: pointer;
    min-height: 200px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
	box-sizing: border-box; 
    width: 100%; 
    max-width: 100%;
}

/* Vorschaubild der Box (verschlossen) */
.lock-preview-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0; 
    transition: opacity 0.5s ease;
    z-index: 1;
}

.secret-card:not(.unlocked):hover .lock-preview-img {
    opacity: 1;
}

.secret-card.unlocked .lock-preview-img {
    display: none !important;
}

/* Modal Hintergrund - EXTREM HOCH gesetzt */
.password-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;  /* Sicherstellen, dass es den ganzen Viewport füllt */
    height: 100vh;
    background: rgba(0, 0, 0, 0.98); 
    display: none; 
    align-items: center;
    justify-content: center;
    /* Dieser Z-Index muss höher sein als der vom Flashlight-Element! */
    z-index: 9999 !important; 
    cursor: default !important;
    /* Verhindert, dass Taschenlampen-Effekte von "unten" durchscheinen */
    pointer-events: all; 
}

/* Die Eingabebox */
.password-box {
    background: #111;
    padding: 50px 40px;
    border: 1px solid var(--infinite_tango);
    text-align: center;
    position: relative;
    box-shadow: 0 0 50px rgba(255, 51, 0, 0.3);
    border-radius: 4px;
    cursor: default;
    /* Sicherstellen, dass die Box innerhalb des Modals auch oben liegt */
    z-index: 10000; 
}

/* ... Rest der Styles (Header, Sub, Inputs) bleibt gleich ... */

.password-box .panel-header {
    color: var(--infinite_tango);
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 5px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.password-box .panel-sub {
    color: #666;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.code-inputs {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.code-field {
    width: 45px;
    height: 60px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: var(--infinite_tango);
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.2s ease;
    cursor: text;
}

.code-field:focus {
    border-color: var(--infinite_tango);
    background: #222;
    outline: none;
    box-shadow: 0 0 15px rgba(255, 51, 0, 0.3);
}

.code-field.success {
    border-color: #00FF00 !important;
    background: rgba(0, 255, 0, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
    color: #00FF00 !important;
}

.unlock-trigger-btn {
    margin-top: 30px;
    padding: 15px 40px;
    background: transparent;
    border: 2px solid var(--infinite_tango);
    color: var(--infinite_tango);
    font-weight: 900;
    letter-spacing: 3px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
}

.unlock-trigger-btn:hover {
    background: var(--infinite_tango);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 51, 0, 0.4);
}

.success-msg-box {
    display: none; 
    margin-top: 30px;
    color: #00FF00;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 1.2rem;
    animation: fadeIn 0.5s ease forwards;
}

.error-msg {
    color: var(--infinite_tango);
    font-size: 0.9rem;
    font-weight: bold;
    margin-top: 25px;
    letter-spacing: 1px;
    visibility: hidden;
    height: 20px;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #444;
    font-size: 35px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
    z-index: 10001;
}

.close-modal:hover { 
    color: #FFFFFF; 
}

/* Download Bereich */
.download-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7); 
    opacity: 0; 
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.secret-card.unlocked .download-link {
    pointer-events: auto; 
}

.secret-card.unlocked:hover .download-link {
    opacity: 1;
}

.download-icon-img {
    width: 32%; 
    height: auto; 
    display: block;
    filter: drop-shadow(0 0 15px rgba(0, 255, 0, 0.5)); 
    transition: transform 0.3s ease;
}

.download-link:hover .download-icon-img {
    transform: scale(1.1); 
}

/* Animationen */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.shake { 
    animation: shake 0.2s ease-in-out 0s 2; 
    border-color: #ff0000 !important; 
}

/* --- MOBILE OPTIMIERUNG FÜR DIE EINGABEMASKE --- */

@media (max-width: 600px) {
    .password-box {
        padding: 30px 15px; /* Weniger Padding an den Seiten */
        width: 95%;         /* Box nutzt fast die volle Breite */
    }

    .code-inputs {
        gap: 4px;           /* Kleinerer Abstand zwischen den Feldern */
    }

    .code-field {
        /* Wir nutzen 'vw' (Viewport Width), damit die Felder 
           proportional zum Display schrumpfen */
        width: 8vw;         
        max-width: 35px;    /* Deckelung nach oben */
        height: 50px;       /* Etwas niedriger auf Mobile */
        font-size: 1.4rem;  /* Kleinere Schrift, damit sie ins Feld passt */
        margin: 0;          /* Sicherstellen, dass kein extra Margin stört */
    }

    .password-box .panel-header {
        font-size: 1.3rem;  /* Headline etwas kleiner */
    }
}




