:root {
  --ink: #1c1915;
  --muted: #5c564e;
  --line: #e6dfd4;
  --paper: #f3efe7;
  --card: #fffdf9;
  --accent: #c4511a;
  --accent-dark: #8d3512;
  --ok: #1f6b45;
  --warn: #8a5a10;
  --bad: #8d2b2b;
  --shadow: 0 18px 40px rgba(40, 28, 16, 0.08);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -10%, #f7d7c4 0%, transparent 55%),
    var(--paper);
  font-family: Georgia, "Iowan Old Style", "Segoe UI", serif;
  line-height: 1.45;
}
button, input, select, textarea, nav, .lede, .notice, .meta, .fine, .eyebrow { font-family: "Segoe UI", system-ui, sans-serif; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }

.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(243, 239, 231, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mark {
  width: 78px; height: 52px; border-radius: 12px; object-fit: cover; object-position: center; flex: none;
  box-shadow: 0 8px 18px rgba(40, 28, 16, 0.16); border: 2px solid #fff; background: #f6f1e4;
}
.mark:before, .mark:after { content: none; }
.brand-text { display: flex; flex-direction: column; }
.brand strong { font-size: 20px; letter-spacing: -0.02em; font-family: Georgia, serif; }
.brand em { color: var(--accent-dark); font-size: 13px; font-style: italic; font-weight: 600; }
nav { display: flex; gap: 18px; font-size: 14px; }
nav a { text-decoration: none; }
.notice {
  background: #2a241e; color: #f6f1e8;
  font-size: 13px; padding: 10px 16px; text-align: center;
}
.hero { padding: 48px 0 12px; display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 28px; align-items: end; }
.eyebrow { margin: 0 0 10px; color: var(--accent-dark); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.hero h1 { font-size: clamp(36px, 5vw, 62px); line-height: 0.96; margin: 0 0 14px; letter-spacing: -0.03em; }
.hero p { margin: 0; color: var(--muted); max-width: 58ch; font-family: "Segoe UI", system-ui, sans-serif; }
.rules {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
  box-shadow: var(--shadow);
}
.rules h2 { margin: 0 0 8px; font-size: 16px; }
.rules ul { margin: 0; padding-left: 18px; font-size: 14px; }
.rules li + li { margin-top: 6px; }

.section { padding: 28px 0 10px; }
.section h2 { margin: 0 0 6px; font-size: 28px; }
.lede { margin: 0 0 18px; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; min-height: 360px;
  box-shadow: var(--shadow);
}
.card img { width: 100%; height: 210px; object-fit: cover; background: #ddd; }
.card-body { padding: 14px 14px 16px; }
.card-body h3 { margin: 0 0 4px; font-size: 18px; }
.price { font-weight: 700; }
.meta { color: var(--muted); font-size: 13px; margin-top: 4px; }
.hover {
  position: absolute; inset: 0; background: rgba(22, 18, 14, 0.92); color: #f7f3ec;
  padding: 16px; transform: translateY(102%); transition: transform 0.22s ease;
  display: flex; flex-direction: column; gap: 8px; overflow: auto;
}
.card:hover .hover, .card:focus-within .hover, .card.open .hover { transform: translateY(0); }
.hover h3 { margin: 0; font-size: 20px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; font-size: 13px; }
.specs div { background: rgba(255,255,255,0.06); border-radius: 8px; padding: 6px 8px; }
.specs b { display: block; font-size: 11px; color: #d9cfc2; font-weight: 600; }
.actions { margin-top: auto; display: flex; gap: 8px; }
button.primary, button.ghost, button.danger {
  border: 0; border-radius: 999px; padding: 10px 14px; cursor: pointer;
}
button.primary { background: var(--accent); color: white; }
button.primary:hover { background: var(--accent-dark); }
button.ghost { background: transparent; color: inherit; border: 1px solid currentColor; }
button.danger { background: var(--bad); color: white; }
button:disabled { opacity: 0.5; cursor: not-allowed; }
.tap { display: none; }

.modal-back {
  position: fixed; inset: 0; background: rgba(20,16,12,0.55); z-index: 40;
  display: none; align-items: flex-start; justify-content: center; padding: 24px 12px; overflow: auto;
}
.modal-back.show { display: flex; }
.modal {
  width: min(980px, 100%); background: var(--card); border-radius: 20px; padding: 18px;
  border: 1px solid var(--line);
}
.modal-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 12px; }
.cal { border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.dow, .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dow span { text-align: center; font-size: 12px; color: var(--muted); }
.day {
  border: 1px solid transparent; background: #f3efe8; border-radius: 8px; min-height: 38px; cursor: pointer;
}
.day.off { visibility: hidden; }
.day.booked { background: #eadfdf; color: #8d2b2b; cursor: not-allowed; text-decoration: line-through; }
.day.picked { background: var(--accent); color: white; }
.day.inrange { background: #f0d3c4; }
.form grid, .form { display: grid; gap: 8px; }
label { font-size: 13px; display: grid; gap: 4px; }
input, select, textarea {
  border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; background: white; width: 100%;
}
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.summary { background: #f7f1e8; border-radius: 12px; padding: 10px; font-size: 14px; }
.sig-wrap { border: 1px dashed #c8bbaa; border-radius: 12px; background: white; }
canvas#sig { width: 100%; height: 120px; touch-action: none; }
.fine { font-size: 12px; color: var(--muted); }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; }
.check input { width: auto; margin-top: 3px; }

table { width: 100%; border-collapse: collapse; font-size: 14px; background: white; }
th, td { border-bottom: 1px solid var(--line); text-align: left; padding: 8px; vertical-align: top; }
.badge { display: inline-block; border-radius: 999px; padding: 2px 8px; font-size: 12px; background: #efe7dc; }
.badge.ok { background: #e5f3eb; color: var(--ok); }
.badge.bad { background: #f8e6e6; color: var(--bad); }
.badge.warn { background: #f8efd8; color: var(--warn); }
.admin-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
footer { padding: 28px 0 88px; color: var(--muted); font-size: 13px; }
.install {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: #2a241e; color: #f6f1e8; padding: 10px 16px; font-size: 14px;
}
.install[hidden] { display: none !important; }
.appbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  background: #fffdf9; border-top: 1px solid var(--line);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  justify-content: space-around;
}
.appbar a { text-decoration: none; font-size: 13px; padding: 8px 12px; }

@media (max-width: 900px) {
  .hero, .steps, .grid { grid-template-columns: 1fr; }
  .tap { display: inline-flex; }
  .desk-nav { display: none; }
  .appbar { display: flex; }
  body { padding-bottom: 64px; }
}

#vermieter{scroll-margin-top:80px}

.hover .specs div{font-size:13px;line-height:1.35}
