/* ========================================
   IMPORT & CSS VARIABLES
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #2a2a2a;
    --primary-light: #3a3a3a;
    --primary-dark: #1a1a1a;
    --accent: #ff6b35;
    --accent-light: #ff8c42;
    --accent-dark: #e55a2b;
    --dark: #1a1a1a;
    --dark-light: #2a2a2a;
    --dark-medium: #333333;
    --glass: rgba(255, 255, 255, 0.08);
    --glass-dark: rgba(0, 0, 0, 0.4);
    --text: #ffffff;
    --text-muted: #cccccc;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #ff6b35;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 50%, var(--dark-medium) 100%);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(600px at 20% 30%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        radial-gradient(800px at 80% 70%, rgba(255, 140, 66, 0.06) 0%, transparent 50%),
        radial-gradient(400px at 40% 80%, rgba(255, 107, 53, 0.04) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes backgroundShift {
    0% { transform: translateX(-20px) translateY(-20px); }
    100% { transform: translateX(20px) translateY(20px); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent-light) 100%);
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    backdrop-filter: blur(20px) saturate(180%);
    background: var(--glass);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    padding: 0.5rem 2rem;
    background: var(--glass-dark);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.logo:hover::after {
    transform: scaleX(1);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-menu a:hover::before {
    opacity: 1;
}

.nav-menu a:hover {
    transform: translateY(-2px);
    color: white;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 2rem;
    overflow: hidden;
}

/* Hero Slideshow Container */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    bottom: 150px;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slide.active {
    opacity: 1;
}

/* Hero Image Layout */
.hero-triple {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Hauptbild - vertikal skalierend + dynamischer Scale-Faktor */
.hero-main {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: brightness(0.5);
    z-index: 2;
    flex-shrink: 0;
    position: relative;
    /* transform: scale() wird dynamisch per inline-style gesetzt */
}

/* Entfernte Seitenbilder - CSS bleibt für Kompatibilität */
.hero-bg-left,
.hero-bg-right {
    display: none;
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.3) 0%,
        rgba(42, 42, 42, 0.2) 50%,
        rgba(255, 107, 53, 0.05) 100%
    );
    z-index: 3;
    pointer-events: none;
}

/* Hero Bottom Scroll */
.hero-bottom-scroll {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 4;
    background: linear-gradient(180deg, transparent 0%, rgba(26, 26, 26, 0.9) 100%);
    overflow: hidden;
}

.hero-scroll-container {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-scroll-track {
    display: flex;
    height: 120px;
    gap: 20px;
    animation: heroScrollLoop 30s linear infinite;
    padding: 0 20px;
}

.hero-scroll-track.paused {
    animation-play-state: paused;
}

.hero-scroll-item {
    flex-shrink: 0;
    height: 100px;
    width: 160px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
}

.hero-scroll-item:hover {
    transform: scale(1.05);
    border-color: var(--accent);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.hero-scroll-item img,
.hero-scroll-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-scroll-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 8px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.hero-scroll-item:hover .hero-scroll-overlay {
    transform: translateY(0);
}

.hero-scroll-title {
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
}

@keyframes heroScrollLoop {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Hero Content */
.hero-content {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    z-index: 5;
    text-align: center;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.5s ease;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s both;
    line-height: 1.1;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero p {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    opacity: 0.8;
    font-weight: 300;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.7s both;
}

.hero-cta {
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s both;
}

.cta-button {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.3);
}

.cta-button span {
    position: relative;
    z-index: 1;
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

.floating-shape:nth-child(1) {
    top: 20%;
    left: 10%;
    width: 100px;
    height: 100px;
    background: var(--accent);
    border-radius: 50%;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    top: 60%;
    right: 15%;
    width: 150px;
    height: 150px;
    background: var(--accent-light);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: 2s;
}

.floating-shape:nth-child(3) {
    bottom: 20%;
    left: 20%;
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: 20px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* ========================================
   LANDING SECTION
   ======================================== */

.landing-section {
    display: none;
    min-height: 100vh;
    padding: clamp(3rem, 6vw, 6rem) 2rem;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.landing-logo {
    position: fixed;
    top: clamp(18px, 3vw, 32px);
    left: clamp(18px, 3vw, 32px);
    z-index: 6;
}

.landing-logo img {
    height: clamp(32px, 6vw, 56px);
    width: auto;
}

.landing-inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.landing-card {
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: clamp(2rem, 4vw, 3rem);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

.landing-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 1rem;
}

.landing-card h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    margin-bottom: 1rem;
}

.landing-subtitle {
    font-size: clamp(1.1rem, 2.6vw, 1.4rem);
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.landing-body {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    white-space: pre-wrap;
    opacity: 0.9;
}

.landing-list {
    list-style: none;
    display: grid;
    gap: 0.6rem;
    padding: 0;
    margin: 0 0 2rem 0;
}

.landing-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-list li::before {
    content: '•';
    color: var(--accent);
    font-size: 1.2rem;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.landing-login {
    position: fixed;
    right: clamp(16px, 3vw, 32px);
    bottom: clamp(16px, 3vw, 32px);
    width: min(360px, calc(100vw - 32px));
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
    display: none;
}

.landing-login-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}

.landing-login-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.landing-login-form {
    display: grid;
    gap: 0.6rem;
}

.landing-login-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.landing-login-form input {
    padding: 0.65rem 0.8rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

.landing-login-form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.landing-login-btn {
    margin-top: 0.4rem;
    padding: 0.75rem;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    cursor: pointer;
}

.landing-login-msg {
    display: none;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.15);
    color: #ffd2d2;
}

.landing-login-msg.show {
    display: block;
}

body.landing-enabled .landing-section {
    display: flex;
}

body.landing-enabled .landing-login {
    display: block;
}

body.landing-enabled .header,
body.landing-enabled .hero,
body.landing-enabled .about,
body.landing-enabled .gallery-section,
body.landing-enabled .contact,
body.landing-enabled .footer,
body.landing-enabled .gallery-detail {
    display: none;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    padding: clamp(4rem, 8vw, 8rem) 2rem;
    position: relative;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 5rem);
    max-width: 1400px;
    margin: 0 auto;
    align-items: stretch;
}

/* About Text */
.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1s ease 0.3s both;
}

.about-text h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-weight: 300;
}

.about-text p:first-of-type {
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
}

/* Portrait Section */
.portrait-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    position: relative;
}

.portrait-placeholder {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 100%;
    overflow: visible;
}

.portrait-placeholder img {
    height: 100%;
    width: auto;
    max-height: 860px;
    object-fit: contain;
    transform: translateY(50px);
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.55));
    pointer-events: none;
}

.portrait-placeholder.visible img {
    transform: translateY(0);
    opacity: 1;
}

.portrait-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
}

/* ========================================
   GALLERY SECTION
   ======================================== */

.gallery-section {
    padding: 6rem 2rem;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}

.galleries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-card {
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.gallery-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(255, 140, 66, 0.06) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover::before {
    opacity: 1;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.gallery-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.gallery-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.gallery-description {
    opacity: 0.7;
    font-size: 0.95rem;
    line-height: 1.5;
}

.gallery-preview {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.gallery-images {
    display: flex;
    height: 100%;
    animation: slideShow 12s infinite;
}

.gallery-images.paused {
    animation-play-state: paused;
}

.gallery-image {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.image-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

@keyframes slideShow {
    0%, 25% { transform: translateX(0%); }
    30%, 55% { transform: translateX(-100%); }
    60%, 85% { transform: translateX(-200%); }
    90%, 100% { transform: translateX(-300%); }
}

/* Gallery Detail View */
.gallery-detail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    z-index: 3000;
    display: none;
    flex-direction: column;
}

.gallery-detail.show {
    display: flex;
}

.gallery-detail-header {
    padding: 1rem 2rem;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gallery-detail-content {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

.gallery-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.detail-image {
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.detail-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.close-detail {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.close-detail:hover {
    background: var(--glass);
    transform: scale(1.1);
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--dark-light) 0%, var(--dark) 100%);
    text-align: center;
}

.contact h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.contact-item h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-item p {
    opacity: 0.8;
    line-height: 1.6;
}

/* ========================================
   IMPRESSUM
   ======================================== */

.impressum {
    padding: 5rem 2rem 6rem;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    text-align: center;
}

.impressum h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 300;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.impressum-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    text-align: left;
}

.impressum-grid h3 {
    color: var(--accent);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.impressum-grid p {
    opacity: 0.85;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
}

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

/* ========================================
   FOOTER
   ======================================== */

.footer {
    padding: 3rem 2rem 1rem;
    background: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer p {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet & Mobile */
@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr;
        align-items: center;
        text-align: center;
    }

    .portrait-container {
        height: auto;
        margin-bottom: 2rem;
    }

    .portrait-placeholder img {
        width: 70%;
        height: auto;
        transform: none;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
        line-height: 1.5;
    }

    .header {
        padding: 0.75rem 1rem;
        backdrop-filter: blur(10px) saturate(150%);
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        width: 100%;
    }

    .nav-menu a {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .hero {
        min-height: 80vh;
        padding: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .hero-bottom-scroll {
        height: 100px;
    }

    .hero-scroll-track {
        height: 80px;
        gap: 15px;
        padding: 0 15px;
    }

    .hero-scroll-item {
        height: 70px;
        width: 120px;
    }

    .floating-shape {
        display: none;
    }

    .about {
        padding: 3rem 1rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
    }

    .about-text h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .about-text p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .portrait-placeholder {
        min-height: 300px;
        padding: 1.5rem;
    }

    .gallery-section {
        padding: 3rem 1rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .galleries-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 0;
    }

    .gallery-card {
        border-radius: 15px;
    }

    .gallery-header {
        padding: 1rem;
    }

    .gallery-title {
        font-size: 1.2rem;
    }

    .gallery-description {
        font-size: 0.9rem;
    }

    .gallery-preview {
        height: 250px;
    }

    .gallery-stats {
        padding: 0.75rem 1rem;
    }

    .gallery-detail-header {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .gallery-detail-content {
        padding: 1rem;
    }

    .gallery-detail-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .detail-image {
        aspect-ratio: 16/9;
    }

    .close-detail {
        font-size: 1.2rem;
        padding: 0.75rem;
        align-self: flex-end;
    }

    .contact {
        padding: 3rem 1rem;
    }

    .contact h2 {
        font-size: 2rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-item {
        padding: 1.5rem;
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .gallery-preview {
        height: 200px;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }

    .portrait-placeholder {
        min-height: 250px;
        padding: 1rem;
    }

    .contact h2 {
        font-size: 1.8rem;
    }

    .contact-item {
        padding: 1rem;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 0.5rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-bottom-scroll {
        height: 80px;
    }

    .hero-scroll-item {
        height: 60px;
        width: 100px;
    }
}

/* ========================================
   ACCESSIBILITY & SPECIAL MODES
   ======================================== */

/* Print Styles */
@media print {
    .header, .gallery-detail {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero, .about, .gallery-section, .contact {
        page-break-inside: avoid;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --accent: #ff8c42;
        --text: #ffffff;
        --glass: rgba(255, 255, 255, 0.15);
    }
    
    .gallery-card, .admin-panel {
        border: 2px solid var(--accent);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-scroll-track {
        animation: none;
    }
    
    .floating-shape {
        animation: none;
    }
}
