/* Globale Stile */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-image: url('../assets/pictures/background.jpeg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: -1;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #0078c8;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #005a9e;
    text-decoration: underline;
}

/* Header und Navigation */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-container {
    padding: 15px 0;
}

.logo-container h1 {
    color: #0078c8;
    font-size: 1.8rem;
    margin: 0;
}

nav {
    background-color: transparent;
}

#menuToggle {
    display: none;
    background: none;
    border: none;
    color: #0078c8;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px 15px;
}

#navMenu {
    display: flex;
    list-style: none;
    justify-content: flex-end;
    flex-wrap: wrap;
}

#navMenu li {
    position: relative;
}

#navMenu a {
    display: block;
    color: #0078c8;
    padding: 15px 20px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

#navMenu a:hover {
    background-color: #0078c8;
    color: white;
}

/* Cards und Sektionen */
section {
    padding: 50px 0;
    position: relative;
    z-index: 1;
}

section .container {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #0078c8;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.chair-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 120, 200, 0.2);
}

.card h3, .card h4 {
    color: #0078c8;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card p {
    flex-grow: 1;
    margin-bottom: 20px;
}

.card .btn {
    align-self: flex-start;
    margin-top: auto;
    margin-bottom: 5px;
    background-color: #0078c8;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    border: none;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

.card .features {
    margin-bottom: 15px;
}

.card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: all 0.3s ease;
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #0078c8;
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.card:hover .card-badge {
    transform: scale(1.05);
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-link:hover {
    text-decoration: none;
}

.card-link:hover .card {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Beach-specific Styles */
.beach-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.beach-info {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
}

.beach-info h2 {
    color: #0078c8;
    text-align: left;
    margin-bottom: 20px;
}

.beach-amenities {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-top: 30px;
}

.beach-amenities h3 {
    color: #0078c8;
    margin-bottom: 15px;
}

.beach-amenities ul {
    list-style-position: inside;
    margin-left: 20px;
}

.beach-amenities li {
    margin-bottom: 10px;
}

/* Map styles */
.map-container {
    margin: 20px 0;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

#overviewMap {
    width: 100%;
    height: 400px;
    z-index: 1;
}

.beach-section-map {
    width: 100%;
    height: 400px;
    z-index: 1;
}

.beach-label {
    background: none;
    border: none;
}

.beach-label div {
    background-color: #0078c8;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.location-marker-icon {
    background-color: #0078c8;
    color: white;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    border: 2px solid white;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.location-marker-icon div {
    width: 100%;
    text-align: center;
    white-space: nowrap;
    font-size: 16px;
    padding: 4px 8px;
}

@media (max-width: 576px) {
    .location-marker-icon div {
        font-size: 14px;
        padding: 3px 6px;
    }
}

/* Marker für Strandabschnitte */
.beach-section-marker {
    background-color: #0078c8;
    border-radius: 4px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    border: 2px solid white;
}

.beach-section-marker div {
    font-size: 16px;
    padding: 4px 8px;
    white-space: nowrap;
    width: 100%;
    text-align: center;
}

@media (max-width: 576px) {
    .beach-section-marker div {
        font-size: 14px;
        padding: 3px 6px;
    }
}

/* Booking container - für die iFrame-Integration */
.booking-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-bottom: 30px;
}

.booking-container h2 {
    color: #0078c8;
    text-align: left;
    margin-bottom: 20px;
}

.booking-container h3 {
    color: #0078c8;
    margin: 20px 0 15px 0;
}

.booking-container ul {
    list-style-position: inside;
    margin-left: 20px;
    margin-bottom: 20px;
}

.booking-container li {
    margin-bottom: 8px;
}

/* Buchungs-iFrame Container */
.booking-iframe-container {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
}

.booking-iframe-container iframe, 
#booking-iframe-container {
    width: 100%;
    height: 700px;
    border: none;
}


.note {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

.locations {
    margin-top: 10px;
}

.location {
    margin-bottom: 15px;
}

.location h5 {
    margin-bottom: 5px;
}

/* Standortkarten */
.location-cards {
    margin-top: 40px;
    text-align: center;
}

.location-cards .card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    text-align: left;
}

.location-cards .card p {
    margin-bottom: 20px;
    flex-grow: 1;
}

.location-cards .card .btn {
    align-self: flex-start;
}

/* Cookie Settings Modal */
#cookie-settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s;
}

#cookie-settings-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.cookie-modal-content {
    background-color: white;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h3 {
    margin: 0;
    color: #333;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.cookie-options {
    padding: 20px;
}

.cookie-option {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-option-title {
    font-weight: bold;
    color: #333;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 34px;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: .4s;
}

input:checked + .slider {
    background-color: #0078c8;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.cookie-save {
    display: block;
    margin: 20px auto 0;
    padding: 10px 20px;
    background-color: #0078c8;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cookie-save:hover {
    background-color: #005a9e;
}

/* Placeholder für externe Inhalte */
.placeholder-content {
    background-color: #f5f5f5;
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    height: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-message {
    max-width: 80%;
}

.placeholder-message h3 {
    color: #333;
    margin-bottom: 15px;
}

.placeholder-message p {
    margin-bottom: 20px;
    color: #666;
}

.cookie-consent-btn {
    background-color: #0078c8;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cookie-consent-btn:hover {
    background-color: #005a9e;
}

/* Map Container mit Placeholder */
.map-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: 30px;
}

#overviewMap, #locationMap {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

/* Strandkörbe Seite */
.beach-chairs-info {
    padding: 20px 0;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(58, 231, 11, 0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.beach-chair-models {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin: 40px 0;
}

@media (min-width: 768px) {
    .beach-chair-models {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

.beach-chair-model {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.beach-chair-model:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 120, 200, 0.2);
}

.beach-chair-image {
    height: 300px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: all 0.3s ease;
    background-color: #f8fbff;
}

.beach-chair-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #0078c8;
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.beach-chair-model:hover .beach-chair-badge {
    transform: scale(1.05);
}

.beach-chair-details {
    padding: 30px;
}

.beach-chair-details h3 {
    margin-bottom: 15px;
    color: #0078c8;
    font-size: 1.4rem;
}

.beach-chair-description {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #444;
}

.beach-chair-features {
    list-style-type: none;
    margin-bottom: 0;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.beach-chair-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 30px;
    transition: background-color 0.2s ease;
}

.beach-chair-features li:last-child {
    border-bottom: none;
}

.beach-chair-features li:before {
    content: "✓";
    color: #0078c8;
    position: absolute;
    left: 0;
    font-weight: bold;
    background-color: rgba(0, 120, 200, 0.1);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.info-box {
    background-color: #f0f8ff;
    border-left: 4px solid #0078c8;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin: 30px 0;
}

.additional-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-container {
    text-align: center;
    background-color: #f0f8ff;
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Zusätzliche Komponenten */
.back-link {
    margin-top: 20px;
    text-align: center;
}

.feature {
    background-color: #e0f2ff;
    color: #0078c8;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Rechtliche Seiten (Datenschutz, Impressum, AGB) */
.legal-content {
    padding: 40px 0;
}

.legal-content h3 {
    margin-top: 30px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.legal-content h4 {
    margin-top: 20px;
    color: #444;
}

.legal-content p, .legal-content ul {
    margin-bottom: 15px;
    line-height: 1.6;
}

.legal-content ul {
    padding-left: 20px;
}

.legal-content ul li {
    margin-bottom: 5px;
}

.cookie-management {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    text-align: center;
}

.cookie-management p {
    margin-bottom: 15px;
}

.cookie-management .btn {
    background-color: #0078c8;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cookie-management .btn:hover {
    background-color: #005a9e;
}

/* Button Styles */
.btn {
    display: inline-block;
    background-color: #0078c8;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #005a9e;
    text-decoration: none;
    color: white;
}

.centered {
    display: block;
    margin: 0 auto;
    text-align: center;
}

/* Footer Styles */
footer {
    color: #333;
    padding: 50px 0 20px;
    position: relative;
    z-index: 1;
}

footer .container {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 12px 12px 0 0;
    padding: 30px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: #0078c8;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #333;
    text-decoration: none;
}

.footer-section a:hover {
    color: #0078c8;
    text-decoration: underline;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Media Queries für Responsive Design */
@media (max-width: 992px) {
    .beach-section {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #menuToggle {
        display: block;
        width: 100%;
        text-align: left;
    }
    
    #navMenu {
        display: none;
        flex-direction: column;
    }
    
    #navMenu.active {
        display: flex;
    }
    
    #navMenu li {
        width: 100%;
    }
    
    #navMenu a {
        padding: 12px 15px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .card-grid, .chair-cards {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .beach-section-map {
        height: 400px;
    }
    
    #overviewMap {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .container {
        width: 100%;
        padding: 0 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 30px 0;
    }
    
    .beach-info, .beach-amenities, .booking-container {
        padding: 15px;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .beach-section-map {
        height: 300px;
    }
    
    #overviewMap {
        height: 300px;
    }
}

@media (min-width: 768px) {
    .beach-chair-models {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .beach-section-map {
        height: 500px;
    }
    
    #overviewMap {
        height: 450px;
    }
}

@media (min-width: 992px) {
    .beach-chair-models {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .beach-section-map {
        height: 600px;
    }
    
    #overviewMap {
        height: 500px;
    }
}

/* Intro und Infobereiche */
.intro, .location-info, .contact-section {
    padding: 50px 0;
}

.beach-sections, .beach-chairs-info, .locations {
    padding: 50px 0;
}

.contact-section {
    padding: 50px 0;
}

.map-link {
    color: #0078c8;
    font-weight: bold;
    text-decoration: underline;
}