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

@font-face {
    font-family: "Open Sans";
    src: url("fonts/OpenSans-VariableFont_wdth,wght.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    height: 100%;
    background: radial-gradient(ellipse at top, #e8f4fd, rgb(236, 236, 236));
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: "Open Sans", Arial, sans-serif;
    color: #2c3e50;
}

/* ===== NAVBAR ===== */
nav {
    width: 100%;
    height: 85px;
    background-color: #0099ff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    position: fixed;
    /* Changed to fixed for better mobile experience */
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 40px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li {
    padding: 0 2px;
    position: relative;
}

nav ul li a {
    color: white;
    font-size: 18px;
    text-decoration: none;
    padding: 28px 18px;
    display: block;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border-radius: 10px;
    white-space: nowrap;
}

nav ul li a:hover {
    background-color: #0076c5;
    transform: scale(1.05);
}

.navbar li a.active {
    background-color: rgb(255, 213, 0);
    color: #005c9a;
    font-weight: bold;
}

/* Dropdown */
nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 7px;
    border-radius: 0 0 12px 12px;
    z-index: 999;
    background-color: #0076c5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    min-width: 160px;
}

nav ul li:hover ul {
    display: block;
}

nav ul li ul li a {
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

nav ul li ul li a:hover {
    background-color: #005c9a;
    transform: none;
}



/* ===== WAVE DECORATIONS ===== */
.wave-top {
    position: absolute;
    top: 85px;
    left: 0;
    width: 100%;
    z-index: 2;
    pointer-events: none;
}

.wave-bottom {
    width: 100%;
    display: block;
}

/* ===== PAGE LABEL (h4) ===== */
h4 {
    z-index: 10;
    position: absolute;
    top: 130px;
    left: 70px;
    font-size: 28px;
    padding: 6px 32px;
    background-color: rgb(255, 213, 0);
    border-radius: 30px;
    color: #005c9a;
    cursor: default;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

/* ===== SCROLL-TO-TOP BUTTON ===== */
.up {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 500;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.up:hover {
    transform: scale(1.2) translateY(-3px);
}

/* ===== TYPOGRAPHY ===== */
h1 {
    font-size: 2.2rem;
    color: #005c9a;
    margin: 40px auto 20px;
    max-width: 1100px;
    padding: 0 40px;
}

h2 {
    font-size: 1.6rem;
    color: #0076c5;
    margin: 35px auto 15px;
    padding: 0 40px 8px;
    max-width: 1100px;
    border-bottom: 2px solid #e8f4fd;
}

h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin: 25px auto 10px;
    max-width: 1100px;
    padding: 0 40px;
}

p {
    margin: 10px auto 0;
    max-width: 1100px;
    padding: 0 40px;
    line-height: 1.7;
    color: #444;
}

.text-mit-h3 {
    margin-left: 210px;
}

.text-mit-bild {
    margin-left: 150px;
    width: 500px;
}

/* ===== PAGE CONTENT WRAPPER ===== */
.page-content {
    padding-top: 230px;
    padding-bottom: 40px;
}

/* ===== TEXT LINK ===== */
.text-link {
    color: #0099ff;
    text-decoration: underline;
}

.text-link:hover {
    color: #005c9a;
}

/* ===== BUTTONS ===== */
.jetzt-buchen {
    padding: 12px 40px;
    font-size: 16px;
    font-family: "Open Sans", Arial, sans-serif;
    background-color: rgb(255, 213, 0);
    border-radius: 10px;
    border: none;
    color: #005c9a;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 10px rgba(255, 213, 0, 0.4);
}

.jetzt-buchen:hover {
    background-color: rgb(230, 190, 0);
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 213, 0, 0.5);
}

.mehr-erfahren {
    padding: 12px 40px;
    font-size: 16px;
    font-family: "Open Sans", Arial, sans-serif;
    background-color: transparent;
    border-radius: 10px;
    border: 2px solid white;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.mehr-erfahren:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.06);
}

/* ===== INDEX / HERO SECTION ===== */
.hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-height: 100vh;
    padding: 280px 80px 60px 80px;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-content h1 {
    font-size: 2.8rem;
    color: #005c9a;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.hero-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin: 0 0 35px 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-buttons .jetzt-buchen {
    margin: 0;
}

.hero-buttons .mehr-erfahren {
    background-color: #0099ff;
    border-color: #0099ff;
}

.hero-buttons .mehr-erfahren:hover {
    background-color: #0076c5;
    border-color: #0076c5;
}

.hero-bild {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.haus-illustration {
    width: 100%;
    max-width: 480px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

.haus-illustration:hover {
    transform: translateY(-8px);
}

.haus-illustration svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== HIGHLIGHTS SECTION ===== */
.highlights {
    padding: 60px 80px;
    position: relative;
    z-index: 2;
}

.highlights-titel {
    text-align: center;
    font-size: 2rem;
    color: #005c9a;
    margin: 0 0 40px 0;
    border: none;
}

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

.highlight-card {
    background: white;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #0099ff;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 153, 255, 0.15);
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.highlight-card h3 {
    font-size: 1.1rem;
    color: #005c9a;
    margin: 0 0 12px 0;
}

.highlight-card p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* ===== SCHNELLINFOS ===== */
.schnellinfos {
    padding: 40px 80px 80px 80px;
    position: relative;
    z-index: 2;
}

.info-box-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.info-box {
    background: linear-gradient(135deg, #0099ff, #005c9a);
    color: white;
    border-radius: 16px;
    padding: 25px 40px;
    text-align: center;
    min-width: 150px;
    box-shadow: 0 5px 20px rgba(0, 153, 255, 0.3);
    transition: transform 0.3s ease;
}

.info-box:hover {
    transform: translateY(-5px);
}

.info-zahl {
    display: block;
    font-size: 2.2rem;
    font-weight: bold;
    color: rgb(255, 213, 0);
}

.info-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 5px;
}

/* ===== PREIS-TABELLE ===== */
.preis-tabelle-wrapper {
    margin: 20px 150px;
    overflow-x: auto;
}

.preis-tabelle {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.preis-tabelle thead {
    background: linear-gradient(135deg, #0099ff, #005c9a);
    color: white;
}

.preis-tabelle th {
    padding: 15px 20px;
    text-align: left;
    font-size: 1rem;
}

.preis-tabelle td {
    padding: 14px 20px;
    border-bottom: 1px solid #e8f4fd;
    color: #444;
}

.preis-tabelle tbody tr:hover {
    background-color: #f0f8ff;
}

.highlight-row {
    background-color: #f8fbff;
}

/* ===== INFO-LISTE ===== */
.info-liste {
    margin: 15px 150px 0 185px;
    line-height: 2;
    color: #444;
}

.info-liste li {
    padding: 3px 0;
}

/* ===== ADRESS-BOX ===== */
.adress-box {
    margin: 15px 150px 15px 210px;
    background: white;
    border-left: 4px solid #0099ff;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: inline-block;
}

.adress-box p {
    margin: 0;
    line-height: 1.8;
}

/* ===== KARTE ===== */
.karte-wrapper {
    margin: 30px 150px;
}

.karte-wrapper h2 {
    margin-left: 0;
}

.karte-placeholder {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.karte-hinweis {
    margin: 0;
    padding: 12px 20px;
    background: white;
    font-size: 0.9rem;
    color: #555;
    border-top: 1px solid #e8f4fd;
}

/* ===== KONTAKT ===== */
.kontakt-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin: 20px 150px;
}

.kontakt-formular-wrapper h2,
.kontakt-info-wrapper h2 {
    margin: 0 0 20px 0;
    border: none;
    font-size: 1.4rem;
}

.kontakt-formular {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-gruppe {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-gruppe label {
    font-size: 0.9rem;
    font-weight: bold;
    color: #005c9a;
}

.form-gruppe input,
.form-gruppe select,
.form-gruppe textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: "Open Sans", Arial, sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
    color: #2c3e50;
}

.form-gruppe input:focus,
.form-gruppe select:focus,
.form-gruppe textarea:focus {
    outline: none;
    border-color: #0099ff;
    box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.15);
}

.form-gruppe textarea {
    resize: vertical;
    min-height: 120px;
}

/* Inline Validierung Styles */
.form-gruppe.error input {
    border-color: #e74c3c !important;
    background-color: #fdf2f2 !important;
}

/* Radio-Button Gruppe */
.radio-gruppe {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: #555;
    background: white;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
    user-select: none;
}

.radio-label:hover {
    border-color: #0099ff;
    color: #005c9a;
}

.radio-label input[type="radio"] {
    accent-color: #0099ff;
    width: 16px;
    height: 16px;
    cursor: pointer;
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
}

.radio-label:has(input:checked) {
    border-color: #0099ff;
    background: #e8f4fd;
    color: #005c9a;
}

.error-message {
    color: #e74c3c;
    font-size: 0.75rem;
    margin-top: 5px;
    display: block;
    font-weight: bold;
    animation: fadeIn 0.3s ease;
}

.form-fehler {
    background-color: #fdf2f2;
    color: #e74c3c;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #e74c3c;
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 0.9rem;
    animation: shake 0.4s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.form-submit {
    align-self: flex-start;
    margin: 0;
    padding: 12px 35px;
}

.form-bestaetigung {
    padding: 15px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    color: #155724;
    font-size: 0.95rem;
}

.kontakt-info-karte {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kontakt-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.kontakt-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.kontakt-info-item strong {
    display: block;
    color: #005c9a;
    margin-bottom: 4px;
}

.kontakt-info-item p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
}

.antwortzeit-hinweis {
    margin-top: 20px;
    padding: 15px;
    background: #e8f4fd;
    border-radius: 10px;
}

.antwortzeit-hinweis p {
    margin: 0;
    font-size: 0.9rem;
    color: #005c9a;
}

/* ===== AUSFLUGSTIPPS ===== */
.ausflug-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 25px 150px;
}

.ausflug-karte {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.09);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ausflug-karte:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.ausflug-karte-header {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.ausflug-karte-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ausflug-karte:hover .ausflug-karte-header img {
    transform: scale(1.1);
}

.ausflug-emoji {
    font-size: 3rem;
}

.ausflug-karte-body {
    padding: 20px;
}

.ausflug-entfernung {
    display: inline-block;
    background: #e8f4fd;
    color: #0076c5;
    font-size: 0.8rem;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

.ausflug-karte-body h3 {
    margin: 0 0 10px 0;
    font-size: 1.15rem;
    color: #005c9a;
}

.ausflug-karte-body p {
    margin: 0 0 12px 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
}

.ausflug-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ausflug-highlights li {
    font-size: 0.85rem;
    color: #444;
    padding: 3px 0;
}

.ausflug-highlights li::before {
    content: "✓ ";
    color: #27ae60;
    font-weight: bold;
}

/* Tipp-Boxen */
.tipp-boxen {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 150px;
}

.tipp-box {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    border-top: 3px solid #0099ff;
}

.tipp-box h3 {
    margin: 0 0 10px 0;
    font-size: 1rem;
    color: #005c9a;
}

.tipp-box p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
}

/* ===== BILDER / GALERIE ===== */
.galerie-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 150px;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid #0099ff;
    border-radius: 25px;
    background: transparent;
    color: #0099ff;
    font-size: 0.9rem;
    font-family: "Open Sans", Arial, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #0099ff;
    color: white;
}

.galerie {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 20px 150px;
}

.galerie-item {
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.galerie-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.galerie-item.versteckt {
    display: none;
}

.galerie-bild-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.galerie-svg,
.galerie-img {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.4s ease;
    object-fit: cover;
}

.galerie-item:hover .galerie-svg,
.galerie-item:hover .galerie-img {
    transform: scale(1.05);
}

.galerie-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 99, 165, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 1rem;
    font-weight: bold;
}

.galerie-item:hover .galerie-overlay {
    opacity: 1;
}

.galerie-beschriftung {
    margin: 0;
    padding: 10px 12px;
    font-size: 0.85rem;
    color: #555;
    text-align: center;
    background: white;
}

.galerie-hinweis {
    margin: 20px 150px;
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.aktiv {
    display: flex;
}

.lightbox-inhalt {
    position: relative;
    max-width: 700px;
    width: 90%;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-schliessen {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.lightbox-schliessen:hover {
    background: rgba(0, 0, 0, 0.8);
}

#lightbox-bild svg {
    width: 100%;
    height: auto;
    display: block;
}

#lightbox-beschriftung {
    margin: 0;
    padding: 15px 20px;
    font-size: 1rem;
    color: #333;
    text-align: center;
    font-weight: bold;
}

/* ===== TIPPS-LISTEN (Die Insel Seite) ===== */
.tipps-listen li {
    margin: 8px 150px 8px 240px;
    line-height: 1.6;
}

/* ===== DAS HAUS SEITE ===== */
.das-haus-dropdown {
    min-width: 160px;
}

/* ===== WETTER ===== */
#weather {
    margin: 15px 150px;
    padding: 15px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: #005c9a;
}

.wetter-icon {
    width: 50px;
    height: 50px;
}

.temperatur {
    background: none;
    border: none;
    font-weight: bold;
    color: #005c9a;
    margin: 0;
}

/* ===== ABSCHNITT-LAYOUT ===== */
.abschnitt {
    padding: 0 80px 50px 80px;
    animation: fadeInUp 0.5s ease both;
}

.abschnitt+.abschnitt {
    border-top: 2px solid #e8f4fd;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.abschnitt-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    margin-top: 100px;
}

.tipps-kontakt-header {
    margin-top: 100px;
}

.abschnitt-header h1,
.abschnitt-header h2 {
    margin: 0;
    border: none;
}

.abschnitt-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

/* ===== TEXT-BILD-LAYOUT ===== */
.text-bild-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 36px;
    align-items: start;
}

.text-bild-layout--umgekehrt {
    grid-template-columns: 300px 1fr;
}

.text-bild-text {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.text-bild-text p {
    margin: 0;
}

.text-bild-text h2 {
    margin: 0 0 8px 0;
    border: none;
}

/* ===== FOTO-PLATZHALTER ===== */
.foto-platzhalter {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    background: #f0f8ff;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    flex-shrink: 0;
}

.foto-platzhalter:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 14px 36px rgba(0, 153, 255, 0.18);
}

.foto-platzhalter-inhalt {
    display: flex;
    flex-direction: column;
}

.foto-platzhalter-inhalt svg {
    display: block;
    width: 100%;
    height: auto;
}

.foto-platzhalter-label {
    display: block;
    text-align: center;
    padding: 10px 14px;
    font-size: 0.82rem;
    color: #666;
    background: white;
    border-top: 1px solid #e8f4fd;
    font-style: italic;
}

/* ===== LAGE-BADGES ===== */
.lage-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.badge {
    display: inline-block;
    background: #e8f4fd;
    color: #005c9a;
    border: 1.5px solid #b3d9f7;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 0.88rem;
    font-weight: bold;
    transition: background 0.2s ease;
}

.badge:hover {
    background: #c5e5f8;
}

/* ===== RÄUMLICHKEITEN GRID ===== */
.raeume-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 10px;
}

.raum-karte {
    background: white;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    border-left: 3px solid #0099ff;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.raum-karte:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 153, 255, 0.13);
}

.raum-icon {
    font-size: 1.4rem;
}

.raum-karte strong {
    font-size: 0.95rem;
    color: #005c9a;
}

.raum-karte p {
    margin: 0;
    font-size: 0.82rem;
    color: #666;
    line-height: 1.4;
}

/* ===== INFO-KARTEN GRID ===== */
.info-karten-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.info-karte {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: white;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-karte:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.info-karte-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 36px;
    text-align: center;
}

.info-karte strong {
    display: block;
    color: #005c9a;
    font-size: 0.92rem;
    margin-bottom: 3px;
}

.info-karte p {
    margin: 0;
    font-size: 0.83rem;
    color: #555;
    line-height: 1.5;
}

/* ===== BENUTZUNG BOX ===== */
.benutzung-box {
    background: linear-gradient(135deg, #e8f4fd, #f0fbff);
    border-left: 4px solid #0099ff;
    border-radius: 12px;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 3px 12px rgba(0, 153, 255, 0.08);
}

.benutzung-box p {
    margin: 0;
    line-height: 1.75;
    color: #444;
}

/* ===== STRAND-TYPEN ===== */
.strand-typen {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 10px 0;
}

.strand-typ {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: white;
    border-radius: 10px;
    padding: 12px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.strand-typ span {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.strand-typ strong {
    display: block;
    color: #005c9a;
    font-size: 0.95rem;
}

.strand-typ p {
    margin: 2px 0 0 0;
    font-size: 0.85rem;
    color: #666;
}

/* ===== ZEITSTRAHL ===== */
.zeitstrahl {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-top: 10px;
}

.zeitstrahl::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #0099ff, #005c9a);
    border-radius: 2px;
}

.zeitstrahl-eintrag {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 8px 0;
    position: relative;
}

.zeitstrahl-eintrag::before {
    content: '';
    position: absolute;
    left: 42px;
    top: 14px;
    width: 16px;
    height: 16px;
    background: #0099ff;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #0099ff;
    z-index: 1;
}

.zeitstrahl-jahr {
    flex-shrink: 0;
    width: 38px;
    font-size: 0.76rem;
    font-weight: bold;
    color: #005c9a;
    text-align: right;
    padding-top: 10px;
    line-height: 1.2;
}

.zeitstrahl-eintrag p {
    margin: 6px 0 0 18px;
    font-size: 0.86rem;
    color: #444;
    line-height: 1.5;
    background: white;
    border-radius: 8px;
    padding: 7px 12px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
    flex: 1;
}

/* ===== TIPPS 3 SPALTEN ===== */
.tipps-drei-spalten {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.tipps-spalte {
    background: white;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.08);
    border-top: 3px solid #0099ff;
}

.tipps-spalte h3 {
    margin: 0 0 14px 0;
    font-size: 1rem;
    color: #005c9a;
}

.tipps-liste-schoen {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tipps-liste-schoen li {
    font-size: 0.87rem;
    color: #444;
    padding: 6px 10px;
    border-radius: 6px;
    background: #f8fbff;
    transition: background 0.2s ease;
}

.tipps-liste-schoen li::before {
    content: "✓ ";
    color: #27ae60;
    font-weight: bold;
}

.tipps-liste-schoen li:hover {
    background: #e8f4fd;
}

/* ===== MIETBEDINGUNGEN GRID ===== */
.bedingungen-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.bedingung-karte {
    background: white;
    border-radius: 14px;
    padding: 18px 12px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    border-top: 3px solid #0099ff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bedingung-karte:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 22px rgba(0, 153, 255, 0.15);
}

.bedingung-icon {
    font-size: 1.8rem;
}

.bedingung-karte strong {
    font-size: 0.85rem;
    color: #005c9a;
}

.bedingung-karte p {
    margin: 0;
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
}

.bedingung-karte small {
    font-size: 0.74rem;
    color: #999;
}

/* ===== ANREISE WEGE ===== */
.anreise-wege {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 22px;
}

.anreise-weg {
    background: white;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.anreise-weg-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid #e8f4fd;
    padding-bottom: 12px;
}

.anreise-weg-header h3 {
    margin: 0;
    font-size: 1.05rem;
    color: #005c9a;
}

.anreise-icon {
    font-size: 1.8rem;
}

.anreise-weg p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #444;
}

.anreise-weg .adress-box {
    margin: 0;
}

.anreise-weg .adress-box p {
    font-size: 0.88rem;
}

.fahrtzeiten {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fahrtzeiten span {
    font-size: 0.85rem;
    color: #005c9a;
    background: #e8f4fd;
    padding: 5px 12px;
    border-radius: 8px;
}

.abschnitt-header {
    margin-top: 150px !important;
}

.tipps-kontakt-header,
.bilder-header {
    margin-top: 200px;
}

#start-header {
    margin-top: 150px;
}


@media (max-width: 1050px) {
    nav {
        padding: 0 20px;
        justify-content: space-between;
    }

    .menu-toggle {
        display: flex;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 85px;
        left: 0;
        width: 100%;
        background-color: #0099ff;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    nav ul li a {
        padding: 15px;
        font-size: 20px;
    }

    nav ul li ul {
        position: static;
        display: block;
        background-color: rgba(255, 255, 255, 0.1);
        box-shadow: none;
        margin-top: 10px;
        border-radius: 8px;
    }

    /* Menu Toggle Animation */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Wave and h4 adjustments */
    .wave-top {
        top: 85px;
    }

    h4 {
        top: 100px;
        left: 20px;
        font-size: 22px;
        padding: 4px 20px;
    }

    /* Hero Section */
    .hero {
        flex-direction: column;
        padding: 180px 20px 60px;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        padding: 0;
    }

    .hero-buttons {
        justify-content: center;
    }

    /* Grid layout adjustments */
    .highlight-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-box-row {
        gap: 15px;
    }

    .info-box {
        min-width: 120px;
        padding: 15px 20px;
    }

    .ausflug-grid,
    .tipp-boxen,
    .tipps-drei-spalten,
    .galerie {
        grid-template-columns: repeat(2, 1fr);
        margin: 20px;
    }

    .kontakt-layout {
        grid-template-columns: 1fr;
        margin: 20px;
    }

    .bedingungen-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .anreise-wege {
        grid-template-columns: 1fr;
    }

    .page-content {
        padding-top: 180px;
    }

    .text-bild-layout,
    .text-bild-layout--umgekehrt {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .galerie-filter {
        margin: 20px;
        justify-content: center;
    }

    .preis-tabelle-wrapper,
    .info-liste,
    .adress-box,
    .karte-wrapper {
        margin: 20px;
    }

    .text-mit-h3,
    .text-mit-bild {
        margin-left: 0;
        width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 600px) {

    .highlight-cards,
    .ausflug-grid,
    .tipp-boxen,
    .tipps-drei-spalten,
    .galerie,
    .bedingungen-grid,
    .raeume-grid,
    .info-karten-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .info-box {
        width: 100%;
    }
}

/* ===== KALENDER ===== */
.kalender-container {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin: 30px auto;
    max-width: 600px;
}

.kalender-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.kalender-header h3 {
    margin: 0;
    color: #0099ff;
    font-size: 1.4rem;
}

.kalender-btn {
    background: #0099ff;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.kalender-btn:hover {
    background: #007acc;
}

.kalender-wochentage {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
    font-weight: bold;
    color: #555;
    margin-bottom: 10px;
}

.kalender-tage {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.tag {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    /* Clickable by default for free days */
    font-size: 0.95rem;
    background-color: #f8f9fa;
    border: 1px solid #eee;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tag.andere-monat {
    color: #ccc;
    background-color: transparent;
    border: none;
    cursor: default;
}

.tag.heute {
    border: 2px solid #0099ff;
    font-weight: bold;
    color: #0099ff;
}

.tag.belegt {
    background-color: #ffcc99;
    /* Sanftes Orange */
    color: #d35400;
    position: relative;
    cursor: default;
    /* Not selectable */
}

.tag.anreise {
    background: linear-gradient(135deg, #fff 50%, #ffcc99 50%);
    cursor: pointer;
}

.tag.abreise {
    background: linear-gradient(135deg, #ffcc99 50%, #fff 50%);
    cursor: pointer;
}

.tag.anreise::after {
    content: "Anreisetag";
}

.tag.abreise::after {
    content: "Abreisetag";
}

.tag.belegt::after,
.tag.anreise::after,
.tag.abreise::after {
    content: "Belegt";
    /* Default, will be overridden by classes above */
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10;
    white-space: nowrap;
}

.tag.belegt:hover::after,
.tag.anreise:hover::after,
.tag.abreise:hover::after {
    opacity: 1;
}

.kalender-legende {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    font-size: 0.9rem;
    color: #666;
    justify-content: center;
    flex-wrap: wrap;
    /* Prevent overflow on small screens */
}

.legende-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-box {
    width: 15px;
    height: 15px;
    border-radius: 3px;
    display: inline-block;
}

.status-box.frei {
    background-color: #f8f9fa;
    border: 1px solid #eee;
}

.status-box.belegt {
    background-color: #ffcc99;
}

.status-box.anreise {
    background: linear-gradient(135deg, #fff 50%, #ffcc99 50%);
    border: 1px solid #eee;
}

.status-box.abreise {
    background: linear-gradient(135deg, #ffcc99 50%, #fff 50%);
    border: 1px solid #eee;
}

.status-box.heute {
    border: 2px solid #0099ff;
}

.status-box.ausgewählt {
    background-color: rgba(0, 153, 255, 0.2);
    border: 2px solid #0099ff;
}

/* Auswahl-Highlighting */
.tag.ausgewaehlt {
    background-color: rgba(0, 153, 255, 0.2) !important;
    border: 2px solid #0099ff !important;
    color: #005c9a;
    font-weight: bold;
    cursor: pointer;
}

/* Preisrechner Box */
.preisrechner-box {
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f0f8ff, #e8f4fd);
    border-radius: 12px;
    border-left: 5px solid #0099ff;
    animation: fadeIn 0.4s ease;
}

.preis-info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.preis-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.preis-item.gesamt {
    padding-left: 20px;
    border-left: 2px solid #b3d9f7;
}

.preis-label {
    font-size: 0.85rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.preis-wert {
    font-size: 1.6rem;
    font-weight: bold;
    color: #005c9a;
}

.preis-item.gesamt .preis-wert {
    color: #27ae60;
    font-size: 2rem;
}

.preis-hinweis {
    margin-top: 15px !important;
    text-align: center;
    font-size: 0.9rem !important;
    color: #666 !important;
    padding: 0 !important;
}

#zeitraum-anzeige {
    font-weight: bold;
    color: #0099ff;
}

.preis-disclaimer {
    text-align: center;
    font-size: 0.75rem !important;
    color: #999 !important;
    margin-top: 10px !important;
    padding: 0 !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .preis-info {
        flex-direction: column;
        gap: 15px;
    }

    .preis-item.gesamt {
        padding-left: 0;
        border-left: none;
        border-top: 2px solid #b3d9f7;
        padding-top: 15px;
        width: 100%;
    }

    .preis-wert {
        font-size: 1.4rem;
    }

    .preis-item.gesamt .preis-wert {
        font-size: 1.8rem;
    }
}

@media (max-width: 600px) {
    .kalender-container {
        padding: 15px;
    }

    .kalender-header h3 {
        font-size: 1.1rem;
    }

    .tag {
        font-size: 0.85rem;
    }
}

/* ===== FOOTER ===== */
.site-footer {
    width: 100%;
    position: relative;
    margin-top: 40px;
}

.footer-content {
    position: absolute;
    bottom: 5%;
    left: 0;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    z-index: 15;
    font-size: clamp(10px, 1.2vw, 14px);
    color: #ffffff;
    /* Slightly darker for better contrast on blue */
}

.footer-links {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 4px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-links span {
    opacity: 0.5;
}

.admin-link {
    color: #ffffff !important;
    text-decoration: none;
    font-size: clamp(9px, 1vw, 12px);
    transition: opacity 0.3s ease;
    opacity: 0.7;
}

.admin-link:hover {
    color: #ffffff !important;
    text-decoration: underline;
    opacity: 1;
}

@media (max-width: 480px) {
    .footer-content {
        bottom: 8%;
    }
}

/* ===== MOBILE IMPROVEMENTS FOR INNER PAGES ===== */

@media (max-width: 1050px) {

    /* Section padding */
    .abschnitt {
        padding: 0 20px 40px 20px;
    }

    /* page-content top padding */
    .page-content {
        padding-top: 160px;
    }

    /* abschnitt-header margin adjustment */
    .abschnitt-header {
        margin-top: 60px !important;
    }

    /* Typography: reset fixed left padding inside grids */
    .abschnitt h1,
    .abschnitt h2,
    .abschnitt h3,
    .abschnitt p {
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
    }

    .text-bild-text h2 {
        padding: 0;
    }

    /* adress-box fixed margins */
    .adress-box {
        margin: 10px 0;
        display: block;
        box-sizing: border-box;
        width: 100%;
    }

    /* karte-wrapper */
    .karte-wrapper {
        margin: 20px 0;
    }

    /* benutzung-box */
    .benutzung-box {
        padding: 18px;
    }

    /* zeitstrahl */
    .zeitstrahl::before {
        left: 44px;
    }

    /* anreise adress-box inside anreise-weg */
    .anreise-weg .adress-box {
        margin: 0;
    }

    /* tipps-drei-spalten & bedingungen mobile header spacing */
    .tipps-kontakt-header,
    .bilder-header {
        margin-top: 100px;
    }

    /* galerie-hinweis */
    .galerie-hinweis {
        margin: 10px 20px;
    }
}

@media (max-width: 600px) {

    /* h4 page label */
    h4 {
        top: 95px;
        left: 12px;
        font-size: 18px;
        padding: 4px 14px;
    }

    /* section padding */
    .abschnitt {
        padding: 0 14px 30px 14px;
    }

    /* page-content top spacing */
    .page-content {
        padding-top: 150px;
    }

    /* abschnitt-header top margin */
    .abschnitt-header {
        margin-top: 40px !important;
        flex-wrap: wrap;
    }

    .abschnitt-header h1 {
        font-size: 1.5rem;
    }

    /* Typography */
    h1 {
        font-size: 1.5rem;
        padding: 0 14px;
    }

    h2 {
        font-size: 1.25rem;
        padding: 0 14px 6px;
    }

    h3 {
        font-size: 1rem;
        padding: 0 14px;
    }

    p {
        padding: 0 14px;
    }

    /* Text-bild layout: reset paddings inside stacked cols */
    .abschnitt h1,
    .abschnitt h2,
    .abschnitt h3,
    .abschnitt p {
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
    }

    /* raeume-grid already 1col – add spacing */
    .raeume-grid {
        gap: 10px;
    }

    /* raum-karte */
    .raum-karte {
        padding: 12px;
    }

    /* info-karten-grid already 1col */
    .info-karten-grid {
        gap: 10px;
    }

    /* lage-badges */
    .lage-badges {
        gap: 8px;
    }

    /* foto-platzhalter: constrain height on mobile */
    .foto-platzhalter--hoch {
        max-height: 260px;
        overflow: hidden;
    }

    .foto-platzhalter--hoch img {
        width: 100%;
        height: 260px;
        object-fit: cover;
    }

    /* benutzung-box */
    .benutzung-box {
        padding: 14px;
        margin: 0;
    }

    /* adress-box */
    .adress-box {
        margin: 8px 0;
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    /* anreise-wege: ensure spacing */
    .anreise-wege {
        gap: 14px;
    }

    .anreise-weg {
        padding: 16px;
    }

    .fahrtzeiten {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    /* zeitstrahl: tighten for small screens */
    .zeitstrahl::before {
        left: 38px;
    }

    .zeitstrahl-jahr {
        width: 30px;
        font-size: 0.7rem;
    }

    .zeitstrahl-eintrag::before {
        left: 32px;
        width: 14px;
        height: 14px;
    }

    .zeitstrahl-eintrag p {
        margin-left: 10px;
        font-size: 0.82rem;
        padding: 6px 10px;
    }

    /* strand-typen */
    .strand-typen {
        gap: 8px;
    }

    /* tipps-drei-spalten already 1col at 600px via earlier rule */
    .tipps-spalte {
        padding: 16px;
    }

    /* bedingungen-grid already 1col */
    .bedingung-karte {
        padding: 14px 10px;
    }

    /* preis-tabelle-wrapper */
    .preis-tabelle-wrapper {
        margin: 10px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .preis-tabelle th,
    .preis-tabelle td {
        padding: 10px 12px;
        font-size: 0.88rem;
    }

    /* kalender in mieten page */
    .kalender-container {
        padding: 14px;
        margin: 20px 0;
    }

    .kalender-header h3 {
        font-size: 1rem;
    }

    .tag {
        font-size: 0.78rem;
    }

    /* kalender legend wrap nicely */
    .kalender-legende {
        gap: 8px;
        font-size: 0.8rem;
    }

    /* up button */
    .up {
        width: 46px;
        height: 46px;
        bottom: 24px;
        right: 16px;
    }

    /* galerie-filter */
    .galerie-filter {
        margin: 10px 0;
        gap: 8px;
    }

    .filter-btn {
        padding: 6px 14px;
        font-size: 0.85rem;
    }

    /* galerie grid to 2 cols on small phones */
    .galerie {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin: 10px 0;
    }

    /* Impressum/Datenschutz benutzung-box */
    .benutzung-box h3 {
        font-size: 0.95rem;
    }

    /* tipps-kontakt-header & bilder-header */
    .tipps-kontakt-header,
    .bilder-header {
        margin-top: 80px;
    }

    /* galerie-hinweis */
    .galerie-hinweis {
        margin: 10px 0;
    }
}

@media (max-width: 400px) {
    h4 {
        font-size: 15px;
        padding: 3px 12px;
    }

    .abschnitt {
        padding: 0 10px 24px 10px;
    }

    /* 1 column gallery on very small phones */
    .galerie {
        grid-template-columns: 1fr;
    }

    .kalender-container {
        padding: 10px;
    }

    .tag {
        font-size: 0.72rem;
    }
}