/* styles.css */

/* --- Variable Definitions --- */
:root {
    --primary-color: #d88b4d;        /* Sanftes Terrakotta-Orange */
    --primary-dark: #b66a34;
    --accent-color: #e5b382;        /* Warmes Pfirsich/Sandgold */
    --bg-light: #fdfaf6;            /* Helles Creme / Off-White */
    --bg-card: #ffffff;
    --text-dark: #4a3e36;           /* Dunkles Schokobraun/Erde */
    --text-muted: #786b62;
    --border-color: #f1e9df;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition-speed: 0.3s;
    --radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

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

/* --- Container & Grids --- */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.section {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px auto;
}

.section-subtitle {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 600;
}

h2 {
    font-size: 2.6rem;
    line-height: 1.2;
}

/* --- Header Navigation --- */
.header {
    position: sticky;
    top: 0;
    background-color: rgba(253, 250, 246, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    padding: 15px 0;
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary-color);
    font-style: italic;
}

.nav a {
    margin-left: 25px;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: color var(--transition-speed);
}

.nav a:hover {
    color: var(--primary-color);
}

.btn-nav {
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 30px;
}

.btn-nav:hover {
    background-color: var(--primary-dark);
}

/* --- Pure CSS Burger Toggle (Hidden on desktop) --- */
.nav-toggle-checkbox {
    display: none;
}

.nav-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    z-index: 101;
}

.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: all var(--transition-speed);
}

/* Animation zum 'X' bei angehakter Checkbox */
.nav-toggle-checkbox:checked + .nav-toggle span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--primary-color);
}

.nav-toggle-checkbox:checked + .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.nav-toggle-checkbox:checked + .nav-toggle span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 80vh;
    background: url('bilder/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 40px 20px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(74, 62, 54, 0.45);
}

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

.hero-tagline {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: block;
}

.hero h1 {
    font-size: 3.8rem;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
    color: #f0f0f0;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all var(--transition-speed);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: var(--text-dark);
}

.btn-secondary-dark {
    background-color: #ffffff;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.btn-secondary-dark:hover {
    background-color: var(--bg-light);
    border-color: var(--primary-color);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* --- About Section --- */
.about-section {
    background-color: #ffffff;
}

.features-list {
    margin-top: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 1rem;
}

/* --- Sticky Full-Width Banner Section --- */
.sticky-banner-section {
    position: relative;
    width: 100vw;
    height: 60vh;
    overflow: hidden;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.sticky-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('bilder/banner-urlaub.jpg') center/cover no-repeat fixed;
}

.sticky-banner-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(74, 62, 54, 0.4);
}

.sticky-banner-content {
    position: sticky;
    top: 40vh;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.sticky-banner-content h2 {
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* --- Accordion Section (Urlaubs- / Wellness-Stil) --- */
.services-section {
    background-color: var(--bg-light);
}

.accordion-container {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.accordion-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: border-color var(--transition-speed);
}

.accordion-item[open] {
    border-color: var(--accent-color);
}

.accordion-header {
    padding: 22px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    user-select: none;
    background-color: #ffffff;
    transition: background-color var(--transition-speed);
}

.accordion-header::-webkit-details-marker {
    display: none;
}

.accordion-header:hover {
    background-color: #faf7f2;
}

.accordion-title-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
}

.accordion-icon {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 50%;
}

.accordion-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.accordion-arrow {
    color: var(--primary-color);
    font-size: 0.9rem;
    transition: transform var(--transition-speed);
}

.accordion-item[open] .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 28px 25px 28px;
    border-top: 1px solid var(--border-color);
    background-color: #ffffff;
}

.price-list {
    list-style: none;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px dashed var(--border-color);
}

.price-item:last-child {
    border-bottom: none;
}

.price-title {
    font-weight: 600;
    display: block;
    color: var(--text-dark);
}

.price-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
}

.price-val {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
    margin-left: 20px;
}

/* --- Philosophy --- */
.philosophy-section {
    background-color: #f7ede3;
}

/* --- Contact Grid --- */
.contact-section {
    background-color: #ffffff;
}

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

.contact-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 35px 25px;
    border-radius: var(--radius);
    text-align: center;
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: inline-block;
    color: var(--primary-color);
    filter: sepia(1) saturate(5) hue-rotate(335deg);
}

.contact-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.contact-card p, .contact-card a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-action-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

/* --- Footer --- */
.footer {
    background-color: var(--text-dark);
    color: #f2ede9;
    padding: 30px 0;
    font-size: 0.88rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-icon {
    width: 25px;
    height: 25px;
    object-fit: contain;
    border-radius: 0;
}

.footer-links a {
    color: #e0d8d3;
    margin-left: 20px;
}

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

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .grid-2, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.6rem;
    }
    
    .sticky-banner-content h2 {
        font-size: 1.8rem;
    }

    .sticky-banner-bg {
        background-attachment: scroll;
    }

    /* Burger Icon einblenden */
    .nav-toggle {
        display: flex;
    }

    /* Ausklappbares Navigationsmenü mobil */
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-light);
        border-bottom: 1px solid var(--border-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-speed) ease-in-out;
    }

    .nav a {
        margin-left: 0;
        font-size: 1.1rem;
    }

    /* Menü-Steuerung via Checkbox-State */
    .nav-toggle-checkbox:checked ~ .nav {
        max-height: 300px;
        padding: 20px 0;
        opacity: 1;
        visibility: visible;
    }
}