/*
 * landing.css — minimaler, lesbarer Stil fuer Orts-Landingpages.
 * Die richtige Marken-Identitaet wird durch das Shop-Bundle uebernommen.
 */

:root {
    --loqal-bg: #fafafa;
    --loqal-text: #111;
    --loqal-muted: #555;
    --loqal-accent: #0b2673;
    --loqal-accent-contrast: #fff;
    --loqal-border: #e3e3e3;
    --loqal-radius: 12px;
    --loqal-max-width: 1140px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--loqal-text);
    background: var(--loqal-bg);
    line-height: 1.55;
}

main, header, footer, section { display: block; }

.loqal-header,
.loqal-footer,
main {
    max-width: var(--loqal-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.loqal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    padding-bottom: 24px;
}

.loqal-header .brand {
    font-weight: 800;
    letter-spacing: 0.04em;
    font-size: 1.25rem;
    text-decoration: none;
    color: var(--loqal-text);
}

.primary-nav a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--loqal-text);
    font-weight: 500;
}

.primary-nav a:hover { text-decoration: underline; }

.seo-hero {
    padding: 24px 0 32px;
    border-bottom: 1px solid var(--loqal-border);
    margin-bottom: 32px;
}

.seo-hero h1 {
    font-size: clamp(1.8rem, 2.5vw + 1rem, 2.6rem);
    margin: 12px 0 16px;
}

.seo-hero .intro {
    font-size: 1.05rem;
    color: var(--loqal-muted);
    max-width: 720px;
}

.breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--loqal-muted);
}

.breadcrumbs li::after {
    content: '/';
    margin-left: 6px;
    color: var(--loqal-border);
}

.breadcrumbs li:last-child::after { content: ''; }

.breadcrumbs a {
    color: var(--loqal-muted);
    text-decoration: none;
}

.breadcrumbs a:hover { color: var(--loqal-accent); }

#loqal-shop-root {
    border: 1px solid var(--loqal-border);
    border-radius: var(--loqal-radius);
    padding: 24px;
    margin-bottom: 32px;
    background: #fff;
}

.loqal-hydration {
    margin-bottom: 24px;
    padding: 20px;
    background: linear-gradient(180deg, #f7f9ff 0%, #fff 100%);
    border: 1px solid var(--loqal-border);
    border-radius: var(--loqal-radius);
}

.loqal-hydration__title {
    margin: 0 0 8px;
    font-size: 1.4rem;
}

.loqal-hydration__lead {
    margin: 0 0 16px;
    color: var(--loqal-muted);
}

.loqal-hydration__cta {
    display: inline-block;
    padding: 12px 22px;
    background: var(--loqal-accent);
    color: var(--loqal-accent-contrast);
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
}

.loqal-hydration__cta:hover { filter: brightness(1.1); }

.product-grid,
.design-styles,
.local-drop,
.related-places,
.faq {
    margin: 32px 0;
}

.product-list,
.design-grid {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

.product-card,
.design-card {
    background: #fff;
    border: 1px solid var(--loqal-border);
    border-radius: var(--loqal-radius);
    padding: 14px;
    text-align: center;
}

.product-card img,
.design-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 8px;
}

/* ---- SEO Product Cards (Auto-Generator-Slots) ---- */
.seo-product-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}

.seo-product-card {
    background: #fff;
    border: 1px solid var(--loqal-border);
    border-radius: var(--loqal-radius);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.seo-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.seo-product-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.seo-product-card__media {
    aspect-ratio: 1 / 1;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.seo-product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.seo-product-card:hover .seo-product-card__media img {
    transform: scale(1.04);
}

.seo-product-card__info {
    padding: 14px 16px 16px;
}

.seo-product-card__title {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--loqal-text);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.seo-product-card__desc {
    margin: 0 0 10px;
    font-size: 0.86rem;
    color: var(--loqal-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.seo-product-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--loqal-muted);
}

.seo-product-card__type {
    text-transform: uppercase;
    letter-spacing: .04em;
    background: #eef1f5;
    color: #4a5568;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
}

.seo-product-card__price {
    font-weight: 700;
    color: var(--loqal-text);
    font-size: 0.95rem;
}

.seo-product-empty {
    color: var(--loqal-muted);
}

.local-drop {
    padding: 24px;
    background: #fff5d6;
    border-radius: var(--loqal-radius);
    border: 1px solid #f0d976;
}

.local-drop .cta {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 18px;
    background: var(--loqal-text);
    color: var(--loqal-accent-contrast);
    border-radius: 999px;
    text-decoration: none;
}

.related-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.related-list a {
    display: inline-block;
    padding: 6px 14px;
    background: #fff;
    border: 1px solid var(--loqal-border);
    border-radius: 999px;
    color: var(--loqal-text);
    text-decoration: none;
}

.related-list a:hover {
    border-color: var(--loqal-accent);
    color: var(--loqal-accent);
}

.faq details {
    padding: 12px 16px;
    border: 1px solid var(--loqal-border);
    border-radius: 8px;
    margin-bottom: 8px;
    background: #fff;
}

.faq summary {
    cursor: pointer;
    font-weight: 600;
}

.footer-cta {
    margin: 48px 0 0;
    padding: 32px 0;
    text-align: center;
    border-top: 1px solid var(--loqal-border);
}

.footer-cta__btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--loqal-accent);
    color: var(--loqal-accent-contrast);
    border-radius: 999px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: filter .15s;
}

.footer-cta__btn:hover { filter: brightness(1.1); color: var(--loqal-accent-contrast); }

.loqal-footer {
    padding-top: 40px;
    padding-bottom: 40px;
    border-top: 1px solid var(--loqal-border);
    margin-top: 48px;
    color: var(--loqal-muted);
    font-size: 0.95rem;
}

.footer-nav a {
    margin-right: 18px;
    color: var(--loqal-muted);
    text-decoration: none;
}

.footer-nav a:hover { color: var(--loqal-accent); }

@media (max-width: 600px) {
    .loqal-header { flex-direction: column; gap: 12px; }
    .primary-nav a { margin-left: 12px; margin-right: 12px; }
}

/* Phase 30: Brand-Block (Local Pride + ueber LOQAL) */
.brand-block {
    margin: 24px 0;
    padding: 20px 0;
    border-bottom: 1px solid var(--loqal-border);
}
.brand-block h2 {
    font-size: 1.35rem;
    margin: 0 0 10px;
    color: var(--loqal-fg, #111);
}
.brand-block p {
    line-height: 1.6;
    color: var(--loqal-fg, #111);
    max-width: 65ch;
    margin: 0;
}
.brand-block a {
    color: var(--loqal-accent);
    text-decoration: underline;
}
.brand-block a:hover { filter: brightness(1.1); }

/* Lokaler Kontext-Absatz (auto-generiert aus OSM/Wikidata) */
.local-context {
    margin: 20px 0;
}
.local-context p {
    line-height: 1.6;
    color: var(--loqal-fg, #111);
    max-width: 65ch;
    margin: 0;
}

/* Geschenk-/Souvenir-Block */
.gift-block {
    margin: 24px 0;
    padding: 20px 0;
    border-top: 1px solid var(--loqal-border);
}
.gift-block h2 {
    font-size: 1.35rem;
    margin: 0 0 10px;
    color: var(--loqal-fg, #111);
}
.gift-block p {
    line-height: 1.6;
    color: var(--loqal-fg, #111);
    max-width: 65ch;
    margin: 0;
}

/* FAQ */
.faq {
    margin: 24px 0;
    padding: 20px 0;
    border-top: 1px solid var(--loqal-border);
}
.faq h2 {
    font-size: 1.35rem;
    margin: 0 0 12px;
    color: var(--loqal-fg, #111);
}
.faq__item {
    border-bottom: 1px solid var(--loqal-border);
    padding: 10px 0;
    max-width: 70ch;
}
.faq__item summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--loqal-fg, #111);
}
.faq__item p {
    margin: 8px 0 0;
    line-height: 1.6;
    color: var(--loqal-muted, #444);
}

/* Phase 27.1: Hub-Page (/orte/) - Stadt-Liste */
.city-index { margin: 32px 0; }
.city-index h2 { font-size: 1.2rem; color: var(--loqal-muted); margin-bottom: 16px; font-weight: 500; }
.city-index__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}
.city-index__list li {}
.city-index__list a {
    display: block;
    padding: 14px 16px;
    background: var(--loqal-card-bg, #f5f5f7);
    border: 1px solid var(--loqal-border, #e5e5e8);
    border-radius: 8px;
    text-decoration: none;
    color: var(--loqal-fg, #111);
    font-weight: 500;
    transition: transform .12s, background .12s;
}
.city-index__list a:hover {
    background: var(--loqal-accent);
    color: var(--loqal-accent-contrast);
    transform: translateY(-1px);
}
.city-index .empty { color: var(--loqal-muted); font-style: italic; }

/* Phase 27.3: "Mehr Orte"-Block auf jeder Stadt-Page */
.related-cities {
    margin: 40px 0 16px;
    padding: 24px 0;
    border-top: 1px solid var(--loqal-border);
}
.related-cities h2 {
    font-size: 1rem;
    color: var(--loqal-muted);
    font-weight: 500;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.related-cities__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.related-cities__list a {
    display: inline-block;
    padding: 6px 14px;
    background: transparent;
    border: 1px solid var(--loqal-border);
    border-radius: 999px;
    color: var(--loqal-fg, #111);
    text-decoration: none;
    font-size: 0.92rem;
}
.related-cities__list a:hover { background: var(--loqal-accent); color: var(--loqal-accent-contrast); border-color: var(--loqal-accent); }
