/* Uebernommen aus design/achado-v7.html. Aenderungen hier, nicht im Prototyp. */
:root{--ink:#17202E;--muted:#5E6878;--line:#E3E6EC;--soft:#F4F6F9;--azul:#1F4FB8;--azul-soft:#E7EEFB;--laranja:#F08A24;--laranja-soft:#FDEEDD;--verde:#2F8F5B;--verde-soft:#E5F3EA;--danger:#B42318}
*{box-sizing:border-box;margin:0;padding:0}
html,body{background:#fff;color:var(--ink);font-family:"Onest",system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-tap-highlight-color:transparent}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer;background:none;border:none}
:focus-visible{outline:2px solid var(--azul);outline-offset:2px}
svg.i{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
header{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid var(--line)}
.bar{max-width:1080px;margin:0 auto;display:flex;align-items:center;gap:10px;padding:10px 16px}
.logo{text-decoration:none;display:flex;align-items:flex-end;gap:7px;font-weight:800;font-size:24px;letter-spacing:-.03em;line-height:1}
.logo svg{height:30px;width:auto;display:block}
.spacer{flex:1}
.langsel{height:38px;border:1px solid var(--line);border-radius:10px;padding:0 10px;background:#fff;font-size:14px;max-width:46vw}
.fab{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(16px + env(safe-area-inset-bottom));z-index:30;height:50px;padding:0 22px;border-radius:25px;box-shadow:0 6px 18px rgba(23,32,46,.22)}
@media (max-width:599px){#postBtn{display:none}#toast{bottom:84px}}
@media (min-width:600px){.fab{display:none}}
html,body{overflow-x:hidden}
.btn{text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 16px;border-radius:12px;font-weight:600;font-size:15px;white-space:nowrap}
.btn.primary{background:var(--laranja);color:var(--ink)}
.btn.blue{background:var(--azul);color:#fff}
.btn.ghost{background:var(--soft)}
.btn.wide{width:100%}
.btn:disabled{opacity:.55;cursor:default}
main{max-width:1080px;margin:0 auto;padding:0 16px 104px}
.hero{padding:26px 0 8px}
.hero h1{font-size:clamp(26px,5.5vw,40px);font-weight:800;letter-spacing:-.025em;line-height:1.08;max-width:18ch}
.search{margin-top:18px;display:flex;align-items:center;gap:10px;height:52px;border:2px solid var(--ink);border-radius:14px;padding:0 14px;max-width:640px}
.search input{flex:1;min-width:0;border:none;outline:none;font-size:16px;background:transparent}
.search .loc{display:flex;align-items:center;gap:4px;font-size:14px;color:var(--muted);padding-left:10px;border-left:1px solid var(--line);white-space:nowrap}
.search .loc svg.i{width:16px;height:16px}
/* Der Kasten traegt die Pfeile; die Leiste darin scrollt. */
.catsbox{position:relative}
.catsbox .pfeil{position:absolute;top:calc(50% + 6px);transform:translateY(-50%);width:32px;height:32px;
  border-radius:50%;background:#fff;border:1px solid var(--line);box-shadow:0 2px 10px rgba(23,32,46,.14);
  display:none;place-items:center;z-index:2;cursor:pointer;color:var(--ink);padding:0}
.catsbox .pfeil.an{display:grid}
.catsbox .pfeil.links{left:-6px}
.catsbox .pfeil.rechts{right:-6px}
.catsbox .pfeil svg.i{width:17px;height:17px}
/* Auf Geraeten ohne Maus wischt man - dort wuerden die Pfeile nur die erste
   und letzte Rubrik verdecken. Der Verlauf am Rand bleibt als Hinweis. */
@media (hover:none){.catsbox .pfeil{display:none!important}}
/* Die Leiste laeuft unter den Pfeilen aus, damit sichtbar bleibt, dass da noch
   etwas kommt. */
.catsbox.mehr-r .cats{mask-image:linear-gradient(to right,#000 88%,transparent)}
.catsbox.mehr-l .cats{mask-image:linear-gradient(to left,#000 88%,transparent)}
.catsbox.mehr-l.mehr-r .cats{mask-image:linear-gradient(to right,transparent,#000 8%,#000 92%,transparent)}
/* KEIN scroll-behavior:smooth. Damit startet jedes Setzen von scrollLeft eine
   Animation - und wo die nicht laeuft (etwa bei "Bewegung reduzieren"), bewegt
   sich gar nichts. Der Sprung ist zuverlaessig und bei fuenf Rubriken auch
   angenehmer als ein Gleiten. */
.cats{display:flex;gap:8px;overflow-x:auto;padding:18px 0 6px;scrollbar-width:none}
.cats::-webkit-scrollbar{display:none}
.cat{flex:none;text-decoration:none;color:inherit;height:38px;padding:0 14px;border-radius:19px;border:1px solid var(--line);font-size:14px;font-weight:500;display:inline-flex;align-items:center;gap:6px}
.cat[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#fff}
.count{font-size:14px;color:var(--muted);margin:12px 0 12px}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
@media (min-width:720px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:980px){.grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.card{text-align:left;display:flex;flex-direction:column;gap:6px;border-radius:14px}
.card .img{position:relative;aspect-ratio:4/3;border-radius:14px;overflow:hidden;background:var(--soft)}
.card .img img{width:100%;height:100%;object-fit:cover;display:block}
.tag{position:absolute;left:8px;top:8px;font-size:12px;font-weight:600;padding:3px 8px;border-radius:8px;background:#fff}
.tag.free{background:var(--verde);color:#fff}
.tag.mine{background:var(--azul);color:#fff}
.card .price{font-weight:800;font-size:17px;letter-spacing:-.01em}
.card .title{font-size:14px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card .meta{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.card .meta svg.i{width:13px;height:13px}
.promo{grid-column:1/-1;display:flex;flex-direction:column;gap:10px;background:var(--azul-soft);border-radius:16px;padding:18px}
.promo h2{font-size:19px;font-weight:800;letter-spacing:-.01em}
.promo p{font-size:14px;color:var(--muted);line-height:1.45;max-width:52ch}
.promo .btn{align-self:flex-start}
.note{font-size:14px;color:var(--muted);margin-top:10px}
.frei{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin-top:14px;padding:11px 13px;background:var(--verde-soft);border-radius:12px;font-size:15px;font-weight:600;line-height:1.35;color:var(--ink)}
.frei svg.i{width:19px;height:19px;color:var(--verde)}
.frei .lnk{font-weight:500}
.lnk{color:var(--azul);font-weight:600;font-size:14px;text-decoration:underline;text-underline-offset:2px}
.hdrlink{font-size:15px;font-weight:600;padding:0 6px}
@media (max-width:599px){.hdrlink{display:none}}
.plan{border:1px solid var(--line);border-radius:16px;padding:16px;margin-top:12px}
.plan.pro{border:2px solid var(--azul)}
.plan h3{font-size:14px;font-weight:600;color:var(--muted)}
.plan .pp{font-size:26px;font-weight:800;letter-spacing:-.02em;margin-top:2px}
.plan .pp small{font-size:13px;font-weight:500;color:var(--muted);margin-left:6px;letter-spacing:0}
.plan ul{list-style:none;margin-top:10px;display:flex;flex-direction:column;gap:7px}
.plan li{display:flex;gap:8px;font-size:14px;line-height:1.4}
.plan li svg.i{width:18px;height:18px;color:var(--verde);margin-top:1px}
.founder{margin-top:8px;font-size:13px;background:var(--laranja-soft);border-radius:10px;padding:8px 10px}
.bizh{font-size:16px;font-weight:700;margin-top:22px}
.pnote{font-size:12px;color:var(--muted);margin-top:14px}
.plannote{font-size:13px;color:var(--muted);line-height:1.45;margin-top:11px;padding-top:11px;border-top:1px solid var(--line)}
.facts{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px;margin-top:14px;padding:12px 14px;border:1px solid var(--line);border-radius:12px}
.facts dt{font-size:12px;color:var(--muted)}
.facts dd{font-size:14px;font-weight:600;margin-top:2px}
.card .fact{font-size:12px;color:var(--muted);margin-top:-2px}
.opt{font-weight:400;color:var(--muted)}
.empty{grid-column:1/-1;padding:40px 0;text-align:center;color:var(--muted);font-size:15px;line-height:1.5}
.overlay{position:fixed;inset:0;z-index:40;background:rgba(23,32,46,.45);display:none;align-items:flex-end;justify-content:center}
.overlay.on{display:flex}
.sheet{width:100%;max-width:560px;max-height:94dvh;overflow-y:auto;background:#fff;border-radius:20px 20px 0 0;padding-bottom:calc(16px + env(safe-area-inset-bottom))}
@media (min-width:720px){.overlay{align-items:center}.sheet{border-radius:20px;max-height:90dvh}}
.sheet-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;background:#fff;border-bottom:1px solid var(--line)}
.sheet-head h2{font-size:17px;font-weight:700}
.x{width:38px;height:38px;border-radius:50%;background:var(--soft);display:grid;place-items:center}
.sheet-body{padding:16px}
.d-img{aspect-ratio:4/3;border-radius:14px;overflow:hidden;background:var(--soft)}
.d-img img{width:100%;height:100%;object-fit:cover;display:block}
.d-price{font-size:26px;font-weight:800;letter-spacing:-.02em;margin-top:14px}
.d-title{font-size:19px;font-weight:600;line-height:1.3;margin-top:4px}
.tr{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:13px;color:var(--muted);margin-top:10px;padding:8px 10px;background:var(--soft);border-radius:10px}
.tr button{color:var(--azul);font-weight:600;font-size:13px}
.d-desc{font-size:15px;line-height:1.55;margin-top:12px;white-space:pre-wrap}
.d-meta{display:flex;flex-direction:column;gap:6px;font-size:14px;color:var(--muted);margin-top:14px}
.d-meta span{display:flex;align-items:center;gap:6px}
.row{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.row .btn{flex:1 1 140px}
.link{color:var(--muted);font-size:13px;text-decoration:underline;margin-top:14px;display:inline-block}
.field{margin-top:14px}
.field label{display:block;font-size:13px;font-weight:600;margin-bottom:6px}
.field input[type=text],.field input[type=number],.field select,.field textarea{width:100%;border:1px solid var(--line);border-radius:12px;padding:12px;font-size:16px;background:#fff}
.field textarea{resize:vertical;min-height:96px;line-height:1.45}
.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.field .checks{display:flex;flex-wrap:wrap;gap:8px 18px}
.field .checks label{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:400;margin:0}
.check{display:flex;align-items:center;gap:8px;font-size:14px;margin-top:8px}
.photos{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}
.ph{flex:none;width:92px;height:92px;border-radius:12px;overflow:hidden;position:relative;background:var(--soft)}
.ph img{width:100%;height:100%;object-fit:cover}
.ph button{position:absolute;right:4px;top:4px;width:24px;height:24px;border-radius:50%;background:rgba(23,32,46,.7);color:#fff;display:grid;place-items:center}
.ph button svg.i{width:14px;height:14px}
.addph{flex:none;width:92px;height:92px;border-radius:12px;border:2px dashed var(--line);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:12px;color:var(--muted);cursor:pointer;text-align:center;padding:4px}
.ai{margin-top:14px;padding:14px;border-radius:14px;background:var(--laranja-soft)}
.ai p{font-size:13px;line-height:1.45;color:var(--ink);margin-bottom:10px}
.err{font-size:13px;color:var(--danger);margin-top:6px}
.hidden{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
#toast{position:fixed;left:50%;bottom:84px;transform:translateX(-50%);background:var(--ink);color:#fff;padding:11px 16px;border-radius:12px;font-size:14px;opacity:0;pointer-events:none;transition:opacity .2s;z-index:60;max-width:90vw;text-align:center}
#toast.on{opacity:1}
.spin{width:16px;height:16px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:sp .8s linear infinite}
@keyframes sp{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* Ergaenzungen gegenueber dem Prototyp (dort waren es Buttons, hier Links). */
.hdrlink{text-decoration:none;color:inherit;display:inline-flex;align-items:center}
.langform{display:flex;align-items:center;gap:6px;margin:0}
.foot{border-top:1px solid var(--line);margin-top:40px;padding:18px 0;color:var(--muted);font-size:13px}
.foot .bar{justify-content:flex-start;gap:16px}

/* Muss NACH der .hdrlink-Ergaenzung stehen. Dort steht display:inline-flex, und
   bei gleicher Spezifitaet gewinnt die spaetere Regel - die Fassung weiter oben
   im Stylesheet war damit wirkungslos, und auf dem Telefon schoben die beiden
   Kopfzeilen-Links den orangen Knopf aus dem Bild. */
@media (max-width:599px){.hdrlink{display:none}}
.fab span{font-weight:700}
/* Gleiche Falle wie bei .hdrlink: .btn setzt weiter oben display:inline-flex und
   steht NACH der Regel fuer breite Fenster - der schwebende Knopf war darum
   auch auf dem Bildschirm zu sehen, wo schon einer in der Kopfzeile steht. */
@media (min-width:600px){.fab{display:none}}
/* Platz fuer den schwebenden Knopf: sonst verdeckt er die letzte Zeile, und man
   kann nicht weiter scrollen, um sie zu lesen. */
@media (max-width:599px){main{padding-bottom:78px}}

/* Das Gegenstueck: auf breiten Fenstern stehen die Woerter da, auf schmalen das
   Sinnbild. Sonst gaebe es auf dem Telefon keinen Weg mehr zum Konto. */
.hdricon{display:none;color:inherit;width:38px;height:38px;border:1px solid var(--line);border-radius:10px;align-items:center;justify-content:center;flex:none}
@media (max-width:599px){.hdricon{display:inline-flex}.langsel{max-width:38vw}}
.foot a{color:var(--muted)}

/* Beispielanzeigen muessen als solche erkennbar sein. */
.tag.demo{background:var(--ink);color:#fff}
.tag.res{background:var(--laranja);color:var(--ink)}
.demo-hinweis{grid-column:1/-1;background:var(--soft);border:1px solid var(--line);border-radius:12px;padding:10px 14px;font-size:13px;color:var(--muted)}
a.card{text-decoration:none;color:inherit}
.detail{max-width:720px}
.zurueck{margin:14px 0 6px;font-size:14px}
.warnung{margin-top:16px;padding:12px 14px;border-radius:12px;background:var(--laranja-soft);font-size:14px;line-height:1.45}
.melden{margin-top:22px;font-size:13px}
.melden a{color:var(--muted);text-decoration:underline;text-underline-offset:2px}

/* Textseiten: Richtlinien, Datenschutz, Impressum. Schmale Spalte, weil das
   lange Fliesstexte sind - ueber 75 Zeichen je Zeile verliert man die Zeile. */
.text{max-width:68ch;padding-top:8px}
.text h1{font-size:clamp(24px,4.5vw,32px);font-weight:800;letter-spacing:-.02em;line-height:1.15;margin:18px 0 10px}
.text h2{font-size:19px;font-weight:700;margin:26px 0 8px}
.text h3{font-size:16px;font-weight:700;margin:20px 0 6px}
.text p{font-size:15px;line-height:1.6;margin:10px 0;color:var(--ink)}
.text ul{list-style:none;margin:10px 0;padding:0;display:flex;flex-direction:column;gap:6px}
.text li{font-size:15px;line-height:1.55;padding-left:16px;position:relative}
.text li::before{content:"";position:absolute;left:0;top:9px;width:5px;height:5px;border-radius:50%;background:var(--muted)}
.text a{color:var(--azul);text-decoration:underline;text-underline-offset:2px}
.text code{background:var(--soft);padding:1px 5px;border-radius:5px;font-size:13px}
.text blockquote{margin:14px 0;padding:10px 14px;border-left:3px solid var(--azul);background:var(--azul-soft);border-radius:0 10px 10px 0;font-size:14px;line-height:1.55}
.text em{color:var(--muted)}
/* Die Ortsuebersicht: viele kurze Links, mit Punkten getrennt. */
.ortliste{font-size:14px;line-height:2}
.ortliste .opt{font-size:12px}
/* Tabellen duerfen die Seite nicht breiter machen als das Fenster. */
.tabelle{overflow-x:auto;margin:14px 0;border:1px solid var(--line);border-radius:12px}
.tabelle table{border-collapse:collapse;width:100%;font-size:14px}
.tabelle th,.tabelle td{text-align:left;padding:9px 12px;border-bottom:1px solid var(--line);vertical-align:top;line-height:1.5}
.tabelle th{font-weight:700;background:var(--soft);white-space:nowrap}
.tabelle tr:last-child td{border-bottom:0}
.foot .bar{flex-wrap:wrap;row-gap:8px}

/* Kleine Hilfsklassen statt style="" im HTML. Die Inhaltsrichtlinie laesst
   Attribut-Stile nicht zu (style-src 'self'); dass ein unsichtbares Bot-Feld
   dadurch sichtbar wurde, ist der Beweis, dass das keine Kosmetik ist. */
.mt-xs{margin-top:4px}
.mt-s{margin-top:10px}
.mt-m{margin-top:16px}
.mt-l{margin-top:22px}
.schmal{max-width:520px;margin-inline:auto;text-align:left}
.fehler{color:var(--danger);font-weight:600}
/* Der Honigtopf fuer Bots: aus dem Bild geschoben, aber nicht display:none -
   manche Ausfueller ignorieren versteckte Felder. */
.hp{position:absolute;left:-9999px;opacity:0}
button.btn{border:0;cursor:pointer;font-family:inherit}
.cats.wrap{flex-wrap:wrap;overflow:visible}
.meine{display:flex;gap:12px;align-items:flex-start}
.meine img{width:64px;height:64px;object-fit:cover;border-radius:10px;background:var(--soft);flex:none}
.meine .sp{flex:1;min-width:0}
.meine .lnk{font-size:15px}
.meine .row{margin-top:10px;gap:8px}
/* Verwaltung: nur der Betreiber sieht das, daher sparsam. */
.pp.klein{font-size:17px}
.zitat{margin-top:10px;padding:9px 12px;border-left:3px solid var(--line);background:var(--soft);border-radius:0 8px 8px 0;font-size:14px;line-height:1.5;white-space:pre-wrap}

/* ---- Verwaltung: Besucherzahlen ---- */
/* Die Groessen stehen als Stufenklassen hier und nicht als style-Attribut:
   script-src/style-src self verbietet Inline-Stile, und ein style="" waere
   wirkungslos, ohne dass man es der Seite ansieht. */
.zahlen{border-collapse:collapse;margin-top:10px;font-size:15px}
.zahlen td{padding:4px 14px 4px 0}
.zahlen td:first-child{color:var(--muted)}
.balken{display:flex;align-items:flex-end;gap:4px;height:110px;margin-top:16px}
.balken-tag{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;height:100%;justify-content:flex-end}
.balken-saeule{width:100%;background:var(--azul);border-radius:4px 4px 0 0;min-height:2px}
.balken-tag span{font-size:11px;color:var(--muted)}
.zwei{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin-top:18px}
.bizh3{font-size:14px;font-weight:600;color:var(--muted);margin-bottom:6px}
.rangliste{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:3px}
.rangliste li{position:relative;display:flex;align-items:center;gap:8px;padding:5px 8px;font-size:13px;border-radius:6px;overflow:hidden}
.rl-balken{position:absolute;left:0;top:0;bottom:0;background:var(--azul-soft);border-radius:6px}
.rl-name{position:relative;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rl-zahl{position:relative;font-weight:600;color:var(--muted)}
.balken-saeule.g5{height:5%}
.rl-balken.g5{width:5%}
.balken-saeule.g10{height:10%}
.rl-balken.g10{width:10%}
.balken-saeule.g15{height:15%}
.rl-balken.g15{width:15%}
.balken-saeule.g20{height:20%}
.rl-balken.g20{width:20%}
.balken-saeule.g25{height:25%}
.rl-balken.g25{width:25%}
.balken-saeule.g30{height:30%}
.rl-balken.g30{width:30%}
.balken-saeule.g35{height:35%}
.rl-balken.g35{width:35%}
.balken-saeule.g40{height:40%}
.rl-balken.g40{width:40%}
.balken-saeule.g45{height:45%}
.rl-balken.g45{width:45%}
.balken-saeule.g50{height:50%}
.rl-balken.g50{width:50%}
.balken-saeule.g55{height:55%}
.rl-balken.g55{width:55%}
.balken-saeule.g60{height:60%}
.rl-balken.g60{width:60%}
.balken-saeule.g65{height:65%}
.rl-balken.g65{width:65%}
.balken-saeule.g70{height:70%}
.rl-balken.g70{width:70%}
.balken-saeule.g75{height:75%}
.rl-balken.g75{width:75%}
.balken-saeule.g80{height:80%}
.rl-balken.g80{width:80%}
.balken-saeule.g85{height:85%}
.rl-balken.g85{width:85%}
.balken-saeule.g90{height:90%}
.rl-balken.g90{width:90%}
.balken-saeule.g95{height:95%}
.rl-balken.g95{width:95%}
.balken-saeule.g100{height:100%}
.rl-balken.g100{width:100%}
