:root {
    --primary-color: #604439;       /* Tiefes Braun-Taupe */
    --secondary-color: #F7F3EE;     /* Helles warmes Beige/Creme */
    --accent-color: #B08D57;        /* Gedämpftes Altgold */
    --text-color: #4A4A4A;          /* Dunkles Grau */
    --light-text-color: #FDFBF6;    /* Sehr helles Creme */
    --heading-color: #503C32;       /* Etwas dunkleres Braun für Überschriften */
    --white: #FFFFFF;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-color);
    background-color: var(--secondary-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    color: var(--heading-color);
    font-weight: 700;
}

.section {
    padding: 80px 0;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

/* Background Themes */
.bg-primary-theme {
    background-color: var(--primary-color) !important;
    color: var(--light-text-color) !important;
}

.bg-primary-theme h1, 
.bg-primary-theme h2, 
.bg-primary-theme h3, 
.bg-primary-theme h4, 
.bg-primary-theme h5, 
.bg-primary-theme h6,
.bg-primary-theme p,
.bg-primary-theme strong,
.bg-primary-theme i,
.bg-primary-theme .lead {
    color: var(--light-text-color) !important;
}

.bg-secondary-theme {
    background-color: var(--secondary-color) !important;
}

.bg-dark-theme {
    background-color: var(--primary-color) !important;
    color: var(--light-text-color) !important;
}

.bg-dark-theme h1, 
.bg-dark-theme h2, 
.bg-dark-theme h3, 
.bg-dark-theme h4, 
.bg-dark-theme h5, 
.bg-dark-theme h6,
.bg-dark-theme p,
.bg-dark-theme strong,
.bg-dark-theme i,
.bg-dark-theme .lead {
    color: var(--light-text-color) !important;
}

/* Common Components */
.btn-primary-custom {
    background-color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 14px 32px;
    font-size: 1.1rem;
    border-radius: 30px;
    transition: var(--transition);
    color: var(--light-text-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    text-decoration: none;
}

.btn-accent-custom {
    background-color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 12px 28px;
    border-radius: 30px;
    transition: var(--transition);
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}

.btn-accent-custom:hover {
    background-color: #96774a;
    border-color: #96774a;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-primary-custom:hover {
    background-color: #96774a;
    border-color: #96774a;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    color: var(--light-text-color);
}

.btn-outline-custom {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    padding: 12px 28px;
    font-size: 1rem;
    border-radius: 30px;
    transition: var(--transition);
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    text-decoration: none;
}

.btn-outline-custom:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-custom.btn-light {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-custom.btn-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-outline-dark-custom {
    background-color: transparent;
    border: 2px solid var(--heading-color);
    padding: 10px 24px;
    font-size: 1rem;
    border-radius: 30px;
    transition: var(--transition);
    color: var(--heading-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    text-decoration: none;
}

.btn-outline-dark-custom:hover {
    background-color: var(--heading-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Navbar */
/* Portfolio Story Cards */
.story-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.03);
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.story-card__img-wrapper {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.story-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-card:hover .story-card__img {
    transform: scale(1.05);
}

.story-card__badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.story-card__content {
    padding: 25px;
}

.story-card__meta {
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    display: flex;
    gap: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.story-card__title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.story-card__text {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.story-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 15px;
}

.story-card__icons {
    display: flex;
    gap: 12px;
    color: var(--accent-color);
    font-size: 1rem;
}

.story-card__link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-family: 'Lora', serif;
    font-size: 0.9rem;
    transition: var(--transition);
}

.story-card__link:hover {
    color: var(--accent-color);
}

/* Story Quote */
.story-quote {
    padding: 100px 0;
    background-color: var(--secondary-color);
    text-align: center;
}

.story-quote__text {
    font-family: 'Lora', serif;
    font-size: 1.8rem;
    font-style: italic;
    color: var(--primary-color);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.story-quote__text::before,
.story-quote__text::after {
    content: '"';
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.3;
    position: absolute;
}

.story-quote__text::before {
    top: -30px;
    left: -40px;
}

.story-quote__text::after {
    bottom: -60px;
    right: -40px;
}

/* Category Intro */
.category-intro {
    margin-bottom: 60px;
}

.category-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.category-intro p {
    font-size: 1.1rem;
    max-width: 900px;
}

.navbar {
    background-color: var(--primary-color) !important;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    transition: var(--transition);
}

.navbar .nav-link {
    color: var(--light-text-color) !important;
    font-weight: 400;
    margin: 0 10px;
}

.navbar .nav-link:hover {
    color: var(--light-text-color) !important;
}

.navbar-brand img {
    max-height: 60px;
    box-shadow: none;
    margin-right: .75rem;
    border-radius: 0;
}

.dropdown-menu {
    background-color: var(--primary-color);
    border: 1px solid var(--accent-color);
}

.dropdown-item {
    color: var(--light-text-color);
}

.dropdown-item:hover {
    background-color: var(--accent-color);
    color: var(--light-text-color);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 80px 0 40px;
}

.footer a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--accent-color);
}

.footer h5 {
    color: var(--light-text-color);
    margin-bottom: 25px;
    font-family: 'Lora', serif;
}

/* Floating Elements */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    color: white;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

.contact-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background-color: var(--accent-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    box-shadow: 2px 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    color: white;
}

.contact-float:hover {
    transform: scale(1.1);
    color: white;
}

.whatsapp-float::after {
    content: "WhatsApp";
    position: absolute;
    right: 75px;
    background-color: #25D366;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
    white-space: nowrap;
}

.whatsapp-float:hover::after {
    opacity: 1;
    visibility: visible;
}

.contact-float::after {
    content: "Kontakt";
    position: absolute;
    right: 75px;
    background-color: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
    white-space: nowrap;
}

.contact-float:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Mobile Fixes for Floating Buttons */
@media (max-width: 768px) {
    .whatsapp-float, .contact-float {
        width: 50px;
        height: 50px;
        font-size: 20px;
        right: 20px;
    }
    .whatsapp-float {
        bottom: 20px;
    }
    .contact-float {
        bottom: 80px;
    }
    .whatsapp-float::after, .contact-float::after {
        display: none; /* Tooltips auf Mobile ausblenden */
    }
}

/* Hero Section */
.hero-minimal h1, .hero-minimal p {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-minimal {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-minimal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.25);
}

/* Portfolio Gallery */
.gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 5px;
    transition: .3s;
}

@media (min-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1440px) {
    .gallery {
        grid-template-columns: repeat(6, 1fr);
    }
}

.gallery:hover .gallery__image {
    filter: grayscale(1);
}

.gallery__link {
    overflow: hidden;
    aspect-ratio: 9 / 16;
    display: block;
}

.gallery__link:hover .gallery__image {
    filter: grayscale(0);
}

.gallery__link:hover .gallery__caption {
    opacity: 1;
}

.gallery__thumb {
    position: relative;
    height: 100%;
    margin: 0;
}

.gallery__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s;
}

.gallery__image:hover {
    transform: scale(1.1);
}

.video-overlay-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    opacity: 0.8;
    z-index: 2;
    pointer-events: none;
    transition: .3s;
}

.gallery__link:hover .video-overlay-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
}

.gallery__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 25px 15px 15px;
    width: 100%;
    font-family: 'Lora', serif;
    font-size: 16px;
    font-weight: 700;
    color: white;
    opacity: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .7) 0%, rgba(255, 255 ,255 , 0) 100%);
    transition: .3s;
}

/* FAQ Accordion Styling */
.accordion-item {
    border: 1px solid #E0D9D0;
    margin-bottom: 10px;
    border-radius: 8px !important;
    overflow: hidden;
}

.accordion-button:not(.collapsed) {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--accent-color);
}

/* Netflix Card Styles */
.netflix-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background-color: #141414;
}

.netflix-card:hover {
    transform: scale(1.05);
    z-index: 10;
}

.netflix-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0) 100%);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.netflix-card:hover .netflix-overlay {
    opacity: 1;
}

.netflix-description {
    font-size: 0.8rem;
    line-height: 1.2;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin 0.3s ease;
}

.netflix-card:hover .netflix-description {
    max-height: 100px;
    margin-top: 10px;
}

.play-btn-wrapper {
    transition: transform 0.3s ease;
}

.netflix-card:hover .play-btn-wrapper {
    transform: scale(1.1);
}

/* Process Steps */
.process-step {
    width: 40px;
    height: 40px;
    line-height: 40px;
    background-color: var(--white);
    color: var(--accent-color);
    border-radius: 50%;
    display: inline-block;
    font-weight: bold;
    margin-bottom: 15px;
}

.process-row h5 {
    color: var(--white);
}

.process-row {
    position: relative;
}

/* SEO Content Area */
.seo-content {
    line-height: 1.8;
    color: #555;
}

.seo-content h4 {
    margin-top: 30px;
    color: var(--primary-color);
}

/* Trailer Poster Styles */
.trailer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    perspective: 1500px;
    padding: 100px 20px;
    background-color: var(--secondary-color);
}

.poster-container {
    aspect-ratio: 9 / 14;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), center / cover no-repeat url('img/hochzeit-1.webp');
    width: 100%;
    max-width: 350px; /* Begrenzung für Desktop */
    position: relative;
    margin: 0 auto;
    animation: posterMove 10s infinite ease-in-out;
    transform-style: preserve-3d;
    perspective: 1000px;
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    background-color: var(--primary-color);
}

@media (max-width: 768px) {
    .poster-container {
        max-width: 80vmin;
        border-radius: 4vmin;
    }
}

@keyframes posterMove {
    0%, 100% { transform: rotateY(-15deg) rotateX(-5deg); }
    25% { transform: rotateY(15deg) rotateX(-5deg); }
    50% { transform: rotateY(15deg) rotateX(5deg); }
    75% { transform: rotateY(-15deg) rotateX(5deg); }
}

.poster-header {
    position: absolute;
    top: 30%;
    left: 0;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    transform: translateZ(90px);
    transform-style: preserve-3d;
    pointer-events: none;
    z-index: 20;
}

@media (max-width: 768px) {
    .poster-header {
        transform: translateZ(30vmin);
    }
}

.poster-title {
    font-family: 'Lora', serif;
    font-size: 80px; /* Feste Größe für Desktop */
    font-weight: 900;
    position: absolute;
    margin: 0;
    line-height: 1em;
    white-space: nowrap;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    /* Glanzeffekt */
    background: linear-gradient(45deg, var(--accent-color) 30%, #fff 50%, var(--accent-color) 70%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 10px 20px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .poster-title {
        font-size: 15vmin;
    }
}

.poster-title::before {
    content: attr(data-title);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    color: rgba(176, 141, 87, 0.4);
    -webkit-text-fill-color: initial;
    mix-blend-mode: overlay;
    text-shadow: 0px 0px 4vmin rgba(0,0,0,0.4);
    pointer-events: none; /* Verhindert Interaktion mit dem Pseudo-Element */
}

.poster-image-front {
    position: absolute;
    bottom: -2%;
    left: 5%;
    width: 90%;
    height: auto;
    transform: translateZ(80px); /* Desktop-spezifisch */
    transform-style: preserve-3d;
    filter: drop-shadow(0px 0px 40px rgba(0,0,0,0.6));
    border-radius: 20px;
    pointer-events: none;
    z-index: 10;
}

@media (max-width: 768px) {
    .poster-image-front {
        transform: translateZ(25vmin);
        border-radius: 4vmin;
    }
}

.poster-name-left {
    font-family: 'Lora', serif;
    font-size: 18px; /* Feste Größe */
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    text-shadow: 0px 0px 3vmin rgba(0,0,0,0.8);
    position: absolute;
    top: 5%;
    left: 8%;
    transform: translateZ(120px);
    margin: 0;
    font-weight: 700;
    z-index: 25;
}

@media (max-width: 768px) {
    .poster-name-left {
        font-size: 3vmin;
        transform: translateZ(35vmin);
    }
}

.poster-name-right {
    font-family: 'Lora', serif;
    font-size: 18px; /* Feste Größe */
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    text-shadow: 0px 0px 3vmin rgba(0,0,0,0.8);
    position: absolute;
    top: 5%;
    right: 8%;
    transform: translateZ(120px);
    margin: 0;
    font-weight: 700;
    z-index: 25;
}

@media (max-width: 768px) {
    .poster-name-right {
        font-size: 3vmin;
        transform: translateZ(35vmin);
    }
}

.poster-tagline {
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    text-align: center;
    color: var(--white);
    letter-spacing: 0.4em;
    width: 100%;
    position: absolute;
    top: 26%;
    left: 0;
    transform: translateZ(100px);
    margin: 0;
    z-index: 22;
}

@media (max-width: 768px) {
    .poster-tagline {
        font-size: 2vmin;
        transform: translateZ(32vmin);
    }
}

.poster-tagline strong {
    font-weight: 900;
    color: var(--accent-color);
}

.poster-bottom-text {
    display: flex;
    justify-content: space-around; /* Bessere Verteilung */
    padding: 0 5%;
    font-family: 'Lora', serif;
    font-size: 28px;
    line-height: 1em;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: absolute;
    top: 48%;
    left: 0;
    width: 100%;
    margin: 0;
    transform: translateZ(100px);
    z-index: 22;
}

@media (max-width: 768px) {
    .poster-bottom-text {
        font-size: 5vmin;
        transform: translateZ(32vmin);
        justify-content: space-between;
        padding: 0 10%;
    }
}

.poster-bottom-text span {
    display: inline-block;
    color: var(--white);
    text-shadow: 0px 5px 15px rgba(0,0,0,0.5);
    position: relative;
    margin: 0 5px; /* Kleiner Abstand zwischen Highlight und Trailer */
}

.poster-bottom-text span::before {
    content: attr(data-title);
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(255, 255, 255, 0.2);
    mix-blend-mode: overlay;
}

@media (max-width: 768px) {
    .poster-container {
        max-width: 85vmin;
    }
}

/* Mini-Creditbar unter dem Footer */
.credit-bar{
    background-color: #3f2f28; /* etwas dunkler als Footer */
    color: var(--secondary-color);
    font-size: .9rem;
    text-align: center;
    padding: 10px 12px;
}
.credit-bar a{ color: var(--accent-color); text-decoration: none; }
.credit-bar a:hover{ text-decoration: underline; }
