/*
 * Gemeinsames Design für Ortsseiten
 * Wetterau nach Feierabend
 */

.location-page {
    min-height: 100vh;
    color: var(--text);
    background: var(--sand-light);
}

/*
 * Kopfzeile
 */

/*
 * Orts-Hero über die gesamte Bildschirmbreite
 */
section.location-hero {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.location-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 20;
    padding: 22px 24px;
    color: var(--white);
}

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

.location-logo {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
    text-shadow: 0 2px 10px rgb(0 0 0 / 35%);
}

.location-menu {
    display: flex;
    gap: 22px;
    align-items: center;
    flex-wrap: wrap;
}

.location-menu a {
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    text-shadow: 0 2px 10px rgb(0 0 0 / 35%);
}

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

/*
 * Orts-Hero
 */
.location-hero {
    position: relative;
    display: flex;
    min-height: 70vh;
    min-height: 70svh;
    overflow: hidden;
    align-items: flex-end;
    color: var(--white);
    background: var(--forest-dark);
}

.location-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 55%;
}

.location-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgb(12 32 25 / 28%) 0%,
            rgb(12 32 25 / 35%) 40%,
            rgb(12 32 25 / 90%) 100%
        );
}

.location-hero-content {
    position: relative;
    z-index: 2;
    width: min(100% - 40px, var(--content-width));
    margin: 0 auto;
    padding-top: 150px;
    padding-bottom: clamp(48px, 8vw, 90px);
}

.location-breadcrumb {
    display: flex;
    gap: 8px;
    margin: 0 0 22px;
    padding: 0;
    flex-wrap: wrap;
    align-items: center;
    color: rgb(255 255 255 / 78%);
    font-size: 0.82rem;
    font-weight: 700;
    list-style: none;
}

.location-breadcrumb li {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.location-breadcrumb li:not(:last-child)::after {
    color: rgb(255 255 255 / 45%);
    content: "›";
}

.location-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.location-breadcrumb a:hover {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.location-category {
    display: inline-flex;
    gap: 7px;
    margin: 0 0 14px;
    padding: 8px 12px;
    align-items: center;
    color: var(--white);
    background: rgb(93 120 53 / 88%);
    border: 1px solid rgb(255 255 255 / 30%);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.location-hero h1 {
    max-width: 920px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.8rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 0.98;
    text-wrap: balance;
}

.location-subtitle {
    max-width: 760px;
    margin: 22px 0 0;
    color: rgb(255 255 255 / 88%);
    font-size: clamp(1rem, 2vw, 1.28rem);
    line-height: 1.55;
}

.location-hero-meta {
    display: flex;
    gap: 9px;
    margin-top: 26px;
    flex-wrap: wrap;
}

.location-hero-meta span {
    display: inline-flex;
    min-height: 34px;
    padding: 6px 11px;
    align-items: center;
    color: var(--white);
    background: rgb(255 255 255 / 12%);
    border: 1px solid rgb(255 255 255 / 25%);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

/*
 * Hauptinhalt
 */
.location-main {
    width: min(100% - 32px, var(--content-width));
    margin: 0 auto;
    padding-top: 70px;
    padding-bottom: 90px;
}

.location-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: clamp(36px, 6vw, 80px);
    align-items: start;
}

.location-article {
    min-width: 0;
}

.location-lead {
    margin: 0 0 42px;
    color: var(--forest-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 3vw, 2rem);
    line-height: 1.42;
}

.location-content-section {
    margin-top: 48px;
}

.location-content-section:first-of-type {
    margin-top: 0;
}

.location-content-section h2 {
    margin: 0 0 16px;
    color: var(--forest-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    letter-spacing: -0.025em;
    line-height: 1.12;
}

.location-content-section h3 {
    margin: 28px 0 10px;
    color: var(--forest);
    font-size: 1.08rem;
}

.location-content-section p {
    margin: 0 0 17px;
    color: #53625b;
    font-size: 1rem;
    line-height: 1.75;
}

.location-content-section ul {
    margin: 0 0 20px;
    padding-left: 22px;
    color: #53625b;
}

.location-content-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.location-notice {
    margin-top: 28px;
    padding: 18px 20px;
    color: var(--forest-dark);
    background: var(--sand);
    border-left: 5px solid var(--grain);
    border-radius: 0 12px 12px 0;
}

.location-notice p {
    margin: 0;
    color: inherit;
}

/*
 * Faktenleiste
 */
.location-sidebar {
    position: sticky;
    top: 24px;
}

.location-facts-card,
.location-links-card {
    padding: 25px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--small-shadow);
}

.location-links-card {
    margin-top: 22px;
}

.location-facts-card h2,
.location-links-card h2 {
    margin: 0 0 20px;
    color: var(--forest-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    line-height: 1.2;
}

.location-facts {
    margin: 0;
}

.location-fact {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    padding: 13px 0;
    border-top: 1px solid var(--border);
}

.location-fact:first-child {
    padding-top: 0;
    border-top: 0;
}

.location-fact:last-child {
    padding-bottom: 0;
}

.location-fact-icon {
    font-size: 1.1rem;
    line-height: 1.45;
}

.location-fact dt {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.location-fact dd {
    margin: 2px 0 0;
    color: var(--forest-dark);
    font-size: 0.92rem;
    font-weight: 700;
}

.location-action-list {
    display: grid;
    gap: 10px;
}

.location-action {
    display: inline-flex;
    gap: 8px;
    min-height: 46px;
    padding: 11px 15px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 0.86rem;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.location-action:hover {
    transform: translateY(-1px);
}

.location-action-map {
    color: var(--white);
    background: var(--forest);
    border-color: var(--forest);
}

.location-action-map:hover {
    background: var(--forest-dark);
}

.location-action-instagram {
    color: #7a244f;
    background: #fbeaf2;
    border-color: #c95d91;
}

.location-action-instagram:hover {
    background: #f6d3e3;
}

.location-action-source {
    color: var(--forest);
    background: var(--paper);
    border-color: var(--forest);
}

.location-action-source:hover {
    background: var(--sand);
}

/*
 * Bilder
 */
.location-figure {
    margin: 42px 0;
}

.location-figure img {
    width: 100%;
    max-height: 680px;
    border-radius: var(--radius);
    box-shadow: var(--small-shadow);
    object-fit: cover;
}

.location-figure figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

/*
 * Tags
 */
.location-tags {
    display: flex;
    gap: 8px;
    margin: 24px 0 0;
    padding: 0;
    flex-wrap: wrap;
    list-style: none;
}

.location-tags li {
    margin: 0;
    padding: 6px 10px;
    color: var(--forest);
    background: rgb(120 152 70 / 10%);
    border: 1px solid rgb(120 152 70 / 28%);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

/*
 * Ähnliche Orte
 */
.related-section {
    width: min(100% - 32px, var(--content-width));
    margin: 0 auto;
    padding-bottom: 90px;
}

.related-heading {
    margin-bottom: 28px;
}

.related-heading .section-label {
    margin-bottom: 8px;
}

.related-heading h2 {
    margin: 0;
    color: var(--forest-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    letter-spacing: -0.03em;
}

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

.related-card {
    display: grid;
    overflow: hidden;
    grid-template-columns: minmax(140px, 0.8fr) minmax(0, 1.2fr);
    color: inherit;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--small-shadow);
    text-decoration: none;
    transition:
        box-shadow 180ms ease,
        transform 180ms ease;
}

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

.related-card img {
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
}

.related-card-content {
    padding: 22px;
}

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

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

.related-card p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

/*
 * Footer der Ortsseiten
 */
.location-footer {
    padding: 50px 24px 24px;
    color: rgb(255 255 255 / 78%);
    background: #12261f;
}

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

.location-footer-brand {
    max-width: 500px;
}

.location-footer-brand strong {
    color: var(--white);
    font-size: 1.2rem;
}

.location-footer-brand p {
    margin-bottom: 0;
}

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

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

.location-footer-notice {
    width: min(100%, var(--content-width));
    margin: 34px auto 0;
    padding: 18px 20px;
    color: rgb(255 255 255 / 65%);
    background: rgb(255 255 255 / 5%);
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 12px;
    font-size: 0.82rem;
}

.location-footer-notice p {
    margin: 0;
}

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

/*
 * Tablets
 */
@media (max-width: 900px) {
    .location-layout {
        grid-template-columns: 1fr;
    }

    .location-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .location-links-card {
        margin-top: 0;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}

/*
 * Smartphones
 */
@media (max-width: 720px) {
    .location-header {
        padding: 20px;
    }

    .location-navigation {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .location-menu {
        gap: 15px;
        justify-content: flex-start;
    }

    .location-menu a {
        font-size: 0.9rem;
    }

    section.location-hero {
        width: 100%;
        height: 100vh;
        height: 100svh;
        min-height: 720px;
        margin: 0;
    }

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

    .location-hero-shade {
        background:
            linear-gradient(
                180deg,
                rgb(17 43 33 / 82%) 0%,
                rgb(17 43 33 / 32%) 35%,
                rgb(17 43 33 / 90%) 100%
            );
    }

    .location-hero-content {
        width: calc(100% - 40px);
        padding-top: 190px;
        padding-bottom: 55px;
    }

    .location-main {
        padding-top: 55px;
        padding-bottom: 70px;
    }

    .location-sidebar {
        grid-template-columns: 1fr;
    }

    .related-card {
        grid-template-columns: 1fr;
    }

    .related-card img {
        min-height: 220px;
        max-height: 300px;
    }

    .location-footer-content {
        flex-direction: column;
    }
}
@media (max-width: 480px) {
    .location-menu {
        font-size: 0.86rem;
    }

    .location-hero h1 {
        font-size: clamp(2.65rem, 13vw, 4rem);
    }

    .location-hero-meta {
        gap: 6px;
    }

    .location-hero-meta span {
        font-size: 0.72rem;
    }

    .location-facts-card,
    .location-links-card {
        padding: 21px;
    }

    .location-action {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .location-action,
    .related-card {
        transition: none;
    }
}
