/* Wertstoffhof-Recyclinghof.de
   Konzept: helle Seite in Türkis-Grün, Beschilderung als Leitmotiv.
   Schmale Display-Schrift wie auf Hof-Schildern, ruhige Grotesk für Text,
   die Öffnungszeiten-Tafel als wiedererkennbares Element.
   Schriften liegen auf dieser Domain (keine externen Anfragen, DSGVO-freundlich). */

@font-face { font-family: "Big Shoulders"; src: url("fonts/BigShoulders-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("fonts/WorkSans-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("fonts/WorkSans-Bold.woff") format("woff"); font-weight: 600 700; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #ffffff;
  --mint: #f1f7ef;
  --mint-2: #e3eede;
  --teal: #449d1e;
  --teal-ink: #307413;
  --teal-deep: #24570e;
  --petrol: #1c2e14;
  --muted: #586951;
  --line: #dae6d4;
  --line-2: #ebf1e8;
  --off: #f3f6f2;
  --amber: #8f5200;
  --amber-bg: #fff2d6;
  --rose: #a8372f;
  --rose-bg: #fdecea;
  --f-display: "Big Shoulders", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-body: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 18px;
  --head-h: 72px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body { margin: 0; font: 400 1.0625rem/1.6 var(--f-body); color: var(--petrol); background: var(--paper); font-variant-numeric: lining-nums; }
img, svg { max-width: 100%; }
a { color: var(--teal-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
h1, h2 { font-family: var(--f-display); font-weight: 700; letter-spacing: 0.005em; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 0.95; }
h2 { font-size: clamp(1.75rem, 3vw, 2.3rem); line-height: 1; }
h3 { font-size: 1.125rem; line-height: 1.3; font-weight: 700; }
.h-small { font-family: var(--f-body); font-size: 0.95rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; }
p { margin: 0; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--petrol); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Kopf ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--petrol); }
.brand:hover { color: var(--petrol); }
.brand .mark { width: 42px; height: 42px; flex: none; }
.brand-name { font-family: var(--f-display); font-weight: 700; font-size: 1.65rem; line-height: 1; letter-spacing: 0.01em; white-space: nowrap; }
.brand-name .tld { color: var(--teal-ink); }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 10px 12px; color: var(--petrol); font-weight: 600; font-size: 0.98rem; text-decoration: none; border-radius: var(--r-sm); }
.main-nav a:hover { background: var(--mint); color: var(--teal-deep); }
.main-nav a[aria-current="page"] { color: var(--teal-ink); box-shadow: inset 0 -3px 0 var(--teal); border-radius: 0; }
.menu-btn { display: none; align-items: center; gap: 10px; font: 600 1rem var(--f-body); color: var(--petrol); background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 14px; cursor: pointer; }
.menu-btn .bars, .menu-btn .bars::before, .menu-btn .bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; content: ""; transition: transform 0.2s; }
.menu-btn .bars::before { position: absolute; top: -6px; }
.menu-btn .bars::after { position: absolute; top: 6px; }
.menu-btn[aria-expanded="true"] .bars { background: transparent; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Werbeplatz */
.ad-band { background: #f9fbf8; border-bottom: 1px solid var(--line-2); }
.ad-band .wrap { padding-block: 12px; }
.ad-slot { margin-inline: auto; width: 100%; max-width: 728px; min-height: 90px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 1.5px dashed #c3d4bb; border-radius: 10px; background: var(--paper); color: var(--muted); font-size: 0.85rem; text-align: center; }
.ad-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; color: #85957e; }

/* Brotkrumen und Seitenkopf */
.crumb-bar { background: var(--mint); }
.crumb-bar .wrap { padding-block: 16px 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0; padding: 0; font-size: 0.88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: #a6b69f; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--teal-deep); }
.page-head { background: var(--mint); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-block: 22px 40px; }
.page-head .lead { margin-top: 14px; max-width: 62ch; font-size: 1.15rem; color: var(--muted); }
.head-facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 0; padding: 0; font-size: 0.92rem; }
.head-facts li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; }
.head-facts strong { font-weight: 700; }
.kicker { font-weight: 600; color: var(--teal-ink); margin-bottom: 10px; }
.status-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }

/* ---------- Startseite ---------- */
.hero { background: var(--mint); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 56px; align-items: center; padding-block: 56px 64px; }
.hero h1 { font-size: clamp(2.9rem, 5.6vw, 4.7rem); max-width: 17ch; }
.hero .lead { margin-top: 20px; font-size: 1.2rem; color: var(--muted); max-width: 46ch; }
.search { display: flex; align-items: center; gap: 8px; margin-top: 30px; max-width: 580px; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 6px 6px 6px 16px; box-shadow: 0 1px 0 rgba(28, 46, 20, 0.04), 0 10px 30px -18px rgba(48, 116, 19, 0.45); }
.search:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(68, 157, 30, 0.18); }
.search .sicon { color: var(--muted); width: 22px; height: 22px; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1.05rem; color: var(--petrol); padding: 12px 4px; }
.search input::placeholder { color: #86967f; }
.quick { margin-top: 16px; font-size: 0.95rem; color: var(--muted); }
.hero-side { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.panel-title { font-family: var(--f-body); font-size: 1.05rem; font-weight: 700; margin-bottom: 14px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 104px; padding: 14px 8px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--paper); color: var(--petrol); text-decoration: none; text-align: center; font-size: 0.9rem; font-weight: 600; line-height: 1.2; }
.tile .ico { width: 34px; height: 34px; color: var(--teal-ink); stroke-width: 1.8; }
.tile:hover { background: var(--mint); border-color: var(--teal); color: var(--teal-deep); }

/* Abschnitte */
.block { padding-block: 56px; }
.block + .block { border-top: 1px solid var(--line); }
.page-head + .wrap > .block:first-child { padding-top: 40px; }
.block-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.block-head p { color: var(--muted); max-width: 52ch; }
.narrow { max-width: 820px; }
.narrow > h2, .block > h2 { margin-bottom: 18px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.split p + p { margin-top: 12px; }
.split h2 { margin-bottom: 16px; }
.seals { margin: 0; display: grid; gap: 14px; }
.seals > div { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md); }
.seals dd { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Städte-Verzeichnis */
.dir { border-top: 2px solid var(--petrol); }
.dir-head, .dir-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.15fr) minmax(0, 0.55fr) minmax(0, 1.6fr) minmax(0, 0.95fr); gap: 16px; align-items: center; padding: 14px 12px; }
.dir-head { font-size: 0.82rem; font-weight: 600; color: var(--muted); padding-block: 10px; border-bottom: 1px solid var(--line); }
.dir-row { border-bottom: 1px solid var(--line); color: var(--petrol); text-decoration: none; }
.dir-row:hover { background: var(--mint); color: var(--petrol); }
.dir-name { font-family: var(--f-display); font-weight: 700; font-size: 1.7rem; line-height: 1; }
.dir-row:hover .dir-name { color: var(--teal-ink); }
.dir-state, .dir-op { color: var(--muted); font-size: 0.95rem; }
.dir-count { font-variant-numeric: tabular-nums; }
.dir-count strong { font-family: var(--f-display); font-size: 1.5rem; margin-right: 2px; }
.dir-ok { font-size: 0.88rem; font-weight: 600; color: var(--teal-ink); }

/* Bundesländer */
.states { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.st { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--petrol); background: var(--paper); }
.st:hover { border-color: var(--teal); background: var(--mint); color: var(--petrol); }
.st-name { font-weight: 700; }
.st-count { font-size: 0.88rem; color: var(--teal-ink); font-weight: 600; }
.st.empty { border-style: dashed; background: transparent; }
.st.empty .st-name { color: var(--muted); font-weight: 600; }
.st.empty .st-count { color: #86967f; font-weight: 400; }
.linklist { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 14px 0 0; padding: 0; }
.linklist a { display: block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.92rem; text-decoration: none; }
.linklist a:hover { background: var(--mint); }

/* Ratgeber-Liste */
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.guides a { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto 1fr; column-gap: 14px; row-gap: 4px; height: 100%; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-md); color: var(--petrol); text-decoration: none; }
.guides a:hover { border-color: var(--teal); background: var(--mint); color: var(--petrol); }
.g-ico { grid-row: 1 / span 2; width: 48px; height: 48px; padding: 10px; border-radius: 12px; background: var(--mint); color: var(--teal-ink); stroke-width: 1.8; }
.guides a:hover .g-ico { background: var(--paper); }
.g-title { font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.g-text { color: var(--muted); font-size: 0.93rem; line-height: 1.5; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; padding: 18px 2px; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; background: linear-gradient(var(--teal-ink), var(--teal-ink)) center / 12px 2px no-repeat, linear-gradient(var(--teal-ink), var(--teal-ink)) center / 2px 12px no-repeat; border: 1.5px solid var(--line); border-radius: 50%; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--teal-deep); }
.faq-a { padding: 0 2px 20px; color: var(--muted); max-width: 70ch; }

/* Badges und Live-Status */
.badge, .live { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; line-height: 1.4; max-width: 100%; }
.badge::before, .live::before { align-self: center; }
.badge::before, .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.badge.ok { background: #e6f2e1; color: var(--teal-deep); }
.badge.chk { background: var(--amber-bg); color: var(--amber); }
.live.open { background: var(--teal-ink); color: #fff; }
.live.open::before { background: #afe996; box-shadow: 0 0 0 0 rgba(175, 233, 150, 0.7); animation: pulse 2.4s ease-out infinite; }
.live.soon { background: var(--amber-bg); color: var(--amber); }
.live.closed { background: var(--rose-bg); color: var(--rose); }
.live.big { font-size: 0.95rem; padding: 6px 14px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(175, 233, 150, 0.7); } 70% { box-shadow: 0 0 0 7px rgba(175, 233, 150, 0); } 100% { box-shadow: 0 0 0 0 rgba(175, 233, 150, 0); } }

/* Hof-Karten */
.ycards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.ycard { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); min-width: 0; }
.ycard:hover { border-color: #b9d4ad; }
.ycard-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 6px 12px; }
.ycard-head h3 { flex: 1 1 200px; font-size: 1.15rem; }
.ycard-head h3 a { color: var(--petrol); text-decoration: none; }
.ycard-head h3 a:hover { color: var(--teal-ink); text-decoration: underline; }
.ycity { flex-basis: 100%; font-size: 0.82rem; font-weight: 600; color: var(--teal-ink); }
.yaddr { color: var(--muted); font-size: 0.95rem; }
.dist { color: var(--muted); }
.yhours { list-style: none; margin: 0; padding: 0; font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.ymats { font-size: 0.9rem; color: var(--muted); }
.ycard-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ymore { font-weight: 600; text-decoration: none; padding: 6px 2px; }
.ymore:hover { text-decoration: underline; }

/* Wochenstreifen */
.week { display: flex; gap: 5px; }
.wd { flex: 1; max-width: 42px; display: flex; align-items: center; justify-content: center; height: 30px; border-radius: 7px; font: 700 0.95rem/1 var(--f-display); letter-spacing: 0.02em; }
.wd.on { background: var(--teal); color: #fff; }
.wd.cond { background: repeating-linear-gradient(135deg, #cce4c2 0 5px, #e9f4e4 5px 10px); color: var(--teal-deep); }
.wd.off { background: var(--off); color: #9cac95; }
.wd.unk { border: 1.5px dashed #c1cebb; color: #9cac95; }
.wd.today { outline: 2px solid var(--petrol); outline-offset: 2px; }

/* ---------- Hofseite ---------- */
.yard-head .wrap { padding-bottom: 36px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; padding-block: 36px 64px; }
.main-col { min-width: 0; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.panel + .panel { margin-top: 16px; }
.panel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 18px; }
.today-label { font-size: 0.9rem; color: var(--muted); }
.panel-note { margin-top: 14px; font-size: 0.88rem; color: var(--muted); }
.hours-panel .notice { margin-top: 16px; }
.season { font: 700 0.95rem var(--f-body); margin: 6px 0 8px; color: var(--teal-deep); }
.season ~ .season { margin-top: 22px; }

/* Öffnungszeiten-Tafel */
.board-grid { display: grid; grid-template-columns: 9.6rem minmax(0, 1fr) 11.5rem; }
.bscale, .brow { display: contents; }
.bscale .ticks { position: relative; height: 22px; font-size: 0.75rem; color: #86967f; font-variant-numeric: tabular-nums; }
.bscale .ticks span { position: absolute; top: 0; transform: translateX(-50%); }
.bscale .ticks span:first-child { transform: none; }
.bscale .ticks span:last-child { transform: translateX(-100%); }
.brow > span { padding-block: 11px; border-top: 1px solid var(--line-2); display: flex; align-items: center; }
.bday { font-weight: 600; padding-left: 10px; }
.bday .short { display: none; }
.btrack { position: relative; }
.btrack::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 12px; margin-top: -6px; border-radius: 6px; background: var(--off); }
.seg { position: absolute; top: 50%; height: 12px; margin-top: -6px; border-radius: 6px; background: var(--teal); }
.brow.cond .seg { background: repeating-linear-gradient(135deg, var(--teal) 0 5px, #9acc85 5px 10px); }
.btime { justify-content: flex-end; flex-wrap: wrap; gap: 2px 8px; padding-right: 10px; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; font-size: 0.95rem; }
.brow.off .btime, .brow.unk .btime { color: #909f89; font-weight: 400; }
.bnote { flex-basis: 100%; font-weight: 400; font-size: 0.8rem; color: var(--amber); }
.brow.today > span { background: var(--mint); border-top-color: transparent; }
.brow.today .bday { border-radius: 10px 0 0 10px; }
.brow.today .btime { border-radius: 0 10px 10px 0; }
.brow.today .bday::after { content: "heute"; margin-left: 8px; font-size: 0.72rem; font-weight: 600; color: #fff; background: var(--petrol); padding: 1px 7px; border-radius: 999px; }
.brow.today .btrack::before { background: var(--paper); }
.now-line { position: absolute; top: 6px; bottom: 6px; width: 2px; margin-left: -1px; background: var(--petrol); border-radius: 2px; }
.plain-hours { margin: 0; padding-left: 1.1em; }

/* Material-Listen */
.sect { margin-top: 40px; }
.sect > h2 { margin-bottom: 8px; }
.sect-sub { color: var(--muted); margin-bottom: 16px; }
.mats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; list-style: none; margin: 0; padding: 0; }
.mats li { display: flex; align-items: center; gap: 12px; padding: 6px 0; min-width: 0; }
.m-ico { width: 38px; height: 38px; padding: 8px; border-radius: 10px; background: var(--mint); color: var(--teal-ink); stroke-width: 1.9; }
.mats.fee .m-ico { background: var(--amber-bg); color: var(--amber); }
.nogo { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-md); background: var(--rose-bg); color: #5d2620; }
.nogo .ico { color: var(--rose); margin-top: 2px; }

/* Seitenspalte */
.side { position: sticky; top: calc(var(--head-h) + 20px); }
.addr-panel { position: relative; }
.addr-panel .pin { position: absolute; right: 22px; top: 22px; width: 28px; height: 28px; color: var(--teal); }
.addr-big { margin: 10px 0 18px; font-family: var(--f-display); font-weight: 700; font-size: 1.75rem; line-height: 1.05; }
.addr-big .dist { display: inline-block; margin-top: 6px; font-family: var(--f-body); font-weight: 400; font-size: 0.92rem; }
.kv { margin: 18px 0 0; display: grid; gap: 10px; font-size: 0.92rem; }
.kv div { display: grid; grid-template-columns: 80px 1fr; gap: 10px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.side-list { list-style: none; margin: 10px 0 0; padding: 0; }
.side-list li { border-top: 1px solid var(--line-2); }
.side-list a { display: block; padding: 9px 0; text-decoration: none; color: var(--petrol); font-size: 0.95rem; }
.side-list a:hover { color: var(--teal-ink); text-decoration: underline; }
.side-all { display: inline-block; margin-top: 10px; font-weight: 600; font-size: 0.92rem; }
.cta-panel { background: var(--mint); border-color: var(--line); }
.cta-panel p { color: var(--muted); font-size: 0.95rem; margin: 8px 0 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border: 0; border-radius: 10px; background: var(--teal-ink); color: #fff; font: 600 1rem var(--f-body); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--teal-deep); color: #fff; text-decoration: none; }
.btn-block { display: flex; width: 100%; }
.btn-ghost { background: var(--paper); color: var(--teal-ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: var(--mint); color: var(--teal-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.link-btn { justify-self: start; background: none; border: 0; padding: 6px 0; font: 600 0.92rem var(--f-body); color: var(--teal-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Fließtext */
.prose { max-width: 70ch; }
.prose h2 { margin: 2.2rem 0 0.8rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.6rem 0 0.5rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.3em 0; }
.prose li::marker { color: var(--teal-ink); }
.prose.intro { font-size: 1.1rem; }
.prose.intro p + p { margin-top: 0.8em; }
.article { padding-top: 4px; }
.solo { padding-block: 36px 64px; }
.guide-title { display: flex; gap: 22px; align-items: flex-start; }
.head-ico { width: 64px; height: 64px; padding: 14px; border-radius: 16px; background: var(--paper); color: var(--teal-ink); border: 1px solid var(--line); stroke-width: 1.7; }
.src { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line-2); font-size: 0.88rem; color: var(--muted); }
.notice { padding: 14px 18px; border-radius: 12px; background: var(--mint); border: 1px solid var(--line); }
.notice.warn { background: var(--amber-bg); border-color: #f3dca8; color: #4d3200; }
.notice p { margin: 0; }
.prose .notice { margin: 0 0 1.2em; }
mark { background: var(--amber-bg); color: var(--amber); padding: 0 4px; border-radius: 4px; }
.tablewrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--r-md); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
table.data th, table.data td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
table.data th { background: var(--mint); font-weight: 600; }
table.data tr:last-child td { border-bottom: 0; }
table.data .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Suche */
.search-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 36px; align-items: start; padding-block: 32px 64px; }
.filters { position: sticky; top: calc(var(--head-h) + 20px); display: grid; gap: 22px; }
.search-inline { margin-top: 0; box-shadow: none; padding: 4px 6px 4px 14px; }
.search-inline input { padding: 10px 4px; font-size: 1rem; }
.fgroup .h-small { margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: 500 0.88rem var(--f-body); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--petrol); cursor: pointer; }
.chip:hover { border-color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; }
.count { font-weight: 600; margin-bottom: 14px; }
.results .ycards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* ---------- Fuß ---------- */
.site-footer { background: var(--petrol); color: #d0ddcb; margin-top: 24px; }
.site-footer .wrap { padding-block: 56px 32px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand .brand-name { font-size: 1.4rem; white-space: normal; }
.foot-brand .mark { width: 36px; height: 36px; }
.site-footer h2 { font: 700 0.95rem var(--f-body); color: #fff; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: #e8f2e4; text-decoration: none; font-size: 0.95rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.brand-inv, .brand-inv:hover { color: #fff; text-decoration: none !important; }
.brand-inv .tld { color: #92d177; }
.foot-brand p { margin-top: 16px; max-width: 36ch; font-size: 0.95rem; }
.legal { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.85rem; color: #b3c4ab; }

/* ---------- Responsiv ---------- */
@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
  .side .panel + .panel { margin-top: 0; }
  .states { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .js .menu-btn { display: inline-flex; }
  .js .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px -20px rgba(28, 46, 20, 0.4); }
  .js .main-nav.open { display: block; }
  .js .main-nav ul { flex-direction: column; padding: 8px max(20px, env(safe-area-inset-right, 0px)) 16px max(20px, env(safe-area-inset-left, 0px)); }
  .js .main-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line-2); border-radius: 0; font-size: 1.05rem; }
  .js .main-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--teal); padding-left: 12px; }
  .main-nav ul { flex-wrap: wrap; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .search-layout { grid-template-columns: minmax(0, 1fr); }
  .filters { position: static; }
  .dir-head { display: none; }
  .dir-row { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 14px 6px; }
  .dir-name { grid-column: 1; }
  .dir-count { grid-column: 2; grid-row: 1; }
  .dir-state, .dir-op, .dir-ok { grid-column: 1 / -1; font-size: 0.88rem; }
}
@media (max-width: 640px) {
  :root { --head-h: 64px; }
  body { font-size: 1rem; }
  .brand .mark { width: 36px; height: 36px; }
  .brand-name { font-size: 1.32rem; }
  .ad-slot { max-width: 320px; min-height: 100px; }
  .hero-grid { padding-block: 36px 44px; }
  .hero .lead { font-size: 1.05rem; }
  .search .btn { padding: 12px 16px; }
  .tiles { gap: 8px; }
  .tile { min-height: 92px; font-size: 0.82rem; }
  .block { padding-block: 40px; }
  .states { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guides { grid-template-columns: minmax(0, 1fr); }
  .ycards, .results .ycards { grid-template-columns: minmax(0, 1fr); }
  .seals > div { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .mats { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 18px; }
  .board-grid { grid-template-columns: 2.8rem minmax(0, 1fr); }
  .bscale .btime { display: none; }
  .brow .bday { grid-row: span 2; align-items: flex-start; padding-top: 12px; padding-left: 8px; }
  .brow .btrack { padding: 0; height: 36px; }

  .brow .btime { grid-column: 2; justify-content: flex-start; text-align: left; border-top: 0; padding: 0 8px 12px 0; }
  .btrack::before, .seg { top: 16px; margin-top: 0; height: 10px; }
  .brow .btime { padding-top: 2px; }
  .brow.today .bday { border-radius: 10px 0 0 10px; }
  .brow.today .btrack { border-radius: 0 10px 0 0; }
  .brow.today .btime { border-radius: 0 0 10px 0; }
  .bday .long { display: none; }
  .bday .short { display: inline; }
  .brow.today .bday::after { display: none; }
  .btime { font-size: 0.92rem; }
  .bscale .ticks { font-size: 0.7rem; }
  .guide-title { flex-direction: column; gap: 14px; }
  .head-ico { width: 52px; height: 52px; padding: 11px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .kv div { grid-template-columns: 74px 1fr; }
}
@media (max-width: 440px) {
  .menu-btn { padding: 11px 12px; }
  .menu-btn .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .brand { gap: 9px; }
  .brand-name { font-size: 1.22rem; }
}
@media (max-width: 380px) {
  .brand-name { font-size: 1.08rem; }
  .brand .mark { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .live.open::before { animation: none; }
  .menu-btn .bars, .menu-btn .bars::before, .menu-btn .bars::after, .faq summary::after { transition: none; }
}
@media print {
  .site-header, .ad-band, .site-footer, .search, .side, .filters { display: none; }
  .page-head, .hero, .crumb-bar { background: none; }
  body { font-size: 11pt; }
}

/* Cookie-Banner */
.cookie-banner { position: fixed; z-index: 100; left: 12px; right: 12px; bottom: 12px; max-width: 720px; margin-inline: auto; padding: 16px 18px; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 10px 40px rgba(20,50,10,.22); display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.cookie-banner p { margin: 0; flex: 1 1 320px; font-size: .92rem; line-height: 1.5; }
.cookie-banner .cb-btns { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-banner .btn { padding: 10px 18px; }

/* ================= Relaunch: Hof-Einfahrt ================= */
:root { --hof-1: #0d2a08; --hof-2: #1a4d0e; --lime: #b9f22e; --lime-ink: #16300a; }

.hero { position: relative; overflow: hidden; border-bottom: 0; color: #fff;
  background: radial-gradient(1100px 520px at 85% -10%, #2f7a17 0%, rgba(47,122,23,0) 60%), linear-gradient(160deg, var(--hof-2) 0%, var(--hof-1) 100%); }
.hero::before { content: ""; position: absolute; right: -180px; top: -140px; width: 720px; height: 720px; background: url("mark.svg") center / contain no-repeat; opacity: .08; animation: spin 140s linear infinite; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-grid { position: relative; padding-block: 72px 96px; gap: 64px; }
.hero h1 { color: #fff; font-size: clamp(3.2rem, 7vw, 6rem); line-height: .9; max-width: 11ch; }
.hero .lead { color: rgba(255,255,255,.82); font-size: 1.25rem; }
.hero .search { max-width: 620px; padding: 8px 8px 8px 20px; border: 0; border-radius: 16px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); }
.hero .search:focus-within { box-shadow: 0 0 0 4px rgba(185,242,46,.45), 0 24px 50px -20px rgba(0,0,0,.6); }
.hero .search input { font-size: 1.15rem; padding-block: 14px; }
.hero .search .btn, .cta-band .search .btn { background: var(--lime); color: var(--lime-ink); font-weight: 700; padding-inline: 26px; }
.hero .search .btn:hover, .cta-band .search .btn:hover { background: #cdfb5a; color: var(--lime-ink); }
.hero .quick { color: rgba(255,255,255,.72); }
.hero .quick a { color: #fff; }
.hero .quick a:hover { color: var(--lime); }
.hero-side { background: transparent; border: 0; padding: 0; }
.hero .panel-title { color: #fff; font-size: 1.1rem; }
.hero .tile { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(6px); min-height: 112px; border-radius: 16px; transition: transform .18s ease, background .18s ease, color .18s ease; }
.hero .tile .ico { color: var(--lime); width: 38px; height: 38px; transition: color .18s ease; }
.hero .tile:hover { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); transform: translateY(-4px) rotate(-1deg); }
.hero .tile:hover .ico { color: var(--lime-ink); }
.hero .tiles li { animation: drop .6s cubic-bezier(.2,.9,.3,1.2) both; }
.hero .tiles li:nth-child(1) { animation-delay: .05s } .hero .tiles li:nth-child(2) { animation-delay: .12s } .hero .tiles li:nth-child(3) { animation-delay: .19s }
.hero .tiles li:nth-child(4) { animation-delay: .26s } .hero .tiles li:nth-child(5) { animation-delay: .33s } .hero .tiles li:nth-child(6) { animation-delay: .40s }
.hero .tiles li:nth-child(7) { animation-delay: .47s } .hero .tiles li:nth-child(8) { animation-delay: .54s } .hero .tiles li:nth-child(9) { animation-delay: .61s }
@keyframes drop { from { opacity: 0; transform: translateY(-34px) rotate(-4deg); } to { opacity: 1; transform: none; } }

/* Warnband wie an der Hofeinfahrt */
.warnband { position: absolute; left: 0; right: 0; bottom: 0; height: 16px; background: repeating-linear-gradient(-45deg, var(--lime) 0 18px, var(--hof-1) 18px 36px); }

.band { padding-block: 72px; }
.band-mint { background: var(--mint); }
.band + .band { border-top: 0; }
.steps { padding-block: 64px 56px; }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.step-list li { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.step-n { font-family: var(--f-display); font-weight: 700; font-size: 5.5rem; line-height: .8; color: var(--teal); }
.step-list h2 { font-size: 1.9rem; margin-bottom: 8px; }
.step-list p { color: var(--muted); }

.guides a { border-radius: 16px; background: #fff; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.guides a:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(36,87,14,.55); background: #fff; }
.states .st { transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.states .st:hover { transform: translateY(-2px); }

.cta-band { position: relative; padding-block: 80px 96px; background: linear-gradient(160deg, var(--hof-2), var(--hof-1)); color: #fff; }
.cta-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.cta-band h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); }
.cta-band .search { max-width: 620px; width: 100%; border: 0; border-radius: 16px; padding: 8px 8px 8px 20px; }

@media (max-width: 980px) {
  .step-list { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero::before { width: 480px; height: 480px; right: -160px; top: -100px; }
}
@media (max-width: 640px) {
  .hero-grid { padding-block: 44px 64px; gap: 36px; }
  .band { padding-block: 48px; }
  .step-n { font-size: 4rem; }
  .cta-band { padding-block: 56px 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
  .hero .tiles li { animation: none; }
  .hero .tile, .guides a, .states .st { transition: none; }
}
.legal.copy { margin-top: 8px; }

/* Filterleiste: bei vielen Städten eigenständig scrollbar */
.filters { max-height: calc(100vh - var(--head-h) - 40px); overflow-y: auto; overscroll-behavior: contain; padding: 4px 8px 16px 2px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
@media (max-width: 980px) { .filters { max-height: none; overflow: visible; } }

/* Untermenüs */
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle { width: 28px; height: 28px; margin-left: -6px; border: 0; background: transparent; border-radius: 8px; cursor: pointer; color: var(--petrol); display: inline-flex; align-items: center; justify-content: center; }
.sub-toggle[hidden] { display: none; }
.sub-toggle::before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.sub-toggle[aria-expanded="true"]::before { transform: translateY(1px) rotate(-135deg); }
.sub-toggle:hover { background: var(--mint); }
.main-nav .sub { display: none; list-style: none; margin: 0; padding: 8px; }
@media (min-width: 981px) {
  .main-nav .sub { position: absolute; left: 0; top: 100%; min-width: 250px; flex-direction: column; gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px -20px rgba(20,50,10,.45); z-index: 40; }
  .main-nav .has-sub.sub-open > .sub, .main-nav .has-sub:hover > .sub, .main-nav .has-sub:focus-within > .sub { display: flex; }
  .main-nav .sub a { padding: 8px 12px; font-weight: 500; white-space: nowrap; }
  .main-nav .sub li:last-child a { font-weight: 700; color: var(--teal-ink); border-top: 1px solid var(--line-2); margin-top: 4px; }
}
@media (max-width: 980px) {
  .js .main-nav .has-sub { flex-wrap: wrap; }
  .js .main-nav .has-sub > a { flex: 1 1 0; }
  .js .main-nav .sub-toggle { width: 44px; height: 44px; margin: 0; border-left: 1px solid var(--line-2); border-radius: 0; border-bottom: 1px solid var(--line-2); }
  .js .main-nav .sub { flex: 1 1 100%; padding: 0 0 6px 14px; background: var(--mint); border-radius: 0 0 10px 10px; }
  .js .main-nav .has-sub.sub-open > .sub { display: block; }
  .js .main-nav .sub a { padding: 11px 8px; font-size: 1rem; font-weight: 500; border-bottom: 1px solid var(--mint-2); }
  .js .main-nav .sub li:last-child a { font-weight: 700; color: var(--teal-ink); border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { .sub-toggle::before { transition: none; } }
@media (max-width: 980px) { .js .main-nav.open { max-height: calc(100vh - var(--head-h)); max-height: calc(100dvh - var(--head-h)); overflow-y: auto; overscroll-behavior: contain; } }
