/**
 * Dateiname: style.css
 * Version: 1.7.0
 * Datum: 15.09.2026
 * powered by WeAppU.at
 * 
 * Änderungen:
 * - Version angehoben nach Bereinigung der HTML-Artefakte
 * - Bilddarstellung (.image-content img) für das Hochformat-Porträt optimiert
 * - Styling für modales AGB-PopUp (.modal-agb-container, .agb-image)
 * - Alle Funktionalitäten inkl. Responsive-Design beibehalten
 */

/* Globale Farb- & Layoutvariablen */
:root {
    --gold: #b8860b;
    --gold-light: #dfb13e;
    --gold-subtle: rgba(184, 134, 11, 0.15);
    --black: #000000;
    --dark: #222222;
    --light: #f9f7f1;
    --white: #ffffff;
    --border-gray: #e5e5e5;
    
    /* Vorgegebene Farbcodes */
    --btn-blue: #0056b3; 
    --btn-green: #28a745; 
    --btn-yellow: #ffc107; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 70px 0;
}

.bg-light {
    background-color: var(--light);
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.3rem;
    color: var(--gold);
    margin-bottom: 25px;
    font-weight: 400;
}

p {
    margin-bottom: 15px;
}

/* Header in tiefem Schwarz */
header {
    background-color: var(--black);
    box-shadow: 0 2px 12px rgba(0,0,0,0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 75px;
    position: relative;
}

.logo img {
    height: 55px;
    display: block;
}

/* Desktop Navigation in Gold */
nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a.nav-link {
    text-decoration: none;
    color: var(--gold);
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.3s;
    padding: 5px 0;
}

nav a.nav-link:hover {
    color: var(--gold-light);
}

/* Mobiler Hamburger-Button */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 26px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--gold);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.mobile-nav-toggle.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
}
.mobile-nav-toggle.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- HERO SECTION & CROSSFADE SLIDER --- */
.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 40px 0;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.8s ease-in-out, transform 6s ease-out;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.8rem;
    color: var(--gold-light);
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.hero h2 {
    font-size: 1.9rem;
    font-weight: 300;
    margin-bottom: 18px;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    gap: 12px;
}

.dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.35);
    border: 1.5px solid var(--gold);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: var(--gold);
    transform: scale(1.25);
    box-shadow: 0 0 8px rgba(184, 134, 11, 0.8);
}

/* Button-Stile */
.btn {
    display: inline-block;
    padding: 13px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, opacity 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    opacity: 0.92;
    transform: translateY(-2px);
}

.btn-gold {
    background-color: var(--gold);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3);
}

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

.btn-blue {
    background-color: var(--btn-blue);
    color: var(--white);
}

.btn-green {
    background-color: var(--btn-green);
    color: var(--white);
}

.btn-yellow {
    background-color: var(--btn-yellow);
    color: #222;
}

/* Spaltenlayouts */
.split-layout {
    display: flex;
    gap: 45px;
    align-items: center;
}

.text-content { 
    flex: 1.2; 
}

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

.image-content img {
    width: 100%;
    max-width: 440px;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    object-position: top center;
    border-radius: 12px;
    display: block;
}

.shadow { 
    box-shadow: 0 8px 24px rgba(0,0,0,0.08); 
}

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

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* Karten */
.card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border-top: 4px solid var(--gold-light);
}

.card-gold {
    background: var(--light);
    border-top: 4px solid var(--gold);
}

.card h3 {
    color: var(--gold);
    margin-bottom: 12px;
    font-size: 1.35rem;
}

/* --- SEGMENTED CONTROLS --- */
.segmented-control-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 35px;
    width: 100%;
}

.segmented-control {
    background-color: #e5e5ea;
    border-radius: 9px;
    display: flex;
    width: 100%;
    max-width: 550px;
    padding: 4px;
    position: relative;
    user-select: none;
}

.segmented-control input {
    display: none;
}

.segmented-control label {
    padding: 10px 15px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    z-index: 2;
    transition: color 0.25s ease;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.segmented-control input:checked + label {
    color: var(--black);
}

.segment-indicator {
    position: absolute;
    top: 4px;
    left: 4px;
    bottom: 4px;
    width: calc(50% - 4px);
    background-color: var(--white);
    border-radius: 7px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    z-index: 1;
    transition: transform 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.segment-content {
    display: none;
    animation: fadeIn 0.35s ease-in-out;
}

.segment-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Preistabellen */
.price-box {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.price-box h3 {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 1.3rem;
    border-bottom: 1px solid var(--border-gray);
    padding-bottom: 8px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table th, .price-table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.price-table th {
    color: var(--gold);
    font-weight: 600;
}

.hinweis-box {
    margin-top: 25px;
    padding: 18px 22px;
    background-color: var(--gold-subtle);
    border-left: 4px solid var(--gold);
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
}

/* Footer in Schwarz */
footer {
    background-color: var(--black);
    color: #dddddd;
    padding: 60px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 15px;
    display: block;
}

footer h3 {
    color: var(--gold-light);
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.footer-link {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

.appointment-notice-badge {
    display: inline-block;
    background-color: rgba(184, 134, 11, 0.15);
    color: var(--gold-light);
    border: 1px solid var(--gold);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 15px;
}

.footer-bottom {
    margin-top: 45px;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 25px;
    text-align: center;
    font-size: 0.9rem;
}

.legal-trigger {
    background: none;
    border: none;
    color: var(--gold);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
    text-decoration: underline;
    font-family: inherit;
    transition: color 0.2s;
}

.legal-trigger:hover {
    color: var(--gold-light);
}

/* Entwickler-Signatur mit pochendem Herz */
.developer-signature {
    margin-top: 16px;
    font-size: 0.85rem;
    color: #999999;
}

.developer-signature a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

.developer-signature a:hover {
    color: var(--gold-light);
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.35); }
    28% { transform: scale(1); }
    42% { transform: scale(1.35); }
    70% { transform: scale(1); }
}

.heartbeat {
    display: inline-block;
    animation: heartbeat 1.4s ease-in-out infinite;
    transform-origin: center center;
}

/* --- MODALE POPUPS --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    padding: 20px;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--white);
    color: var(--dark);
    width: 100%;
    max-width: 650px;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    padding: 30px;
    position: relative;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform 0.3s;
}

.modal-overlay.open .modal-container {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}

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

.modal-segment-wrapper {
    margin-top: 10px;
    margin-bottom: 25px;
}

.modal-tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.modal-tab-content.active {
    display: block;
}

.modal-heading {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.modal-footer {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid var(--border-gray);
    display: flex;
    justify-content: flex-end;
}

/* Buchungs-Modal */
.modal-booking-container {
    max-width: 950px;
    width: 95%;
    height: 90vh;
    display: flex;
    flex-direction: column;
    padding: 25px;
}

.modal-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-right: 40px;
}

.booking-external-link {
    color: var(--gold);
    font-size: 0.95rem;
    text-decoration: none;
    font-weight: 600;
}

.booking-external-link:hover {
    text-decoration: underline;
}

.iframe-wrapper {
    flex: 1;
    width: 100%;
    min-height: 380px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-gray);
    background: #fafafa;
}

.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* AGB Modal */
.modal-agb-container {
    max-width: 850px;
    width: 95%;
}

.agb-image-wrapper {
    width: 100%;
    max-height: 65vh;
    overflow-y: auto;
    text-align: center;
    margin-top: 15px;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    padding: 10px;
    background: #fafafa;
}

.agb-image {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: block;
    margin: 0 auto;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 900px) {
    .split-layout {
        flex-direction: column;
        gap: 30px;
    }
    .grid-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .modal-booking-container { height: 95vh; padding: 18px; }
    .image-content img { max-width: 100%; }
}

@media (max-width: 768px) {
    .section-padding { padding: 50px 0; }
    .hero { min-height: 60vh; }
    .hero h1 { font-size: 2.7rem; }
    .hero h2 { font-size: 1.4rem; }

    .mobile-nav-toggle {
        display: flex;
    }

    nav#main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background-color: var(--black);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.35s ease, padding 0.35s ease;
    }

    nav#main-nav.open {
        max-height: 350px;
        padding: 20px 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: 0 10px 20px rgba(0,0,0,0.6);
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 18px;
        margin: 0;
        padding: 0;
    }

    nav a.nav-link {
        font-size: 1.15rem;
    }

    .segmented-control label {
        font-size: 0.85rem;
        padding: 8px 10px;
    }
    
    .modal-container {
        padding: 20px 15px;
    }
}