/* ============================================================
   1. GOOGLE FARBPALETTE & VARIABLEN
   ============================================================ */
:root {
    --g-blue: #4285F4;
    --g-red: #EA4335;
    --g-yellow: #FBBC05;
    --g-green: #34A853;
    --g-gray: #70757a;
    --g-bg-gray: #f8f9fa;
    --g-text: #3c4043;
    --g-border: #dadce0;
}

/* ============================================================
   2. BASIS RESET & GLOBAL STYLES
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: white;
    color: var(--g-text);
    padding-top: 70px;
    line-height: 1.6;
}

/* Hilfsklassen für Google-Farben */
.g-blue { color: var(--g-blue); }
.g-red { color: var(--g-red); }
.g-yellow { color: var(--g-yellow); }
.g-green { color: var(--g-green); }
.g-gray { color: var(--g-gray); }

.g-bg-blue { background-color: var(--g-blue); }
.g-bg-red { background-color: var(--g-red); }
.g-bg-yellow { background-color: var(--g-yellow); }
.g-bg-green { background-color: var(--g-green); }

/* ============================================================
   3. NAVIGATION (Navbar)
   ============================================================ */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 0 10%;
    height: 70px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #e0e0e0;
}

.logo-link {
    text-decoration: none;
}

.logo {
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links a {
    color: #5f6368;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--g-blue);
    background-color: var(--g-bg-gray);
    border-radius: 4px;
}

#menu-toggle, .hamburger {
    display: none;
}

/* ============================================================
   4. HERO BEREICH (Startseite)
   ============================================================ */
.hero {
    padding: 60px 20px 30px 20px;
    text-align: center;
    background-color: white;
}

.google-title { 
    font-size: 5rem; 
    font-weight: 500; 
    letter-spacing: -4px; 
    margin-bottom: 15px; 
}

.hero p {
    font-size: 1.4rem;
    color: #5f6368;
    margin-bottom: 15px;
}

.google-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
}

/* ============================================================
   5. CONTAINER & ÜBER MICH (Inkl. Foto)
   ============================================================ */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.content-section {
    margin-bottom: 50px;
}

.content-section h2 { 
    font-size: 1.8rem; 
    margin-bottom: 25px; 
    padding-bottom: 10px; 
    border-bottom: 4px solid #eee; 
}

.border-blue { border-color: var(--g-blue) !important; }
.border-green { border-color: var(--g-green) !important; }

/* Über mich Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: flex-start;
}

/* Punkt-Aufzählung */
.google-list {
    list-style: none;
    margin-top: 15px;
}

.google-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: #5f6368;
}

.google-list .dot {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
}

/* Responsive Profilbild Karte */
.profile-card { 
    height: 350px; 
    background: var(--g-bg-gray); 
    border-radius: 12px; 
    border: 1px solid var(--g-border); 
    overflow: hidden;
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Verhindert Verzerrung */
    object-position: center;
    transition: transform 0.5s ease;
}

.profile-card:hover .profile-img {
    transform: scale(1.05);
}

/* ============================================================
   6. INTERESSEN-KARTEN (Anklickbar)
   ============================================================ */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-grid a.info-card {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.info-card { 
    padding: 30px; 
    border-radius: 12px; 
    border: 1px solid var(--g-border); 
    background: white;
    transition: box-shadow 0.3s, transform 0.2s, border-color 0.2s; 
}

.info-card:hover { 
    box-shadow: 0 8px 25px rgba(32,33,36,0.15);
    transform: translateY(-5px);
    border-color: var(--g-blue);
}

.b-red h3 { color: var(--g-red); }
.b-yellow h3 { color: var(--g-yellow); }
.b-blue h3 { color: var(--g-blue); }

/* ============================================================
   7. UNTERSEITEN & RECHTLICHES (Hübscheres Impressum)
   ============================================================ */
.content-card, .legal-card {
    background: white;
    border-radius: 20px;
    border: 1px solid var(--g-border);
    padding: 50px;
    margin-top: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.legal-header { text-align: center; margin-bottom: 40px; }
.google-title-small { font-size: 2.5rem; font-weight: 500; letter-spacing: -1px; margin-bottom: 10px; }
.google-bar-small { display: flex; justify-content: center; gap: 8px; }

.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.legal-section {
    padding: 20px; border-radius: 12px; background: var(--g-bg-gray);
    transition: transform 0.2s ease, background 0.2s ease;
}
.legal-section:hover { transform: translateY(-3px); background: white; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.section-icon { font-size: 1.5rem; margin-bottom: 10px; }
.full-width { grid-column: span 2; }

/* Inhalts-Unterseiten spezifisch */
.category-tag { font-size: 0.85rem; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; display: block; }
.page-title { font-size: 2.8rem; color: var(--g-text); margin-bottom: 10px; }
.subtitle { font-size: 1.2rem; color: #5f6368; margin-bottom: 40px; }
.main-text p { margin-bottom: 20px; font-size: 1.1rem; line-height: 1.8; }
.back-link { color: var(--g-blue); text-decoration: none; font-weight: 500; }

/* ============================================================
   8. FOOTER
   ============================================================ */
.footer-bottom { 
    text-align: center; 
    padding: 40px 20px; 
    border-top: 1px solid #e0e0e0; 
    font-size: 0.85rem; 
    color: #7f8c8d; 
    background-color: var(--g-bg-gray); 
}

.footer-bottom a { color: var(--g-blue); text-decoration: none; }

/* ============================================================
   9. MOBILE ANPASSUNGEN (Handy & Tablet)
   ============================================================ */
@media (max-width: 768px) {
    .hamburger { display: block; font-size: 1.5rem; cursor: pointer; }
    .nav-links {
        display: none; flex-direction: column; position: absolute; top: 70px; left: 0;
        width: 100%; background: white; padding: 20px; border-bottom: 1px solid #e0e0e0;
    }
    #menu-toggle:checked ~ .nav-links { display: flex; }
    .google-title { font-size: 3.2rem; letter-spacing: -2px; }
    .hero { padding: 40px 20px 10px 20px; }
    .about-grid { grid-template-columns: 1fr; }
    .profile-card { height: auto; max-height: 400px; margin-top: 20px; }
    .legal-grid { grid-template-columns: 1fr; }
    .full-width { grid-column: span 1; }
    .legal-card, .content-card { padding: 30px 20px; }
}