@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=JetBrains+Mono:wght@700&display=swap');

html {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    position: relative;
    scroll-behavior: smooth; /* Sanftes Scrollen global aktivieren */
}

*, *::before, *::after {
    box-sizing: inherit;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; /* Globale Übergänge, transform entfernt */
}

body {
    width: 100%;
    height: 100%;
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    background: #e4eefc; /* Passender, leicht dunklerer Pastellblau-Hintergrund */
    color: #212529; /* Dunkler Text */
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overscroll-behavior: none;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden; /* Verhindert horizontales Scrollen durch Animationen */
}

/* HEADER, Main Spy Font Title */
h1 {
    background: linear-gradient(99deg, #007bff 44%, #0056b3 80%, #fd7e14 94%); /* Neuer Farbverlauf */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.1em;
    font-size: 2.65rem;
    margin-bottom: 16px;
    font-family: 'JetBrains Mono', 'Roboto', sans-serif;
    text-shadow: 0 4px 15px rgba(0, 123, 255, 0.2); /* Angepasster Textschatten */
    user-select: none;
    filter: drop-shadow(0 3px 10px rgba(0, 123, 255, 0.15));
    animation: titleShimmer 3s infinite alternate ease-in-out;
    position: relative; /* Keep for stacking context with mascot */
}

h2 {
    color: #0056b3; /* Dunkleres Blau für Unterüberschriften */
    margin-bottom: 16px;
    font-family: 'JetBrains Mono', 'Roboto', sans-serif;
    font-size: 1.19rem;
    font-weight: 700;
    text-shadow: none; /* Textschatten entfernt für besseren Kontrast auf hellem Grund */
    letter-spacing: 0.07em;
    animation: fadeInText 0.6s ease-out 0.2s both;
    margin-top: 25px;
    z-index: 1; /* Stellt sicher, dass es über den Titel-Effekten schwebt */
}

/* Spy doodle icons, using emoji for atmosphere. */
h1:before {
    content: '';
    margin-right: 0;
    font-size: 0;
    transition: transform 0.3s ease-out;
}

h1:after {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    background-image: url('../lupe.png'); /* IMPORTANT: Adjusted path */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 8px;
    vertical-align: middle;
    filter: invert(1); /* Invertiert die Lupe, um auf hellem Hintergrund sichtbar zu sein */
}


input[type="text"]::placeholder,
input[type="number"]::placeholder {
    color: #6c757d; /* Dunkleres Grau für Platzhalter */
    font-style: italic;
}

::-webkit-scrollbar {
    width: 8px;
    background: #e9ecef; /* Hellerer Scrollbar-Hintergrund */
}
::-webkit-scrollbar-thumb {
    background: #adb5bd; /* Dunklerer Scrollbar-Daumen */
    border-radius: 9px;
    transition: background-color 0.2s ease-out;
}
::-webkit-scrollbar-thumb:hover {
    background: #6c757d; /* Noch dunklerer Daumen beim Hover */
}

/* Helper class */
.hidden {
    display: none !important;
}

/* Allgemeine Verbesserungen für Touch-Interaktionen */
button, .nav-button, .action-button, .nav-button-secondary, .stepper button, .vote-skip-btn {
    -webkit-tap-highlight-color: transparent; /* Entfernt das standardmäßige blaue Aufleuchten bei Touch */
    user-select: none; /* Verhindert Textauswahl beim Tippen */
}

/* Anpassung für Titel im Startbildschirm */
#start-screen-mascot {
    width: 140px;
    height: auto;
    margin-top: 3vh;
    margin-bottom: -15px;
    animation: subtleFloat 5s ease-in-out infinite;
    filter: drop-shadow(0 8px 12px rgba(0,0,0,0.1)); /* Weicherer Schatten */
    z-index: 1;
}

#screen-start h1 {
    font-family: 'JetBrains Mono', 'Roboto', sans-serif;
    font-size: 2.8em;
    margin: 20px 0;
    text-shadow: 0 0 15px rgba(0, 123, 255, 0.25); /* Angepasster Schatten an die neue Akzentfarbe */
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85); /* Heller Overlay */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.cookie-banner.visible {
    display: flex;
}

.cookie-msg {
    background: #ffffff; /* Weißer Hintergrund */
    border: 1px solid #dee2e6; /* Hellerer Rand */
    box-shadow: 0 8px 32px rgba(0,0,0,0.1); /* Subtiler Schatten */
    padding: 30px;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    color: #495057; /* Dunklerer Text für den Cookie-Hinweis */
    animation: fadeInScaleUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cookie-msg span {
    display: block;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 0.95em;
}

#btn-accept-cookies {
    background: linear-gradient(145deg, #007bff, #0056b3); /* Blau-Verlauf für den Button */
    color: #ffffff; /* Weißer Text */
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1em;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2); /* Angepasster Schatten */
}

#btn-accept-cookies:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3); /* Stärkerer Schatten beim Hover */
}


/* Barrierefreiheit und Responsivität */
@media (max-width: 640px) {
    .cookie-msg {
        padding: 20px;
    }
} 