/* =========================================
   1. GRUNDLAGEN & VARIABLEN
   ========================================= */
:root {
    /* Neues Kirchbühl-Blau anstelle von Rot */
    --primary-color: rgb(0, 69, 124); 
    --primary-color-hover: rgb(0, 50, 95); 
    --bg-color: #f8f9fa; 
    --text-color: #1a1a1a;
    --text-light: #666;
    --dark-bg: #111; 
    --success-green: rgb(0, 69, 124); /* Optional: Grüne Haken auch in Blau */
    
    /* Neue Schriftart */
    --font-family: "Nunito Sans", sans-serif;
}

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

body {
    font-family: var(--font-family);
    font-optical-sizing: auto;
    font-weight: 300; /* Standardgewicht aus dem Screenshot */
    font-size: 18px; /* Aus dem Screenshot */
    line-height: 27px; /* Aus dem Screenshot */
    background-color: var(--dark-bg);
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
}

h1 {
    font-family: "Gilda Display", serif;
    font-weight: 400;
    font-size: 45px;
    line-height: normal;
    color: var(--primary-color);
    text-shadow: 0.5px 0 0 var(--primary-color), -0.5px 0 0 var(--primary-color); /* Macht die Schrift dicker ohne Faux-Bold Artefakte */
}

h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: 700;
    color: var(--primary-color);
}

/* Helper Utilities */
.mb-2 { margin-bottom: 20px; }
.mt-2 { margin-top: 20px; }
.mb-3 { margin-bottom: 30px; }

/* Trennlinie */
.section-divider {
    border: 0;
    height: 1px;
    background: #e0e0e0;
    margin: 40px 0;
}

/* =========================================
   2. HAUPTLAYOUT (Wrapper)
   ========================================= */
.main-wrapper {
    display: flex;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    background-color: #eee;
}

.main-container {
    width: 100%;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
}

/* =========================================
   3. HERO SECTION (Bild & Badge)
   ========================================= */
.hero {
    position: relative;
    height: 45vh;
    min-height: 350px;
    width: 100%;
    flex-shrink: 0;
    overflow: hidden; 
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1); 
    z-index: 1;
    transition: opacity 1.5s ease-in-out, transform 0s linear 1.5s;
}

.slide.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1.08); 
    transition: opacity 1.5s ease-in-out, transform 6s linear;
}

/* Runder Badge für Kirchbühl (Größe erhöht) */
.badge {
    position: absolute;
    top: 50px;
    right: 35px;
    background-color: var(--primary-color);
    color: #ffffff;
    width: 180px; 
    height: 180px; 
    border-radius: 50%; /* Macht es rund */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px; 
    box-sizing: border-box; 
    box-shadow: 0 12px 40px rgba(0, 69, 124, 0.3); 
    transform: rotate(12deg);
    z-index: 10;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: rotate(12deg) translateY(0px); }
    50% { transform: rotate(12deg) translateY(-10px); }
    100% { transform: rotate(12deg) translateY(0px); }
}

.badge-top { font-size: 0.8rem; font-weight: 300; line-height: 1.2; }
/* badge-main: Schriftgröße verringert und Umbruch entfernt */
.badge-main { 
    font-size: 1.4rem; 
    font-weight: 800; 
    margin: 0; 
    line-height: 1.1; 
    white-space: nowrap; /* Stellt sicher, dass das Wort nicht umbricht */
    color: #ffffff;
    letter-spacing: -0.5px;
}
.badge-sub { 
    font-size: 0.75rem; 
    font-weight: 700; 
    line-height: 1.2; 
    color: #ffffff;
    margin-top: 2px;
    white-space: nowrap;
}

/* SVG Kurve */
.curve-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 5;
}

.curve-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* =========================================
   4. CONTENT BEREICH
   ========================================= */
.content {
    background-color: var(--bg-color);
    position: relative;
    z-index: 6;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.content-inner {
    padding: 30px 25px 60px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center; 
    width: 100%;
}

/* h1: Titel etwas größer gemacht */
h1 {
    font-size: 2.2rem; /* Erhöht von 1.8rem */
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.4;
    color: var(--primary-color);
    margin-top: 0;
    padding-top: 5px;
}

.form-title {
    margin-bottom: 12px !important;
    margin-top: 10px;
    color: var(--text-color);
}

.disclaimer {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 16px;      
    margin-bottom: 40px;   
    line-height: 1.5;
    text-align: left !important; 
}

/* --- BREVO FORMULAR FIX & DESIGN --- */
.brevo-flex-wrapper {
    display: flex;
    align-items: flex-start; 
    gap: 15px;
    width: 100%;
    max-width: 450px; 
}

.brevo-input-col {
    flex-grow: 1;
    width: 100%;
}

.brevo-btn-col {
    flex-shrink: 0;
}

.sib-form-block {
    padding: 0 !important;
}

#sib-container input.custom-field {
    background-color: #ebebeb !important; 
    border: 1px solid transparent !important;
    border-radius: 8px !important; 
    padding: 16px 20px !important;
    font-family: var(--font-family) !important;
    font-weight: 300 !important;
    font-size: 1rem !important;
    color: #333 !important;
    width: 100% !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    height: 56px !important; 
}

#sib-container input.custom-field::placeholder {
    color: #999 !important;
    font-family: var(--font-family) !important;
}

#sib-container input.custom-field:focus {
    background-color: #fff !important;
    border-color: #ccc !important;
    outline: none !important;
}

button.custom-submit-btn {
    background-color: var(--primary-color) !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 12px !important;
    border: none !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: 0 4px 10px rgba(0, 69, 124, 0.3);
}

button.custom-submit-btn:hover {
    background-color: var(--primary-color-hover) !important;
}

button.custom-submit-btn svg {
    width: 24px;
    height: 24px;
    stroke: white;
    fill: none;
}

.sib-hide-loader-icon {
    display: block !important; 
}

.entry__error {
    margin-top: 5px !important;
    font-size: 12px !important;
    color: var(--primary-color) !important;
}

@media (max-width: 480px) {
    .brevo-flex-wrapper { gap: 10px; }
    #sib-container input.custom-field { height: 50px !important; font-size: 0.9rem !important; }
    button.custom-submit-btn { width: 50px !important; height: 50px !important; }
}

/* =========================================
   6. INFO BLÖCKE & LISTEN (Links ausgerichtet)
   ========================================= */
.info-block {
    margin-bottom: 30px;
    text-align: left; 
}

.info-block h3, .benefits-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--primary-color);
}

.info-block p {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

.benefits-list {
    list-style: none;
    text-align: left !important; 
}

.benefits-list li {
    font-size: 1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    color: #333;
}

.check-icon {
    display: flex;
    margin-right: 12px;
    margin-top: 3px;
}

/* =========================================
   7. HOTEL SEKTION
   ========================================= */
.hotel-section {
    text-align: left !important; 
}

.hotel-section h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--primary-color);
}

.hotel-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

.hotel-lists {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
    justify-content: flex-start; 
    text-align: left !important;
}

.hotel-list-group {
    flex: 1 1 200px;
}

.hotel-list-group h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.hotel-list-group ul {
    list-style: none;
    padding-left: 5px;
}

.hotel-list-group ul li {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    text-align: left;
}

/* Großer CTA Button */
.big-cta-button {
    display: block;
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 18px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-family: var(--font-family);
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 69, 124, 0.25);
}

.big-cta-button:hover {
    background-color: var(--primary-color-hover);
}

/* =========================================
   8. FAQ / ACCORDION (Links ausgerichtet)
   ========================================= */
.faq-section h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: left; 
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
    text-align: left; 
    font-family: var(--font-family);
    color: var(--text-color);
    font-size: 1.05rem;
    transition: color 0.2s;
}

.accordion-header:hover {
    color: var(--primary-color);
}

.accordion-title {
    font-weight: 700;
    padding-right: 15px;
    text-align: left;
    color: var(--primary-color);
}

.accordion-icon svg {
    transition: transform 0.3s ease;
    width: 20px;
    height: 20px;
    stroke: #888;
    flex-shrink: 0;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
}

.accordion-body {
    padding-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    text-align: left; 
}

.accordion-item.active .accordion-icon svg {
    transform: rotate(180deg);
    stroke: var(--primary-color);
}

.accordion-item.active .accordion-header {
    color: var(--primary-color);
}

/* =========================================
   9. MEDIA QUERIES
   ========================================= */
@media (min-width: 768px) {
    .main-container {
        max-width: 600px;
        margin: 40px auto;
        border-radius: 20px;
    }
    .hero { height: 400px; }
    /* badge media query: Größe erhöht */
    .badge {
        width: 210px; 
        height: 210px; 
        top: 50px;
        right: 50px;
    }
    .badge-main { font-size: 1.7rem; } /* Etwas angepasst */
    h1 { font-size: 2.6rem; } /* Erhöht */
}

@media (min-width: 1024px) {
    .main-wrapper { align-items: center; padding: 40px; overflow-y: auto; }
    .main-container {
        max-width: 1100px;
        flex-direction: row; 
        height: 700px; 
        overflow: hidden; 
        flex-shrink: 0;
    }
    .hero {
        width: 50%;
        height: 100%;
        min-height: auto;
        border-radius: 20px 0 0 20px; 
        overflow: hidden; 
    }
    .curve-divider { display: none; }
    /* badge desktop media query: Größe erhöht */
    .badge {
        top: 40px;
        right: auto;
        left: 40px; 
        transform: rotate(-10deg);
        width: 210px; 
        height: 210px; 
    }
    .badge-sub { font-size: 1.05rem; }
    .content {
        width: 50%;
        height: 100%;
        overflow-y: auto; 
        display: flex;
        flex-direction: column;
        border-radius: 0 20px 20px 0;
    }
    .content-inner {
        max-width: 500px;
        text-align: left; 
        padding: 60px 40px; 
        margin: auto;
        width: 100%;
    }
    h1 { font-size: 2.8rem; text-align: left; margin-top: 0; padding-top: 5px; } /* Erhöht */
    .custom-input-group { justify-content: flex-start; }
    .sib-input .entry__field input.custom-input { text-align: left; padding-left: 20px !important; }
    .disclaimer { text-align: left; margin-bottom: 30px; }
    .content::-webkit-scrollbar { width: 6px; }
    .content::-webkit-scrollbar-track { background: #f1f1f1; }
    .content::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
    .content::-webkit-scrollbar-thumb:hover { background: #999; }
}

/* =========================================
   BREVO FORMULAR OVERRIDES (FINAL)
   ========================================= */
#sib-container, #sib-form-container, .sib-form {
    padding: 0 !important; margin: 0 !important; background: transparent !important;
    border: none !important; text-align: left !important; max-width: 100% !important; width: 100% !important; 
}
.sib-input-group {
    display: flex !important; flex-direction: row !important; align-items: stretch !important; 
    justify-content: flex-start !important; gap: 12px; width: 100% !important;
}
.sib-input { padding: 0 !important; margin: 0 !important; flex-grow: 1 !important; width: auto !important; }
.form__entry, .entry__field, .form__label-row { width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }

#sib-container input#EMAIL {
    background-color: #fff !important; border: 1px solid #ccc !important; border-radius: 12px !important;
    padding: 0 20px !important; font-family: var(--font-family) !important; font-weight: 300 !important; font-size: 1rem !important;
    color: #333 !important; width: 100% !important; height: 56px !important; min-height: 56px !important;
    box-shadow: none !important; box-sizing: border-box !important; transition: all 0.3s ease; margin: 0 !important;
}
#sib-container input#EMAIL:focus { border-color: var(--primary-color) !important; outline: none !important; }
#sib-container input#EMAIL::placeholder { color: #999 !important; opacity: 1; }

.sib-btn-wrapper { flex-shrink: 0; width: 56px !important; }
.sib-form-block { padding: 0 !important; margin: 0 !important; width: 100% !important; }
#sib-container button.sib-form-block__button {
    background-color: var(--primary-color) !important; width: 56px !important; height: 56px !important; 
    min-height: 56px !important; border-radius: 12px !important; border: none !important; display: flex !important;
    justify-content: center !important; align-items: center !important; cursor: pointer; padding: 0 !important;
    margin: 0 !important; transition: background-color 0.3s ease; box-shadow: 0 4px 10px rgba(0, 69, 124, 0.3);
}
#sib-container button.sib-form-block__button:hover { background-color: var(--primary-color-hover) !important; }
#sib-container button svg {
    width: 24px !important; height: 24px !important; stroke: #fff !important; fill: none !important;
    display: block !important; transition: transform 0.3s ease; margin: 0 !important;
}
#sib-container button.sib-form-block__button:hover svg { transform: translateX(3px); }

.sib-gdpr-row { margin-top: 15px; display: flex; align-items: flex-start; gap: 12px; text-align: left; }
.sib-gdpr-row input[type="checkbox"] { margin-top: 3px; width: 16px; height: 16px; cursor: pointer; flex-shrink: 0; accent-color: var(--primary-color); }
.sib-gdpr-label { font-family: var(--font-family) !important; font-size: 0.85rem !important; line-height: 1.5 !important; color: #666 !important; cursor: pointer; display: block; }

.sib-form-message-panel { border-radius: 12px !important; padding: 12px 20px !important; margin-bottom: 20px !important; font-family: var(--font-family) !important; border: none !important; max-width: 100% !important; box-sizing: border-box !important; }
#success-message { background-color: #e7faf0 !important; color: #085229 !important; }
#error-message { background-color: #ffeded !important; color: #661d1d !important; }

@media (max-width: 480px) {
    .sib-input-group { gap: 8px; }
    #sib-container input#EMAIL, #sib-container button.sib-form-block__button { height: 50px !important; min-height: 50px !important; border-radius: 10px !important; }
    #sib-container button.sib-form-block__button, .sib-btn-wrapper { width: 50px !important; }
}

/* =========================================
   10. DYNAMISCHES BUCHUNGS-FORMULAR (FOOTER)
   ========================================= */
#hidden-booking-form { animation: fadeInUp 0.4s ease-out forwards; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.booking-input {
    background-color: #fff; border: 1px solid #ccc; border-radius: 12px; padding: 0 20px;
    font-family: var(--font-family); font-weight: 300; font-size: 1rem; color: #333; width: 100%;
    height: 56px; box-sizing: border-box; outline: none; transition: all 0.3s ease;
}
.booking-input:focus { border-color: var(--primary-color); }

.booking-submit-btn {
    background-color: var(--primary-color); height: 56px; border-radius: 12px; border: none; display: flex;
    align-items: center; justify-content: center; gap: 10px; cursor: pointer; padding: 0 24px;
    transition: background-color 0.3s ease; box-shadow: 0 4px 10px rgba(0, 69, 124, 0.3); white-space: nowrap; font-family: var(--font-family);
}
.booking-submit-btn:hover { background-color: var(--primary-color-hover); }
.booking-submit-btn span { color: white; font-family: var(--font-family); font-weight: 700; font-size: 1rem; }
.booking-submit-btn svg { stroke: white; width: 20px; height: 20px; transition: transform 0.3s ease; }
.booking-submit-btn:hover svg { transform: translateX(3px); }

@media (max-width: 480px) {
    .booking-form-inline .sib-input-group { flex-direction: column !important; height: auto !important; }
    .booking-submit-btn { width: 100%; margin-top: 5px; }
}

/* =========================================
   11. NEUER FOOTER (KIRCHBÜHL DARK)
   ========================================= */
.kirchbuehl-footer {
    position: relative; /* WICHTIG: Damit die Kurve richtig andockt */
    margin-top: 50px; /* Platz für die Kurve nach oben machen */
    background-color: #2f2f2f;
    color: #ffffff;
    padding: 60px 30px 40px;
    font-family: var(--font-family);
    text-align: center;
    width: 100%;
}

/* --- NEU: Footer Kurven Styling --- */
.footer-curve-divider {
    position: absolute;
    top: -59px; /* Setzt die Kurve exakt über den Rand (1px Überlappung gegen Blitzer) */
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 5;
    pointer-events: none; /* Verhindert, dass die Kurve aus Versehen Klicks blockiert */
}

.footer-curve-divider svg {
    display: block;
    width: 100%;
    height: 60px; /* Gleiche Höhe wie beim Header */
}
/* --------------------------------- */


/* Hauptlogo oben */
.footer-top-logo {
    margin-bottom: 50px;
}

.main-footer-logo {
    max-width: 180px;
    height: auto;
}

/* Info Sektion (Adresse & Kontakt) */
.footer-info-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-block h4 {
    color: #888888; /* Grauer Titel wie im Screenshot */
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.footer-block p {
    font-size: 1.15rem;
    line-height: 1.6;
    font-weight: 300;
    color: #ffffff;
}

.footer-block a {
    color: #ffffff;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.footer-block a:hover {
    opacity: 0.8;
}

/* Trennlinie */
.footer-divider {
    border: 0;
    height: 1px;
    background-color: #444444; /* Dunkelgraue Linie */
    margin: 0 auto 30px;
    width: 100%;
    max-width: 600px;
}

/* Meta, Links & Social Wrapper */
.footer-meta-wrapper {
    max-width: 600px;
    margin: 0 auto 50px;
    text-align: left;
}

.footer-meta-top,
.footer-meta-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

/* Typografie Meta-Texte */
.copyright, .meta-links a, .agency span {
    font-size: 0.9rem;
    font-weight: 300;
    color: #cccccc;
}

.meta-links a {
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.meta-links a:hover {
    color: #ffffff;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.social-icons a:hover {
    opacity: 0.8;
}

/* Agency Text */
.agency strong {
    font-weight: 700;
    color: #ffffff;
}

/* Partner Logos unten */
.footer-partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.footer-partner-logos img {
    max-width: 120px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-partner-logos img:hover {
    opacity: 1;
}

/* Mobile Anpassungen für den Footer */
@media (max-width: 600px) {
    .footer-meta-top,
    .footer-meta-bottom {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 20px;
    }
    
    .meta-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .meta-links a {
        margin-left: 0;
    }

    .footer-meta-wrapper {
        padding: 0 10px;
    }
}

/* =========================================
   12. CONVERSION NOTIFICATION (APPLE STYLE)
   ========================================= */
.conv-notification {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: top 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.4s ease;
    width: auto;
    max-width: 90%;
    pointer-events: none;
    opacity: 0;
}

.conv-notification.show {
    top: 25px;
    opacity: 1;
}

.conv-notification-icon {
    background-color: var(--primary-color);
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.conv-notification-icon svg {
    width: 16px;
    height: 16px;
    stroke: white;
    fill: none;
    stroke-width: 2.5;
}

.conv-notification-content {
    color: #333;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: -0.2px;
}

.conv-notification-time {
    color: #888;
    font-size: 0.75rem;
    font-weight: 400;
    margin-left: 5px;
}
}