/* ============================================
   GOOGLE DOODLES INFO - STYLESHEET
   Theme: Google Colors (Blau, Rot, Gelb, Grün)
   ============================================ */

/* VARIABLES */
:root {
    --google-blue: #4285F4;
    --google-red: #EA4335;
    --google-yellow: #FBBC05;
    --google-green: #34A853;
    --primary: #4285F4;
    --primary-dark: #3367D6;
    --secondary: #EA4335;
    --secondary-dark: #C5221F;
    --accent: #34A853;
    --accent-yellow: #FBBC05;
    --white: #FFFFFF;
    --light: #F8F9FA;
    --light-gray: #E8EAED;
    --medium-gray: #BDC1C6;
    --dark-gray: #5F6368;
    --dark: #202124;
    --black: #171717;
    --text-dark: #202124;
    --text-medium: #5F6368;
    --text-light: #9AA0A6;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-strong: rgba(0, 0, 0, 0.2);
    --glow-blue: rgba(66, 133, 244, 0.3);
    --glow-red: rgba(234, 67, 53, 0.3);
}

/* RESET & BASE */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    font-size: 16px;
}
body {
    font-family: 'Google Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}
a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--primary-dark);
}
img {
    max-width: 100%;
    height: auto;
}

/* HEADER */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--light-gray);
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}
#header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px var(--shadow);
}
.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo:hover {
    color: var(--primary);
}
.logo-badge {
    font-weight: 600;
    color: var(--text-dark);
}
.logo-google {
    display: inline-flex;
    gap: 1px;
}
.logo-google span:nth-child(1) { color: var(--google-blue); }
.logo-google span:nth-child(2) { color: var(--google-red); }
.logo-google span:nth-child(3) { color: var(--google-yellow); }
.logo-google span:nth-child(4) { color: var(--google-blue); }
.logo-google span:nth-child(5) { color: var(--google-green); }
.logo-google span:nth-child(6) { color: var(--google-red); }

/* NAVIGATION */
#nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-link {
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 24px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.nav-link:hover {
    background: var(--light);
    color: var(--primary);
}
.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    margin-left: 0.5rem;
}
.nav-cta:hover {
    background: var(--primary-dark);
    color: var(--white) !important;
}

/* DROPDOWN */
.nav-dropdown {
    position: relative;
}
.nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-strong);
    min-width: 220px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    border: 1px solid var(--light-gray);
}
.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.dropdown-menu a:hover {
    background: var(--light);
    color: var(--primary);
}
.dropdown-icon {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

/* MOBILE TOGGLE */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}
.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* HERO SECTION */
.hero {
    padding: 8rem 1.5rem 4rem;
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, var(--glow-blue) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, var(--glow-red) 0%, transparent 40%);
    opacity: 0.5;
    pointer-events: none;
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
.hero-google {
    display: inline-flex;
    gap: 2px;
}
.hero-google span:nth-child(1) { color: var(--google-blue); }
.hero-google span:nth-child(2) { color: var(--google-red); }
.hero-google span:nth-child(3) { color: var(--google-yellow); }
.hero-google span:nth-child(4) { color: var(--google-blue); }
.hero-google span:nth-child(5) { color: var(--google-green); }
.hero-google span:nth-child(6) { color: var(--google-red); }
.hero p {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero-tagline {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-top: -0.5rem;
    margin-bottom: 2rem;
}

/* PAGE HERO (Unterseiten) */
.page-hero {
    padding: 7rem 1.5rem 3rem;
    background: var(--light);
    text-align: center;
}
.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
}
.page-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}
.page-hero-tagline {
    font-size: 1.1rem;
    color: var(--text-medium);
}

/* BREADCRUMB */
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}
.breadcrumb a {
    color: var(--primary);
}
.breadcrumb a:hover {
    text-decoration: underline;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 24px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--glow-blue);
}
.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}
.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* SECTIONS */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.features-section {
    padding: 5rem 1.5rem;
    background: var(--white);
}
.info-section {
    padding: 5rem 1.5rem;
    background: var(--light);
}
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-tag {
    display: inline-block;
    background: var(--primary-dark);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.section-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text-dark);
}

/* INFO GRID */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.info-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 10px var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
}
.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-strong);
}
.info-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.info-card h3 span {
    font-size: 1.5rem;
}
.info-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CARD LIST (Streich-Cards aus Halloween umbenannt) */
.card-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.doodle-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: 0 2px 10px var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
}
.doodle-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 20px var(--shadow-strong);
    border-color: var(--primary);
}
.doodle-icon {
    font-size: 2.5rem;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border-radius: 12px;
}
.doodle-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}
.doodle-content p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.5;
}
.doodle-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}
.doodle-meta span {
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: var(--light);
    color: var(--text-medium);
}

/* COLOR TAGS */
.tag-blue { background: rgba(66, 133, 244, 0.15); color: var(--google-blue); }
.tag-red { background: rgba(234, 67, 53, 0.15); color: var(--google-red); }
.tag-yellow { background: rgba(251, 188, 5, 0.2); color: #A66E00; }
.tag-green { background: rgba(52, 168, 83, 0.15); color: var(--google-green); }

/* GOOGLE COLORS DECORATION */
.google-bar {
    height: 4px;
    background: linear-gradient(90deg, 
        var(--google-blue) 0%, var(--google-blue) 25%,
        var(--google-red) 25%, var(--google-red) 50%,
        var(--google-yellow) 50%, var(--google-yellow) 75%,
        var(--google-green) 75%, var(--google-green) 100%
    );
}

/* TIMELINE */
.timeline {
    position: relative;
    padding-left: 2rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--google-blue), var(--google-red), var(--google-yellow), var(--google-green));
    border-radius: 3px;
}
.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary);
}
.timeline-year {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25rem;
}
.timeline-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}
.timeline-desc {
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* STATS */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}
.stat-item {
    padding: 1.5rem;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label {
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* CTA SECTION */
.cta-section {
    padding: 4rem 1.5rem;
    background: var(--light);
    text-align: center;
}

/* LEGAL CONTENT */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}
.legal-content h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 2rem 0 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
}
.legal-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.legal-content h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin: 1.5rem 0 0.75rem;
}
.legal-content p {
    color: var(--text-medium);
    margin-bottom: 1rem;
}
.legal-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}
.legal-content li {
    color: var(--text-medium);
    margin-bottom: 0.5rem;
}

/* FOOTER */
footer {
    background: #1a1a1a;
    color: #E8EAED;
    padding: 4rem 0 0;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}
.footer-brand .logo {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: inline-flex;
}
.footer-brand .logo .logo-badge {
    color: var(--white);
}
.footer-brand p {
    color: #FFFFFF;
    font-size: 0.9rem;
    line-height: 1.6;
}
.footer-column h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}
.footer-column ul {
    list-style: none;
}
.footer-column li {
    margin-bottom: 0.75rem;
}
.footer-column a {
    color: #FFFFFF;
    font-size: 0.9rem;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}
.footer-column a:hover {
    color: #8AB4F8;
    text-decoration: underline;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-copyright {
    color: #FFFFFF;
    font-size: 0.85rem;
}
.footer-copyright a {
    color: #8AB4F8;
    text-decoration: underline;
}
.footer-links {
    display: flex;
    gap: 1.5rem;
}
.footer-links a {
    color: #FFFFFF;
    font-size: 0.85rem;
}
.footer-links a:hover {
    color: #8AB4F8;
    text-decoration: underline;
}

/* ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* MOBILE RESPONSIVE */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-brand {
        grid-column: span 3;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    #nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 5rem 1.5rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px var(--shadow);
        overflow-y: auto;
        gap: 0;
    }
    #nav.active {
        right: 0;
    }
    .nav-link {
        padding: 1rem;
        border-radius: 8px;
    }
    .nav-cta {
        margin: 1rem 0 0 0;
        text-align: center;
        justify-content: center;
    }
    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0;
        background: var(--light);
        border-radius: 8px;
        margin-top: 0.5rem;
        transition: max-height 0.3s ease, visibility 0.3s ease, padding 0.3s ease;
    }
    .nav-dropdown.active .dropdown-menu {
        visibility: visible;
        max-height: 500px;
        padding: 0.5rem;
    }
    .hero {
        padding: 6rem 1.5rem 3rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-brand {
        grid-column: span 2;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }
    .btn-group {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
    .doodle-card {
        flex-direction: column;
        text-align: center;
    }
    .doodle-icon {
        margin: 0 auto;
    }
    .doodle-meta {
        justify-content: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-brand {
        grid-column: span 1;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
