:root {
  --navy: #14213d; --navy2: #1f3260; --amber: #f4a300; --amber-d: #d18a00;
  --cream: #fbf7ee; --card: #ffffff; --text: #1b2333; --grau: #6b7486; --rand: #e6e0d2;
  --gruen: #1f8a5b; --rot: #c62828; --nav-h: 64px;
  --schatten: 0 6px 24px rgba(20,33,61,.12);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--cream); color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
body { padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 24px); }
button { font: inherit; cursor: pointer; }
a { color: var(--navy2); }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 1200; background: var(--navy); color: #fff;
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; padding-top: calc(10px + env(safe-area-inset-top)); }
.marke { display: flex; align-items: center; gap: 8px; margin-right: auto; text-decoration: none; color: #fff; }
.marke .logo { width: 34px; height: 34px; border-radius: 10px; background: var(--amber); color: var(--navy);
  display: grid; place-items: center; font-weight: 900; font-size: .8rem; letter-spacing: -.5px; transform: rotate(-6deg); }
.marke b { font-size: 1.25rem; letter-spacing: -.5px; }
.marke small { display: block; font-size: .7rem; opacity: .7; font-weight: 400; }
.sprache { position: relative; }
.sprache > button { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: 10px;
  padding: 6px 8px; display: flex; align-items: center; gap: 6px; color: #fff; }
.flagge { width: 26px; height: 17px; border-radius: 3px; overflow: hidden; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.flagge svg { width: 100%; height: 100%; display: block; }
.sprachmenue { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; color: var(--text); border-radius: 12px;
  box-shadow: var(--schatten); padding: 6px; min-width: 170px; display: none; }
.sprachmenue.offen { display: block; }
.sprachmenue button { width: 100%; display: flex; align-items: center; gap: 10px; background: none; border: 0;
  padding: 9px 10px; border-radius: 8px; text-align: left; }
.sprachmenue button:hover, .sprachmenue button.aktiv { background: var(--cream); }

/* ---------- Ansichten ---------- */
.ansicht { display: none; max-width: 960px; margin: 0 auto; padding: 0 14px; }
.ansicht.aktiv { display: block; }
.held { padding: 16px 2px 6px; }
.held h1 { margin: 0; font-size: clamp(1.5rem, 5vw, 2.2rem); letter-spacing: -.8px; color: var(--navy); }
.held p { margin: 6px 0 0; color: var(--grau); font-size: .95rem; }
h2 { color: var(--navy); font-size: 1.15rem; margin: 22px 0 10px; }

.suche { display: flex; gap: 6px; margin: 12px 0 8px; }
.suche input { flex: 1; min-width: 0; padding: 11px 12px; border: 1px solid var(--rand); border-radius: 12px; font-size: 1rem; background: #fff; }
.suche button { border: 0; border-radius: 12px; padding: 0 14px; background: var(--navy); color: #fff; }
.suche .rund { width: 44px; padding: 0; background: #fff; color: var(--navy); border: 1px solid var(--rand); font-size: 1.1rem; }

.chips { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 8px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; border: 1px solid var(--rand); background: #fff; border-radius: 999px; padding: 7px 12px; font-size: .88rem; white-space: nowrap; }
.chip.aktiv { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip.getr.aktiv { background: var(--amber); color: var(--navy); border-color: var(--amber-d); }
.trenner { flex: 0 0 1px; background: var(--rand); margin: 4px 2px; }

.kartenrahmen { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--schatten); }
#karte { height: 52vh; min-height: 300px; background: #dfe6ee; }
.band { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); z-index: 1000; background: var(--navy); color: #fff;
  padding: 10px 14px; border-radius: 12px; font-size: .9rem; max-width: 90%; text-align: center; box-shadow: var(--schatten); display: none; }

/* ---------- Liste ---------- */
.listenkopf { display: flex; justify-content: space-between; align-items: baseline; }
.listenkopf span { color: var(--grau); font-size: .85rem; }
.liste { display: grid; gap: 8px; }
.eintrag { background: var(--card); border: 1px solid var(--rand); border-radius: 14px; padding: 12px; display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.eintrag:hover { border-color: var(--amber); }
.eintrag .sym { font-size: 1.5rem; width: 42px; height: 42px; border-radius: 12px; background: var(--cream); display: grid; place-items: center; flex: 0 0 auto; }
.eintrag .inh { flex: 1; min-width: 0; }
.eintrag .titel { font-weight: 700; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.eintrag .unter { color: var(--grau); font-size: .82rem; margin-top: 2px; }
.eintrag .rechts { text-align: right; font-size: .8rem; color: var(--grau); white-space: nowrap; }
.badge-ok { background: #e3f4ea; color: var(--gruen); border-radius: 6px; padding: 1px 6px; font-size: .72rem; font-weight: 600; }
.getr-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.tag { white-space: nowrap; flex: 0 0 auto; background: #fff3d6; color: #7a5200; border-radius: 6px; padding: 2px 7px; font-size: .74rem; font-weight: 600; }
.tag.fass { background: #e6ecf8; color: var(--navy2); }
.leer { background: #fff; border: 2px dashed var(--rand); border-radius: 14px; padding: 18px; text-align: center; color: var(--grau); }
.leer button { margin-top: 10px; }

/* ---------- Popup ---------- */
.leaflet-popup-content-wrapper { border-radius: 14px; }
.leaflet-popup-content { margin: 12px 14px; min-width: 220px; }
.pop h3 { margin: 0; font-size: 1.05rem; color: var(--navy); }
.pop .typ { color: var(--grau); font-size: .8rem; }
.pop .zeile { margin: 5px 0; font-size: .88rem; }
.pop .klein { color: var(--grau); font-size: .76rem; }
.pop .aktionen { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; align-items: center; }
.knopf { border: 1px solid var(--rand); background: #fff; border-radius: 10px; padding: 8px 12px; font-size: .9rem; text-decoration: none; color: var(--text); display: inline-block; }
.knopf.haupt { background: var(--amber); border-color: var(--amber-d); color: var(--navy); font-weight: 700; }
.knopf.dunkel { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }
.link-klein { color: var(--grau); font-size: .78rem; background: none; border: 0; padding: 0; text-decoration: underline; }

.pin { width: 36px; height: 36px; border-radius: 50% 50% 50% 0; background: var(--navy); transform: rotate(-45deg);
  display: grid; place-items: center; box-shadow: 0 3px 8px rgba(0,0,0,.35); border: 2px solid var(--amber); }
.pin span { transform: rotate(45deg); font-size: 17px; }

/* ---------- Feed ---------- */
.feed { display: grid; gap: 8px; }
.feed .eintrag .sym { font-size: 1.3rem; }

/* ---------- Stempel ---------- */
.pass { background: linear-gradient(160deg, var(--navy), var(--navy2)); color: #fff; border-radius: 20px; padding: 18px; box-shadow: var(--schatten); }
.pass p { margin: 0 0 14px; opacity: .85; font-size: .9rem; }
.pass .fortschritt { height: 8px; background: rgba(255,255,255,.15); border-radius: 99px; overflow: hidden; margin-bottom: 16px; }
.pass .fortschritt div { height: 100%; background: var(--amber); width: 0; transition: width .6s; }
.stempel-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 14px 10px; }
.stempel { text-align: center; }
.stempel .kreis { width: 76px; height: 76px; margin: 0 auto 6px; border-radius: 50%; border: 3px dashed rgba(255,255,255,.3);
  display: grid; place-items: center; font-size: 2rem; filter: grayscale(1); opacity: .35; }
.stempel.hat .kreis { border-color: var(--amber); background: rgba(244,163,0,.12); filter: none; opacity: 1; transform: rotate(-8deg); }
.stempel b { display: block; font-size: .8rem; }
.stempel small { display: block; font-size: .7rem; opacity: .7; line-height: 1.25; }
.nickbox { display: flex; gap: 8px; margin-top: 10px; }
.nickbox input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--rand); border-radius: 12px; font-size: 1rem; }

/* ---------- Info ---------- */
.karte-info { background: #fff; border: 1px solid var(--rand); border-radius: 16px; padding: 16px; margin-bottom: 12px; }
.karte-info p { margin: 6px 0; line-height: 1.5; }
.getr-erkl { display: grid; gap: 8px; }
.getr-erkl div { display: flex; gap: 10px; align-items: baseline; }
.zahlen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.zahlen b { display: block; font-size: 1.5rem; color: var(--navy); }
.zahlen span { font-size: .75rem; color: var(--grau); }
.fakt { background: #fff3d6; border-radius: 14px; padding: 14px; display: flex; gap: 10px; align-items: flex-start; }
.fakt button { margin-left: auto; background: none; border: 0; font-size: 1.2rem; }
.fuss { text-align: center; color: var(--grau); font-size: .8rem; padding: 18px 0 6px; }
.fuss a { color: var(--grau); margin: 0 6px; }

/* ---------- Untere Leiste ---------- */
.unten { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1300; height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--rand);
  box-shadow: 0 -4px 18px rgba(20,33,61,.08); display: grid; grid-template-columns: 1fr 1.4fr 1fr; align-items: stretch; }
.unten button { position: relative; background: none; border: 0; color: var(--grau); display: grid; align-content: center; justify-items: center; gap: 3px; font-size: .7rem; font-weight: 600; }
.unten button .i { font-size: 1.2rem; filter: grayscale(1); opacity: .7; }
.unten button.aktiv { color: var(--navy); }
.unten button.aktiv .i { filter: none; opacity: 1; }
.unten button.aktiv::before { content: ""; position: absolute; top: 0; left: 22%; right: 22%; height: 3px; border-radius: 0 0 3px 3px; background: var(--amber); }
.unten .plus { display: flex; align-items: stretch; padding: 9px 4px; }
.unten .pille { flex: 1; min-height: 44px; border-radius: 12px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; gap: 5px;
  font-size: .8rem; font-weight: 800; white-space: nowrap; letter-spacing: .2px; box-shadow: inset 0 -3px 0 var(--amber); }
.unten .pille .i { filter: none; opacity: 1; font-size: 1rem; }
@media (min-width: 900px) {
  .unten { left: 50%; right: auto; transform: translateX(-50%); width: 440px; bottom: 14px; border: 1px solid var(--rand); border-radius: 16px; height: var(--nav-h); padding-bottom: 0; }
}

.na-hinweis { display: flex; align-items: center; gap: 8px; font-size: .85rem !important; color: var(--navy) !important; font-weight: 600; }
.logo-mini { background: var(--amber); color: var(--navy); border-radius: 6px; padding: 1px 6px; font-weight: 900; font-size: .75rem; }

/* ---------- Dialoge ---------- */
dialog { border: 0; padding: 0; border-radius: 22px; width: min(560px, 100%); max-height: 92vh; box-shadow: var(--schatten); background: var(--cream); }
dialog::backdrop { background: rgba(20,33,61,.45); }
@media (max-width: 600px) {
  dialog { margin: auto 0 0; max-width: 100%; border-radius: 22px 22px 0 0; }
}
.dkopf { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px 6px; }
.dkopf h2 { margin: 0; }
.dkopf button { background: none; border: 0; font-size: 1.3rem; color: var(--grau); }
.dinhalt { padding: 6px 18px 12px; overflow: auto; max-height: calc(92vh - 140px); }
.dfuss { padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); display: flex; gap: 8px; justify-content: flex-end; border-top: 1px solid var(--rand); }
label.feld { display: block; font-size: .85rem; font-weight: 700; margin: 14px 0 6px; color: var(--navy); }
.dinhalt input[type=text], .dinhalt input[type=url], .dinhalt select, .dinhalt textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--rand); border-radius: 12px; font: inherit; font-size: 1rem; background: #fff; }
.dinhalt textarea { min-height: 70px; resize: vertical; }
.kacheln { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kachel { border: 2px solid var(--rand); background: #fff; border-radius: 14px; padding: 10px 4px; display: grid; justify-items: center; gap: 4px; font-size: .78rem; }
.kachel .i { font-size: 1.6rem; }
.kachel.aktiv { border-color: var(--amber); background: #fff7e3; font-weight: 700; }
.posbox { background: #fff; border: 1px solid var(--rand); border-radius: 12px; padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .88rem; }
.hinweis-klein { font-size: .8rem; color: var(--grau); margin-top: 6px; }
.reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .95rem; }
.check input { width: 20px; height: 20px; }
.fehler { color: var(--rot); font-size: .9rem; min-height: 1.2em; margin-top: 10px; }
.hp { position: absolute; left: -9999px; }

/* ---------- Meldungen / Konfetti ---------- */
.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 24px); transform: translateX(-50%) translateY(20px); z-index: 2000;
  background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 14px; box-shadow: var(--schatten); opacity: 0; transition: .3s; max-width: 90vw; text-align: center; pointer-events: none; }
.toast.zeigen { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.stempel-toast { background: var(--amber); color: var(--navy); font-weight: 700; }
.konfetti { position: fixed; top: -40px; z-index: 2100; font-size: 1.6rem; pointer-events: none; animation: fallen linear forwards; }
@keyframes fallen { to { transform: translateY(110vh) rotate(540deg); } }

@media (min-width: 900px) {
  #karte { height: 60vh; }
}

.seitenfuss { max-width: 960px; margin: 28px auto 0; padding: 14px; text-align: center; border-top: 1px solid var(--rand); }
.seitenfuss a { color: var(--grau); text-decoration: none; font-size: .88rem; font-weight: 600; }
.seitenfuss a:hover { color: var(--navy); text-decoration: underline; }

/* =====================================================================
   Look v2 – jünger & frecher: kräftige Farben, dicke Konturen, Sticker
   ===================================================================== */
:root {
  --navy: #16163f; --navy2: #2b2b6b; --amber: #ffbe0b; --amber-d: #e0a200;
  --coral: #ff5d8f; --mint: #2ec4b6; --lila: #8338ec;
  --cream: #fff6e0; --rand: #16163f; --schatten: 4px 4px 0 #16163f;
}
html, body {
  background-color: var(--cream);
  background-image: radial-gradient(rgba(22,22,63,.07) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

/* Kopf */
.kopf { background: var(--navy); border-bottom: 3px solid var(--amber); }
.marke .logo { width: 40px; height: 40px; border-radius: 12px; border: 2px solid #fff; box-shadow: 3px 3px 0 var(--coral); font-size: .78rem; transform: rotate(-8deg); }
.marke b { font-size: 1.45rem; font-weight: 900; letter-spacing: -1px; }
.sprache > button { border: 2px solid #fff; border-radius: 12px; box-shadow: 3px 3px 0 var(--amber); background: var(--navy2); }

/* Held – mittig */
.held { text-align: center; padding: 26px 6px 10px; position: relative; }
.held h1 { font-size: clamp(2rem, 8vw, 3.2rem); font-weight: 900; letter-spacing: -1.5px; line-height: 1.02; color: var(--navy); }
.held h1::after { content: ""; display: block; width: 90px; height: 8px; margin: 10px auto 0; border-radius: 99px;
  background: linear-gradient(90deg, var(--amber), var(--coral), var(--lila)); }
.held p { max-width: 520px; margin: 10px auto 0; color: #45456b; font-size: 1rem; line-height: 1.45; }
.na-hinweis { justify-content: center; margin-top: 14px !important; }
.na-hinweis span:last-child { background: #fff; border: 2px solid var(--navy); border-radius: 99px; padding: 5px 12px; box-shadow: 3px 3px 0 var(--navy); }
.logo-mini { border: 2px solid var(--navy); transform: rotate(-6deg); padding: 3px 8px; font-size: .8rem; box-shadow: 2px 2px 0 var(--navy); }

/* Suche */
.suche { margin-top: 18px; }
.suche input { border: 2px solid var(--navy); border-radius: 14px; box-shadow: var(--schatten); font-weight: 500; }
.suche input:focus { outline: none; box-shadow: 4px 4px 0 var(--coral); }
.suche button { border: 2px solid var(--navy); border-radius: 14px; box-shadow: var(--schatten); background: var(--coral); color: #fff; font-weight: 800; }
.suche .rund { background: #fff; }
.suche button:active, .chip:active, .knopf:active, .kachel:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--navy); }

/* Chips */
.chips { padding: 4px 4px 10px; }
.chip { border: 2px solid var(--navy); font-weight: 700; box-shadow: 2px 2px 0 var(--navy); background: #fff; color: var(--navy); }
.chip.aktiv { background: var(--navy); color: #fff; box-shadow: 2px 2px 0 var(--coral); }
.chip.getr { background: #fff; }
.chip.getr.aktiv { background: var(--amber); color: var(--navy); border-color: var(--navy); box-shadow: 2px 2px 0 var(--navy); }

/* Karte */
.kartenrahmen { border: 3px solid var(--navy); border-radius: 22px; box-shadow: 6px 6px 0 var(--navy); }
.band { border: 2px solid #fff; box-shadow: 3px 3px 0 var(--amber); }

/* Überschriften mit Marker */
h2 { font-size: 1.3rem; font-weight: 900; letter-spacing: -.5px; display: inline-block;
  background: linear-gradient(transparent 62%, rgba(255,190,11,.55) 62%); padding: 0 4px; margin: 28px 0 12px; }
.listenkopf { align-items: center; }
.listenkopf span { background: var(--mint); color: #fff; font-weight: 800; border: 2px solid var(--navy); border-radius: 99px; padding: 2px 10px; box-shadow: 2px 2px 0 var(--navy); }
.listenkopf span:empty { display: none; }

/* Karten / Listen */
.eintrag { border: 2px solid var(--navy); border-radius: 16px; box-shadow: var(--schatten); transition: transform .12s, box-shadow .12s; }
.eintrag:hover { border-color: var(--navy); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--coral); }
.eintrag .sym { border: 2px solid var(--navy); background: var(--amber); border-radius: 14px; transform: rotate(-4deg); }
.eintrag .titel { font-weight: 800; }
.eintrag .rechts { font-weight: 800; color: var(--navy); }
.badge-ok { background: var(--mint); color: #fff; border: 1.5px solid var(--navy); }
.tag { background: #fff2c2; color: var(--navy); border: 1.5px solid var(--navy); border-radius: 8px; }
.tag.fass { background: #d9f6f3; color: var(--navy); }
.leer { border: 2px dashed var(--navy); border-radius: 18px; background: rgba(255,255,255,.75); color: #45456b; font-weight: 600; }
.feed .eintrag .sym { background: var(--coral); }

/* Knöpfe */
.knopf { border: 2px solid var(--navy); border-radius: 12px; box-shadow: 3px 3px 0 var(--navy); font-weight: 700; }
.knopf.haupt { background: var(--amber); border-color: var(--navy); }
.knopf.dunkel { background: var(--navy); box-shadow: 3px 3px 0 var(--coral); }

/* Popup */
.leaflet-popup-content-wrapper { border: 2px solid var(--navy); border-radius: 18px; box-shadow: 5px 5px 0 var(--navy); }
.leaflet-popup-tip { border: 2px solid var(--navy); }
.pop h3 { font-weight: 900; font-size: 1.15rem; }
.pin { background: var(--coral); border: 2px solid var(--navy); box-shadow: 2px 2px 0 var(--navy); }

/* Stempel-Pass */
.pass { background: linear-gradient(150deg, var(--navy) 0%, var(--lila) 120%); border: 3px solid var(--navy); border-radius: 24px; box-shadow: 6px 6px 0 var(--coral); }
.stempel.hat .kreis { border-style: solid; border-color: var(--amber); background: rgba(255,190,11,.18); box-shadow: 0 0 0 4px rgba(255,190,11,.25); }
.nickbox input { border: 2px solid var(--navy); box-shadow: var(--schatten); }

/* Info */
.karte-info { border: 2px solid var(--navy); border-radius: 18px; box-shadow: var(--schatten); }
.zahlen b { font-size: 1.9rem; font-weight: 900; background: linear-gradient(90deg, var(--coral), var(--lila)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fakt { border: 2px solid var(--navy); box-shadow: var(--schatten); background: #fff2c2; }

/* Untere Leiste */
.unten { border-top: 3px solid var(--navy); box-shadow: none; }
.unten button.aktiv::before { background: var(--coral); height: 4px; }
.unten .pille { background: var(--coral); color: #fff; border: 2px solid var(--navy); box-shadow: 3px 3px 0 var(--navy); }
@media (min-width: 900px) {
  .unten { border: 3px solid var(--navy); box-shadow: 6px 6px 0 var(--navy); border-radius: 18px; }
}

/* Dialoge */
dialog { border: 3px solid var(--navy); box-shadow: 8px 8px 0 var(--navy); background: var(--cream); }
@media (max-width: 600px) { dialog { border-bottom: 0; box-shadow: 0 -6px 0 var(--coral); } }
.dinhalt input[type=text], .dinhalt input[type=url], .dinhalt select, .dinhalt textarea { border: 2px solid var(--navy); }
.kachel { border: 2px solid var(--navy); box-shadow: 3px 3px 0 var(--navy); font-weight: 700; }
.kachel.aktiv { background: var(--amber); border-color: var(--navy); transform: rotate(-2deg); }
.posbox { border: 2px solid var(--navy); }
label.feld { font-weight: 900; }

/* Meldungen */
.toast { border: 2px solid #fff; box-shadow: 4px 4px 0 var(--coral); font-weight: 700; }
.toast.stempel-toast { border-color: var(--navy); box-shadow: 4px 4px 0 var(--navy); }

/* Fußzeile */
.seitenfuss { border-top: 2px dashed var(--navy); }
.seitenfuss a { color: var(--navy); }

/* =====================================================================
   Farben v3 – Bier: Flaschengrün, Hopfengrün, Biergold, Schaum
   ===================================================================== */
:root {
  --navy: #0d3b2a;      /* Flaschengrün dunkel (Basis, Konturen) */
  --navy2: #17573f;     /* Flaschengrün */
  --amber: #f5b301;     /* Biergold */
  --amber-d: #d39600;
  --coral: #2f8f4e;     /* Hopfengrün (statt Pink) */
  --mint: #7db544;      /* helles Hopfengrün */
  --lila: #b8651b;      /* Bernstein / dunkles Bier */
  --cream: #fff8e6;     /* Schaum */
  --rand: #0d3b2a; --schatten: 4px 4px 0 #0d3b2a;
}
html, body { background-image: radial-gradient(rgba(13,59,42,.08) 1.2px, transparent 1.2px); }
.held p, .leer { color: #3d5a4c; }
.held h1::after { background: linear-gradient(90deg, var(--amber), var(--lila), var(--coral)); }
.suche button { background: var(--coral); }
.kopf { border-bottom-color: var(--amber); }
.marke .logo { box-shadow: 3px 3px 0 var(--mint); }
.pin { background: var(--amber); }
.pin span { filter: none; }
.feed .eintrag .sym { background: var(--mint); }
.pass { background: linear-gradient(150deg, var(--navy) 0%, var(--navy2) 60%, var(--lila) 140%); box-shadow: 6px 6px 0 var(--amber); }
.zahlen b { background: linear-gradient(90deg, var(--coral), var(--lila)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.unten .pille { background: var(--coral); }
.unten button.aktiv::before { background: var(--amber); }
.toast { box-shadow: 4px 4px 0 var(--amber); }
@media (max-width: 600px) { dialog { box-shadow: 0 -6px 0 var(--amber); } }
.unten .pille .i { font-weight: 900; font-size: 1.2rem; }

.marke b .tld { color: var(--amber); font-weight: 800; }
.marke .logo { font-size: .85rem; letter-spacing: 0; }

.poi-tipp { text-align: center; font-size: .85rem; color: #3d5a4c; margin: 0 0 10px; font-weight: 600; }

/* ---------- Hinzufügen v2 ---------- */
#formEintragen[data-modus="poi"] .nur-manuell, #formEintragen[data-modus="poi"] .nicht-poi { display: none; }
#formEintragen:not([data-modus="poi"]) .nur-poi { display: none; }
#formEintragen[data-modus="airline"] .nicht-airline, #formEintragen[data-modus="airline"] .nur-manuell { display: none; }
.kacheln3 { grid-template-columns: repeat(3, 1fr); }
.ortkopf { display: flex; gap: 12px; align-items: center; background: #fff; border: 2px solid var(--navy); border-radius: 16px; padding: 12px; box-shadow: var(--schatten); }
.ortkopf-sym { font-size: 1.6rem; width: 48px; height: 48px; border-radius: 14px; background: var(--amber); border: 2px solid var(--navy); display: grid; place-items: center; transform: rotate(-4deg); flex: 0 0 auto; }
.ortkopf b { display: block; font-size: 1.1rem; }
.ortkopf small { color: #3d5a4c; }
.fotos { display: flex; gap: 10px; flex-wrap: wrap; }
.foto, .foto-plus { width: 96px; height: 96px; border-radius: 14px; border: 2px solid var(--navy); position: relative; overflow: hidden; background: #fff; }
.foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.foto button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--navy); background: #fff; font-size: .8rem; line-height: 1; padding: 0; }
.foto-plus { border-style: dashed; display: grid; place-items: center; align-content: center; gap: 2px; cursor: pointer; text-align: center; }
.foto-plus span { font-size: 1.6rem; }
.foto-plus small { font-size: .7rem; font-weight: 700; color: var(--navy); }
details.mehr { margin-top: 14px; border-top: 2px dashed var(--navy); padding-top: 10px; }
details.mehr summary { cursor: pointer; font-weight: 800; color: var(--navy); }
.schritte { list-style: none; padding: 0; margin: 6px 0 16px; display: grid; gap: 10px; }
.schritte li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 2px solid var(--navy); border-radius: 14px; padding: 10px 12px; box-shadow: 3px 3px 0 var(--navy); font-weight: 600; }
.schritte .nr { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--amber); border: 2px solid var(--navy); display: grid; place-items: center; font-weight: 900; }
.knopf.breit { display: block; width: 100%; margin-top: 10px; padding: 12px; font-size: 1rem; text-align: center; }
.oder { text-align: center; margin: 16px 0 4px; color: #3d5a4c; font-weight: 700; font-size: .85rem; }
.pop-bilder { display: flex; gap: 6px; margin: 8px 0 4px; }
.pop-bilder img { width: 84px; height: 64px; object-fit: cover; border-radius: 8px; border: 2px solid var(--navy); cursor: zoom-in; }
dialog.bildgross { padding: 0; background: #000; max-width: 96vw; max-height: 92vh; width: auto; border-radius: 16px; }
dialog.bildgross img { display: block; max-width: 96vw; max-height: 92vh; }
dialog.bildgross button { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; background: rgba(0,0,0,.5); color: #fff; font-size: 1rem; }
.suche-blink input { animation: blink 1s ease 2; }
@keyframes blink { 50% { box-shadow: 0 0 0 6px var(--amber); } }

.seitenfuss { display: flex; justify-content: center; gap: 14px; align-items: center; }
.trenner-punkt { color: var(--navy); opacity: .5; }

/* Eigene Position */
.ich-punkt { position: relative; width: 22px; height: 22px; }
.ich-punkt::before { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: #1e6bff; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.4); z-index: 1; }
.ich-punkt::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: rgba(30,107,255,.45); animation: ichPuls 2s ease-out infinite; }
@keyframes ichPuls { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ich-punkt::after { animation: none; } }
.leaflet-bar a.ich-knopf { font-size: 16px; line-height: 30px; text-decoration: none; }

/* Datumszeile */
.datum-zeile { color: var(--grau); font-size: .72rem; margin-top: 4px; opacity: .85; }
.pop .datum-zeile { margin-top: 2px; }

/* Standort-Knopf: blauer Punkt statt Kompass */
.ort-symbol { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: #1e6bff; border: 2px solid #fff; box-shadow: 0 0 0 4px rgba(30,107,255,.25), 0 1px 3px rgba(0,0,0,.35); vertical-align: middle; }
.leaflet-bar a.ich-knopf { display: flex; align-items: center; justify-content: center; }
.suche .rund { display: flex; align-items: center; justify-content: center; }

/* Airlines: Überschrift als Link, Gesamtliste */
.h2-link { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.h2-link:hover, .h2-link:focus-visible { text-decoration: underline; }
.h2-link .pfeil { font-size: 1.3em; line-height: 1; opacity: .7; }
.mehr-link { display: block; margin: 10px auto 0; font-weight: 700; }
.anzahl-klein { font-size: .8em; opacity: .6; font-weight: 600; }
#dlgAirlines .dinhalt { max-height: 75vh; overflow-y: auto; }

/* Nicht anklickbare Einträge (Airlines) */
.eintrag.fest { cursor: default; }
.eintrag.fest:hover { transform: none; box-shadow: var(--schatten); }
.klein-akt { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.klein-akt .knopf { padding: 6px 10px; font-size: .82rem; }

/* Schließen-X im Pop-up: größer, fetter, etwas vom Rand weg */
.leaflet-container a.leaflet-popup-close-button { top: 9px; right: 9px; width: 30px; height: 30px; font: 900 26px/28px system-ui, sans-serif; color: var(--navy); border-radius: 50%; text-align: center; }
.leaflet-container a.leaflet-popup-close-button:hover { background: rgba(13,59,42,.1); color: var(--navy); }
.leaflet-container a.leaflet-popup-close-button span { display: block; }
.pop h3 { padding-right: 34px; }

/* Community: Foto-Hinweis */
.eintrag .rechts .foto-icon { font-size: .95rem; margin-top: 4px; opacity: .8; }
#dlgFeed .dinhalt { max-height: 75vh; overflow-y: auto; }

/* + im Airline-Fenster */
.dkopf-r { display: flex; align-items: center; gap: 10px; }
.dkopf button.plus-rund { width: 36px; height: 36px; border-radius: 50%; background: var(--amber); color: var(--navy); border: 2px solid var(--navy); box-shadow: 2px 2px 0 var(--navy); font-size: 1.3rem; font-weight: 900; line-height: 1; display: grid; place-items: center; padding: 0; }
.dkopf button.plus-rund:active { transform: translate(2px, 2px); box-shadow: none; }

/* Orts-Fenster als Dialog (Airlines) */
dialog.ort-fenster { width: min(380px, 100%); }
dialog.ort-fenster .dinhalt { padding: 18px 18px 20px; max-height: 85vh; overflow-y: auto; }
dialog.ort-fenster .ort-zu { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border: 0; background: none; font: 900 28px/30px system-ui, sans-serif; color: var(--navy); border-radius: 50%; z-index: 2; }
dialog.ort-fenster .ort-zu:hover { background: rgba(13,59,42,.1); }
dialog.ort-fenster .pop-bilder img { width: 100px; height: 76px; }
.eintrag .foto-icon.klein { font-size: .75rem; color: var(--grau); margin-top: 4px; }

/* Suchtreffer */
.such-wrap { position: relative; }
.such-treffer { position: absolute; left: 0; right: 0; top: calc(100% - 4px); z-index: 1200; background: #fff; border: 2px solid var(--navy); border-radius: 14px; box-shadow: var(--schatten); overflow: hidden; max-height: 60vh; overflow-y: auto; }
.treffer { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--rand); padding: 10px 12px; cursor: pointer; color: var(--text); }
.treffer:last-child { border-bottom: 0; }
.treffer:hover, .treffer:focus-visible { background: var(--cream); }
.treffer .ts { font-size: 1.2rem; width: 26px; text-align: center; flex: 0 0 auto; }
.treffer .tt { display: grid; min-width: 0; }
.treffer .tt b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.treffer .tt small { color: var(--grau); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Markierung für Suchtreffer */
.such-pin { width: 40px; height: 52px; display: flex; justify-content: center; align-items: flex-start; animation: suchHuepf 1s ease-in-out infinite; }
.such-pin span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #1e6bff; color: #fff; font-size: 22px; font-weight: 900; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.45); }
@keyframes suchHuepf { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .such-pin { animation: none; } }

/* Foto-Hinweis größer */
.eintrag .rechts .foto-icon { font-size: 1.45rem; line-height: 1; margin-top: 6px; opacity: 1; }

/* Vorschaubild statt Foto-Icon */
.eintrag .rechts { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.eintrag .rechts img.vorschau { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; border: 2px solid var(--navy); background: var(--cream); display: block; }
@media (max-width: 600px) { .eintrag .rechts img.vorschau { width: 46px; height: 46px; } }
