/**
 * Daniela Hofmeister Website - Main Stylesheet
 * 
 * Website: daniela-hofmeister.de
 * Entwickelt von: Florian Hoheisel
 * Kontakt: Hoheisel-florian@gmx.net
 * Entwicklungszeitraum: Oktober 2025
 * Technologie: HTML5, CSS3, JavaScript (Vanilla)
 */

/* CSS Variables - CSU Design System */
@font-face {
    font-family: 'Creattion Demo';
    src: url('../Creattion Demo.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Google Fonts laden */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&display=swap');

:root {
    --brand-primary: #157EC2;
    --brand-primary-dark: #106297;
    --brand-secondary: #A1C219;
    --brand-secondary-dark: #7D9713;
    --text-primary: #0D0E11;
    --text-secondary: #595959;
    --text-light: #FFFFFF;
    --background: #FFFFFF;
    --background-alt: #F8F9FA;
    --border: #E0E3E2;
    --accent: #86B7FF;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-strong: rgba(0, 0, 0, 0.25);
    --font-handwritten: 'Creattion Demo', cursive;
    
    /* CSU Farben für Umfrage-Seiten */
    --csu-blue: #003C7D;
    --csu-blue-light: #1A82C6;
    --csu-accent: #A4C639;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    overflow-x: hidden;
}

/* Strong/Bold Text in Blue */
strong, b {
    font-weight: 700;
    color: var(--brand-primary);
}

/* Typography */
.font-condensed {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.font-script {
    font-family: var(--font-handwritten);
}

/* Überschriften-Basis - H1 & H2 werden später speziell gestylt */
h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Desktop: Mehr Weißraum, kleinerer Container */
@media (min-width: 1200px) {
    .container {
        max-width: 1100px;
        padding: 0 4rem;
    }
}

/* Hero Section - Ausgelagert in hero.css */

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1001;
    padding: 1rem 0;
    transition: all 0.3s ease;
    height: 90px;
    box-sizing: border-box;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    gap: 2rem;
}

.nav-logo {
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nav-logo-image {
    height: 80px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

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

.nav-name {
    flex-shrink: 0;
    text-align: left;
    margin-right: 2rem;
    margin-left: -2rem;
}

.nav-name-text {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--brand-primary);
    text-decoration: none;
}


@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


.nav-logo:hover {
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-shrink: 0;
    margin-left: auto;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--brand-primary);
}

/* Sections */
.section {
    padding: 7rem 0 5rem 0;
}

/* Desktop: Kompaktere Abstände für bessere Platznutzung */
@media (min-width: 769px) {
    .section {
        padding: 6rem 0 4rem 0;
    }
}

.section-alt {
    background-color: var(--background-alt);
}

/* Instagram Section - Überschriften ohne weißen Bereich - HOHE SPEZIFITÄT */
.instagram-section .section-title {
    background: linear-gradient(to right, #0A4A6B 0%, #157EC2 100%) !important;
    color: #FFFFFF !important;
    font-family: 'Oswald', sans-serif !important;
    font-size: clamp(1rem, 2vw, 1.4rem) !important;
    font-weight: 600 !important;
    text-align: left !important; /* Linksbündig für Instagram */
    padding: 0.8rem 1.5rem !important; /* Gleiche Padding links und rechts */
    margin: 3rem 0 2rem 2rem !important; /* Linksbündig wie andere */
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    border-radius: 10px !important; /* Minimale Rundungen */
    box-shadow: 0 4px 12px rgba(21, 126, 194, 0.3) !important;
    position: relative !important;
    max-width: calc(100% - 2rem) !important;
    z-index: 2 !important;
}

/* Instagram Section - KEIN weißer Bereich links - HOHE SPEZIFITÄT */
.instagram-section .section-title::before {
    display: none !important; /* Weißen Bereich für Instagram deaktivieren */
}

/* Instagram Section Media Queries - HOHE SPEZIFITÄT */
@media (min-width: 769px) {
    .instagram-section .section-title {
        padding: 0.9rem 1.8rem !important;
        font-size: clamp(1.1rem, 2vw, 1.5rem) !important;
        margin: 3rem 0 2rem 2rem !important; /* Linksbündig */
    }
}

@media (max-width: 768px) {
    .instagram-section .section-title {
        font-size: clamp(1rem, 4.5vw, 1.5rem) !important;
        padding: 0.9rem 1.5rem !important;
        margin: 2rem 0 1.5rem 1rem !important; /* Linksbündig */
        max-width: calc(100% - 1rem) !important;
    }
}

/* H1 & H2 - Nur für spezifische Klassen mit weißem Bereich */
.welcome-title,
.section-title:not(.instagram-section .section-title) {
    background: linear-gradient(to right, #0A4A6B 0%, #157EC2 100%); /* Nur dunkelblau zu hellem CSU-Blau - ohne weiß */
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 600;
    text-align: left;
    padding: 0.8rem 1.5rem; /* Gleiche Padding links und rechts - kein extra Platz für weißen Bereich */
    margin: 3rem 0 2rem 2rem; /* Versetzt nach rechts */
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.2;
    border-radius: 10px; /* Minimale Rundungen */
    box-shadow: 0 4px 12px rgba(21, 126, 194, 0.3); /* Stärkerer Schatten */
    position: relative;
    max-width: calc(100% - 2rem);
    z-index: 2; /* Text über dem weißen Bereich */
}

/* Weißer Bereich links im Balken - DEAKTIVIERT */
.welcome-title::before,
.section-title:not(.instagram-section .section-title)::before {
    display: none; /* Weißen Bereich komplett deaktivieren */
}

/* Allgemeine H1/H2 ohne spezielle Styling */
h1:not(.welcome-title),
h2:not(.section-title) {
    color: var(--text-primary);
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* H1 speziell linksbündig */
.welcome-title {
    text-align: left;
    margin: 0 -2rem 2rem -2rem;
}

@media (min-width: 769px) {
    .welcome-title,
    .section-title:not(.instagram-section .section-title) {
        padding: 0.9rem 1.8rem; /* Gleiche Padding links und rechts */
        font-size: clamp(1.1rem, 2vw, 1.5rem);
    }
    
    .welcome-title {
        margin: 0 0 2.5rem 0;
    }
    
    .section-title:not(.instagram-section .section-title) {
        margin: 0 0 2.5rem 0;
    }
    
    h1:not(.welcome-title),
    h2:not(.section-title) {
        font-size: clamp(1.4rem, 2.5vw, 2rem);
    }
}

@media (max-width: 768px) {
    .welcome-title,
    .section-title:not(.instagram-section .section-title) {
        font-size: clamp(1rem, 4.5vw, 1.5rem);
        padding: 0.9rem 1.5rem; /* Gleiche Padding links und rechts */
        margin: 2rem 0 1.5rem 1rem; /* Mobile: Weniger Versatz */
        max-width: calc(100% - 1rem);
    }
    
    h1:not(.welcome-title),
    h2:not(.section-title) {
        font-size: clamp(1.1rem, 4vw, 1.6rem);
        margin: 1.5rem 0 1rem 0;
    }
    
    /* Mobile: Weißer Bereich komplett deaktiviert */
    .welcome-title::before,
    .section-title:not(.instagram-section .section-title)::before {
        display: none; /* Weißen Bereich komplett deaktivieren */
    }
}

.section-subtitle {
    text-align: left;
    font-size: 1rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

@media (min-width: 769px) {
    .section-subtitle {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }
}

/* Storytelling Section */
.storytelling-section {
    background: linear-gradient(90deg, #157EC2 0%, #1E88D4 50%, #86B7FF 100%);
    padding: 0.8rem 0;
    position: relative;
    overflow: hidden;
}

.storytelling-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.storytelling-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Desktop: Kompaktere Storytelling-Container */
@media (min-width: 1200px) {
    .storytelling-container {
        max-width: 950px;
        padding: 0 3rem;
    }
    
    .storytelling-container-2 {
        max-width: 950px;
        padding: 0 3rem;
    }
}


.storytelling-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(0.95rem, 1.8vw, 1.2rem);
    font-weight: 600;
    color: #FFFFFF;
    text-align: left;
    line-height: 1.3;
    text-shadow: none;
    letter-spacing: 0.03em;
    margin: 0;
    text-transform: uppercase;
}


/* Storytelling Animation */
.storytelling-section {
    animation: fadeInUp 0.8s ease-out;
}

.storytelling-title {
    animation: fadeInLeft 0.8s ease-out 0.2s both;
}


@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Storytelling Section 2 */
.storytelling-section-2 {
    background: linear-gradient(90deg, #157EC2 0%, #1E88D4 50%, #86B7FF 100%);
    padding: 0.8rem 0;
    position: relative;
    overflow: hidden;
}

.storytelling-container-2 {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.quote-mark-left,
.quote-mark-right {
    font-size: 6rem;
    color: #FFFFFF;
    line-height: 1;
    font-weight: 700;
    opacity: 0.8;
}

.quote-mark-left {
    align-self: flex-start;
    margin-bottom: -2rem;
}

/* Mobile: Anführungszeichen optimiert */
@media (max-width: 768px) {
    .storytelling-container-2 {
        padding: 1.5rem 1rem;
        gap: 0.5rem;
    }
    
    .quote-mark-left {
        font-size: 3rem;
        margin-bottom: -0.5rem;
        margin-right: 0.25rem;
        flex-shrink: 0;
    }
    
    .quote-mark-right {
        font-size: 3rem;
        margin-top: -0.5rem;
        margin-left: 0.25rem;
    }
    
    .storytelling-quote {
        font-size: 1.1rem;
        line-height: 1.4;
        margin: 0.5rem 0;
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .storytelling-container-2 {
        padding: 1rem 0.5rem;
        gap: 0.25rem;
    }
    
    .quote-mark-left {
        font-size: 2.5rem;
        margin-bottom: -0.25rem;
    }
    
    .quote-mark-right {
        font-size: 2.5rem;
        margin-top: -0.25rem;
    }
    
    .storytelling-quote {
        font-size: 1rem;
        line-height: 1.3;
        padding: 0 0.25rem;
    }
}

.quote-mark-right {
    align-self: flex-end;
    margin-top: -2rem;
}

.storytelling-quote {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.3;
    font-style: normal;
    text-align: center;
    margin: 0;
    text-transform: none;
    letter-spacing: 0.02em;
    padding: 0 2rem;
}

.quote-author-störer {
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 1rem;
    opacity: 0.9;
}

.storytelling-signature {
    margin-top: 1rem;
}

.handwritten-signature-2 {
    font-family: var(--font-handwritten);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--brand-primary);
    font-weight: 400;
    margin: 0;
    opacity: 1;
    width: 100%;
    white-space: nowrap;
}

/* Welcome Section */
.welcome {
    background: linear-gradient(135deg, var(--background) 0%, var(--background-alt) 100%);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Desktop: Extra Padding oben wegen hochgeschobenem Bild */
@media (min-width: 769px) {
    .welcome {
        padding-top: 8rem;
    }
}


.welcome-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    max-width: 800px;
    margin: 0 auto;
}

/* Desktop: Nur Text, zentriert */
@media (min-width: 769px) {
    .welcome-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        max-width: 800px;
        margin: 0 auto;
        position: relative;
    }
}

/* Sehr große Bildschirme */
@media (min-width: 1200px) {
    .welcome-content {
        max-width: 1150px;
    }
}

.welcome-text {
    font-size: 1rem;
    line-height: 1.7;
    width: 100%;
    max-width: 100%;
    text-align: left;
}

/* Desktop: Optimale Lesbarkeit wie Apple/Medium */
@media (min-width: 769px) {
    .welcome-text {
        font-size: 1.125rem;
        line-height: 1.8;
        width: 100%;
        max-width: 720px;
        padding: 0;
        text-align: left;
    }
}

.greeting-content {
    margin: 2rem 0;
}

/* Desktop: Mehr Whitespace für bessere Lesbarkeit */
@media (min-width: 769px) {
    .greeting-content {
        margin: 2rem 0;
    }
}

.greeting-highlight {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brand-primary);
    background: #f8d7da;
    padding: 1.2rem 1.5rem;
    border-left: 4px solid var(--brand-primary);
    border-radius: 6px;
    margin: 1.5rem 0;
    font-style: italic;
    line-height: 1.5;
}

/* Desktop: Kompaktere Abstände */
@media (min-width: 769px) {
    .greeting-highlight {
        margin: 1.2rem 0;
        padding: 1rem 1.3rem;
        font-size: 1.15rem;
        line-height: 1.4;
    }
}

.greeting-content p {
    margin-bottom: 1.2rem;
    line-height: 1.75;
}

/* Desktop: Optimale Absatzabstände */
@media (min-width: 769px) {
    .greeting-content p {
        margin-bottom: 1.5rem;
        line-height: 1.8;
    }
}

.greeting-content strong {
    color: var(--brand-primary);
    font-weight: 700;
}

.greeting-content em {
    color: var(--text-secondary);
    font-style: italic;
}

.welcome-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    justify-self: center;
    border: none;
    transition: none;
}

.welcome-image:hover {
    transform: none;
    box-shadow: none;
}

.welcome-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.welcome-portrait {
    background: transparent;
    border: none;
    border-radius: 0;
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    filter: none;
    transition: none;
}

/* Desktop: Bild freigestellt, Ortsschild ragt in Text */
@media (min-width: 769px) {
    .welcome-image-container {
        position: relative;
        z-index: 2;
        flex-shrink: 0;
        width: 420px;
        margin-right: -80px;
        margin-top: -50px;
    }
    
    .welcome-portrait {
        width: 100%;
        height: auto;
        max-width: none;
        filter: none;
    }
}

/* Große Bildschirme */
@media (min-width: 1200px) {
    .welcome-image-container {
        width: 460px;
        margin-right: -100px;
        margin-top: -50px;
    }
}

.welcome-portrait:hover {
    transform: none;
}

.highlight-box {
    background: var(--brand-secondary);
    color: var(--text-light);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: center;
}

.quote-text {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

/* Handschriftliche Animationen */
.handwritten-greeting-container {
    margin-bottom: 1rem;
}

/* Desktop: Handschrift im rechten Winkel vom Ortsschild */
@media (min-width: 769px) {
    .handwritten-greeting-container {
        margin-bottom: 1.5rem;
        margin-top: 0;
    }
}

.handwritten-greeting {
    font-family: var(--font-handwritten);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--brand-primary);
    font-weight: 400;
    position: relative;
    white-space: nowrap;
    width: 100%;
    opacity: 1;
    margin: 0;
    padding: 0;
}

/* Desktop: Kompaktere Handschrift */
@media (min-width: 769px) {
    .handwritten-greeting {
        font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    }
}
    
    .mobile-break {
        display: none;
    }
}

/* Tablet: Mittlere Größen */
@media (min-width: 481px) and (max-width: 768px) {
    .storytelling-title {
        font-size: clamp(1.5rem, 4vw, 2.2rem) !important;
        text-align: left;
    }
    
    .welcome-portrait {
        max-width: none !important;
        margin: 1.5rem auto;
    }
    
    .storytelling-quote {
        font-size: clamp(1.3rem, 3.5vw, 2rem) !important;
    }
    
    .handwritten-signature-2 {
        font-size: clamp(2.2rem, 4.5vw, 3.2rem) !important;
    }
    
    .handwritten-greeting {
        font-size: clamp(1.6rem, 4.5vw, 2.2rem) !important;
    }
    
    .handwritten-signature {
        font-size: clamp(1.5rem, 4vw, 1.9rem) !important;
    }
    
    .greeting-highlight {
        font-size: 1.2rem !important;
        padding: 1.3rem !important;
    }
    
    .greeting-content p {
        line-height: 1.65;
    }
}

/* Desktop: Zeilen inline anzeigen */
@media (min-width: 769px) {
    .handwritten-line-1,
    .handwritten-line-2 {
        display: inline-block;
        white-space: nowrap;
    }
    
    .handwritten-line-1::after {
        content: ' ';
    }
    
    .handwritten-greeting {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem) !important;
    }
}

/* Größere Screens: Noch bessere Lesbarkeit */
@media (min-width: 1400px) {
    .welcome-text {
        font-size: 1.15rem;
        max-width: 750px;
    }
    
    .greeting-content p {
        margin-bottom: 1.6rem;
    }
    
    .handwritten-signature {
        font-size: clamp(1.6rem, 3vw, 2.2rem) !important;
    }
}

/* Desktop: Größere Schriftgrößen für bessere Wirkung */
@media (min-width: 1200px) {
    .welcome-text {
        font-size: 0.92rem;
        line-height: 1.65;
    }
    
    .greeting-highlight {
        font-size: 1.4rem !important;
        padding: 2rem !important;
        line-height: 1.6;
    }
    
    .greeting-content p {
        margin-bottom: 1.4rem;
        line-height: 1.8;
    }
    
    
    .handwritten-greeting {
        font-size: clamp(2rem, 3vw, 3rem) !important;
    }
    
    .handwritten-signature {
        font-size: clamp(1.8rem, 2.5vw, 2.5rem) !important;
    }
    
    .welcome-portrait {
        max-width: none;
        filter: none;
    }
    
    .welcome-portrait:hover {
        transform: none;
        filter: none;
    }
}

.handwritten-signature {
    font-family: var(--font-handwritten);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: var(--brand-primary);
    font-weight: 400;
    position: relative;
    white-space: nowrap;
    width: 100%;
    opacity: 1;
    margin: 0.5rem 0;
}

.signature {
    margin-top: 1.5rem;
    text-align: left;
}

/* Desktop: Kompaktere Unterschrift */
@media (min-width: 769px) {
    .signature {
        margin-top: 1.2rem;
    }
}

/* Animationen die starten wenn im Sichtfeld */
/* Handschrift-Animationen entfernt - Texte werden sofort angezeigt */

.quote-author {
    margin: 0.5rem 0 0 0;
    font-weight: 600;
}

/* Quote Section */
.quote-section {
    background: var(--brand-primary);
    color: var(--text-light);
    text-align: center;
}

.quote {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-style: italic;
    margin-bottom: 2rem;
    font-family: var(--font-handwritten);
}

/* Qualities Section */
.qualities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 769px) {
    .qualities-grid {
        max-width: 850px;
        gap: 2rem;
    }
}

.quality-card {
    background: var(--text-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--brand-primary);
}

.quality-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.quality-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.quality-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (min-width: 769px) {
    .quality-icon {
        width: 100px;
        height: 100px;
    }
}

.quality-title {
    color: var(--brand-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.quality-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Themes Grid */
.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.theme-card {
    background: var(--text-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: left;
    transition: all 0.3s ease;
    border-left: 4px solid var(--brand-primary);
}

.theme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-left-color: var(--brand-secondary);
}

.theme-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.theme-title {
    color: var(--brand-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.theme-text {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

.theme-text strong {
    color: var(--brand-primary-dark);
}

/* Personal Grid */
.personal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.personal-card {
    background: var(--text-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--brand-secondary);
}

.personal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

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

.personal-title {
    color: var(--brand-primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.personal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.personal-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    line-height: 1.6;
    border-bottom: 1px solid var(--border);
}

.personal-list li:last-child {
    border-bottom: none;
}

.personal-list li strong {
    color: var(--brand-primary-dark);
}

.personal-list li em {
    color: var(--brand-secondary);
    font-style: italic;
}

/* Instagram Section */
.instagram-section {
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
    color: var(--text-light);
    text-align: center;
}

.instagram-content {
    max-width: 800px;
    margin: 0 auto;
}

.instagram-feed {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
}

/* CTA Section */
.cta-section {
    background: var(--brand-secondary);
    color: var(--text-light);
    text-align: center;
}

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

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--text-light);
    color: var(--brand-primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

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

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--brand-primary);
}

/* Accordion Styles */
.accordion-container {
    max-width: 850px;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .accordion-container {
        max-width: 800px;
    }
}

.accordion-item {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 2px 8px rgba(21, 126, 194, 0.15);
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: #FFFFFF;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.accordion-header:hover {
    background: #F9F9F9;
}

.accordion-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (min-width: 769px) {
    .accordion-icon {
        width: 55px;
        height: 55px;
    }
}

.accordion-title {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

@media (min-width: 769px) {
    .accordion-title {
        font-size: 1.05rem;
    }
}

.accordion-chevron {
    flex-shrink: 0;
    color: var(--brand-primary);
    transition: transform 0.3s ease;
}

.accordion-chevron svg {
    display: block;
}

.accordion-item.active .accordion-chevron {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s ease, padding 0.8s ease; /* Langsamer für bessere UX */
    padding: 0 1.5rem;
    background: #FAFAFA;
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
    padding: 1.5rem;
    border-top: 1px solid #E0E0E0;
}

.accordion-content p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-secondary);
    text-align: left;
}

/* Responsive Accordion */
@media (max-width: 768px) {
    .accordion-header {
        padding: 1rem 1.2rem;
        gap: 0.8rem;
    }
    
    .accordion-icon {
        width: 45px;
        height: 45px;
    }
    
    .accordion-title {
        font-size: 1rem;
    }
    
    .accordion-chevron svg {
        width: 20px;
        height: 20px;
    }
    
    .accordion-item.active .accordion-content {
        padding: 1.2rem;
    }
}

/* Dies oder Das Section */
.diesoderdas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 2.5rem;
    max-width: 850px;
    margin: 0 auto;
    padding: 2rem 0;
}

@media (min-width: 769px) {
    .diesoderdas-grid {
        max-width: 750px;
        gap: 2rem 2rem;
    }
}

.diesoderdas-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.5rem;
    cursor: pointer;
    perspective: 1000px; /* 3D Perspektive für Flip-Effekt */
}

.diesoderdas-option {
    font-family: 'Sacramento', cursive;
    font-size: 1.8rem;
    color: var(--text-secondary);
    padding: 0.4rem 1.2rem;
    position: relative;
    transition: all 0.6s ease-in-out;
    transform-style: preserve-3d; /* Ermöglicht 3D-Transformation */
    transition: all 0.3s ease;
    white-space: nowrap;
}

@media (min-width: 769px) {
    .diesoderdas-option {
        font-size: 1.6rem;
        padding: 0.4rem 1rem;
    }
}

.diesoderdas-option.selected {
    color: #157EC2;
    border: 3px solid #157EC2;
    border-radius: 8px;
    padding: 0.4rem 1.2rem;
    font-weight: normal;
    transition: all 0.6s ease-in-out;
}

/* Flip-Animation für ausgewählte Option (Werbeschild-Effekt) */
.diesoderdas-item.flipping .diesoderdas-option.selected {
    animation: flip3D 1.5s ease-in-out;
    transform: scale(1.15); /* 15% größer während Animation */
}

/* Nicht-ausgewählte Optionen werden kleiner */
.diesoderdas-item.flipping .diesoderdas-option:not(.selected) {
    animation: shrink 1.5s ease-in-out;
}

/* 3D Flip-Animation (wie Werbeschild) */
@keyframes flip3D {
    0% {
        transform: scale(1) rotateY(0deg);
    }
    25% {
        transform: scale(1.15) rotateY(90deg);
    }
    50% {
        transform: scale(1.15) rotateY(180deg);
    }
    75% {
        transform: scale(1.15) rotateY(270deg);
    }
    100% {
        transform: scale(1) rotateY(360deg);
    }
}

/* Schrumpf-Animation für nicht-ausgewählte Optionen */
@keyframes shrink {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(0.85);
        opacity: 0.6;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Animation auch auf Mobile aktivieren */
@media (max-width: 768px) {
    .diesoderdas-item.flipping .diesoderdas-option.selected {
        animation: flip3D 1.3s ease-in-out;
        transform: scale(1.1); /* Etwas kleiner auf Mobile für bessere Darstellung */
    }
    
    .diesoderdas-item.flipping .diesoderdas-option:not(.selected) {
        animation: shrink 1.3s ease-in-out;
    }
}

@media (min-width: 769px) {
    .diesoderdas-option.selected {
        padding: 0.4rem 1rem;
    }
}

.diesoderdas-separator {
    font-family: 'Sacramento', cursive;
    font-size: 1.5rem;
    color: var(--text-light);
    opacity: 0.6;
}

/* Responsive Dies oder Das - Mobile Hochformat */
@media (max-width: 768px) and (orientation: portrait) {
    .diesoderdas-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        padding: 1.5rem 1rem;
        max-width: 100%;
    }
    
    .diesoderdas-item {
        flex-wrap: nowrap;
        gap: 0.6rem;
        justify-content: space-between;
        padding: 0.3rem;
    }
    
    .diesoderdas-option {
        font-size: clamp(1.2rem, 3.5vw, 1.5rem);
        padding: 0.3rem 0.7rem;
        white-space: normal;
        word-break: normal;
        text-align: center;
        flex: 1 1 auto;
        min-width: 0;
        max-width: 44%;
        line-height: 1.2;
    }
    
    .diesoderdas-option.selected {
        padding: 0.3rem 0.7rem;
        border-width: 2.5px;
    }
    
    .diesoderdas-separator {
        font-size: clamp(1rem, 2.5vw, 1.2rem);
        flex-shrink: 0;
        padding: 0 0.2rem;
    }
}

/* Tablet Portrait */
@media (min-width: 601px) and (max-width: 768px) and (orientation: portrait) {
    .diesoderdas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 2.5rem;
    }
    
    .diesoderdas-option {
        font-size: 1.4rem;
        max-width: 45%;
    }
}

/* Handy Querformat (Landscape) */
@media (max-width: 900px) and (orientation: landscape) {
    .diesoderdas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 2rem;
        max-width: 100%;
    }
    
    .diesoderdas-item {
        flex-wrap: nowrap;
        gap: 0.5rem;
    }
    
    .diesoderdas-option {
        font-size: clamp(1.1rem, 2.5vw, 1.4rem);
        padding: 0.3rem 0.8rem;
        white-space: nowrap;
        max-width: none;
    }
    
    .diesoderdas-option.selected {
        padding: 0.3rem 0.8rem;
    }
    
    .diesoderdas-separator {
        font-size: clamp(0.9rem, 2vw, 1.1rem);
    }
}

/* Fluß Laber Section */
.fluß-laber-section {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    padding: 4rem 0;
}

.fluß-laber-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 2rem auto 0 auto;
}

.fluß-laber-image {
    flex: 1;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fluß-laber-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.fluß-laber-text {
    flex: 1;
    padding: 0 1rem;
}

.fluß-laber-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-top: 1.5rem;
}

/* Mobile Responsive für Fluß Laber */
@media (max-width: 768px) {
    .fluß-laber-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .fluß-laber-image {
        max-width: 100%;
        width: 100%;
    }
    
    .fluß-laber-text {
        padding: 0;
    }
    
    .fluß-laber-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .fluß-laber-section {
        padding: 3rem 0;
    }
    
    .fluß-laber-content {
        gap: 1.5rem;
    }
}

/* Foto 3 Section */
.foto3-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
}

.foto3-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.foto3-image {
    max-width: 100%;
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.foto3-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Mobile Responsive für Foto 3 */
@media (max-width: 768px) {
    .foto3-section {
        padding: 3rem 0;
    }
    
    .foto3-image {
        max-width: 100%;
    }
}

/* Ideen Fotos Section */
.ideen-fotos-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
}

.ideen-fotos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.ideen-foto-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ideen-foto-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.ideen-foto {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
}

.ideen-foto-caption {
    padding: 1.5rem;
}

.ideen-foto-caption h3 {
    color: var(--brand-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

.ideen-foto-caption p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Mobile Responsive für Ideen Fotos */
@media (max-width: 768px) {
    .ideen-fotos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .ideen-fotos-section {
        padding: 3rem 0;
    }
    
    .ideen-foto {
        height: 200px;
    }
    
    .ideen-foto-caption {
        padding: 1rem;
    }
}

/* Familie Foto */
.familie-foto {
    margin-top: 2rem;
    text-align: center;
}

.familie-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.familie-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Mobile Responsive für Familie Foto */
@media (max-width: 768px) {
    .familie-foto {
        margin-top: 1.5rem;
    }
}

/* Laaberer Löwe Section */
.laaberer-loewe-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    position: relative;
}

.laaberer-loewe-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.laaberer-loewe-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Fluss Laber Section */
.fluss-laber-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    position: relative;
}

.fluss-laber-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.fluss-laber-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Bild 3 Section */
.bild-3-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    position: relative;
}

.bild-3-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.bild-3-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.laaberer-loewe-text {
    flex: 1;
    padding: 0 1rem;
}

.laaberer-loewe-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-top: 1.5rem;
}

/* Mobile Responsive für Laaberer Löwe */
@media (max-width: 768px) {
    .laaberer-loewe-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .laaberer-loewe-image {
        max-width: 100%;
        width: 100%;
    }
    
    .laaberer-loewe-text {
        padding: 0;
    }
    
    .laaberer-loewe-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .laaberer-loewe-section {
        padding: 3rem 0;
    }
    
    .laaberer-loewe-section .section-title {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
    }
    
    .laaberer-loewe-image {
        max-width: 100%;
        height: auto;
    }
    
    .fluss-laber-section {
        padding: 3rem 0;
    }
    
    .fluss-laber-section .section-title {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
    }
    
    .fluss-laber-image {
        max-width: 100%;
        height: auto;
    }
    
    .bild-3-section {
        padding: 3rem 0;
    }
    
    .bild-3-section .section-title {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
    }
    
    .bild-3-image {
        max-width: 100%;
        height: auto;
    }
}

/* Sehr kleine Bildschirme */
@media (max-width: 480px) {
    .nav-logo-image {
        height: 50px;
    }
    
    .nav-name-text {
        font-size: 1rem;
    }
    
    .nav-name {
        margin-right: 0.5rem;
        margin-left: -0.5rem;
    }
    
    .nav-links {
        margin-left: auto;
        gap: 0.5rem;
    }
    
    .diesoderdas-option {
        font-size: clamp(1.2rem, 3.5vw, 1.5rem);
        padding: 0.3rem 0.8rem;
        max-width: 42%;
    }
    
    .diesoderdas-option.selected {
        padding: 0.3rem 0.8rem;
    }
}

/* Über mich Seite */
.ueber-content {
    max-width: 900px;
    margin: 0 auto;
}

.ueber-text {
    font-size: 1rem;
    line-height: 1.8;
}

.ueber-text p {
    margin-bottom: 1.5rem;
}

/* Timeline - Clean & Minimalistisch */
.timeline {
    max-width: 900px;
    margin: 4rem auto;
    position: relative;
    padding: 2rem 0;
}

/* Vertikale Linie links */
.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--brand-primary), rgba(21, 126, 194, 0.3));
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
    padding-left: 120px;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.6s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Icon links neben der Linie - wie auf Hauptseite */
.timeline-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(21, 126, 194, 0.2);
    border: 3px solid var(--brand-primary);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(21, 126, 194, 0.3);
}

.timeline-icon img {
    width: 50%;
    height: 50%;
    object-fit: contain;
    filter: none;
}

/* Content Box rechts */
.timeline-content {
    background: #fff;
    padding: 1.8rem 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    flex: 1;
    border-left: 4px solid var(--brand-primary);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
    border-left-width: 6px;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

/* Hobbys - Kreisförmiges Layout */
.hobbys-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 4rem;
    margin-top: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.hobby-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hobby-image {
    width: 250px;
    height: 250px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 5px solid var(--brand-primary);
    box-shadow: 0 10px 30px rgba(21, 126, 194, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Spezielle Anpassungen für verschiedene Bildformate */
.hobby-item:nth-child(1) .hobby-image {
    object-position: center 30%;
}

.hobby-item:nth-child(3) .hobby-image {
    object-position: center 40%;
}

.hobby-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(21, 126, 194, 0.3);
}

.hobby-item h3 {
    color: var(--brand-primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

.hobby-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 300px;
}

@media (max-width: 768px) {
    .hobbys-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hobby-image {
        width: 200px;
        height: 200px;
    }
}

/* Galerie - Masonry Layout für verschiedene Bildformate */
.galerie-section {
    padding: 4rem 0;
}

.galerie-grid {
    columns: 3;
    column-gap: 1.5rem;
    margin-top: 2rem;
}

.galerie-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    break-inside: avoid;
    page-break-inside: avoid;
}

.galerie-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galerie-item:hover img {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Responsive Galerie */
@media (max-width: 1024px) {
    .galerie-grid {
        columns: 2;
    }
}

@media (max-width: 600px) {
    .galerie-grid {
        columns: 1;
    }
}

@media (max-width: 768px) {
    .timeline {
        margin: 3rem auto;
        padding: 1rem 0;
    }
    
    .timeline::before {
        left: 35px;
    }
    
    .timeline-item {
        padding-left: 90px;
        margin-bottom: 2.5rem;
    }
    
    .timeline-icon {
        width: 70px;
        height: 70px;
        left: 0;
    }
    
    .timeline-item:hover .timeline-icon {
        transform: scale(1.03);
    }
    
    .timeline-content {
        padding: 1.5rem;
        border-left-width: 3px;
    }
    
    .timeline-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .hobbys-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hobby-image {
        width: 200px;
        height: 200px;
    }
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: var(--text-light);
    padding: 3rem 0 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.visdp {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-name {
    text-align: center;
    padding: 1rem 0 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.mobile-name-text {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brand-primary);
    text-decoration: none;
}

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.mobile-menu li {
    flex: 1;
    min-width: calc(50% - 0.25rem);
    max-width: calc(50% - 0.25rem);
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    border-radius: 8px;
    font-size: 0.9rem;
}

.mobile-menu a:hover {
    background: var(--brand-primary);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-logo-image {
        height: 50px;
        max-width: 150px;
    }
    
    .nav-name-text {
        font-size: 0.9rem;
    }
    
    .nav-name {
        margin-right: 0.3rem;
        margin-left: -1rem;
    }
    
    .nav-logo {
        margin-right: 0.3rem;
    }
    
    .nav-links {
        margin-left: auto;
        gap: 1rem;
    }
    
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-content {
        justify-content: space-between;
    }
    
    /* Mobile Menu Optimization */
    .mobile-menu ul {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .mobile-menu li {
        min-width: 100%;
        max-width: 100%;
    }
    
    .mobile-menu a {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Hide hero name on mobile */
    .hero-nameblock {
        display: none;
    }
}

/* Medium mobile devices - optimize for larger screens */
@media (min-width: 481px) and (max-width: 768px) {
    .nav-logo-image {
        height: 55px;
        max-width: 160px;
    }
    
    .nav-name-text {
        font-size: 1rem;
    }
    
    .nav-name {
        margin-right: 0.4rem;
        margin-left: -1rem;
    }
    
    .nav-logo {
        margin-right: 0.4rem;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .nav-logo-image {
        height: 45px;
        max-width: 130px;
    }
    
    .nav-name-text {
        font-size: 0.8rem;
    }
    
    .nav-name {
        margin-right: 0.2rem;
        margin-left: -0.5rem;
    }
    
    .nav-logo {
        margin-right: 0.2rem;
    }
}

/* Hero Section Mobile - Additional fixes */
    .hero-cta {
        display: none;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        margin: 0 !important;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    /* Sections Mobile */
    .section {
        padding: 3rem 1rem;
    }


    .storytelling-title {
        font-size: clamp(1.3rem, 5vw, 2rem) !important;
        text-align: left;
        line-height: 1.3;
        margin-bottom: 0;
    }
    
    .storytelling-quote {
        font-size: clamp(1.2rem, 4vw, 1.8rem) !important;
        padding: 0 1rem;
        line-height: 1.4;
    }
    
    .storytelling-quote::before,
    .storytelling-quote::after {
        font-size: 3rem !important;
        opacity: 0.2;
    }
    
    .storytelling-quote::before {
        top: -15px;
        left: -20px;
    }
    
    .storytelling-quote::after {
        bottom: -30px;
        right: -20px;
    }
    
    .handwritten-signature-2 {
        font-size: clamp(2rem, 5vw, 2.8rem) !important;
    }

    .welcome-content {
        gap: 1.5rem;
        align-items: center;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        flex-direction: column;
        max-width: 100%;
        margin: 0 auto;
    }

    .welcome-text {
        font-size: 1rem;
        line-height: 1.6;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        word-wrap: break-word;
        -webkit-word-break: break-word;
        word-break: break-word;
        text-align: left;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    .greeting-highlight {
        font-size: 1.1rem !important;
        padding: 1rem !important;
        margin: 1.5rem 0 !important;
        line-height: 1.5 !important;
    }
    
    .greeting-content p {
        margin-bottom: 1rem;
        line-height: 1.6;
    }
    
    .greeting-content strong {
        font-weight: 600;
    }
    
    .welcome-image {
        max-width: 250px;
        height: auto;
        margin: 0 auto;
        display: block;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
    
    .welcome-portrait {
        max-width: 280px !important;
        margin: 1rem auto;
        filter: none;
        border-radius: 12px;
    }

    /* Cards Mobile */
    .themes-grid,
    .qualities-grid,
    .personal-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .theme-card,
    .quality-card,
    .personal-card {
        padding: 1.5rem;
    }

    .theme-icon,
    .quality-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1rem;
    }

    /* Buttons Mobile */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

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

    /* Footer Mobile */
    .footer {
        padding: 2rem 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-links a {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }

    /* Container Mobile */
    .container {
        padding: 0 1rem;
    }
    
    /* Mobile Text Improvements */
    .desktop-only {
        display: none;
    }
    
    .mobile-break {
        display: none;
    }
    
    .hero-description br.desktop-only {
        display: none;
    }
    
    .handwritten-greeting-container {
        text-align: left;
        margin-bottom: 2rem;
    }
    
    .handwritten-greeting {
        font-size: clamp(2rem, 6vw, 3rem) !important;
        line-height: 1.4;
        text-align: left;
        white-space: normal !important;
        word-wrap: break-word;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        margin: 0.3rem 0;
    }
    
    .mobile-break {
        display: inline;
        padding: 0 0.5rem;
    }
    
    .handwritten-line-1,
    .handwritten-line-2 {
        display: block;
        width: 100% !important;
        max-width: 100%;
        white-space: normal;
        overflow: visible;
    }
    
    /* Handschrift-Animationen entfernt */
    
    .handwritten-signature {
        font-size: clamp(1.8rem, 5.5vw, 2.5rem) !important;
        line-height: 1.4;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        padding: 0 0.5rem;
    }
    
    .mobile-break {
        display: block;
    }
    
    .welcome-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .section-subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        line-height: 1.5;
    }
}

/* Desktop: mobile-break verstecken */
.mobile-break {
    display: none;
}

/* Instagram Section */
.instagram-section {
    background: #FAFAFA;
}

/* Instagram Section verwendet Standard-Container-Breite (1400px) */

/* Mehr Erreichen Section */
.mehr-erreichen-section {
    background: #FFFFFF;
}

.mehr-erreichen-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.mehr-erreichen-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Spezielle Styles für zukunft.png */
.mehr-erreichen-image img[src*="zukunft.png"] {
    max-width: 100%;
    height: auto;
    max-height: 400px; /* Begrenzte Höhe für bessere Proportionen */
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mehr-erreichen-image img[src*="zukunft.png"]:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.portrait-image {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    object-fit: contain; /* Für Text-Grafiken besser als cover */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: transparent; /* Transparenter Hintergrund für bessere Integration */
}

.portrait-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.mehr-erreichen-text {
    font-size: 1.1rem;
    line-height: 1.7;
}

.mehr-erreichen-text p {
    margin-bottom: 1.5rem;
}

.mehr-erreichen-text p:first-child {
    font-size: 1.3rem;
    color: var(--brand-primary);
}

@media (max-width: 768px) {
    .mehr-erreichen-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .portrait-image {
        max-width: 350px;
        margin: 0 auto;
    }
    
    /* Mobile Anpassungen für zukunft.png */
    .mehr-erreichen-image img[src*="zukunft.png"] {
        max-height: 300px; /* Kleinere Höhe auf Mobile */
        max-width: 90vw; /* Responsive Breite */
    }
    
    .mehr-erreichen-text {
        font-size: 1rem;
    }
}

.instagram-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    margin: 2rem 0 3rem 0;
    text-align: center;
}

.instagram-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.instagram-profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #E1306C;
    padding: 3px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.instagram-profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #FFFFFF;
}

.instagram-profile-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.instagram-username {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #262626;
    margin: 0;
}

.instagram-bio {
    color: #262626;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    text-align: center;
    max-width: 300px;
}

.instagram-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-follow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(225, 48, 108, 0.3);
}

.instagram-follow-btn svg {
    fill: #FFFFFF;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 769px) {
    .instagram-grid {
        max-width: 800px;
        gap: 1.2rem;
    }
}

.instagram-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #8e8e8e;
    font-size: 1rem;
}

.instagram-loading p {
    margin: 0;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Instagram Card Styles */
.instagram-card {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: 10px;
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.instagram-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.instagram-card-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.instagram-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.instagram-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-card:hover .instagram-card-overlay {
    opacity: 1;
}

.instagram-card-overlay-content {
    text-align: center;
    color: #FFFFFF;
}

.instagram-card-overlay-content svg {
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.instagram-card-overlay-content p {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.instagram-cta {
    text-align: center;
    margin: 3rem 0 0 0;
}

.instagram-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border: none;
}

.instagram-btn:hover {
    background: linear-gradient(45deg, #bc1888 0%, #cc2366 25%, #dc2743 50%, #e6683c 75%, #f09433 100%);
    transform: translateY(-3px);
}

.instagram-btn svg {
    fill: #FFFFFF;
}

/* Mobile Instagram Layout */
@media (max-width: 768px) {
    .instagram-header {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
        text-align: center;
    }

    .instagram-profile {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .instagram-profile-pic {
        width: 100px;
        height: 100px;
    }

    .instagram-username {
        font-size: 1.3rem;
    }

    .instagram-bio {
        font-size: 0.9rem;
    }

    .instagram-follow-btn {
        width: 100%;
        justify-content: center;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .instagram-post-stats {
        font-size: 0.9rem;
        gap: 1rem;
    }

    .instagram-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .instagram-post {
        border-radius: 5px;
    }
}

/* Kontakt Section Styles */
.kontakt-intro-content {
    display: grid;
    grid-template-columns: 308px 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 2rem;
}

.kontakt-intro-text {
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: left;
}

.kontakt-intro-text p {
    margin-bottom: 1.5rem;
}

.kontakt-intro-text p:first-child {
    font-size: 1.15rem;
}

.kontakt-intro-image {
    width: 100%;
}

.kontakt-portrait {
    width: 100%;
    max-width: 308px;
    height: auto;
    aspect-ratio: 1/2;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    transition: none;
    position: relative;
}

.kontakt-portrait::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.95));
    pointer-events: none;
}

.kontakt-portrait:hover {
    transform: none;
    box-shadow: none;
}

/* Kontakt Cards */
.kontakt-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.kontakt-card {
    background: #FFFFFF;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--brand-primary);
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.kontakt-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.kontakt-card-icon {
    margin-bottom: 1.5rem;
}

.kontakt-card h3 {
    color: var(--brand-primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-family: 'Oswald', sans-serif;
}

.kontakt-link {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    word-break: break-word;
}

.kontakt-card:hover .kontakt-link {
    color: var(--brand-primary);
    text-decoration: none;
}

@media (max-width: 968px) {
    .kontakt-intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .kontakt-portrait {
        max-width: 231px;
        margin: 0 auto;
    }
    
    .kontakt-intro-text {
        font-size: 1rem;
        text-align: left;
    }
    
    .kontakt-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .kontakt-intro-content {
        gap: 1.5rem;
    }
    
    .kontakt-portrait {
        max-width: 193px;
    }
    
    .kontakt-intro-text {
        text-align: left;
    }
    
    .kontakt-intro-text p {
        margin-bottom: 1.2rem;
    }
    
    .kontakt-card {
        padding: 2rem 1.5rem;
    }
    
    .kontakt-link {
        font-size: 1rem;
    }
}

/* FAQ Section Styles */
.faq-intro-content {
    display: grid;
    grid-template-columns: 308px 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.faq-intro-image {
    width: 100%;
}

.faq-portrait {
    width: 100%;
    max-width: 308px;
    height: auto;
    aspect-ratio: 1/2;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    transition: none;
    position: relative;
}

.faq-portrait::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.95));
    pointer-events: none;
}

.faq-portrait:hover {
    transform: none;
    box-shadow: none;
}

.faq-intro-text {
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: left;
}

.faq-intro-text p {
    margin-bottom: 1.5rem;
}

.faq-intro-text p:first-child {
    font-size: 1.15rem;
}

@media (max-width: 968px) {
    .faq-intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .faq-portrait {
        max-width: 231px;
        margin: 0 auto;
    }
    
    .faq-intro-text {
        font-size: 1rem;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .faq-intro-content {
        gap: 1.5rem;
    }
    
    .faq-portrait {
        max-width: 193px;
    }
    
    .faq-intro-text {
        text-align: left;
    }
    
    .faq-intro-text p {
        margin-bottom: 1.2rem;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* ============================================
   Legal Pages (Impressum & Datenschutz)
   ============================================ */

.legal-page {
    padding-top: 8rem;
}

.legal-page .container {
    max-width: 900px;
}

.legal-content {
    margin-top: 2rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: var(--text-primary);
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legal-section h3 {
    color: var(--text-primary);
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    letter-spacing: 0.3px;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.legal-section ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-section ul li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    list-style-type: disc;
}

.legal-intro {
    background: var(--background-alt);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--brand-primary);
    font-size: 1.1rem !important;
    font-weight: 500;
}

.legal-box {
    background: var(--background-alt);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--brand-primary);
    margin: 1rem 0;
}

.legal-box p {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.legal-box p:last-child {
    margin-bottom: 0;
}

.legal-box a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legal-box a:hover {
    color: var(--brand-primary-dark);
    text-decoration: underline;
}

.legal-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid var(--border);
    margin-top: 3rem;
}

.legal-footer p {
    color: var(--text-tertiary);
    font-size: 0.95rem;
}

/* Responsive adjustments for legal pages */
@media (max-width: 768px) {
    .legal-section h2 {
        font-size: 1.3rem;
    }

    .legal-section h3 {
        font-size: 1.15rem;
    }

    .legal-section p,
    .legal-section ul li {
        font-size: 1rem;
    }

    .legal-box {
        padding: 1rem;
    }

    .legal-section ul {
        margin-left: 1.5rem;
    }
}

/* ============================================
   UMFRAGE-SEITEN (Danke & Bereits teilgenommen)
   ============================================ */

/* Kleine Highlight-Box mit blauem Hintergrund und weißer Schrift */
.highlight-box {
    background: linear-gradient(135deg, var(--csu-blue) 0%, var(--csu-blue-light) 100%) !important;
    color: white !important;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

/* ALLE Texte in .highlight-box sind weiß (auch wenn sie inline-style haben) */
.highlight-box *,
.highlight-box h1,
.highlight-box h2,
.highlight-box h3,
.highlight-box p,
.highlight-box strong,
.highlight-box span,
.highlight-box [style*="color"] {
    color: white !important;
}

}
