/* 
========================================================================
   PREMIUM DESIGN SYSTEM - VIDEO AGENCY LANDINGPAGE
   Farbschema: Tiefschwarz (#0B0F19), Neon-Cyan (#00F0FF), Gold (#D4AF37)
========================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;800;900&display=swap');

:root {
    /* Color Palette */
    --bg-dark: #0B0F19;
    --bg-dark-secondary: #121826;
    --bg-card: rgba(18, 24, 38, 0.7);
    --accent-cyan: #00F0FF;
    --accent-cyan-glow: rgba(0, 240, 255, 0.4);
    --accent-gold: #D4AF37;
    --accent-gold-glow: rgba(212, 175, 55, 0.3);
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --success-green: #00FF87;
    
    /* Layout & Animation Tokens */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Hintergrund-Effekt: Subtile leuchtende Orbs für Tiefe */
body::before, body::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-cyan-glow) 0%, rgba(11, 15, 25, 0) 70%);
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}

body::before {
    top: -100px;
    right: -200px;
}

body::after {
    top: 50%;
    left: -200px;
    background: radial-gradient(circle, var(--accent-gold-glow) 0%, rgba(11, 15, 25, 0) 70%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

p {
    color: var(--text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #1E293B;
    border-radius: 5px;
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* ---------------------------------------------------------------------
   Navigation / Header
   --------------------------------------------------------------------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-container img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.8;
}

nav a:hover, nav a.active {
    opacity: 1;
    color: var(--accent-cyan);
    text-shadow: 0 0 10px var(--accent-cyan-glow);
}

/* ---------------------------------------------------------------------
   Hero Section
   --------------------------------------------------------------------- */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 1rem 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.badge {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    display: inline-block;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
    animation: pulseGlow 3s infinite alternate;
}

.hero-section h1 {
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    max-width: 1000px;
}

.hero-section h1 span.gradient-text {
    background: linear-gradient(90deg, #FFFFFF 30%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-section .subheadline {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    max-width: 800px;
    margin-bottom: 3rem;
    color: var(--text-secondary);
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    border: 1px solid var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 0 45px rgba(0, 240, 255, 0.5);
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(18, 24, 38, 0.8);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 0 25px var(--accent-gold-glow);
    transform: translateY(-3px);
}

.btn i {
    margin-left: 10px;
    font-size: 1.1rem;
}

/* ---------------------------------------------------------------------
   Benefits Section (Zusatz zur Konkurrenzausschaltung)
   --------------------------------------------------------------------- */
.benefits-section {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-header h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 1rem;
}

.section-header h2 span {
    color: var(--accent-cyan);
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-lg);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-gold));
    opacity: 0;
    transition: var(--transition-fast);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.benefit-icon {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    font-size: 0.95rem;
}

/* ---------------------------------------------------------------------
   Demo Portfolio (3-Spalten Video-Grid)
   --------------------------------------------------------------------- */
.portfolio-section {
    padding: 6rem 5%;
    background-color: var(--bg-dark-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.portfolio-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 40px rgba(0, 240, 255, 0.15);
}

.video-container {
    width: 100%;
    height: clamp(320px, 34vw, 500px);
    background: #000000;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container.aspect-16-9 {
    aspect-ratio: auto;
}

.video-container.aspect-9-16 {
    aspect-ratio: auto;
}

.video-container video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(11, 15, 25, 0.9) 0%, rgba(11, 15, 25, 0) 50%);
    pointer-events: none;
    z-index: 2;
}

.portfolio-info {
    padding: 1.8rem;
    position: relative;
    z-index: 3;
    min-height: 118px;
}

.portfolio-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #FFFFFF;
}

.portfolio-info p {
    font-size: 0.85rem;
    color: var(--accent-cyan);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.portfolio-summary {
    display: block;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
    margin-top: 0.85rem;
}

.portfolio-points {
    list-style: none;
    display: grid;
    gap: 0.65rem;
    margin: 1.15rem 0 0;
    padding: 0;
}

.portfolio-points li {
    position: relative;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.45;
    padding-left: 1.15rem;
}

.portfolio-points li::marker {
    content: "";
}

.portfolio-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.58em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.45);
}

.portfolio-note {
    max-width: 1080px;
    margin: 3rem auto 0;
    padding: 1.35rem 1.5rem;
    border: 1px solid rgba(0, 240, 255, 0.24);
    border-radius: var(--border-radius-md);
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.09), rgba(255, 255, 255, 0.035));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.portfolio-note strong {
    display: block;
    color: #FFFFFF;
    font-size: 1rem;
    line-height: 1.3;
}

.portfolio-note span {
    display: block;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.45;
    margin-top: 0.3rem;
}

.portfolio-note-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 0.55rem 1rem;
    margin: 0;
    padding: 0;
    min-width: min(460px, 100%);
}

.portfolio-note-list li {
    position: relative;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
    padding-left: 1.05rem;
}

.portfolio-note-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.45);
}

/* ---------------------------------------------------------------------
   Kunden-Feedback (Infinite Marquee)
   --------------------------------------------------------------------- */
.feedback-section {
    padding: 6rem 0;
    overflow: hidden;
    position: relative;
}

.feedback-section::before, .feedback-section::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 15%;
    z-index: 10;
    pointer-events: none;
}

.feedback-section::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-dark) 0%, rgba(11, 15, 25, 0) 100%);
}

.feedback-section::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-dark) 0%, rgba(11, 15, 25, 0) 100%);
}

.marquee-wrapper {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.marquee-content {
    display: flex;
    gap: 2rem;
    padding: 1.5rem 0;
    white-space: nowrap;
    animation: marqueeAnimation 35s linear infinite;
    width: max-content;
}

.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

.feedback-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 2.5rem;
    border-radius: var(--border-radius-md);
    min-width: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.feedback-card blockquote {
    font-size: 1.05rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: #FFFFFF;
    white-space: normal; /* Erlaubt Textumbruch bei langen Zitaten */
}

.feedback-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--bg-dark);
}

.author-info h4 {
    font-size: 0.95rem;
    color: #FFFFFF;
}

.author-info p {
    font-size: 0.8rem;
    color: var(--accent-cyan);
}

@keyframes marqueeAnimation {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* ---------------------------------------------------------------------
   Admin Panel Formular (Simuliert via JS)
   --------------------------------------------------------------------- */
.admin-trigger-container {
    text-align: center;
    margin-top: 2rem;
}

.btn-admin {
    background: transparent;
    color: var(--text-muted);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    border-radius: 100px;
}

.btn-admin:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 15, 25, 0.95);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.admin-modal.active {
    opacity: 1;
    pointer-events: all;
}

.admin-modal-content {
    background: var(--bg-dark-secondary);
    border: 1px solid var(--accent-cyan);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 500px;
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.2);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.close-modal:hover {
    color: #FFFFFF;
}

/* ---------------------------------------------------------------------
   B2B Kontaktformular
   --------------------------------------------------------------------- */
.contact-section {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem;
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.contact-info-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-info-header h2 span {
    color: var(--accent-cyan);
}

.contact-info-header p {
    margin-bottom: 2rem;
}

.availability-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.availability-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.availability-item .icon {
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.availability-item h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.availability-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Social/Direct Links */
.direct-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.link-btn {
    padding: 0.8rem 1.2rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-fast);
}

.link-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.link-btn.whatsapp-direct {
    background: #25D366;
    color: #FFFFFF;
    border-color: #25D366;
}

.link-btn.whatsapp-direct:hover {
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
    opacity: 0.9;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.8rem;
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    background: rgba(11, 15, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    padding: 1rem 1.2rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px var(--accent-cyan-glow);
    background: rgba(11, 15, 25, 0.8);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Honey-pot Spam-Schutz verstecken */
.hp-field {
    display: none !important;
}

/* Stripe Zahlungs-Hinweis */
.payment-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: var(--border-radius-md);
    padding: 1rem 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.payment-note i {
    color: var(--accent-cyan);
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.payment-note strong {
    display: block;
    color: #FFFFFF;
    margin-bottom: 0.25rem;
}

.payment-note p {
    margin: 0;
    font-size: 0.9rem;
}

/* PHP Alerts */
.php-alert {
    padding: 1.2rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 2rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.php-alert-success {
    background: rgba(0, 255, 135, 0.1);
    border: 1px solid var(--success-green);
    color: var(--success-green);
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.15);
}

.php-alert-error {
    background: rgba(255, 78, 100, 0.1);
    border: 1px solid #FF4E64;
    color: #FF4E64;
}

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
footer {
    background-color: #05070B;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 4rem 5% 2rem 5%;
}

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

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    font-size: 0.85rem;
}

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

.footer-copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ---------------------------------------------------------------------
   Modals für Impressum / Datenschutz
   --------------------------------------------------------------------- */
.legal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 15, 25, 0.95);
    z-index: 250;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.legal-modal.active {
    opacity: 1;
    pointer-events: all;
}

.legal-modal-content {
    background: var(--bg-dark-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    position: relative;
}

/* ---------------------------------------------------------------------
   Custom Video Lightbox Modal
   --------------------------------------------------------------------- */
.video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 15, 25, 0.95);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.video-lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-lightbox .close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 310;
}

.video-lightbox .close-lightbox:hover {
    color: #FFFFFF;
}

#lightbox-video {
    width: 100%;
    height: 100%;
    max-height: 80vh;
    border-radius: var(--border-radius-md);
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.3);
    outline: none;
    background-color: #000;
}

/* Dynamic aspect ratio scaling for lightbox modal */
.video-lightbox.aspect-16-9 .lightbox-content {
    max-width: 1000px;
    aspect-ratio: 16 / 9;
}

.video-lightbox.aspect-9-16 .lightbox-content {
    max-width: 450px;
    aspect-ratio: 9 / 16;
}

/* ---------------------------------------------------------------------
   Keyframes & Animations
   --------------------------------------------------------------------- */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
        border-color: rgba(0, 240, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
        border-color: rgba(0, 240, 255, 1);
    }
}

/* ---------------------------------------------------------------------
   Responsive Design
   --------------------------------------------------------------------- */
@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .video-container {
        height: clamp(300px, 58vw, 460px);
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2.5rem;
    }
    
    header {
        padding: 1.2rem 3%;
    }
}

@media (max-width: 768px) {
    .portfolio-note {
        align-items: flex-start;
        flex-direction: column;
    }

    .portfolio-note-list {
        justify-content: flex-start;
    }

    header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        position: static; /* Für besseren Platz auf Mobilgeräten */
    }
    
    nav ul {
        gap: 1.2rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-section {
        padding-top: 3rem;
    }

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

    .video-container {
        height: min(78vh, 520px);
    }
    
    .cta-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .feedback-card {
        min-width: 320px;
        padding: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}
