/* 1. RESET & BASICS */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* System-Schriftstapel (Modern, performant, DSGVO-konform ohne Google Fonts) */
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    
    /* Farbvariablen für einfaches Customizing */
    --color-primary: #2563eb;
    --color-primary-hover: #1d4ed8;
    --color-dark: #1e293b;
    --color-light: #f8fafc;
    --color-text: #334155;
    --color-bg: #ffffff;
    
    --gap: 1.5rem;
    --border-radius: 8px;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

p {
  margin: 10px 0;
}
/* 2. LAYOUT UTILITIES */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--gap);
}

/* 3. HEADER & NAV (Flexbox) */
.main-header {
    background-color: var(--color-dark);
    color: white;
    padding: 1rem 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: var(--gap);
}

.main-nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}
.main-nav .smald a {
    font-weight: 300;
}

.main-nav a:hover {
    color: white;
}

/* 4. MAIN CONTENT */
.main-content {
    flex: 1;
    padding: 3rem var(--gap);
}

.hero {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 {
    font-size: 2.0rem;
    color: var(--color-dark);
    margin-bottom: 1rem;
    line-height: 2rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}
.pic1, .pic2 {
  width: 100%;
  height: auto;
  max-width: 735px;
  margin-bottom: 20px;
}
.pic1 {
  max-width: 735px;
}
.pic2 {
  max-width: 1200px;
}

/* Button */
.btn {
    display: inline-block;
    background-color: var(--color-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: background-color 0.2s;
}

.btn:hover {
    background-color: var(--color-primary-hover);
}

/* Grid Layout (Modernes responsives CSS Grid ohne Media Queries) */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--gap);
    margin-bottom: 40px;
}

.card {
    background-color: var(--color-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid #e2e8f0;
}

.card h2 {
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

/* 5. FOOTER */
.main-footer {
    background-color: var(--color-dark);
    color: #94a3b8;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: auto;
}

/* 6. COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-dark);
    color: white;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 1rem 0;
    animation: slideUp 0.4s ease-out;
}

.cookie-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--gap);
    gap: var(--gap);
}

.cookie-container p {
    font-size: 0.95rem;
    color: #cbd5e1;
}

.cookie-container strong {
    color: white;
}

/* Kleinerer Button für den Hinweis */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Animation beim Laden */
@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Responsive Anpassung für Smartphones */
@media (max-width: 600px) {
    .cookie-container {
        flex-direction: column;
        text-align: center;
    }
    .btn-sm {
        width: 100%;
    }
}