:root {
    --p-bg: #f9efd8;
    --p-dunkel: #111111;
    --p-dunkel2: #1c1c1c;
    --p-orange: #ffa500;
    --p-orange-dunkel: #e08e00;
    --p-weiss: #ffffff;
    --p-text: #333333;
    --p-text2: #555555;
    --p-text3: #888888;
    --p-rand: #e6dcc3;
    --p-radius: 8px;
    --p-schatten: 0 2px 5px rgba(0, 0, 0, 0.10);
    --p-schatten2: 0 4px 12px rgba(0, 0, 0, 0.15);
    --p-font: 'Nunito Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --p-max: 1000px;
}

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

html {
    font-size: 16px;
}

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

img {
    max-width: 100%;
}

a {
    color: var(--p-orange-dunkel);
}

.kopf {
    background-color: var(--p-dunkel);
    color: var(--p-weiss);
    padding: 20px 15px;
    text-align: center;
    box-shadow: var(--p-schatten);
    position: relative;
}

.kopf-inhalt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.kopf-logo {
    height: 200px;
    width: auto;
}

.kopf-claim {
    font-size: 1.5rem;
    margin-top: 8px;
    color: var(--p-weiss);
    font-weight: 800;
}

.kopf-unter {
    color: #ccc;
    font-size: 1.05rem;
}

.kopf-unter i {
    color: var(--p-orange);
}

.kopf-suche {
    display: flex;
    width: 70%;
    max-width: 800px;
    margin-top: 16px;
}

.kopf-suche input {
    flex: 1;
    padding: 14px 20px;
    font-size: 1.05rem;
    font-family: inherit;
    border: none;
    border-radius: var(--p-radius) 0 0 var(--p-radius);
    outline: none;
    min-width: 0;
}

.kopf-suche button {
    padding: 14px 22px;
    font-size: 1.05rem;
    font-family: inherit;
    font-weight: 700;
    background: var(--p-orange);
    color: var(--p-dunkel);
    border: none;
    cursor: pointer;
    border-radius: 0 var(--p-radius) var(--p-radius) 0;
}

.kopf-suche button:hover {
    background: var(--p-orange-dunkel);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--p-orange);
    font-size: 1.3rem;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
}

.haupt-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 18px;
}

.haupt-nav a {
    color: var(--p-orange);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 4px 2px;
    border-bottom: 2px solid transparent;
}

.haupt-nav a:hover,
.haupt-nav a.aktiv {
    border-bottom-color: var(--p-orange);
}

.container {
    max-width: var(--p-max);
    margin: 30px auto;
    padding: 0 15px;
}

.kategorie-leiste {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    justify-content: center;
}

.kat-chip {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--p-orange);
    border-radius: 20px;
    color: var(--p-orange-dunkel);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    background: var(--p-weiss);
}

.kat-chip:hover,
.kat-chip.aktiv {
    background: var(--p-orange);
    color: var(--p-weiss);
}

.such-hinweis {
    text-align: center;
    margin-bottom: 20px;
    color: var(--p-text2);
}

.beitrag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.leer {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--p-text3);
    padding: 40px 0;
}

.beitrag-kachel {
    display: block;
    background-color: var(--p-weiss);
    border-radius: var(--p-radius);
    overflow: hidden;
    box-shadow: var(--p-schatten);
    text-decoration: none;
    color: var(--p-text);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.beitrag-kachel:hover {
    transform: translateY(-5px);
    box-shadow: var(--p-schatten2);
}

.kachel-bild {
    position: relative;
    background: var(--p-dunkel2);
}

.kachel-bild img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.kachel-icon {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: var(--p-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.kachel-text {
    padding: 15px 20px 20px;
}

.kachel-meta {
    display: block;
    font-size: 0.82rem;
    color: var(--p-text3);
    margin-bottom: 6px;
}

.kachel-text h2 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--p-dunkel);
}

.kachel-text p {
    font-size: 0.95em;
    color: var(--p-text2);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination a {
    display: inline-block;
    color: var(--p-orange-dunkel);
    text-decoration: none;
    font-weight: 700;
    padding: 9px 16px;
    border: 1px solid var(--p-orange);
    border-radius: 5px;
    background: var(--p-weiss);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pagination a:hover,
.pagination a.aktiv {
    background-color: var(--p-orange);
    color: var(--p-weiss);
}

.einzel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.beitrag {
    background-color: var(--p-weiss);
    padding: 24px;
    border-radius: var(--p-radius);
    box-shadow: var(--p-schatten);
    width: 100%;
}

.beitrag h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--p-dunkel);
    line-height: 1.25;
}

.beitrag h1 i {
    color: var(--p-orange);
}

.beitrag h2 {
    font-size: 1.3rem;
    margin: 28px 0 12px;
    color: var(--p-dunkel);
}

.beitrag h2 i {
    color: var(--p-orange);
}

.beitrag-meta {
    color: var(--p-text3);
    font-size: 0.9rem;
    margin-bottom: 18px;
}

.beitrag-meta a {
    color: var(--p-orange-dunkel);
    text-decoration: none;
}

.beitrag-bild {
    float: left;
    width: 40%;
    max-width: 380px;
    margin: 6px 24px 12px 0;
}

.beitrag-bild img {
    width: 100%;
    height: auto;
    border-radius: var(--p-radius);
    display: block;
    cursor: zoom-in;
    box-shadow: var(--p-schatten);
}

.beitrag-galerie,
.beitrag-video,
.beitrag-instagram,
.beitrag-karte,
.beitrag-nachbarn {
    clear: both;
}

.beitrag-teaser {
    font-size: 1.1rem;
    color: var(--p-text2);
    margin-bottom: 18px;
    font-weight: 600;
}

.beitrag-inhalt p {
    margin-bottom: 15px;
    font-size: 1.02rem;
    line-height: 1.7;
    color: #444;
}

.beitrag-inhalt h2,
.beitrag-inhalt h3 {
    margin: 24px 0 10px;
    color: var(--p-dunkel);
}

.beitrag-inhalt ul,
.beitrag-inhalt ol {
    margin: 0 0 15px 24px;
}

.beitrag-inhalt img {
    border-radius: var(--p-radius);
    margin: 10px 0;
}

.beitrag-inhalt blockquote {
    border-left: 4px solid var(--p-orange);
    padding: 8px 16px;
    margin: 16px 0;
    background: var(--p-bg);
    color: var(--p-text2);
}

.karussell-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--p-radius);
    margin: 10px 0 20px;
    background: var(--p-dunkel2);
}

.karussell {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.karussell-item {
    min-width: 100%;
}

.karussell-item img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
    cursor: zoom-in;
}

.karussell-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--p-weiss);
    border: none;
    width: 42px;
    height: 42px;
    font-size: 1.3rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
}

.karussell-btn:hover {
    background-color: var(--p-orange);
}

.karussell-btn.zurueck {
    left: 10px;
}

.karussell-btn.weiter {
    right: 10px;
}

.karussell-punkte {
    text-align: center;
    padding: 10px 0;
}

.karussell-punkt {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #666;
    border-radius: 50%;
    cursor: pointer;
}

.karussell-punkt.aktiv {
    background-color: var(--p-orange);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 10px 0 20px;
    border-radius: var(--p-radius);
    background: var(--p-dunkel2);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.beitrag-instagram .instagram-media {
    margin: 10px auto !important;
}

.karte {
    width: 100%;
    height: 400px;
    border-radius: var(--p-radius);
    box-shadow: var(--p-schatten);
    z-index: 1;
    background: #e5e3df;
}

.karte-gross {
    height: 520px;
    margin: 10px 0 20px;
}

.leaflet-popup-content {
    font-family: var(--p-font);
    font-size: 0.92rem;
}

.popup-titel {
    color: var(--p-orange-dunkel);
    font-weight: 800;
    font-size: 1rem;
}

.popup-bild {
    width: 100%;
    max-width: 220px;
    border-radius: 6px;
    margin-top: 6px;
    display: block;
}

.popup-meta {
    color: var(--p-text3);
    font-size: 0.82rem;
}

.poi-liste-titel {
    margin-top: 10px;
}

.poi-liste {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.poi-karte {
    border: 1px solid var(--p-rand);
    border-radius: var(--p-radius);
    overflow: hidden;
    cursor: pointer;
    background: var(--p-weiss);
    transition: box-shadow 0.2s;
}

.poi-karte:hover {
    box-shadow: var(--p-schatten2);
}

.poi-karte img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.poi-text {
    padding: 12px 14px;
}

.poi-text strong {
    display: block;
    color: var(--p-dunkel);
}

.poi-meta {
    font-size: 0.82rem;
    color: var(--p-text3);
    display: block;
    margin-bottom: 6px;
}

.poi-text p {
    font-size: 0.92rem;
    color: var(--p-text2);
    margin-bottom: 6px;
}

.poi-link {
    font-weight: 700;
    text-decoration: none;
    font-size: 0.92rem;
}

.beitrag-nachbarn {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.nachbar {
    background: var(--p-weiss);
    padding: 12px 16px;
    border-radius: var(--p-radius);
    text-decoration: none;
    color: var(--p-text);
    font-weight: 700;
    box-shadow: var(--p-schatten);
    max-width: 48%;
}

.nachbar:hover {
    color: var(--p-orange-dunkel);
}

.zurueck-link {
    text-align: center;
    margin-top: 10px;
}

.zurueck-link a {
    display: inline-block;
    color: var(--p-orange-dunkel);
    text-decoration: none;
    font-weight: 700;
    padding: 10px 20px;
    border: 1px solid var(--p-orange);
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    background: var(--p-weiss);
}

.zurueck-link a:hover {
    background-color: var(--p-orange);
    color: var(--p-weiss);
}

.ueber-split {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.ueber-bild {
    flex: 1 1 320px;
    background: var(--p-dunkel);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ueber-bild img {
    width: 100%;
    max-width: 380px;
    height: auto;
}

.ueber-details {
    flex: 1 1 360px;
    background: var(--p-bg);
    padding: 25px;
    border-radius: 10px;
}

.ueber-kopf {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--p-rand);
    padding-bottom: 15px;
}

.ueber-logo {
    height: 50px;
    width: auto;
}

.ueber-kopf h2 {
    margin: 0;
    font-size: 1.4rem;
}

.ueber-kontakt p {
    margin: 8px 0;
    color: #444;
}

.ueber-bio h3 {
    color: var(--p-orange-dunkel);
    margin-top: 20px;
}

.ueber-bio p {
    color: var(--p-text2);
    margin-top: 8px;
}

.ueber-haftung {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--p-text3);
}

.kontakt-form {
    max-width: 600px;
    margin-top: 20px;
}

.kontakt-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
}

.kontakt-form input,
.kontakt-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.kontakt-form input:focus,
.kontakt-form textarea:focus {
    outline: none;
    border-color: var(--p-orange);
}

.honig {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.btn-senden {
    background-color: var(--p-orange);
    color: var(--p-weiss);
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn-senden:hover {
    background-color: var(--p-orange-dunkel);
}

.meldung {
    padding: 14px 18px;
    border-radius: var(--p-radius);
    margin: 10px 0 20px;
    font-weight: 600;
}

.meldung-ok {
    background: #e8f5e9;
    color: #2e7d32;
}

.meldung-fehler {
    background: #ffebee;
    color: #c62828;
}

.fehler404 {
    text-align: center;
    padding: 60px 24px;
}

.lightbox {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

.lightbox[hidden] {
    display: none;
}

.lightbox-bild {
    max-width: 92%;
    max-height: 92%;
    border-radius: var(--p-radius);
}

.lightbox-schliessen {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--p-weiss);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.fuss {
    margin-top: 60px;
    padding: 40px 20px;
    background-color: var(--p-dunkel);
    color: var(--p-weiss);
    font-size: 0.9rem;
}

.fuss-inhalt {
    max-width: var(--p-max);
    margin: 0 auto;
    text-align: center;
}

.fuss-inhalt p {
    margin-bottom: 15px;
    color: #bbb;
}

.fuss-nav,
.fuss-social {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.fuss-nav a,
.fuss-social a {
    color: var(--p-orange);
    text-decoration: none;
    font-size: 0.95rem;
}

.fuss-nav a:hover,
.fuss-social a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {

    .beitrag-bild {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 0 16px;
    }


    html {
        font-size: 15px;
    }

    .kopf-logo {
        height: 140px;
    }

    .kopf-claim {
        font-size: 1.25rem;
    }

    .kopf-suche {
        width: 100%;
    }

    .menu-toggle {
        display: block;
    }

    .haupt-nav {
        display: none;
        flex-direction: column;
        background-color: var(--p-dunkel);
        padding: 15px;
        gap: 12px;
    }

    .haupt-nav.aktiv {
        display: flex;
    }

    .beitrag {
        padding: 16px;
    }

    .beitrag h1 {
        font-size: 1.5rem;
    }

    .karte,
    .karte-gross {
        height: 340px;
    }

    .nachbar {
        max-width: 100%;
        width: 100%;
    }
}
