/* ============================================================
   sub.css — Unterseiten + Navigationsleiste der Mobilfunkshop-Seiten
   Baut auf site.css (Tokens: --navy, --accent, --bg, --border …) auf.
   Generator: scripts/build-subpages.js
   ============================================================ */
:root { --navy: #0A2342; --accent: #C43A0E; --accent-dark: #8E2908; --bg: #F5F4F0; --bg-white: #fff; --bg-section: #F0EEE8; --text: #1A1A1A; --text-muted: #6B6B6B; --border: #E0DDD8; --radius: 3px; }

/* ---- Seiten-Navigation (unter dem Header, auf allen Seiten) ---- */
.subnav { background: var(--bg-white); border-bottom: 1px solid var(--border); }
.subnav__list { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__list li { flex: 0 0 auto; }
.subnav__list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .85rem; font-family: 'Work Sans', sans-serif; font-size: .875rem; font-weight: 500; color: var(--navy); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.subnav__list a[aria-current="page"] { border-bottom-color: var(--accent); font-weight: 600; }
.subnav__list a.subnav__hot { color: var(--accent); font-weight: 600; }
@media (hover: hover) { .subnav__list a:hover { border-bottom-color: var(--navy); } }
@media (max-width: 767px) { .subnav .container { padding: 0 .5rem; } }

/* ---- Seitenkopf ---- */
.page-hero { background: var(--navy); color: #fff; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -8%; top: -40%; width: 46%; height: 180%; background: radial-gradient(circle, rgba(196,58,14,.28), transparent 62%); pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: end; }
@media (min-width: 900px) { .page-hero__grid { grid-template-columns: 1.4fr 1fr; gap: 3rem; } }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 0; margin: 0 0 1.25rem; font-family: 'Work Sans', sans-serif; font-size: .8rem; color: rgba(255,255,255,.6); }
.breadcrumb a { color: rgba(255,255,255,.75); text-decoration: none; }
.breadcrumb li + li::before { content: "/"; margin-right: .35rem; color: rgba(255,255,255,.35); }
.page-hero .label { color: #FF9C78; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); margin: .6rem 0 0; max-width: 20ch; }
.page-hero__lead { font-size: 1.1rem; line-height: 1.6; color: rgba(255,255,255,.82); margin: 1.1rem 0 0; max-width: 38rem; }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.page-hero .btn--outline { border-color: rgba(255,255,255,.4); color: #fff; }
@media (hover: hover) { .page-hero .btn--outline:hover { background: #fff; color: var(--navy); } }
.page-hero__aside { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 6px; padding: 1.25rem 1.4rem; font-family: 'Work Sans', sans-serif; }
.page-hero__aside .aside-title { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.55); margin-bottom: .6rem; }
.page-hero__aside p, .page-hero__aside li { color: rgba(255,255,255,.88); font-size: .95rem; }
.page-hero__aside ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.page-hero__aside a { color: #fff; }
.page-hero__aside .badge { margin-top: .75rem; }

/* ---- Inhalt ---- */
.prose { max-width: 42rem; }
.prose h2 { margin: 0 0 1rem; }
.prose h3 { margin: 1.75rem 0 .5rem; font-size: 1.2rem; }
.prose p { margin: 0 0 1rem; }
.prose ul { margin: 0 0 1.25rem 1.1rem; }
.prose li { margin: .35rem 0; }
.prose a { color: var(--accent-dark); }
.two-col { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.3fr 1fr; } .two-col--flip { grid-template-columns: 1fr 1.3fr; } }
.section--tint { background: var(--bg-section); }
.section--white { background: var(--bg-white); }

.info-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: 6px; padding: 1.4rem 1.5rem; }
.info-card + .info-card { margin-top: 1rem; }
.info-card .card-title { display: block; font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.15rem; color: var(--navy); margin-bottom: .6rem; }
.info-card p { margin: 0; color: var(--text-muted); font-size: .95rem; }
.info-card p strong { color: var(--text); }
.info-card .btn { margin-top: 1rem; }
.info-card--accent { border-left: 4px solid var(--accent); }
.info-card--navy { background: var(--navy); border-color: var(--navy); }
.info-card--navy .card-title, .info-card--navy p, .info-card--navy p strong { color: #fff; }
.info-card--navy p { color: rgba(255,255,255,.8); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.steps li { counter-increment: step; background: var(--bg-white); border: 1px solid var(--border); border-radius: 6px; padding: 1.5rem 1.4rem 1.4rem; position: relative; }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.15rem; margin-bottom: .9rem; }
.steps h3 { font-size: 1.1rem; margin: 0 0 .4rem; }
.steps p { margin: 0; color: var(--text-muted); font-size: .95rem; }
.steps a { color: var(--accent-dark); }

.grid-cards { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-cards { grid-template-columns: repeat(3, 1fr); } }
.link-card { display: flex; flex-direction: column; gap: .4rem; background: var(--bg-white); border: 1px solid var(--border); border-radius: 6px; padding: 1.35rem 1.4rem; text-decoration: none; color: inherit; transition: transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s; }
.link-card strong { font-family: 'Fraunces', serif; font-size: 1.15rem; color: var(--navy); }
.link-card span { color: var(--text-muted); font-size: .93rem; line-height: 1.5; }
.link-card .more { color: var(--accent-dark); font-weight: 600; font-size: .875rem; margin-top: .35rem; }
@media (hover: hover) { .link-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,.09); } }

.logo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 640px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .logo-grid { grid-template-columns: repeat(4, 1fr); } }
.logo-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; min-height: 110px; background: var(--bg-white); border: 1px solid var(--border); border-radius: 6px; padding: 1rem; text-decoration: none; color: var(--navy); font-family: 'Work Sans', sans-serif; font-size: .875rem; font-weight: 600; }
.logo-card img { max-height: 40px; width: auto; max-width: 120px; object-fit: contain; }
@media (hover: hover) { .logo-card:hover { border-color: var(--navy); } }

.hours-static { background: var(--bg-white); border: 1px solid var(--border); border-radius: 6px; padding: 1rem 1.25rem; }
.hours-static .hours-row { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--border); font-family: 'Work Sans', sans-serif; }
.hours-static .hours-row:last-child { border-bottom: 0; }
.hours-static .hours-row.today { font-weight: 600; color: var(--accent-dark); }
.hours-static .hours-closed { color: var(--text-muted); }

.map-wrap { border-radius: 6px; overflow: hidden; border: 1px solid var(--border); background: var(--bg-white); }
.map-wrap iframe { display: block; width: 100%; height: 360px; border: 0; }
.route-btns { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }

.umland-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: .5rem; }
@media (min-width: 640px) { .umland-list { grid-template-columns: repeat(2, 1fr); } }
.umland-list li { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; background: var(--bg-white); border: 1px solid var(--border); border-radius: 6px; padding: .8rem 1rem; font-family: 'Work Sans', sans-serif; font-size: .95rem; }
.umland-list a { color: var(--navy); text-decoration: none; font-weight: 600; }
.umland-list a:hover { text-decoration: underline; }
.umland-list .km { color: var(--text-muted); font-size: .85rem; white-space: nowrap; }

.qr-box { display: grid; grid-template-columns: 1fr; gap: 1.25rem; align-items: center; background: var(--bg-white); border: 1px solid var(--border); border-radius: 6px; padding: 1.5rem; }
@media (min-width: 640px) { .qr-box { grid-template-columns: 180px 1fr; } }
.qr-box img { width: 180px; height: 180px; display: block; margin: 0 auto; }
.qr-box p { margin: .4rem 0 0; color: var(--text-muted); }

.contact-cards { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
.contact-card { display: flex; flex-direction: column; gap: .35rem; background: var(--bg-white); border: 1px solid var(--border); border-radius: 6px; padding: 1.3rem 1.4rem; text-decoration: none; color: inherit; min-height: 44px; }
.contact-card .contact-label { font-family: 'Work Sans', sans-serif; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); }
.contact-card .contact-value { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.25rem; color: var(--navy); word-break: break-word; }
.contact-card .contact-hint { font-size: .9rem; color: var(--text-muted); }
.contact-card--wa .contact-value { color: #1EA952; }
@media (hover: hover) { .contact-card:hover { border-color: var(--navy); } }

.review-write { background: var(--navy); color: #fff; border-radius: 6px; padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 800px) { .review-write { grid-template-columns: 1.4fr 1fr; } }
.review-write h2 { color: #fff; margin: 0 0 .6rem; }
.review-write p { color: rgba(255,255,255,.8); margin: 0 0 1rem; }
.review-write .qr { background: #fff; border-radius: 6px; padding: 1rem; text-align: center; }
.review-write .qr img { width: 160px; height: 160px; display: inline-block; }
.review-write .qr small { display: block; color: var(--navy); font-family: 'Work Sans', sans-serif; font-size: .8rem; margin-top: .5rem; }
.reviews-grid--page { grid-template-columns: 1fr; }
@media (min-width: 640px) { .reviews-grid--page { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reviews-grid--page { grid-template-columns: repeat(3, 1fr); } }

.related { padding: clamp(2.5rem, 5vw, 4rem) 0; background: var(--bg-section); }
.related h2 { font-size: 1.4rem; margin: 0 0 1.25rem; }

/* ---- Footer-Navigation (alle Seiten) ---- */
.footer-nav { display: grid; grid-template-columns: 1fr; gap: 1.5rem 2rem; padding: 0 0 1.75rem; margin-bottom: 1.75rem; border-bottom: 1px solid rgba(255,255,255,.12); font-family: 'Work Sans', sans-serif; }
@media (min-width: 640px) { .footer-nav { grid-template-columns: repeat(3, 1fr); } }
.footer-nav h4 { font-family: 'Work Sans', sans-serif; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.55); margin: 0 0 .6rem; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; }
.footer-nav a { color: rgba(255,255,255,.85); text-decoration: none; font-size: .9rem; line-height: 1.5; display: inline-block; padding: .15rem 0; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }

a.service-tile { text-decoration: none; color: inherit; }
a.service-tile .service-name::after { content: " →"; color: var(--accent); }

@media (prefers-reduced-motion: reduce) { .link-card, .subnav__list a { transition: none; } }
