/* Ferienwohnung Zweng - Stylesheet */

:root {
    /* booking.com inspired colors */
    --primary-color: #003580;
    --primary-hover: #00224f;
    --secondary-color: #1a4d8c;
    --accent-color: #febb02;
    --accent-hover: #e5a800;
    --background-light: #F5F5F5;
    --surface-white: #FFFFFF;
    --text-dark: #1a1a1a;
    --text-muted: #5c5c5c;
    --border-color: #e7e7e7;
    --success-color: #008009;
    --shadow-soft: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 8px rgba(0, 0, 0, 0.12);
    --border-radius: 4px;
    --transition-speed: 0.2s;
    --container-width: 1140px;
    --header-height: 60px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', Arial, sans-serif;
    background-color: var(--background-light);
    background-image: url('hintergrund.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    color: var(--text-dark);
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    line-height: 1.3;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--primary-color);
    box-shadow: var(--shadow-soft);
    z-index: 1000;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: transform var(--transition-speed) ease, opacity var(--transition-speed) ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--surface-white);
    padding: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition-speed) ease, opacity var(--transition-speed) ease, visibility var(--transition-speed) ease;
    box-shadow: var(--shadow-soft);
}

.nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li {
    margin-bottom: 0.25rem;
}

.nav-list a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    border-radius: var(--border-radius);
    transition: background var(--transition-speed) ease;
}

.nav-list a:hover {
    background: var(--background-light);
    color: var(--primary-color);
    text-decoration: none;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 53, 128, 0.6), rgba(0, 34, 79, 0.7)),
                url('fewo1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: calc(var(--header-height) + 2rem) 1rem 2rem;
    color: white;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero h2 {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    margin-bottom: 1rem;
}

.rating-badge span {
    margin-right: 0.5rem;
}

/* Contact Buttons */
.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    text-decoration: none;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    text-decoration: none;
}

.contact-btn.email {
    background: white;
    color: var(--primary-color);
}

.contact-btn.email:hover {
    background: #f0f0f0;
    color: var(--primary-color);
}

.contact-btn.phone {
    background: var(--accent-color);
    color: var(--text-dark);
}

.contact-btn.phone:hover {
    background: var(--accent-hover);
    color: var(--text-dark);
}

/* Main Content */
.main {
    padding: 2rem 1rem;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Section Styling */
section {
    margin-bottom: 3rem;
}

.section-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Booking.com Style Highlights */
.highlights-card {
    background: var(--surface-white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    margin-bottom: 2rem;
}

.highlights-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.highlights-icon {
    width: 40px;
    height: 40px;
    background: var(--background-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.highlights-title {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.highlight-check {
    color: var(--success-color);
    font-weight: bold;
    flex-shrink: 0;
}

.highlight-text {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* About Section */
.about-card {
    background: var(--surface-white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.about-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.about-card p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

/* Pricing */
.pricing-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
    text-align: center;
}

.pricing-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.pricing-main {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-sub {
    font-size: 0.9rem;
    opacity: 0.85;
}

.pricing-extra {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
}

/* Gallery */
.gallery-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.gallery-slider {
    display: flex;
    transition: transform 0.5s ease;
    cursor: grab;
}

.gallery-slider:active {
    cursor: grabbing;
}

.gallery-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.gallery-slide img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-dark);
    transition: background var(--transition-speed) ease;
    z-index: 10;
    box-shadow: var(--shadow-soft);
}

.gallery-btn:hover {
    background: #f0f0f0;
}

.gallery-btn.prev {
    left: 0.75rem;
}

.gallery-btn.next {
    right: 0.75rem;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background var(--transition-speed) ease;
}

.gallery-dot.active {
    background: white;
}

/* Map Section */
.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 50%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contact-card {
    background: var(--surface-white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.contact-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.contact-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.contact-link {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    margin: 0.25rem;
    font-weight: 500;
    transition: background var(--transition-speed) ease;
}

.contact-link:hover {
    background: var(--primary-hover);
    color: white;
    text-decoration: none;
}

.contact-link.secondary {
    background: var(--accent-color);
    color: var(--text-dark);
}

.contact-link.secondary:hover {
    background: var(--accent-hover);
    color: var(--text-dark);
}

/* Form Container */
.form-container {
    background: var(--surface-white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    max-width: 500px;
    margin: 1.5rem auto 0;
}

.form-container h4 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

#foxyform_embed_link_202717 {
    display: block;
    width: 100% !important;
}

/* Guestbook Button */
.guestbook-section {
    text-align: center;
    margin-top: 2rem;
}

.guestbook-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: var(--secondary-color);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: background var(--transition-speed) ease;
}

.guestbook-btn:hover {
    background: var(--primary-hover);
    color: white;
    text-decoration: none;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 2.5rem 1rem 1.5rem;
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-address {
    font-style: normal;
    line-height: 1.8;
    opacity: 0.85;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: white;
    padding: 0.375rem 0;
    opacity: 0.85;
    transition: opacity var(--transition-speed) ease;
}

.footer-link:hover {
    opacity: 1;
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.legal-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.legal-link {
    color: white;
    font-size: 0.875rem;
    padding: 0.375rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    opacity: 0.8;
    transition: opacity var(--transition-speed) ease;
}

.legal-link:hover {
    opacity: 1;
    color: white;
    text-decoration: none;
}

/* Impressum Section */
.impressum-section {
    background: var(--surface-white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    margin-top: 2rem;
}

.impressum-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.impressum-content {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.impressum-content h4 {
    color: var(--text-dark);
    font-size: 1rem;
    margin: 1.25rem 0 0.5rem;
}

.impressum-content p {
    margin-bottom: 0.75rem;
}

.impressum-content a {
    word-break: break-all;
}

/* Media Queries */
@media (min-width: 480px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-slide img {
        height: 350px;
    }

    .legal-links {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        padding: 0;
        box-shadow: none;
        background: transparent;
    }

    .nav-list {
        display: flex;
        gap: 0.25rem;
    }

    .nav-list li {
        margin-bottom: 0;
    }

    .nav-list a {
        padding: 0.5rem 1rem;
        color: rgba(255, 255, 255, 0.9);
    }

    .nav-list a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .highlights-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-slide img {
        height: 450px;
    }
}

@media (min-width: 1024px) {
    .highlights-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero {
        padding: calc(var(--header-height) + 3rem) 2rem 3rem;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .gallery-slide img {
        height: 500px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        transition-duration: 0.01ms !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
