/* General Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    position: relative;
    /* Hardware-Beschleunigung für besseres Scrolling */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.4;
}

p {
    margin-bottom: 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
}

section {
    position: relative;
    overflow: hidden;
}

.section {
    padding: var(--section-padding);
    position: relative;
}

.container {
    position: relative;
    z-index: 2;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white-color);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hearts-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.heart {
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin: 0 10px;
    animation: pulse 1.5s infinite alternate;
}

.heart:nth-child(2) {
    animation-delay: 0.2s;
}

.heart:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.loading-text {
    font-family: var(--font-primary);
    font-size: 18px;
    letter-spacing: 2px;
    color: var(--primary-color);
}

/* Particles Background */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    /* Hardware-Beschleunigung */
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Navigation */
.navbar {
    padding: 20px 0;
    transition: var(--transition-medium);
    /* Hardware-Beschleunigung für Navbar */
    will-change: background-color, padding;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
}

.navbar-dark .navbar-brand {
    font-family: var(--font-primary);
    font-size: 24px;
    color: var(--white-color);
    transition: var(--transition-fast);
}

.navbar-scrolled .navbar-brand {
    color: var(--dark-color);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 10px 15px;
    transition: var(--transition-fast);
}

.navbar-scrolled .navbar-nav .nav-link {
    color: var(--dark-color);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-toggler {
    padding: 0;
    border: none;
    font-size: 24px;
}

.navbar-dark .navbar-toggler-icon {
    background-image: none;
}

.navbar-toggler i {
    color: var(--white-color);
}

.navbar-scrolled .navbar-toggler i {
    color: var(--dark-color);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease;
    animation: slideshow 20s infinite;
}

.hero-slide.default-bg {
    background-image: linear-gradient(135deg, #D8B6A4 0%, #AA9B82 100%);
}

/* Einzelne Slide: Animation deaktivieren, immer sichtbar */
.hero-slide:only-child {
    animation: none;
    opacity: 1;
}

.hero-slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-slide:nth-child(2) {
    animation-delay: 5s;
}

.hero-slide:nth-child(3) {
    animation-delay: 10s;
}

.hero-slide:nth-child(4) {
    animation-delay: 15s;
}

@keyframes slideshow {
    0%, 20% {
        opacity: 1;
        transform: scale(1);
    }
    25%, 95% {
        opacity: 0;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white-color);
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
}

.name-box {
    font-family: var(--font-primary);
    margin-bottom: 30px;
}

.first-name, .second-name {
    font-size: 4.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 10px;
}

.ampersand {
    font-family: var(--font-accent);
    font-size: 5rem;
    font-style: italic;
    margin: -35px 0;
    position: relative;
    display: inline-block;
}

.ampersand::before, .ampersand::after {
    content: '';
    height: 2px;
    width: 60px;
    background-color: rgba(255, 255, 255, 0.6);
    position: absolute;
    top: 50%;
}

.ampersand::before {
    right: 80px;
}

.ampersand::after {
    left: 80px;
}

.wedding-date {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.countdown-container {
    margin-bottom: 50px;
}

.countdown {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.countdown-box {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    width: 100px;
    height: 100px;
    margin: 0 10px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    transition: var(--transition-medium);
}

.countdown-box:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.3);
}

.countdown-value {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.countdown-label {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.scroll-down {
    position: relative;
    animation: bounce 2s infinite;
}

.scroll-down a {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white-color);
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    transition: var(--transition-fast);
    backdrop-filter: blur(10px);
}

.scroll-down a:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.light {
    color: var(--white-color);
}

.section-header.light h2 {
    color: var(--white-color);
}

.section-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--light-color);
    box-shadow: var(--shadow-soft);
    margin: 0 auto 20px;
}

.section-header.light .section-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white-color);
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.divider span {
    height: 1px;
    width: 60px;
    background: var(--primary-color);
}

.divider i {
    font-size: 1.5rem;
    margin: 0 15px;
    color: var(--primary-color);
}

.section-header.light .divider span {
    background: var(--white-color);
}

.section-header.light .divider i {
    color: var(--white-color);
}

/* Story Section */
.story-section {
    background-color: var(--white-color);
}

.story-content {
    font-size: 1.1rem;
    line-height: 1.9;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.floating-hearts {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-heart {
    position: absolute;
    color: var(--primary-color);
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
}

.heart1 {
    top: 20%;
    left: 10%;
    font-size: 30px;
}

.heart2 {
    top: 60%;
    right: 15%;
    font-size: 40px;
}

.heart3 {
    bottom: 10%;
    left: 30%;
    font-size: 25px;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Timeline / Agenda */
.timeline-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-progress {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 4px;
    height: 0;
    background: var(--gradient-primary);
    z-index: 1;
    transition: height 0.5s ease;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 0 0 4px var(--light-color), 0 0 0 8px rgba(216, 182, 164, 0.2);
}

.timeline-content {
    background: var(--white-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    position: relative;
    width: calc(50% - 40px);
    margin-left: calc(50% + 40px);
    transition: var(--transition-medium);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: calc(50% + 40px);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-content::before {
    left: -15px;
    border-width: 10px 15px 10px 0;
    border-color: transparent var(--white-color) transparent transparent;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: auto;
    right: -15px;
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent var(--white-color);
}

.timeline-time {
    display: inline-block;
    padding: 5px 15px;
    background: var(--gradient-primary);
    color: var(--white-color);
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 15px;
}

.timeline-title {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.timeline-description {
    color: #666;
}

/* Venue Section */
.venue-section {
    padding: 0;
}

.venue-parallax {
    position: relative;
    height: 100%;
    min-height: 600px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: background-position 0.5s ease;
    will-change: background-position;
}

.venue-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.venue-container {
    padding: 100px 0;
    position: relative;
    z-index: 2;
    color: var(--white-color);
}

.venue-details {
    margin-top: 50px;
}

.venue-info {
    position: relative;
}

.venue-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    transition: var(--transition-medium);
}

.venue-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.venue-card h3 {
    color: var(--white-color);
    margin-bottom: 20px;
    text-align: center;
    font-size: 2rem;
}

.venue-address, .travel-info {
    display: flex;
    margin-bottom: 20px;
}

.venue-address i, .travel-info i {
    flex-shrink: 0;
    margin-right: 15px;
    margin-top: 5px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.venue-address address, .travel-info .travel-content {
    font-style: normal;
    line-height: 1.8;
    flex-grow: 1;
}

.venue-map {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.wedding-map-marker {
    background: none !important;
    border: none !important;
}

.wedding-map-marker i {
    font-size: 2rem;
    color: var(--primary-color);
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.no-map {
    height: 400px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.no-map-content {
    padding: 30px;
}

.no-map-content i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Gallery Section */
.gallery-section {
    background-color: var(--white-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-medium);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition-medium);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-medium);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    transform: scale(0.8);
    transition: var(--transition-fast);
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* RSVP Section */
.rsvp-section {
    background-color: var(--light-color);
}

.rsvp-card {
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--shadow-medium);
    position: relative;
}

.rsvp-card::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(216, 182, 164, 0.3);
    border-radius: 5px;
    pointer-events: none;
}

.form-floating .form-control {
    border-color: rgba(0, 0, 0, 0.1);
    height: 60px;
}

.form-floating .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(216, 182, 164, 0.25);
}

.form-floating textarea.form-control {
    height: auto;
}

.attendance-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark-color);
}

.attendance-options {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.attendance-option {
    flex: 1;
}

.attendance-btn {
    width: 100%;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: var(--white-color);
    color: var(--dark-color);
    transition: var(--transition-fast);
}

.btn-check:checked + .attendance-btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.btn-submit {
    background: var(--gradient-primary);
    border: none;
    color: var(--white-color);
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition-medium);
    box-shadow: 0 5px 15px rgba(216, 182, 164, 0.4);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(216, 182, 164, 0.5);
}

/* Additional Info Section */
.additional-info-section {
    background-color: var(--white-color);
}

.info-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    padding: 30px;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition-medium);
    position: relative;
}

.info-card:hover {
    transform: translateY(-10px);
}

.info-card.gifts {
    background-color: #FFF1E6;
}

.info-card.accommodations {
    background-color: #E2ECE9;
}

.info-card.dress-code {
    background-color: #F0EFEB;
}

/* Dresscode als eigenständige Sektion: kein Karten-Look */
#dresscode .info-card.dress-code {
    background-color: transparent;
    box-shadow: none;
    height: auto;
    padding: 0;
}

#dresscode .info-content {
    overflow: visible;
}

#dresscode .dresscode-palette {
    padding: 8px;
}

.info-card.transportation {
    background-color: #F5EFE7;
}

.info-card.photos {
    background-color: #ECE4DB;
}

.info-card.special {
    background-color: #F0DBE2;
}

.info-icon {
    width: 80px;
    height: 80px;
    background-color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-content {
    text-align: center;
    overflow-y: auto;
    word-break: break-word;
}

.info-content::-webkit-scrollbar {
    width: 5px;
}

.info-content::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

/* Swiper Customizations */
.swiper {
    width: 100%;
    padding-bottom: 50px;
}

.swiper-slide {
    height: auto;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background-color: var(--primary-color);
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary-color);
}

/* Contacts Section */
.contacts-section {
    background-color: var(--light-color);
}

.contact-card {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    height: 100%;
    transition: var(--transition-medium);
}

.contact-card:hover {
    transform: translateY(-10px) rotateY(5deg);
    box-shadow: var(--shadow-medium);
}

.contact-image {
    height: 250px;
    overflow: hidden;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.contact-card:hover .contact-image img {
    transform: scale(1.05);
}

.contact-info {
    padding: 25px;
}

.contact-info h3 {
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.contact-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.contact-details {
    margin-bottom: 15px;
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.contact-detail i {
    width: 25px;
    color: var(--primary-color);
    margin-right: 10px;
}

.contact-more-info {
    font-size: 0.9rem;
    color: #666;
}

.contact-cta {
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
}

.contact-cta h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.btn-contact {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 20px;
    transition: var(--transition-medium);
}

.btn-contact:hover {
    background-color: var(--accent-color);
    color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.faq-section {
    background-color: var(--white-color);
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.accordion-button {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 20px 25px;
    background-color: var(--white-color);
    color: var(--dark-color);
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.1);
}

.accordion-button::after {
    background-size: 18px;
    width: 18px;
    height: 18px;
}

.accordion-body {
    padding: 25px;
    background-color: var(--white-color);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white-color);
}

.footer-content {
    padding: 80px 0 40px;
}

.footer-header {
    text-align: center;
    margin-bottom: 40px;
}

.footer-names {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.footer-date {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-gallery {
    margin-bottom: 40px;
}

.footer-gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-gallery-item {
    width: calc(16.666% - 10px);
    margin: 5px;
    border-radius: 5px;
    overflow: hidden;
    height: 120px;
}

.footer-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-medium);
}

.footer-gallery-item:hover img {
    transform: scale(1.1);
}

.footer-info {
    margin-bottom: 40px;
}

.footer-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.8;
}

.legal-links {
    text-align: center;
    margin-bottom: 20px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 15px;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.legal-links a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-medium);
    z-index: 100;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--accent-color);
    color: var(--white-color);
    transform: translateY(-5px);
}

/* Modal Styles */
.modal-content {
    border-radius: 10px;
    overflow: hidden;
    border: none;
}

.modal-header {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-bottom: none;
    padding: 20px 25px;
}

.modal-title {
    font-weight: 600;
}

.modal-body {
    padding: 30px;
}

.btn-close {
    color: var(--white-color);
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    opacity: 1;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .first-name, .second-name {
        font-size: 4rem;
    }
    
    .ampersand {
        font-size: 4.5rem;
    }
    
    .ampersand::before, .ampersand::after {
        width: 40px;
    }
    
    .ampersand::before {
        right: 60px;
    }
    
    .ampersand::after {
        left: 60px;
    }

    

}

@media (max-width: 992px) {
    .section {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .first-name, .second-name {
        font-size: 3rem;
    }
    
    .ampersand {
        font-size: 3.5rem;
    }
    
    .ampersand::before, .ampersand::after {
        width: 30px;
    }
    
    .ampersand::before {
        right: 50px;
    }
    
    .ampersand::after {
        left: 50px;
    }
    
    .wedding-date {
        font-size: 1.3rem;
    }
    
    .countdown-box {
        width: 80px;
        height: 80px;
    }
    
    .countdown-value {
        font-size: 2rem;
    }
    
    .timeline-content, .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
        margin-right: 0;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .timeline-content::before {
        left: -15px;
        border-width: 10px 15px 10px 0;
        border-color: transparent var(--white-color) transparent transparent;
    }
    
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -15px;
        right: auto;
        border-width: 10px 15px 10px 0;
        border-color: transparent var(--white-color) transparent transparent;
    }
    
    .footer-gallery-item {
        width: calc(25% - 10px);
    }

    .timeline-progress {
        position: absolute;
        left: 20px;

    }

}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .name-box {
        margin-bottom: 20px;
    }
    
    .first-name, .second-name {
        font-size: 2.5rem;
    }
    
    .ampersand {
        font-size: 3rem;
        margin: 5px 0;
    }
    
    .ampersand::before, .ampersand::after {
        width: 25px;
    }
    
    .ampersand::before {
        right: 40px;
    }
    
    .ampersand::after {
        left: 40px;
    }
    
    .wedding-date {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }
    
    .countdown-box {
        width: 70px;
        height: 70px;
        margin: 0 5px 10px;
    }
    
    .countdown-value {
        font-size: 1.8rem;
    }
    
    .countdown-label {
        font-size: 12px;
    }
    
    .venue-card {
        margin-bottom: 30px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .rsvp-card {
        padding: 30px;
    }
    
    .attendance-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-gallery-item {
        width: calc(33.333% - 10px);
    }
}

@media (max-width: 576px) {
    .section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .first-name, .second-name {
        font-size: 2rem;
    }
    
    .ampersand {
        font-size: 2.5rem;
    }
    
    .ampersand::before, .ampersand::after {
        display: none;
    }
    
    .wedding-date {
        font-size: 1rem;
    }
    
    .countdown-box {
        width: 60px;
        height: 60px;
    }
    
    .countdown-value {
        font-size: 1.5rem;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .timeline-title {
        font-size: 1.3rem;
    }
    
    .venue-card, .rsvp-card {
        padding: 25px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .info-card {
        height: 350px;
        padding: 20px;
    }
    
    .info-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .footer-gallery-item {
        width: calc(50% - 10px);
    }
    
    .footer-names {
        font-size: 2rem;
    }
    
    .footer-date {
        font-size: 1rem;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }
}/* Modern Wedding Template Styles */

:root {
    --primary-color: #D8B6A4;
    --secondary-color: #6D8B74;
    --accent-color: #AA9B82;
    --dark-color: #2C3639;
    --light-color: #F5EFE7;
    --white-color: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #D8B6A4 0%, #AA9B82 100%);
    --gradient-secondary: linear-gradient(135deg, #6D8B74 0%, #3F4E4F 100%);
    --gradient-accent: linear-gradient(135deg, #AA9B82 0%, #D8B6A4 100%);
    --section-padding: 100px 0;
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Quicksand', sans-serif;
    --font-accent: 'Cormorant Garamond', serif;
    /* Kanonische Font-Aliase */
    --font-display: var(--font-accent);
    --font-heading: var(--font-primary);
    --font-body: var(--font-secondary);
    --transition-slow: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    --transition-medium: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    --transition-fast: all 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 15px 40px rgba(0, 0, 0, 0.12);
    --shadow-hard: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Styling für die Location-Tabs im modern Wedding Template */
.modern-location-tabs {
    margin-bottom: 30px;
}

.modern-location-tabs .nav-pills {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modern-location-tabs .nav-link {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    padding: 12px 20px;
    border-radius: 30px;
    margin: 5px;
    transition: all 0.3s ease;
    background-color: transparent;
}

.modern-location-tabs .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.modern-location-tabs .nav-link i {
    margin-right: 8px;
}

.modern-location-tabs .nav-link.active {
    background-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Verbesserte Venue-Karten für mehrere Locations */
.venue-card {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
    transition: all 0.3s ease;
}

.venue-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.venue-card h3 {
    color: #fff;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.venue-card h3 i {
    margin-right: 10px;
    font-size: 1.2rem;
    opacity: 0.8;
}

.venue-map {
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wedding-map-marker {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wedding-map-marker i {
    font-size: 30px;
    color: #e75e8d;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .modern-location-tabs .nav-pills {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        border-radius: 15px;
        padding: 5px;
    }
    
    .modern-location-tabs .nav-link {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    .venue-card {
        margin-bottom: 20px;
    }
    
    .venue-map {
        height: 250px;
    }
}
/* Dresscode Farbpalette */
.dresscode-palette {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}
.dresscode-swatch {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.2s ease;
    position: relative;
}
.dresscode-swatch:hover {
    transform: scale(1.15);
}
.swatch-label {
    display: block;
    text-align: center;
    font-size: 0.65rem;
    margin-top: 6px;
    color: var(--text-secondary, #666);
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}
