/* Gastromee — Helle, professionelle Optik (Marktplatz / Netzwerk / Dating / Social). */
:root {
  /* Flächen & Text — hell, warm-neutral */
  --bg:        #f7f6f3;
  --bg-2:      #efedea;
  --surface:   #ffffff;
  --surface-2: #f4f2ef;
  --band:      #faf9f7;
  --ink:       #16161a;
  --ink-soft:  #3f3f46;
  --muted:     #71717a;
  --hairline:  #eceae6;
  --hairline-2:#e0ddd8;

  /* Markenakzent — warmes, appetitliches Coral */
  --brand:     #f0512b;
  --brand-700: #d23e1c;
  --brand-100: #fdeee9;
  --on-brand:  #ffffff;

  /* Fünf Bereiche — kräftig, aber harmonisch auf Hell */
  --markt:     #f0512b; --markt-ink: #c23c1a; --markt-100: #fdeee9;
  --jobs:      #0ea372; --jobs-ink:  #0a7d57; --jobs-100:  #e6f6ef;
  --netz:      #2f6bea; --netz-ink:  #1f53c4; --netz-100:  #e9f0fe;
  --match:     #e6447f; --match-ink: #c52f66; --match-100: #fdecf3;
  --comm:      #7c4ddb; --comm-ink:  #6132c0; --comm-100:  #f0eafc;

  --r: 12px; --r-sm: 9px; --r-lg: 18px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(20,20,30,.05), 0 1px 3px rgba(20,20,30,.05);
  --shadow-md: 0 2px 6px rgba(20,20,30,.06), 0 10px 26px rgba(20,20,30,.08);
  --shadow-lg: 0 12px 40px rgba(20,20,30,.14);

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; line-height: 1.5; }
h1,h2,h3,h4 { font-family: var(--font-display); margin: 0; line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; color: var(--ink); }
h1 { letter-spacing: -0.03em; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }
p { margin: 0; }
::selection { background: var(--brand-100); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #d8d5cf; border-radius: 999px; border: 3px solid transparent; background-clip: padding-box; }

.container { max-width: 1200px; margin: 0 auto; }
.px { padding-left: 20px; padding-right: 20px; }
@media (min-width: 768px) { .px { padding-left: 32px; padding-right: 32px; } }
.kicker { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.mono { font-family: var(--font-mono); letter-spacing: .02em; }
.muted { color: var(--muted); } .ink-soft { color: var(--ink-soft); }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.section-title { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--ink); letter-spacing: -.02em; }
@media (min-width:768px){ .section-title { font-size: 32px; } }
.mt { margin-top: 26px; } .mt-lg { margin-top: 44px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* Header — weiß, dezent */
.site-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 16px; padding: 12px 20px; background: rgba(255,255,255,.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--hairline); }
@media (min-width:768px){ .site-header { padding: 12px 32px; } }
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -.03em; color: var(--ink); }
.logo .mark { width: 28px; height: 22px; position: relative; flex: 0 0 auto; }
.logo .mark span { position: absolute; top: 0; width: 22px; height: 22px; border-radius: 50%; }
.logo .mark .a { left: 0; background: var(--brand); }
.logo .mark .b { left: 8px; background: var(--match); opacity: .9; mix-blend-mode: multiply; }
.main-nav { display: none; gap: 4px; margin-left: 4px; }
@media (min-width:920px){ .main-nav { display: flex; } }
.main-nav a { display: flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: var(--r-pill); font-size: 14.5px; font-weight: 600; color: var(--ink-soft); transition: background .15s, color .15s; }
.main-nav a:hover { color: var(--ink); background: var(--surface-2); }
.main-nav a.active { color: var(--ink); background: var(--surface-2); }
.spacer { flex: 1; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink-soft); }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--r-pill); padding: 11px 20px; font-weight: 700; font-size: 15px; transition: filter .15s, box-shadow .2s, transform .1s, background .15s; }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(240,81,43,.25); }
.btn-brand:hover { background: var(--brand-700); box-shadow: 0 6px 18px rgba(240,81,43,.28); }
.btn-brand:active { transform: scale(.98); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--hairline-2); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { padding: 8px 15px; font-size: 13.5px; }

/* Chips */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 600; background: var(--surface); color: var(--ink-soft); border: 1px solid var(--hairline-2); cursor: pointer; transition: all .15s; }
.chip:hover { border-color: #cfccc6; color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.lift { transition: transform .2s cubic-bezier(.2,.7,.3,1), box-shadow .2s, border-color .2s; }
.lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--hairline-2); }

/* Foto/Platzhalter */
.ph { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(135deg,#efece8,#e7e3dd); color: var(--muted); }
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* Hero — hell, klar */
.hero { padding: 48px 20px 28px; } @media (min-width:768px){ .hero { padding: 64px 32px 40px; } }
.hero h1 { font-size: clamp(40px, 6.5vw, 76px); line-height: 1.02; letter-spacing: -.035em; max-width: 14ch; }
.hero .accent { color: var(--brand); }
.hero p { font-size: clamp(16px, 2vw, 20px); color: var(--ink-soft); max-width: 560px; margin-top: 18px; }
.hero-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* Marktplatz-Suchleiste (Hero) */
.searchbar { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--hairline-2); border-radius: var(--r-pill); padding: 7px 7px 7px 18px; box-shadow: var(--shadow-md); max-width: 620px; }
.searchbar input { flex: 1; border: none; outline: none; background: none; font-size: 16px; font-family: inherit; color: var(--ink); }
.searchbar .sb-sel { border: none; background: var(--surface-2); border-radius: var(--r-pill); padding: 10px 12px; font-size: 14px; font-family: inherit; color: var(--ink-soft); display: none; }
@media (min-width:640px){ .searchbar .sb-sel { display: block; } }

/* Kategorie-Karten (Home) */
.cat-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
@media (min-width:760px){ .cat-grid { grid-template-columns: repeat(5,1fr); gap: 14px; } }
.cat-card { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cat-icon { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; }
.cat-card h3 { font-size: 17px; }
.cat-card p { font-size: 13px; color: var(--muted); line-height: 1.45; }

/* Generische Grids */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: 1fr; } .grid-3 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width:640px){ .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width:980px){ .grid-3 { grid-template-columns: repeat(3,1fr); } .grid-4 { grid-template-columns: repeat(4,1fr); } }

/* Produkt-/Listing-Karten (Marktplatz wie Kleinanzeigen/Vinted) */
.tile { overflow: hidden; display: flex; flex-direction: column; background: var(--surface); }
.tile .thumb { aspect-ratio: 4/3; position: relative; background: var(--bg-2); }
.tile .body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 5px; }
.tile .price { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--ink); }
.tile .title { font-weight: 600; font-size: 15px; color: var(--ink); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-chip { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 4px 10px; border-radius: var(--r-pill); font-size: 11.5px; font-weight: 700; }
.fav-btn { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }

/* Page-Hero (Kategorie-Kopf) — hell, mit Akzent */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--hairline); padding: 28px 20px; }
@media (min-width:768px){ .page-hero { padding: 36px 32px; } }
.page-hero h1 { font-size: clamp(28px, 5vw, 44px); }
.page-hero .head { display: flex; align-items: center; gap: 11px; margin-top: 6px; }
.page-hero p { color: var(--ink-soft); max-width: 640px; margin-top: 10px; font-size: 15.5px; }

/* Detail */
.detail { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width:900px){ .detail { grid-template-columns: 1.4fr 1fr; } }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: 14px; }
.back-link:hover { color: var(--brand); }

/* Forms */
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; background: var(--surface); border: 1px solid var(--hairline-2); border-radius: var(--r-sm); padding: 11px 14px; color: var(--ink); font-size: 15px; font-family: inherit; outline: none; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.auth-wrap { max-width: 440px; margin: 0 auto; padding: 56px 24px; }

/* Footer — hell, sauber */
.site-footer { background: var(--band); color: var(--ink); border-top: 1px solid var(--hairline); padding: 52px 20px 32px; margin-top: 56px; }
@media (min-width:768px){ .site-footer { padding: 56px 32px 32px; } }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (min-width:768px){ .foot-grid { grid-template-columns: 1.5fr repeat(4, 1fr); } }
.site-footer h4 { font-size: 13px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-family: var(--font-body); font-weight: 700; }
.site-footer a { display: block; font-size: 14px; color: var(--ink-soft); padding: 5px 0; font-weight: 500; }
.site-footer a:hover { color: var(--brand); }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--hairline); font-size: 13px; color: var(--muted); }

/* Mobile-Tabbar */
.tabbar { position: sticky; bottom: 0; z-index: 30; display: flex; border-top: 1px solid var(--hairline); background: rgba(255,255,255,.96); backdrop-filter: blur(8px); padding: 7px 4px 9px; }
@media (min-width:920px){ .tabbar { display: none; } }
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; font-weight: 600; color: var(--muted); }

/* Swipe (Dating wie Tinder/Bumble) */
.swipe-card { position: relative; max-width: 420px; margin: 0 auto; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); background: #000; }
.swipe-card .photo { aspect-ratio: 3/4; }
.swipe-card .overlay { position: absolute; inset: auto 0 0 0; padding: 22px 22px 24px; background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.15) 65%, transparent); color: #fff; }
.swipe-actions { display: flex; gap: 18px; justify-content: center; margin-top: 22px; }
.swipe-btn { width: 66px; height: 66px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; box-shadow: var(--shadow-md); transition: transform .12s, box-shadow .15s; }
.swipe-btn:hover { transform: scale(1.07); box-shadow: var(--shadow-lg); }
.swipe-btn:active { transform: scale(.94); }

/* Clip (Social wie TikTok) */
.clip { position: relative; width: min(92vw, 380px); aspect-ratio: 9/16; max-height: 76vh; margin: 0 auto; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); background: #000; }
.clip .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65), transparent 42%); color: #fff; display: flex; align-items: flex-end; padding: 18px; }

/* Swipe-Animationen + Modal */
@keyframes gm-fly-left  { to { opacity:0; transform: translateX(-480px) rotate(-16deg); } }
@keyframes gm-fly-right { to { opacity:0; transform: translateX(480px) rotate(16deg); } }
.fly-left  { animation: gm-fly-left .42s cubic-bezier(.4,0,.6,1) forwards; }
.fly-right { animation: gm-fly-right .42s cubic-bezier(.4,0,.6,1) forwards; }
@keyframes gm-pop { from { transform: scale(.94) translateY(8px); opacity:0; } to { transform:none; opacity:1; } }
.pop { animation: gm-pop .3s cubic-bezier(.2,.7,.3,1); }
.swipe-stamp { position:absolute; top:26px; font-family:var(--font-display); font-weight:900; font-size:32px; padding:6px 16px; border:4px solid; border-radius:12px; opacity:0; transition:opacity .12s; text-transform:uppercase; }
.modal-backdrop { position:fixed; inset:0; background:rgba(20,20,30,.5); backdrop-filter:blur(4px); display:flex; align-items:center; justify-content:center; z-index:60; padding:20px; }
