/* --------------------------------------------------------------------------
   1. FONTS & VARIABLES
   -------------------------------------------------------------------------- */
@import url("https://use.typekit.net/wsr5ijp.css");

:root {
    --gold: #E1C383;
    --gold-dark: #d4b876;
    --black: #000000;
    --dark: #1a1a1a;
    --white: #ffffff;
    --gray: #B5B5B5;
    --gray-light: #cccccc;
    --swiper-pagination-color: #E1C383;
    --transition: all 0.3s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
}

body {
    font-family: gitan-latin, sans-serif;
    font-weight: 400;
    font-size: 14px;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* --------------------------------------------------------------------------
   2. CUSTOM CURSOR
   -------------------------------------------------------------------------- */
.circle-cursor {
    position: fixed;
    left: 0;
    top: 0;
    pointer-events: none;
    border-radius: 50%;
    z-index: 12000;
}

.circle-cursor--inner {
    width: 5px;
    height: 5px;
    left: -2.5px;
    top: -2.5px;
    background: var(--gold);
    border: 1px solid var(--gold);
}

.circle-cursor--outer {
    width: 70px;
    height: 70px;
    border: 1px solid var(--gold);
    opacity: 0.4;
}

@media (hover: none) {
    .circle-cursor {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   3. SWIPER / SLIDES (HORIZONTAL)
   -------------------------------------------------------------------------- */
.main-swiper {
    width: 100%;
    height: 100vh;
}

.swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: var(--black);
    background-size: cover;
    background-position: center;
}

.slide-image .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.slide-content.centered {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.slide-content.scrollable {
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 40px 100px;
}

.slide-content.scrollable::-webkit-scrollbar {
    width: 6px;
}

.slide-content.scrollable::-webkit-scrollbar-track {
    background: var(--black);
}

.slide-content.scrollable::-webkit-scrollbar-thumb {
    background: rgba(225, 195, 131, 0.5);
    border-radius: 3px;
}

/* Swiper Navigation - Hidden (use drag/swipe) */
.swiper-button-next,
.swiper-button-prev {
    height: 100%;
    top: 0;
    width: 20%;
    opacity: 0;
    cursor: none;
}

.swiper-button-prev {
    left: 0;
}

.swiper-button-next {
    right: 0;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    display: none;
}

/* Pagination - Bottom center with lines */
.swiper-pagination {
    bottom: 40px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.swiper-pagination-bullet {
    width: 4px;
    height: 4px;
    background: var(--gold);
    opacity: 1;
    border-radius: 50%;
    margin: 0 !important;
    position: relative;
}

.swiper-pagination-bullet+.swiper-pagination-bullet {
    margin-left: 60px !important;
}

/* Line between bullets */
.swiper-pagination-bullet::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 15px;
    width: 0;
    height: 1px;
    background: var(--gold);
    transform: translateY(-50%);
    transition: width 0.3s ease;
}

.swiper-pagination-bullet-active::before {
    width: 30px;
}

@media (max-width: 991px) {
    .swiper-pagination {
        bottom: 55px !important;
    }

    .swiper-pagination-bullet+.swiper-pagination-bullet {
        margin-left: 40px !important;
    }

    .swiper-pagination-bullet-active::before {
        width: 20px;
    }
}

/* --------------------------------------------------------------------------
   4. HEADER
   -------------------------------------------------------------------------- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.8% 4%;
    position: relative;
    z-index: 100;
    /* iOS Safari support - prevent cutoff by address bar */
    padding-top: max(2.8%, env(safe-area-inset-top));
}

.logo {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    min-width: 80px;
    max-width: 160px;
    height: auto;
}

.email {
    color: var(--gray);
    font-size: 14px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    transition: var(--transition);
    pointer-events: auto;
}

.email:hover {
    color: var(--gold);
}

@media (max-width: 767px) {
    .email {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   5. HEADLINE (Slides 2-4)
   -------------------------------------------------------------------------- */
.headline {
    font-family: gitan-latin, sans-serif;
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    text-align: center;
    line-height: 2;
    max-width: 90%;
}

/* Split headline into two lines */
.headline br {
    display: block;
}

.headline .dot {
    color: var(--white);
    margin: 0 0.15em;
}

/* --------------------------------------------------------------------------
   6. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn:hover {
    background: var(--gold);
    color: var(--black);
}

.btn--primary,
.btn--submit,
.btn--next {
    background: var(--gold);
    color: var(--black);
    border: none;
    border-radius: 4px;
}

.btn--primary:hover,
.btn--submit:hover,
.btn--next:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(225, 195, 131, 0.3);
}

.btn--gold {
    background: var(--gold);
    color: var(--black);
    border: none;
    padding: 18px 50px;
    margin-top: 50px;
}

.btn--gold:hover {
    background: var(--gold-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(225, 195, 131, 0.4);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
    padding: 0 20px;
}

.hero-buttons .btn {
    margin-top: 0;
    flex: 0 1 auto;
    min-width: 200px;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 30px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        padding: 16px 30px;
    }
}


.btn--prev {
    background: transparent;
    border: 1px solid var(--gray);
    color: var(--gray);
    border-radius: 4px;
}

.btn--prev:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: transparent !important;
}

/* --------------------------------------------------------------------------
   7. HERO SECTION (Ankauf Slide)
   -------------------------------------------------------------------------- */
.hero {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0 60px;
}

.hero-text {
    flex: 1;
    max-width: 550px;
}

.hero-text h1 {
    color: var(--gold);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-text p {
    color: var(--gray-light);
    font-size: 1rem;
    margin-bottom: 20px;
    max-width: 480px;
    line-height: 1.7;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-height: 350px;
    object-fit: contain;
}

@media (max-width: 991px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   8. STEPS SECTION
   -------------------------------------------------------------------------- */
.steps {
    max-width: 1200px;
    margin: 80px auto 80px;
    text-align: center;
}

.steps h2 {
    font-size: 2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 50px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.step {
    padding: 10px;
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-5px);
}

.step img {
    max-height: 200px;
    margin: 0 auto;
    object-fit: contain;
}

@media (max-width: 991px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .step img {
        max-height: 250px;
    }
}

/* --------------------------------------------------------------------------
   9. FORM SECTION
   -------------------------------------------------------------------------- */
.form-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    background: rgba(25, 25, 25, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.form-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 40px;
}

.form-progress {
    display: flex;
    justify-content: space-between;
    max-width: 280px;
    margin: 0 auto 50px;
    position: relative;
}

.progress-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #333;
    transform: translateY(-50%);
}

.progress-fill {
    height: 100%;
    background: var(--gold);
    width: 0%;
    transition: width 0.4s ease;
}

.progress-step {
    width: 35px;
    height: 35px;
    background: #222;
    border: 1px solid #555;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.progress-step.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
}

.progress-step.completed {
    border-color: var(--gold);
    color: #000;
    /* Ensure text is visible on the gold background */
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.form-col {
    flex: 1;
}

label {
    display: block;
    color: var(--gray-light);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="month"],
select,
textarea {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

/* Ensure privacy checkbox is visible */
input[name="datenschutz"] {
    -webkit-appearance: checkbox;
    appearance: checkbox;
    width: 20px;
    height: 20px;
    opacity: 1 !important;
    position: static !important;
    display: inline-block !important;
    cursor: pointer;
    accent-color: var(--gold);
    margin-right: 10px;
}

/* Helper for JS toggling */
.hidden {
    display: none !important;
}

textarea {
    height: 100px;
    padding: 15px;
    resize: vertical;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23E1C383' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    cursor: pointer;
}

select option {
    background: var(--dark);
    color: var(--white);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(0, 0, 0, 0.5);
}

/* ERROR STATE - FORCE RED ON MOBILE */
input.input-error,
select.input-error,
textarea.input-error {
    border-color: #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.1) !important;
    box-shadow: 0 0 0 1px #dc3545 !important;
    /* Force border visibility */
}

input.input-error:focus,
select.input-error:focus,
textarea.input-error:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 1px #dc3545 !important;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px var(--dark) inset !important;
    -webkit-text-fill-color: var(--white) !important;
}

.radio-group {
    display: flex;
    gap: 25px;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--gray-light);
    font-size: 14px;
}

.radio-option input,
.checkbox-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-custom,
.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 1px solid #666;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.radio-custom {
    border-radius: 50%;
}

.checkbox-custom {
    border-radius: 4px;
}

.radio-option:hover .radio-custom,
.checkbox-option:hover .checkbox-custom {
    border-color: var(--gold);
}

.radio-option input:checked+.radio-custom {
    border-color: var(--gold);
}

.radio-option input:checked+.radio-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
}

.checkbox-option input:checked+.checkbox-custom {
    background: var(--gold);
    border-color: var(--gold);
}

.checkbox-option input:checked+.checkbox-custom::after {
    content: '✓';
    color: var(--black);
    font-weight: 700;
    font-size: 12px;
}

.checkbox-option .link {
    color: var(--gold);
    border-bottom: 1px solid rgba(225, 195, 131, 0.5);
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-buttons .btn--next {
    margin-left: auto;
}

.form-message {
    display: none;
    text-align: center;
    margin-top: 25px;
    padding: 15px;
    border-radius: 4px;
}

.form-message.success {
    display: block;
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #4cd176;
}

.form-message.error {
    display: block;
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff6b6b;
}

@media (max-width: 768px) {
    .form-section {
        padding: 30px 20px;
        margin: 0 -20px;
        border-radius: 0;
    }

    .form-row {
        flex-direction: column;
    }

    .slide-content.scrollable {
        padding: 0 20px 100px;
    }
}

/* --------------------------------------------------------------------------
   10. FOOTER
   -------------------------------------------------------------------------- */
.copyright {
    position: fixed;
    bottom: 20px;
    left: 30px;
    font-size: 1vw;
    color: var(--gray);
    opacity: 0.43;
    letter-spacing: 0.13em;
    z-index: 100;
}

.impressum-link {
    position: fixed;
    bottom: 20px;
    right: 30px;
    font-size: 1vw;
    color: var(--white);
    opacity: 0.43;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    z-index: 100;
    transition: var(--transition);
}

.impressum-link:hover {
    color: var(--gold);
    opacity: 1;
}

@media (max-width: 991px) {

    .copyright,
    .impressum-link {
        font-size: 13px;
        bottom: 15px;
    }

    .copyright {
        left: 15px;
    }

    .impressum-link {
        right: 15px;
    }
}

/* --------------------------------------------------------------------------
   11. MODAL
   -------------------------------------------------------------------------- */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10001;
    justify-content: center;
    align-items: center;
}

.modal.open {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 29, 38, 0.48) 0%, rgba(1, 15, 20, 0.67) 90%);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    /* Fits on screen */
    overflow-y: auto;
    /* Scroll inside modal if needed */
    background: rgba(25, 25, 25, 0.98);
    border: 1px solid rgba(225, 195, 131, 0.3);
    border-radius: 8px;
    padding: 50px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

.modal-content a {
    color: var(--white);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.modal-header h2 {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 500;
}

.modal-close {
    width: 50px;
    height: 50px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    background: none;
    color: var(--gold);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: absolute;
    right: 15px;
    top: 15px;
}

.modal-close:hover {
    background: var(--gold);
    color: var(--black);
}

.modal-body h3 {
    color: var(--gold);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 20px 0 10px;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    color: var(--gray-light);
    font-size: 14px;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   12. RESPONSIVE STYLES
   -------------------------------------------------------------------------- */

/* Tablet */
@media (max-width: 991px) {
    .header {
        padding: 20px;
    }

    .logo img {
        max-width: 100px;
    }

    .email {
        font-size: 12px;
    }

    .headline {
        font-size: clamp(1.2rem, 4vw, 2rem);
        letter-spacing: 0.15em;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 30px;
    }

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

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .hero-image {
        display: none;
    }

    .steps h2 {
        font-size: 1.5rem;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .step img {
        max-height: 250px;
    }

    .form-section {
        padding: 30px 20px;
        margin: 0 -20px;
        border-radius: 0;
    }

    .slide-content.scrollable {
        padding: 0 20px 80px;
    }

    .copyright,
    .impressum-link {
        font-size: 12px;
        bottom: 15px;
    }

    .copyright {
        left: 15px;
    }

    .impressum-link {
        right: 15px;
    }

    .swiper-pagination {
        bottom: 50px !important;
    }

    .btn--gold {
        padding: 15px 35px;
        font-size: 14px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .email {
        display: none;
    }

    .header {
        justify-content: center;
    }

    .logo img {
        min-width: 100px;
        max-width: 120px;
    }

    .headline {
        font-size: 1.6rem;
        letter-spacing: 0.15em;
        line-height: 1.5;
    }

    .hero-text h1 {
        font-size: 1.4rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .steps {
        margin-bottom: 40px;
    }

    .steps h2 {
        font-size: 1.4rem;
        margin-bottom: 30px;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .step img {
        max-height: 250px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-col {
        margin-bottom: 20px;
    }

    .form-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .form-buttons .btn {
        width: 100%;
    }

    .form-buttons .btn--next {
        margin-left: 0;
    }

    .btn {
        padding: 12px 25px;
        font-size: 12px;
    }

    .modal-content {
        padding: 40px 25px;
        margin: 20px;
    }

    .radio-group {
        flex-direction: column;
        gap: 15px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .logo img {
        max-width: 80px;
    }

    .headline {
        font-size: 1rem;
    }

    .hero-text h1 {
        font-size: 1.1rem;
    }

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

    .step img {
        max-height: 250px;
    }

    .form-section {
        padding: 25px 15px;
    }

    .slide-content.scrollable {
        padding: 0 15px 80px;
    }
}

/* --------------------------------------------------------------------------
   13. LOADING SPINNER
   -------------------------------------------------------------------------- */
.btn.is-loading {
    position: relative;
    pointer-events: none;
    color: transparent !important;
}

.btn.is-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn--gold.is-loading::after {
    border-top-color: var(--black);
}

.btn--submit.is-loading::after {
    border-top-color: var(--black);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* --------------------------------------------------------------------------
   14. SWIPE HINT (Mobile)
   -------------------------------------------------------------------------- */
.swipe-hint {
    display: none;
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
    z-index: 100;
    animation: swipeHint 2s ease-in-out infinite;
}

.swipe-hint::before {
    content: '←';
    margin-right: 10px;
}

.swipe-hint::after {
    content: '→';
    margin-left: 10px;
}

@keyframes swipeHint {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.8;
    }
}

@media (max-width: 991px) {
    .swiper-slide:not(.slide-ankauf) .swipe-hint {
        display: block;
    }
}

/* Hide swipe hint on Ankauf slide */
.slide-ankauf .swipe-hint {
    display: none !important;
}

/* --------------------------------------------------------------------------
   TESTIMONIALS SECTION
   -------------------------------------------------------------------------- */
.testimonials {
    max-width: 1200px;
    margin: 80px auto 60px;
    padding: 60px 40px;
    text-align: center;
}

.testimonials h2 {
    font-size: 2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 50px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial {
    background: rgba(25, 25, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 30px 25px;
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-5px);
    border-color: rgba(225, 195, 131, 0.3);
    box-shadow: 0 10px 30px rgba(225, 195, 131, 0.1);
}

.testimonial-stars {
    font-size: 18px;
    margin-bottom: 20px;
}

.testimonial-text {
    color: var(--gray-light);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonials {
        padding: 40px 20px;
        margin: 40px auto 40px;
    }
}

/* --------------------------------------------------------------------------
   14. COOKIE BANNER
   -------------------------------------------------------------------------- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(225, 195, 131, 0.2);
    border-radius: 8px;
    padding: 25px;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    margin: 0 auto;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

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

.cookie-content h3 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.cookie-content p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.cookie-link {
    color: var(--gray-dark);
    font-size: 0.8rem;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-link:hover {
    color: var(--gold);
}

@media (max-width: 480px) {
    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 20px;
    }

    .cookie-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .cookie-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

/* Hide cookie banner when modal is open for cleaner UI */
body.modal-open .cookie-banner {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* --------------------------------------------------------------------------
   15. FOOTER (UPDATED)
   -------------------------------------------------------------------------- */
.footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;

    display: flex;
    flex-direction: row;
    /* Desktop: Side by Side */
    justify-content: space-between;
    /* Left / Right */
    align-items: center;
    gap: 20px;

    padding: 20px 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);

    /* Initially hidden for JS control */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.footer-bar.visible {
    opacity: 1;
    pointer-events: auto;
}

.footer-bar .copyright {
    position: static !important;
    font-size: 11px;
    letter-spacing: 1px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 30px;
    /* Space between Impressum and Datenschutz */
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

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

@media (max-width: 768px) {
    .footer-bar {
        flex-direction: column;
        /* Stack on mobile for better fit */
        padding-bottom: 20px;
        gap: 10px;
    }

    .footer-bar .copyright,
    .footer-links a {
        font-size: 10px;
    }
}

/* Custom Scrollbar for Modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #cba355;
}

/* --------------------------------------------------------------------------
   16. SWIPER PAGINATION ADJUSTMENT
   -------------------------------------------------------------------------- */
/* Move pagination up to avoid overlap with fixed footer */
.swiper-pagination {
    bottom: 90px !important;
}

@media (max-width: 768px) {
    .swiper-pagination {
        bottom: 95px !important;
        /* Slightly more on mobile just in case */
    }
}

/* --------------------------------------------------------------------------
   17. FORM MESSAGE (Success/Error Popup)
   -------------------------------------------------------------------------- */
.form-message {
    padding: 20px 30px;
    margin: 20px 0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    animation: slideDown 0.3s ease-out;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.form-message.success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: 2px solid #1e7e34;
}

.form-message.error {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: 2px solid #bd2130;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

@media (max-width: 768px) {
    .form-message {
        padding: 15px 20px;
        font-size: 14px;
        margin: 15px 0;
    }
}