/* ========================================
   DYNAMISCHER BRUTALISM DESIGN SYSTEM
   ======================================== */

:root {
    --primary: #5d4f9c;
    --accent: #ffc157;
    --dark: #1a1a1a;
    --light: #ffffff;
    --gray: #f5f5f5;
    --border: #1a1a1a;
    --spacing: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.05em;
    font-weight: 700;
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--light);
    border-bottom: 4px solid var(--dark);
    z-index: 1000;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--dark);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.logo-box {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    transition: color 300ms ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.nav-social {
    display: flex;
    gap: 0.5rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.25rem;
    text-decoration: none;
    transition: background-color 300ms ease;
}

.social-icon:hover {
    background-color: var(--accent);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    margin-top: 80px;
    padding: 4rem 0;
    background-color: var(--primary);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="diag" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><line x1="0" y1="0" x2="100" y2="100" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></pattern></defs><rect width="1200" height="600" fill="%235d4f9c"/><rect width="1200" height="600" fill="url(%23diag)"/></svg>');
    opacity: 0.3;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text {
    color: var(--light);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 5rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-meta {
    font-size: 1.125rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-portrait {
    position: relative;
}

.portrait-placeholder {
    aspect-ratio: 1;
    border: 4px solid var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--light);
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
}

.hero-diagonal {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 100px;
    background-color: var(--light);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border: 3px solid transparent;
    transition: all 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    font-family: 'IBM Plex Sans', sans-serif;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--dark);
    border-color: var(--accent);
}

.btn-primary:hover {
    transform: scale(1.05);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light);
    border-color: var(--light);
}

.btn-secondary:hover {
    background-color: var(--light);
    color: var(--primary);
    transform: scale(1.05);
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    padding: 4rem 0;
    background-color: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.section-title {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.about-content {
    border-left: 4px solid var(--accent);
    padding-left: 2rem;
}

.about-content p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    border: 3px solid var(--primary);
    padding: 2rem;
    transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-family: 'Bebas Neue', sans-serif;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #666;
    letter-spacing: 0.05em;
}

/* ========================================
   TOPICS PREVIEW
   ======================================== */

.topics-preview {
    padding: 4rem 0;
    background-color: var(--gray);
}

.topics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .topics-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.topic-card {
    border: 3px solid var(--primary);
    padding: 2rem;
    background-color: var(--light);
    transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.topic-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.topic-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.topic-desc {
    color: #666;
    font-size: 0.95rem;
}

.text-center {
    text-align: center;
}

/* ========================================
   TOPICS DETAILED PAGE
   ======================================== */

.page-hero {
    margin-top: 80px;
    padding: 3rem 0;
    background-color: var(--light);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: color 300ms ease;
}

.back-link:hover {
    color: var(--accent);
}

.page-title {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.125rem;
    color: #666;
    max-width: 600px;
}

.topics-section {
    padding: 4rem 0;
}

.topics-detailed-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .topics-detailed-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.detailed-topic-card {
    border: 3px solid var(--primary);
    padding: 2rem;
    background-color: var(--light);
    transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.detailed-topic-card:hover {
    transform: scale(1.02);
}

.detailed-topic-card:nth-child(even) {
    margin-top: 2rem;
}

.detailed-topic-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detailed-topic-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.detailed-topic-title {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.detailed-topic-description {
    color: #666;
    font-size: 0.95rem;
}

.topic-divider {
    height: 3px;
    background-color: var(--primary);
    margin: 1.5rem 0;
}

.topic-points {
    list-style: none;
}

.topic-points li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.95rem;
}

.topic-points li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
}

/* ========================================
   SOCIAL SECTION
   ======================================== */

.social-section {
    padding: 4rem 0;
    background-color: var(--light);
    border-top: 4px solid var(--dark);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.social-card {
    border: 3px solid var(--primary);
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: var(--dark);
    background-color: var(--light);
    transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-icon-large {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.social-card p {
    font-weight: 600;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    padding: 4rem 0;
    background-color: var(--gray);
    border-top: 4px solid var(--dark);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 3rem 0;
    border-top: 4px solid var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.footer-subtitle {
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: color 300ms ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer p {
    color: #999;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #999;
}

/* ========================================
   ANIMATIONS
   ======================================== */

.fade-in {
    animation: fadeIn 600ms ease-in-out forwards;
}

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

.slide-in-right {
    animation: slideInRight 600ms ease-out forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hover-scale {
    transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}


/* ========================================
   PORTRAIT IMAGE STYLING
   ======================================== */

.portrait-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 4px solid var(--light);
    display: block;
    aspect-ratio: 1;
}

/* ========================================
   LEGAL PAGES (Impressum & Datenschutz)
   ======================================== */

.legal-section {
    padding: 4rem 0;
    background-color: var(--light);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.75rem;
    color: var(--primary);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 1rem;
}

.legal-content h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #666;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: #666;
}

.legal-content a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid var(--primary);
}

.legal-content a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.social-handle {
    font-size: 0.85rem;
    color: #999;
    margin-top: 0.25rem;
}


/* ========================================
   EXPERTISE BOX
   ======================================== */

.expertise-box {
    background: linear-gradient(135deg, rgba(93, 79, 156, 0.08), rgba(255, 193, 87, 0.05));
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.expertise-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.expertise-text {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}
