:root {
    --forest: #244a3a;
    --forest-dark: #173329;
    --apple: #789846;
    --apple-dark: #5d7835;
    --grain: #d3a449;
    --sand: #f2ead8;
    --sand-light: #faf7ef;
    --water: #5f8990;
    --paper: #fffdf8;
    --white: #ffffff;
    --text: #26332d;
    --muted: #66736d;
    --border: #dfe5df;
    --shadow: 0 16px 45px rgb(31 52 43 / 14%);
    --small-shadow: 0 8px 24px rgb(31 52 43 / 12%);
    --radius: 20px;
    --content-width: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--sand-light);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 9999;
    padding: 12px 18px;
    color: var(--white);
    background: var(--forest-dark);
    border-radius: 8px;
    text-decoration: none;
    transform: translateY(-150%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

/*
 * Hero mit Video
 *
 * Reihenfolge:
 * 1. hero.png als Fallback
 * 2. Video
 * 3. dunkler Verlauf
 * 4. Navigation und Inhalt
 */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 680px;
    overflow: hidden;
    color: var(--white);
    background:
        var(--forest-dark)
        url("../images/hero.png")
        center center / cover
        no-repeat;
}

.hero-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
}

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            100deg,
            rgb(17 43 33 / 88%) 0%,
            rgb(17 43 33 / 66%) 45%,
            rgb(17 43 33 / 30%) 100%
        );
    pointer-events: none;
}

.hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    height: 30%;
    background:
        linear-gradient(
            to bottom,
            transparent,
            rgb(17 43 33 / 38%)
        );
    content: "";
    pointer-events: none;
}

.hero-overlay {
    position: relative;
    z-index: 3;
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 680px;
    padding: 24px;
    flex-direction: column;
}

.navigation {
    display: flex;
    width: min(100%, var(--content-width));
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: var(--white);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.menu {
    display: flex;
    gap: 28px;
    align-items: center;
}

.menu a {
    color: var(--white);
    font-weight: 650;
    text-decoration: none;
}

.menu a:hover,
.menu a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 6px;
}

.hero-content {
    display: flex;
    width: min(100%, var(--content-width));
    margin: 0 auto;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.eyebrow,
.section-label {
    margin: 0 0 10px;
    color: var(--apple-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.eyebrow {
    color: #e7efcf;
}

.hero-content h1 {
    max-width: 850px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.7rem, 7vw, 5.8rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 0.98;
    text-wrap: balance;
}

.hero-description {
    max-width: 680px;
    margin: 28px 0 0;
    color: rgb(255 255 255 / 90%);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.social-actions {
    display: flex;
    gap: 14px;
    margin-top: 34px;
    flex-wrap: wrap;
}

/*
 * Buttons
 */
.button {
    display: inline-flex;
    min-height: 48px;
    padding: 13px 22px;
    border: 2px solid transparent;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--forest-dark);
    background: var(--grain);
}

.button-primary:hover {
    background: #e2b75d;
}

.button-secondary {
    color: var(--white);
    background: rgb(255 255 255 / 8%);
    border-color: rgb(255 255 255 / 65%);
}

.button-secondary:hover {
    background: rgb(255 255 255 / 16%);
}

/*
 * Allgemeine Abschnitte
 */
section {
    width: min(100% - 32px, var(--content-width));
    margin: 0 auto;
}

.intro-section,
.map-section,
.locations-section,
.about-section {
    padding-top: 90px;
    padding-bottom: 90px;
}

.intro-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(32px, 7vw, 100px);
    align-items: start;
}

.intro-grid h2,
.section-heading h2,
.about-card h2,
.social-content h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4.5vw, 3.7rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.08;
    text-wrap: balance;
}

.intro-copy {
    color: var(--muted);
    font-size: 1.08rem;
}

.intro-copy p:first-child {
    margin-top: 0;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.section-heading > p:last-child {
    color: var(--muted);
}

/*
 * Kartenbereich
 */
.map-section {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding-right: 0;
    padding-left: 0;
    scroll-margin-top: 20px;
}

.map-section .section-heading {
    width: min(90vw, 900px);
    margin-right: auto;
    margin-left: auto;
}

.map-wrapper {
    position: relative;
    width: 90vw;
    margin-right: auto;
    margin-left: auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

#map {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 70vh;
    height: 70dvh;
    min-height: 480px;
    background: #dce8df;
    border-radius: var(--radius) var(--radius) 0 0;
    touch-action: pan-x pan-y;
}

.map-status {
    position: absolute;
    top: 18px;
    left: 50%;
    z-index: 1001;
    max-width: calc(100% - 40px);
    margin: 0;
    padding: 9px 14px;
    color: var(--white);
    background: rgb(23 51 41 / 92%);
    border-radius: 999px;
    font-size: 0.85rem;
    pointer-events: none;
    transform: translateX(-50%);
}

.map-status[hidden] {
    display: none;
}

.map-error {
    display: flex;
    padding: 30px;
    align-items: center;
    justify-content: center;
    color: #842029;
    background: #f8d7da;
    text-align: center;
}

/*
 * Kartenlegende
 */
.map-legend {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    background: var(--paper);
    border-top: 1px solid var(--border);
    border-radius: 0 0 var(--radius) var(--radius);
}

.legend-chip,
.map-legend > span {
    display: inline-flex;
    gap: 7px;
    min-height: 36px;
    padding: 6px 12px;
    align-items: center;
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 750;
    line-height: 1;
}

.legend-castle {
    border-color: #386653;
    background: #edf4f0;
}

.legend-nature {
    border-color: #789846;
    background: #f1f6e8;
}

.legend-town {
    border-color: #5f8990;
    background: #edf5f6;
}

.legend-history {
    border-color: #986b37;
    background: #f8f0e6;
}

.legend-lgs {
    border-color: #b55b78;
    background: #faedf2;
}

.legend-region {
    border-color: var(--grain);
    background:
        linear-gradient(
            135deg,
            rgb(211 164 73 / 20%),
            rgb(120 152 70 / 14%)
        );
}

/*
 * Leaflet
 */
.leaflet-container {
    z-index: 1;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        sans-serif;
}

.leaflet-container img {
    max-width: none !important;
}

.leaflet-tile {
    max-width: none !important;
}

.leaflet-control-attribution {
    font-size: 0.68rem;
}

/*
 * Emoji-Marker
 */
.weather-marker-wrapper {
    background: transparent;
    border: 0;
}

.emoji-marker {
    display: flex;
    width: 46px;
    height: 46px;
    border: 3px solid var(--white);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: var(--forest);
    box-shadow: 0 6px 16px rgb(0 0 0 / 25%);
    cursor: pointer;
    font-size: 22px;
    transition:
        transform 150ms ease,
        box-shadow 150ms ease;
}

.emoji-marker:hover {
    box-shadow: 0 10px 22px rgb(0 0 0 / 35%);
    transform: scale(1.12);
}

.marker-castle {
    background: linear-gradient(145deg, #386653, #173329);
}

.marker-nature {
    background: linear-gradient(145deg, #a4bf64, #5d7835);
}

.marker-viewpoint {
    background: linear-gradient(145deg, #e0b354, #9a7028);
}

.marker-history {
    background: linear-gradient(145deg, #c79555, #85582f);
}

.marker-town {
    background: linear-gradient(145deg, #84acb1, #4f777e);
}

.marker-food {
    background: linear-gradient(145deg, #b7a24f, #6f792f);
}

.marker-lgs {
    background: linear-gradient(145deg, #dd89a5, #a84769);
}

.marker-default {
    background: linear-gradient(145deg, #708178, #3f5048);
}

/*
 * Beschriftung des Wetteraukreises
 */
.region-label-wrapper {
    background: transparent;
    border: 0;
}

.region-label {
    display: inline-flex;
    gap: 7px;
    width: max-content;
    padding: 8px 14px;
    align-items: center;
    justify-content: center;
    color: var(--forest-dark);
    background: rgb(255 253 248 / 88%);
    border: 2px solid rgb(36 74 58 / 65%);
    border-radius: 999px;
    box-shadow: 0 5px 15px rgb(23 51 41 / 18%);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

/*
 * Marker-Hover-Vorschau
 */
.leaflet-pane.leaflet-tooltip-pane {
    overflow: visible !important;
}

.location-preview-tooltip.leaflet-tooltip {
    max-width: calc(100vw - 40px);
    padding: 0;
    color: var(--text);
    background: transparent;
    border: 0;
    border-radius: 14px;
    box-shadow: none;
    white-space: normal;
    opacity: 1;
}

.location-preview-tooltip.leaflet-tooltip-top::before {
    border-top-color: var(--paper);
}

.location-preview-tooltip.leaflet-tooltip-bottom::before {
    border-bottom-color: var(--paper);
}

.marker-hover-card {
    overflow: hidden;
    width: 260px;
    max-width: calc(100vw - 40px);
    margin: 0;
    color: var(--text);
    background: rgb(255 253 248 / 98%);
    border: 1px solid rgb(36 74 58 / 18%);
    border-radius: 14px;
    box-shadow:
        0 18px 45px rgb(17 43 33 / 25%),
        0 4px 12px rgb(17 43 33 / 14%);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.marker-hover-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.marker-hover-body {
    padding: 12px 14px 14px;
}

.marker-hover-cat {
    display: block;
    margin-bottom: 3px;
    color: var(--apple-dark);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.marker-hover-body strong {
    display: block;
    margin: 0;
    color: var(--forest-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.12rem;
    line-height: 1.2;
}

.marker-hover-body small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
}

.marker-hover-body p {
    display: -webkit-box;
    overflow: hidden;
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.marker-hover-hint {
    display: block;
    margin-top: 9px;
    color: var(--forest);
    font-size: 0.7rem;
    font-weight: 800;
}

/*
 * Karten-Popup
 */
.leaflet-popup-content-wrapper {
    overflow: hidden;
    padding: 0;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.leaflet-popup-content {
    width: auto !important;
    margin: 0;
}

.map-popup {
    width: 270px;
    max-width: 100%;
    background: var(--paper);
}

.map-popup-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.map-popup > *:not(.map-popup-image) {
    margin-right: 15px;
    margin-left: 15px;
}

.map-popup .popup-category {
    margin-top: 12px;
    margin-bottom: 4px;
    color: var(--apple-dark);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.map-popup h3 {
    margin-top: 0;
    margin-bottom: 4px;
    color: var(--forest);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.22rem;
    line-height: 1.2;
}

.popup-location {
    margin-top: 4px;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.popup-description {
    margin-top: 6px;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.4;
}

.popup-facts {
    display: flex;
    gap: 6px;
    margin-top: 0;
    margin-bottom: 12px;
    padding: 0;
    flex-wrap: wrap;
    list-style: none;
}

.popup-facts li {
    padding: 4px 8px;
    color: var(--forest);
    background: var(--sand);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
}

.popup-button {
    display: flex;
    min-height: 38px;
    margin-top: 10px;
    margin-bottom: 15px;
    padding: 8px 12px;
    align-items: center;
    justify-content: center;
    color: var(--white) !important;
    background: var(--forest);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 750;
    text-decoration: none;
}

.popup-button:hover {
    background: var(--forest-dark);
}

/*
 * Suche und Filter
 */
.locations-section {
    scroll-margin-top: 20px;
}

.search-panel {
    display: grid;
    grid-template-columns:
        minmax(260px, 1.5fr)
        minmax(220px, 1fr)
        auto;
    gap: 18px;
    padding: 24px;
    align-items: end;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--small-shadow);
}

.form-group {
    display: flex;
    gap: 7px;
    flex-direction: column;
}

.form-group label {
    color: var(--forest);
    font-size: 0.88rem;
    font-weight: 750;
}

.form-group input,
.form-group select {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    color: var(--text);
    background: var(--paper);
    border: 1px solid #bdc9c1;
    border-radius: 10px;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--apple-dark);
    outline: 3px solid rgb(120 152 70 / 20%);
}

.reset-button,
.card-map-button {
    min-height: 50px;
    padding: 12px 18px;
    color: var(--white);
    background: var(--forest);
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 750;
    transition:
        background-color 180ms ease,
        transform 180ms ease;
}

.reset-button:hover,
.card-map-button:hover {
    background: var(--forest-dark);
    transform: translateY(-1px);
}

/*
 * Ergebnisliste
 */
.results-header {
    display: flex;
    margin: 32px 0 18px;
    align-items: center;
    justify-content: space-between;
}

.result-count {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.result-card {
    display: flex;
    overflow: hidden;
    min-width: 0;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--small-shadow);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.result-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.result-card-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.result-card-content {
    display: flex;
    height: 100%;
    padding: 22px;
    flex-direction: column;
}

.result-card-category {
    margin: 0 0 6px;
    color: var(--apple-dark);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.result-card h3 {
    margin: 0;
    color: var(--forest);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    line-height: 1.2;
}

.result-card-location {
    margin: 8px 0;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 650;
}

.result-card-description {
    margin: 8px 0 18px;
    color: var(--muted);
}

.result-card-facts {
    display: flex;
    gap: 7px;
    margin: 0 0 20px;
    padding: 0;
    flex-wrap: wrap;
    list-style: none;
}

.result-card-facts li {
    padding: 5px 9px;
    color: var(--forest);
    background: var(--sand);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.result-card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    flex-wrap: wrap;
}

.card-map-button {
    min-height: 43px;
    font-size: 0.88rem;
}

.card-external-link {
    display: inline-flex;
    min-height: 43px;
    padding: 10px 14px;
    align-items: center;
    color: var(--forest);
    border: 1px solid var(--forest);
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 750;
    text-decoration: none;
    transition:
        background-color 180ms ease,
        transform 180ms ease;
}

.card-external-link:hover {
    background: var(--sand);
    transform: translateY(-1px);
}

.empty-results,
.notice {
    grid-column: 1 / -1;
    padding: 30px;
    color: var(--muted);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
}

/*
 * Social Media
 */
.social-section {
    width: 100%;
    max-width: none;
    padding: 90px 24px;
    color: var(--white);
    background:
        linear-gradient(
            130deg,
            var(--forest-dark),
            var(--forest)
        );
}

.social-content {
    width: min(100%, 850px);
    margin: 0 auto;
    text-align: center;
}

.social-content p:not(.section-label) {
    max-width: 680px;
    margin: 22px auto 0;
    color: rgb(255 255 255 / 80%);
}

.section-label-light {
    color: #dcebbb;
}

.social-actions {
    justify-content: center;
}

.button-light {
    color: var(--forest-dark);
    background: var(--white);
}

.button-light:hover {
    background: var(--sand);
}

.button-outline-light {
    color: var(--white);
    border-color: rgb(255 255 255 / 65%);
}

.button-outline-light:hover {
    background: rgb(255 255 255 / 10%);
}

/*
 * Projektbereich
 */
.about-section {
    scroll-margin-top: 20px;
}

.about-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(32px, 7vw, 90px);
    padding: clamp(28px, 6vw, 70px);
    background: var(--sand);
    border-radius: var(--radius);
}

.about-card p {
    color: #59645e;
}

.about-card div:last-child p:first-child {
    margin-top: 0;
}

/*
 * Footer
 */
footer {
    padding: 55px 24px 24px;
    color: rgb(255 255 255 / 80%);
    background: #12261f;
}

.footer-content {
    display: flex;
    width: min(100%, var(--content-width));
    margin: 0 auto;
    gap: 40px;
    justify-content: space-between;
}

.footer-content strong {
    color: var(--white);
    font-size: 1.25rem;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-underline-offset: 4px;
}

.footer-links a:hover {
    color: var(--grain);
}

.copyright {
    width: min(100%, var(--content-width));
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgb(255 255 255 / 15%);
    font-size: 0.85rem;
}

/*
 * Tags in Karten, Popup und Hover
 */
.result-card-tags,
.popup-tags,
.marker-hover-tags {
    display: flex;
    gap: 6px;
    margin: 0 0 18px;
    padding: 0;
    flex-wrap: wrap;
    list-style: none;
}

.result-card-tags li,
.popup-tags li,
.marker-hover-tags li {
    max-width: 100%;
    padding: 4px 8px;
    overflow: hidden;
    color: var(--forest);
    background: rgb(120 152 70 / 12%);
    border: 1px solid rgb(120 152 70 / 28%);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.popup-tags {
    margin-right: 15px;
    margin-bottom: 12px;
    margin-left: 15px;
}

.marker-hover-tags {
    gap: 4px;
    margin-top: 9px;
    margin-bottom: 0;
}

.marker-hover-tags li {
    padding: 3px 6px;
    font-size: 0.62rem;
}

/*
 * Verfügbare Medien im Hover
 */
.marker-hover-media {
    display: flex;
    gap: 5px;
    margin-top: 9px;
    flex-wrap: wrap;
}

.marker-hover-media span {
    padding: 4px 7px;
    color: var(--forest-dark);
    background: var(--sand);
    border-radius: 999px;
    font-size: 0.64rem;
    font-weight: 750;
}

/*
 * Social-Media-Links im Karten-Popup
 */
.popup-social-links {
    display: grid;
    gap: 7px;
    margin: 12px 15px 15px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.popup-social-link {
    display: inline-flex;
    gap: 6px;
    min-height: 38px;
    padding: 8px 10px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 0.76rem;
    font-weight: 750;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
}

.popup-instagram-link {
    color: #7a244f !important;
    background: #fbeaf2;
    border-color: #db88ad;
}

.popup-instagram-link:hover {
    background: #f6d3e3;
}

.popup-youtube-link {
    color: #8c1a1a !important;
    background: #ffebeb;
    border-color: #e39797;
}

.popup-youtube-link:hover {
    background: #ffdada;
}

.popup-website-link {
    color: var(--forest-dark) !important;
    background: var(--sand);
    border-color: rgb(36 74 58 / 28%);
}

.popup-website-link:hover {
    background: #e8dec8;
}

/*
 * Unterschiedliche Social-Media-Buttons in den Ergebnis-Karten
 */
.card-external-link {
    gap: 6px;
}

.card-instagram-link {
    color: #7a244f;
    background: #fbeaf2;
    border-color: #c95d91;
}

.card-instagram-link:hover {
    background: #f6d3e3;
}

.card-youtube-link {
    color: #8c1a1a;
    background: #ffebeb;
    border-color: #d65d5d;
}

.card-youtube-link:hover {
    background: #ffdada;
}

.card-website-link {
    color: var(--forest);
    background: var(--paper);
    border-color: var(--forest);
}

.card-website-link:hover {
    background: var(--sand);
}

/*
 * Tablets
 */
@media (max-width: 900px) {
    .results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-panel {
        grid-template-columns: 1fr 1fr;
    }

    .reset-button {
        grid-column: 1 / -1;
    }
}

/*
 * Smartphones und kleine Tablets
 */
@media (max-width: 720px) {
    .hero {
        height: 100vh;
        height: 100svh;
        min-height: 680px;
    }

    .hero-overlay {
        height: 100%;
        min-height: 680px;
        padding: 20px;
    }

    .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .hero-shade {
        background:
            linear-gradient(
                180deg,
                rgb(17 43 33 / 84%) 0%,
                rgb(17 43 33 / 42%) 38%,
                rgb(17 43 33 / 78%) 100%
            );
    }

    .navigation {
        align-items: flex-start;
        flex-direction: column;
    }

    .menu {
        gap: 15px;
        margin-top: 18px;
        flex-wrap: wrap;
    }

    .hero-content {
        width: 100%;
        min-height: 0;
        justify-content: center;
    }

    .intro-grid,
    .about-card {
        grid-template-columns: 1fr;
    }

    .intro-section,
    .map-section,
    .locations-section,
    .about-section {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .map-wrapper {
        width: 94vw;
        border-radius: 16px;
    }

    .map-section .section-heading {
        width: 94vw;
    }

    #map {
        height: 65vh;
        height: 65dvh;
        min-height: 420px;
    }

    .search-panel,
    .results-grid {
        grid-template-columns: 1fr;
    }

    .reset-button {
        grid-column: auto;
    }

    .footer-content {
        flex-direction: column;
    }
}

/*
 * Kleine Smartphones
 */
@media (max-width: 480px) {
    .hero {
        min-height: 700px;
    }

    .hero-overlay {
        min-height: 700px;
        padding: 18px;
    }

    .hero-video {
        object-position: center center;
    }

    .hero-content h1 {
        font-size: clamp(2.45rem, 12vw, 3.5rem);
    }

    .hero-actions,
    .social-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    #map {
        height: 60vh;
        height: 60dvh;
        min-height: 380px;
    }

    .map-legend {
        gap: 8px;
        padding: 12px;
        justify-content: flex-start;
    }

    .legend-chip,
    .map-legend > span {
        min-height: 32px;
        padding: 4px 8px;
        font-size: 0.74rem;
    }

    .emoji-marker {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }

    .marker-hover-card {
        width: 220px;
    }

    .result-card-image {
        height: 180px;
    }

    .popup-social-links {
        grid-template-columns: 1fr;
    }

    .result-card-tags li {
        font-size: 0.66rem;
    }
}

/*
 * Touch-Geräte: kein Hover
 */
@media (hover: none), (pointer: coarse) {
    .location-preview-tooltip {
        display: none !important;
    }

    .emoji-marker:hover {
        transform: none;
    }
}

/*
 * Reduzierte Bewegung:
 * Video ausblenden und hero.jpg verwenden.
 */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-video {
        display: none;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
