/* ===== CSS Variables ===== */
:root {
    --primary: #003366;
    --primary-light: #004a99;
    --primary-dark: #001a33;
    --accent: #c8102e;
    --accent-light: #e8314a;
    --gold: #c9a84c;
    --gold-light: #e8c96d;
    --text: #1a1a2e;
    --text-light: #5a5a7a;
    --bg: #ffffff;
    --bg-alt: #f5f7fa;
    --bg-dark: #0a0a1a;
    --border: #e2e8f0;
    --radius: 16px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

html.loading {
    overflow: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* ===== Custom Cursor ===== */
.cursor {
    width: 12px;
    height: 12px;
    background: var(--gold);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
    opacity: 0.5;
}

.cursor-follower.hovering {
    width: 60px;
    height: 60px;
    opacity: 0.8;
    border-color: var(--accent);
}

/* ===== Loader with Airplane ===== */
.loader {
    position: fixed;
    inset: 0;
    background: var(--primary-dark);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease 0.3s, visibility 0.6s ease 0.3s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    position: relative;
}

.loader-plane {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 2rem;
    animation: planeFly 2.5s ease-in-out infinite;
}

.loader-plane svg {
    width: 60px;
    height: 60px;
    color: var(--gold);
    filter: drop-shadow(0 0 15px rgba(201, 168, 76, 0.5));
}

.plane-trail {
    position: absolute;
    bottom: 8px;
    right: 45px;
    width: 80px;
    height: 2px;
    background: linear-gradient(to left, var(--gold), transparent);
    opacity: 0.5;
    transform-origin: right center;
    animation: trailPulse 2.5s ease-in-out infinite;
}

@keyframes planeFly {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(15px, -12px) rotate(-5deg); }
    50% { transform: translate(0, -6px) rotate(0deg); }
    75% { transform: translate(-15px, -12px) rotate(5deg); }
}

@keyframes trailPulse {
    0%, 100% { width: 60px; opacity: 0.3; }
    50% { width: 100px; opacity: 0.6; }
}

.loader-text {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.loader-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}

.loader-bar {
    width: 220px;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 3px;
    animation: loadProgress 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes loadProgress {
    0% { width: 0; }
    100% { width: 100%; }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.5s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 0.8rem 0;
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.navbar.scrolled .nav-logo img {
    filter: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: var(--transition);
    position: relative;
    padding-bottom: 4px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.nav-menu a:hover::after {
    width: 100%;
}

.navbar.scrolled .nav-menu a {
    color: var(--text);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
    transform-origin: center;
}

.navbar.scrolled .nav-toggle span {
    background: var(--text);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 40%, #0a2a4a 100%);
}

.hero-mesh {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image:
        radial-gradient(at 20% 30%, rgba(201, 168, 76, 0.4) 0%, transparent 50%),
        radial-gradient(at 80% 70%, rgba(200, 16, 46, 0.2) 0%, transparent 50%),
        radial-gradient(at 50% 50%, rgba(0, 74, 153, 0.3) 0%, transparent 60%);
}

#heroCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-portrait {
    position: absolute;
    right: 8%;
    bottom: 0;
    z-index: 2;
    opacity: 0;
    transform: translateY(60px);
    animation: heroPortraitIn 1.2s ease 1.5s forwards;
}

.portrait-wrapper {
    position: relative;
    width: 380px;
    height: 500px;
}

.portrait-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 200px 200px 0 0;
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.portrait-ring {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: 20%;
    border: 2px solid rgba(201, 168, 76, 0.3);
    border-radius: 200px 200px 0 0;
    animation: ringRotate 8s linear infinite;
}

.portrait-ring.ring-2 {
    top: -40px;
    left: -40px;
    right: -40px;
    border-color: rgba(201, 168, 76, 0.15);
    animation-duration: 12s;
    animation-direction: reverse;
}

@keyframes ringRotate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.02); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes heroPortraitIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 0 8%;
}

.hero-text-wrapper {
    max-width: 600px;
}

.hero-subtitle {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeIn 0.8s ease 0.8s forwards;
}

.subtitle-line {
    width: 40px;
    height: 1px;
    background: var(--gold);
    animation: lineGrow 0.8s ease 1s forwards;
    transform-origin: left;
    transform: scaleX(0);
}

@keyframes lineGrow {
    to { transform: scaleX(1); }
}

.subtitle-text {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
}

.hero-title {
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-word {
    display: inline-block;
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 900;
    color: #fff;
    transform: translateY(120%);
    animation: titleReveal 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.title-line:nth-child(1) .title-word { animation-delay: 0.3s; }
.title-line:nth-child(2) .title-word { animation-delay: 0.5s; }

@keyframes titleReveal {
    to { transform: translateY(0); }
}

.hero-tagline {
    font-size: 1.3rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeIn 0.8s ease 1.2s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    background: transparent;
    border: 1.5px solid rgba(201, 168, 76, 0.6);
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    border-radius: 60px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    animation: fadeIn 0.8s ease 1.5s forwards;
    overflow: hidden;
    position: relative;
}

.hero-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: translateX(-101%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    border-radius: 60px;
}

.hero-cta:hover::before {
    transform: translateX(0);
}

.hero-cta:hover {
    color: var(--primary-dark);
    border-color: var(--gold);
}

.cta-text, .cta-arrow {
    position: relative;
    z-index: 1;
}

.cta-arrow {
    transition: transform 0.4s ease;
}

.hero-cta:hover .cta-arrow {
    transform: translate(4px, -4px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    opacity: 0;
    animation: fadeIn 0.8s ease 2s forwards;
}

.scroll-text {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.3; transform: scaleY(0.6); }
}

/* ===== Welcome Section ===== */
.welcome {
    padding: 4rem 0;
    text-align: center;
    background: var(--bg);
    position: relative;
}

.welcome-content h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.welcome-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== Bundestag Photo Section ===== */
.bundestag-section {
    padding: 0;
    background: var(--bg-dark);
    overflow: hidden;
    position: relative;
}

.bundestag-wrapper {
    position: relative;
    height: 50vh;
    min-height: 300px;
    max-height: 500px;
    overflow: hidden;
}

.bundestag-image-container {
    position: absolute;
    inset: 0;
    clip-path: inset(50% 50% 50% 50%);
    transition: clip-path 1.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.bundestag-section.visible .bundestag-image-container {
    clip-path: inset(0% 0% 0% 0%);
}

.bundestag-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transform: scale(1.15);
    transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(0.7) contrast(1.1);
}

.bundestag-section.visible .bundestag-img {
    transform: scale(1);
}

.bundestag-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.1) 40%,
        rgba(0, 0, 0, 0.3) 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 4rem 2rem;
    z-index: 2;
}

.bundestag-text {
    text-align: center;
    color: #fff;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.8s, transform 0.8s ease 0.8s;
}

.bundestag-section.visible .bundestag-text {
    opacity: 1;
    transform: translateY(0);
}

.bundestag-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 0.8rem;
}

.bundestag-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.bundestag-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    letter-spacing: 0.1em;
}

/* Animated corner frame */
.bundestag-frame {
    position: absolute;
    inset: 2rem;
    z-index: 3;
    pointer-events: none;
}

.frame-corner {
    position: absolute;
    width: 0;
    height: 0;
    border-color: var(--gold);
    border-style: solid;
    transition: width 0.8s ease 1.2s, height 0.8s ease 1.2s;
}

.bundestag-section.visible .frame-corner {
    width: 60px;
    height: 60px;
}

.frame-corner.top-left {
    top: 0; left: 0;
    border-width: 2px 0 0 2px;
}
.frame-corner.top-right {
    top: 0; right: 0;
    border-width: 2px 2px 0 0;
}
.frame-corner.bottom-left {
    bottom: 0; left: 0;
    border-width: 0 0 2px 2px;
}
.frame-corner.bottom-right {
    bottom: 0; right: 0;
    border-width: 0 2px 2px 0;
}

@media (max-width: 768px) {
    .bundestag-wrapper {
        height: 50vh;
        min-height: 300px;
    }
    .bundestag-frame {
        inset: 1rem;
    }
    .bundestag-section.visible .frame-corner {
        width: 30px;
        height: 30px;
    }
}

/* ===== About Section ===== */
.about {
    padding: 5rem 0;
    background: var(--bg-alt);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--primary);
}

.section-header h2.light {
    color: #fff;
}

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

.about-image {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.image-container img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 1s ease;
}

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

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 51, 102, 0.3) 0%, transparent 50%);
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gold);
    color: var(--primary-dark);
    padding: 1.5rem;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(201, 168, 76, 0.4);
    animation: badgeFloat 3s ease-in-out infinite;
}

.floating-badge span {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.floating-badge small {
    font-size: 0.7rem;
    font-weight: 500;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.highlight-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    line-height: 1.9;
    color: var(--text);
    border-left: 4px solid var(--gold);
    padding: 2rem 2rem 2rem 2.5rem;
    background: rgba(201, 168, 76, 0.04);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
}

.highlight-quote::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 15px;
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.3;
    font-family: 'Playfair Display', serif;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), var(--primary), var(--gold));
}

.timeline-item {
    position: relative;
    padding: 1rem 0 1.2rem 1.5rem;
    opacity: 0;
    transform: translateX(-20px);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-marker {
    position: absolute;
    left: -3rem;
    top: 1.8rem;
    width: 18px;
    height: 18px;
    background: var(--bg-alt);
    border: 3px solid var(--gold);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translateX(calc(-50% + 9px));
}

.timeline-item:hover .timeline-marker {
    background: var(--gold);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.5);
    transform: translateX(calc(-50% + 9px)) scale(1.3);
}

.timeline-date {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
}

.timeline-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 0.4rem;
    color: var(--text);
}

.timeline-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.3rem;
}

/* ===== Themen Marquee ===== */
.themen-marquee {
    padding: 1.2rem 0;
    background: var(--primary-dark);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 25s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 0 1.5rem;
    white-space: nowrap;
}

.marquee-content span {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.marquee-dot {
    width: 8px !important;
    height: 8px;
    background: var(--gold) !important;
    border-radius: 50%;
    display: inline-block;
    font-size: 0 !important;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== Themen Navigation ===== */
.themen-nav {
    padding: 4rem 0;
    background: var(--bg);
}

.themen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.thema-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.8rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.thema-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.thema-card:hover::before {
    opacity: 1;
}

.thema-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 51, 102, 0.2);
    border-color: transparent;
    color: #fff;
}

.thema-icon-wrap {
    position: relative;
    z-index: 1;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 51, 102, 0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.thema-card:hover .thema-icon-wrap {
    background: rgba(255, 255, 255, 0.15);
}

.thema-icon-wrap svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    transition: var(--transition);
}

.thema-card:hover .thema-icon-wrap svg {
    color: #fff;
}

.thema-card h3 {
    position: relative;
    z-index: 1;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-arrow {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    margin-top: auto;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

.thema-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ===== Forschung Section ===== */
.forschung {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.forschung-bg {
    position: absolute;
    inset: 0;
}

.forschung-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.forschung-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 26, 51, 0.92) 0%, rgba(0, 51, 102, 0.88) 100%);
}

.forschung .section-label {
    color: var(--gold);
}

.forschung-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.big-quote {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding: 2rem 2rem;
}

.quote-mark {
    font-size: 8rem;
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    opacity: 0.2;
    line-height: 0;
    position: absolute;
    top: 2rem;
    left: 0;
}

.quote-mark.close {
    left: auto;
    right: 0;
    top: auto;
    bottom: -2rem;
}

.big-quote p {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-style: italic;
    color: #fff;
    position: relative;
}

.forschung-text p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.9;
}

/* ===== Religion Section ===== */
.religion {
    padding: 5rem 0;
    background: var(--bg);
}

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

.religion-card {
    background: var(--bg-alt);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.religion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--accent));
    border-radius: 2px;
}

.religion-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 51, 102, 0.05);
    border-radius: 50%;
}

.religion-icon svg {
    width: 36px;
    height: 36px;
    color: var(--primary);
}

.feature-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.religion-card > p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ===== Blog Section ===== */
.blog {
    padding: 5rem 0;
    background: var(--bg-alt);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.blog-card {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.blog-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

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

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 60%);
}

.blog-card-date {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    background: var(--gold);
    color: var(--primary-dark);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.blog-card-content {
    padding: 1.2rem 1.5rem;
}

.blog-card-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.blog-card-content p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.blog-link svg {
    transition: transform 0.4s ease;
}

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

.blog-link:hover svg {
    transform: translateX(5px);
}

/* ===== Contact Section ===== */
.kontakt {
    padding: 5rem 0;
    background: var(--bg);
}

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

.kontakt-info h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.kontakt-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-alt);
    color: var(--primary);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid var(--border);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 51, 102, 0.3);
}

/* Form Styles */
.kontakt-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 0;
    border: none;
    border-bottom: 2px solid var(--border);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background: transparent;
    transition: var(--transition);
    color: var(--text);
}

.form-group label {
    position: absolute;
    left: 0;
    top: 1.2rem;
    font-size: 1rem;
    color: var(--text-light);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
    top: -0.8rem;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    transform: scaleX(1);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: transparent;
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 60px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    align-self: flex-start;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 60px;
}

.btn-submit:hover::before {
    opacity: 1;
}

.btn-text, .btn-icon {
    position: relative;
    z-index: 1;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(200, 16, 46, 0.3);
}

.btn-icon {
    transition: transform 0.4s ease;
}

.btn-submit:hover .btn-icon {
    transform: translate(3px, -3px);
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.3rem;
}

.footer-brand p {
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s ease;
}

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

.footer-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ===== Reveal Animations ===== */
.reveal-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.reveal-slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-stagger {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-stagger.visible {
    opacity: 1;
    transform: translateY(0);
}

.split-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.split-text.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-portrait {
        right: 3%;
    }

    .portrait-wrapper {
        width: 300px;
        height: 400px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

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

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

@media (max-width: 768px) {
    .cursor, .cursor-follower {
        display: none;
    }

    body {
        cursor: auto;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        color: var(--text) !important;
        font-size: 1.2rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero {
        flex-direction: column;
        justify-content: center;
    }

    .hero-portrait {
        position: relative;
        right: auto;
        bottom: auto;
        order: -1;
        margin-top: 100px;
        margin-bottom: -100px;
        animation-delay: 0.5s;
    }

    .portrait-wrapper {
        width: 220px;
        height: 280px;
        margin: 0 auto;
    }

    .hero-content {
        text-align: center;
        padding: 0 2rem;
    }

    .hero-text-wrapper {
        max-width: 100%;
    }

    .hero-subtitle {
        justify-content: center;
    }

    .hero-cta {
        margin: 0 auto;
    }

    .title-word {
        font-size: 3rem;
    }

    .kontakt-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .themen-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .thema-card {
        padding: 1.5rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

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

    .religion-card {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .themen-grid {
        grid-template-columns: 1fr;
    }
}
