/* Imbiss Kultur — calm restaurant, 2026 */
:root {
  --bg: #f7f4ef;
  --paper: #fffdf9;
  --ink: #0c1728;
  --muted: #435064;
  --line: #ddd6cc;
  --line-strong: #c7bdb0;
  --accent: #c4814f;
  --accent-hover: #a9673b;
  --soft: #efe4d9;
  --danger: #9b3b35;
  --max: 74rem;
  --gutter: clamp(1.15rem, 3vw, 2rem);
  --header: 4.75rem;
  --sans: "Outfit", "Segoe UI", system-ui, sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --shadow: 0 18px 50px rgba(12, 23, 40, 0.07);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-wrap: pretty;
}

::selection { background: #ead6c5; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
img { max-width: 100%; height: auto; display: block; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  background: var(--paper);
  color: var(--ink);
  padding: .55rem .85rem;
  border-radius: .6rem;
  z-index: 5;
}
.skip:focus { top: .7rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ink);
  border-bottom: 0;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 72px;
  padding: .7rem var(--gutter);
  display: flex;
  align-items: center;
  gap: .75rem 1.25rem;
}
.brand {
  margin-right: auto;
  color: var(--bg);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 520;
  letter-spacing: -0.02em;
  line-height: 1;
  padding-bottom: .3rem;
  border-bottom: 2px solid var(--accent);
}
.brand:hover { color: var(--accent); }
.nav-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .45rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .35rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  background: transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid {
  background: var(--accent);
  color: #f6f3ec;
}
.btn-solid:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}
.btn-ghost:hover { background: #fff; border-color: var(--accent); color: var(--accent); }
.btn-danger {
  background: transparent;
  border-color: #e4cfcb;
  color: var(--danger);
  min-height: 2.25rem;
  padding: .2rem .75rem;
  font-size: .85rem;
}
.btn-danger:hover { background: #f8eeec; }
.btn-small { min-height: 2.5rem; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.hero { padding: clamp(2.8rem, 6vw, 5.5rem) 0 clamp(2.2rem, 4vw, 3.5rem); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, .72fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}
.kicker {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 460;
  font-size: clamp(3.6rem, 9vw, 7rem);
  letter-spacing: -0.035em;
  line-height: .92;
}
.lede {
  margin: 1.35rem 0 0;
  max-width: 28rem;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.45;
  color: var(--ink);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.6rem;
}
.fact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  padding: 1.25rem 1.3rem 1.1rem;
}
.fact-card p { margin: 0; }
.fact-card .label {
  display: block;
  margin-bottom: .2rem;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.fact-card .value {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.fact-card .sub { margin-top: .35rem; color: var(--muted); font-size: .95rem; }
.fact-card + .fact-card { margin-top: .75rem; }
.fact-card a { color: var(--accent); }

section { padding: clamp(2.6rem, 5vw, 4.4rem) 0; }
section[id] { scroll-margin-top: 5.6rem; }
.section-head {
  display: grid;
  gap: .7rem;
  max-width: 40rem;
  margin-bottom: 1.6rem;
}
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 480;
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.intro { margin: 0; color: var(--muted); max-width: 38rem; }

.menu, .hours, .people {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu li, .hours div, .people li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}
.menu li:last-child, .hours div:last-child, .people li:last-child {
  border-bottom: 1px solid var(--line);
}
.dish-name, .hours dd {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hours dd { margin: 0; }
.hours dt, .dish-note, .role {
  color: var(--muted);
  text-align: right;
}
.menu li.empty {
  display: block;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 1rem;
}

.noprice {
  margin: 1.35rem 0 0;
  padding: 1rem 1.15rem;
  max-width: 40rem;
  background: var(--soft);
  border-radius: 1rem;
  color: var(--accent);
  font-weight: 600;
}

.note { margin: 1rem 0 0; color: var(--muted); }

address {
  font-style: normal;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 1.1rem;
}
.contact-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.phone-link { color: var(--accent); font-variant-numeric: tabular-nums; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
}
.photo-grid figure {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
}
.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e8ded4;
}
.photo-grid figcaption {
  padding: .8rem .95rem 1rem;
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2.6rem;
  color: var(--muted);
  font-size: .9rem;
}
footer .wrap { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; justify-content: space-between; }
footer p { margin: 0; max-width: 40rem; }
footer a { color: var(--accent); }

/* Admin */
.login-wrap {
  min-height: calc(100vh - var(--header));
  display: grid;
  place-items: center;
  padding: 2.5rem var(--gutter) 4rem;
}
.card {
  width: min(32rem, 100%);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.card h1 {
  font-size: clamp(2.4rem, 6vw, 3.3rem);
  line-height: 1;
  margin-bottom: .6rem;
}
.demo {
  margin: 0 0 1.25rem;
  padding: .85rem .95rem;
  background: #efe4d9;
  border-radius: .85rem;
  color: var(--muted);
  font-size: .95rem;
}
.stack { display: grid; gap: .85rem; }
label { display: grid; gap: .35rem; font-size: .92rem; font-weight: 550; }
input {
  width: 100%;
  min-height: 2.85rem;
  padding: .55rem .8rem;
  border-radius: .8rem;
  border: 1px solid var(--line-strong);
  background: #fff;
}
input:focus { border-color: var(--accent); }
.alert {
  margin: 0;
  min-height: 1.3rem;
  color: var(--danger);
  font-size: .92rem;
}
.admin-main { padding: 2rem 0 4rem; }
.admin-lead {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
}
.admin-lead h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 1rem;
  align-items: start;
}
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 1.1rem 1.1rem 1.2rem;
}
.panel h2 { font-size: 1.85rem; margin-bottom: .35rem; }
.hint { margin: 0 0 1rem; color: var(--muted); font-size: .92rem; }
.entries { list-style: none; margin: 1rem 0 0; padding: 0; }
.entries li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .35rem .75rem;
  align-items: center;
  padding: .75rem 0;
  border-top: 1px solid var(--line);
}
.entries strong { font-weight: 600; }
.entries span { color: var(--muted); font-size: .92rem; }
.saved {
  margin: 1rem 0 0;
  color: var(--accent);
  font-size: .92rem;
  min-height: 1.3rem;
}

@media (max-width: 860px) {
  .header-inner { align-items: flex-start; flex-wrap: wrap; }
  .nav-actions {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: .15rem;
  }
  .btn { flex: 0 0 auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .dish-name, .hours dd { font-size: 1.45rem; }
  .hours dt, .dish-note { text-align: right; }
}

.page-admin .header-inner {
  flex-wrap: nowrap;
  align-items: center;
  min-height: 64px;
}
.page-admin .nav-actions {
  width: auto;
  flex-wrap: nowrap;
  gap: .9rem;
}
.header-link {
  border: 0;
  background: none;
  padding: 0;
  color: var(--accent);
  font: inherit;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
}
.header-link:hover { color: #f6f3ec; }
.page-admin .admin-main { padding-top: 1.35rem; }
.page-admin .kicker { margin-bottom: .45rem; letter-spacing: .12em; }
.page-admin h1 { font-size: clamp(2.4rem, 8vw, 3.4rem); }
.page-admin .admin-lead { margin-bottom: 1.1rem; }
