/* Vento Cadela App – Gestaltung nach Markenhandbuch v1.5
   Schrift Arial, Anthrazit #352B28, Rot #B50B15, helle Karten #F2F0EF, Grund Weiß.
   Aufbau: dunkler Kopf mit roten Wellen, darunter helle Inhalte, unten feste Navigation. */

:root {
  --ant: #352B28;
  --red: #B50B15;
  --red-dark: #7E0A12;
  --card: #F2F0EF;
  --line: #E2DCD8;
  --bg: #FFFFFF;
  --outer: #E9E5E2;
  --muted: #6E625E;
  --muted-on-dark: #B8AFAB;
  --soft-on-dark: #D5CECA;
  --ok: #2E6A4F;
  --font: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --radius: 14px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --tabbar-h: 64px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.45;
  color: var(--ant);
  background: var(--outer);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; display: block; }
a { color: var(--red); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
[hidden] { display: none !important; }

.app {
  max-width: 560px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--bg);
  position: relative;
  box-shadow: 0 0 40px rgba(53, 43, 40, .08);
}
.view { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px) + 16px); outline: none; }
.loading, .noscript { padding: 80px 24px; text-align: center; color: var(--muted); }

/* ---------- Kopfbereich ---------- */
.hero {
  position: relative;
  background: var(--ant);
  color: #FFFFFF;
  padding: calc(env(safe-area-inset-top, 0px) + 22px) var(--gutter-r) 54px var(--gutter);
}
.hero .logo { width: 196px; height: auto; }
.hero .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; }
.hero .emblem { width: 52px; height: 52px; }
.eyebrow { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--red); }
.hero .eyebrow { color: var(--muted-on-dark); margin-top: 22px; }
.hero h1 { margin: 6px 0 0; font-size: 28px; line-height: 1.15; text-wrap: balance; }
.hero .date { margin-top: 8px; font-style: italic; font-size: 15px; }
.hero .lead { margin: 8px 0 0; color: var(--soft-on-dark); font-size: 14px; }
.waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 44px; display: block; }
.back {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px;
  color: inherit; text-decoration: none; font-size: 14px; font-weight: 700;
}
.back svg { width: 20px; height: 20px; }

.head-light { padding: calc(env(safe-area-inset-top, 0px) + 30px) var(--gutter-r) 10px var(--gutter); display: flex; justify-content: space-between; gap: 12px; }
.head-light h1 { margin: 6px 0 0; font-size: 28px; line-height: 1.15; text-wrap: balance; }
.head-light p { margin: 8px 0 0; color: #4A3F3C; font-size: 14px; max-width: 46ch; }
.head-light .emblem { width: 48px; height: 48px; flex-shrink: 0; }

/* ---------- Inhalt ---------- */
.content { padding: 8px var(--gutter-r) 8px var(--gutter); display: flex; flex-direction: column; gap: 12px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; }
.section-head .hint { font-size: 12px; color: var(--muted); }
.count { font-size: 12px; color: var(--muted); }
p.text { margin: 0; font-size: 14px; line-height: 1.55; color: #4A3F3C; }
p.intro { margin: 0; font-size: 15px; line-height: 1.5; font-weight: 700; }

/* Filter */
.pills { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px var(--gutter-r) 4px var(--gutter); }
.pill {
  min-height: 38px; padding: 0 15px; border-radius: 19px; cursor: pointer;
  border: 1.5px solid #D9D3CF; background: #FFFFFF; color: var(--ant); font-weight: 700; font-size: 13px;
}
.pill[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #FFFFFF; }

/* Event-Liste */
.event {
  display: flex; gap: 12px; padding: 12px; border-radius: 12px; background: var(--card);
  text-decoration: none; color: var(--ant); align-items: stretch;
}
.event .when {
  width: 74px; flex-shrink: 0; border-radius: 8px; background: var(--ant); color: #FFFFFF;
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 4px; text-align: center;
}
.event .when .m { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-on-dark); font-weight: 700; }
.event .when .d { margin-top: 4px; font-size: 13px; line-height: 1.2; font-weight: 700; font-variant-numeric: tabular-nums; }
.event .body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.event .title { font-size: 16px; font-weight: 700; line-height: 1.2; }
.event .sub { font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.chev { width: 18px; height: 18px; flex-shrink: 0; align-self: center; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.badge { display: inline-flex; align-self: flex-start; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 10px; margin-top: 4px; }
.badge.open { border: 1px solid var(--ant); background: #FFFFFF; color: var(--ant); }
.badge.full { background: var(--red); color: #FFFFFF; }
.badge.request { background: var(--ant); color: #FFFFFF; }
.badge.tba { background: #E2DCD8; color: #4A3F3C; }
.badge.planned { background: #E2DCD8; color: #4A3F3C; margin-top: 0; }

/* Faktenkarten */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fact { background: var(--card); border-radius: 12px; padding: 12px; min-width: 0; }
.fact .k { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.fact .v { margin-top: 6px; font-size: 14px; font-weight: 700; line-height: 1.3; }

.dark-card { background: var(--ant); color: #FFFFFF; border-radius: var(--radius); padding: 14px 16px; }
.dark-card .k { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-on-dark); font-weight: 700; }
.dark-card p { margin: 6px 0 0; color: var(--soft-on-dark); font-size: 13.5px; line-height: 1.45; }
.ship { display: flex; gap: 12px; align-items: center; }
.ship img { width: 40px; height: 40px; flex-shrink: 0; }
.ship .n { margin-top: 4px; font-size: 14px; font-weight: 700; }
.ship .s { margin-top: 2px; font-size: 12.5px; color: var(--soft-on-dark); }

/* Buttons */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 12px;
  background: var(--red); color: #FFFFFF; text-decoration: none; font-size: 16px; font-weight: 700; border: none; cursor: pointer; width: 100%;
}
.btn:hover { filter: brightness(1.08); }
.btn.secondary { background: #FFFFFF; color: var(--ant); border: 2px solid var(--ant); }
.btn.small { min-height: 44px; font-size: 14px; border-radius: 10px; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.link-out { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--red); text-decoration: none; }
.link-out svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.cta-bar { border-top: 1px solid #E7E2DE; padding: 14px var(--gutter-r) 4px var(--gutter); display: flex; flex-direction: column; gap: 8px; }
.cta-bar .note { font-size: 12px; color: var(--muted); text-align: center; line-height: 1.4; }

/* Listen mit Symbol */
.list { background: var(--card); border-radius: var(--radius); padding: 4px 14px; }
.row { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ant); }
.row:last-child { border-bottom: 0; }
.row .ico { width: 38px; height: 38px; border-radius: 19px; background: var(--ant); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.row .ico.red { background: var(--red); }
.row .ico svg, .feature .ico svg { width: 20px; height: 20px; fill: none; stroke: #FFFFFF; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.row .t { font-size: 15px; font-weight: 700; }
.row .s { margin-top: 2px; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.row .grow { flex: 1; min-width: 0; }
.row .num { width: 36px; height: 36px; border-radius: 18px; background: var(--ant); color: #FFFFFF; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lock { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ver { font-size: 11px; color: var(--muted); }
.lock-col { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }

/* Hervorgehobene Karte */
.feature { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--radius); color: #FFFFFF; text-decoration: none; }
.feature.red { background: var(--red); }
.feature.dark { background: var(--ant); }
.feature .ico { width: 48px; height: 48px; border-radius: 24px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature.red .ico { background: var(--ant); }
.feature.dark .ico { background: var(--red); }
.feature .ico svg { width: 24px; height: 24px; }
.feature .t { font-size: 16px; font-weight: 700; }
.feature .s { margin-top: 3px; font-size: 12.5px; line-height: 1.35; color: #F2E4E4; }
.feature.dark .s { color: var(--soft-on-dark); }
.feature .grow { flex: 1; min-width: 0; }
.feature .chev { stroke: #FFFFFF; }

/* Hinweis Crew */
.crew-note { background: var(--ant); color: #FFFFFF; border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.crew-note .h { display: flex; gap: 10px; align-items: center; font-size: 16px; font-weight: 700; }
.crew-note .h span { width: 36px; height: 36px; border-radius: 18px; background: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.crew-note .h svg { width: 18px; height: 18px; fill: none; stroke: #FFFFFF; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.crew-note p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--soft-on-dark); }

.quote { border: 1.5px solid #E2DCD8; border-radius: var(--radius); padding: 16px; }
.quote .b { margin-top: 8px; font-size: 15px; line-height: 1.45; font-weight: 700; }
.quote .s { margin-top: 4px; font-size: 13.5px; color: #4A3F3C; }

/* Wetter */
.wx { background: var(--ant); color: #FFFFFF; border-radius: var(--radius); overflow: hidden; }
.wx .h { padding: 14px 16px 10px; }
.wx .h .t { margin-top: 5px; font-size: 16px; font-weight: 700; }
.wx .h .s { margin-top: 3px; font-size: 12.5px; color: var(--soft-on-dark); }
.wx .body { padding: 0 16px 6px; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; line-height: 1.5; color: var(--soft-on-dark); }
.wx .foot { padding: 10px 16px 14px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid #4A3F3C; margin-top: 10px; }
.wx .foot span { font-size: 11.5px; color: var(--muted-on-dark); }
.wx .foot a { color: #FFFFFF; }

.wind { background: var(--card); border-radius: 12px; overflow: hidden; }
.wind button {
  width: 100%; min-height: 64px; display: flex; gap: 12px; align-items: center; padding: 10px 12px;
  border: none; background: transparent; color: var(--ant); text-align: left; cursor: pointer;
}
.wind .dir { width: 44px; height: 44px; border-radius: 22px; background: var(--ant); color: #FFFFFF; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wind .n { font-size: 15px; font-weight: 700; display: block; }
.wind .sh { font-size: 12.5px; line-height: 1.35; color: var(--muted); display: block; margin-top: 2px; }
.wind .grow { flex: 1; min-width: 0; }
.wind .chev { transition: transform .2s; }
.wind button[aria-expanded="true"] .chev { transform: rotate(180deg); }
.wind .more { padding: 0 14px 14px 68px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.45; }
.wind .more .eyebrow { font-size: 10px; letter-spacing: .16em; }

/* Formular */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 700; }
.field input {
  min-height: 52px; padding: 0 14px; border-radius: 12px; border: 1.5px solid #D9D3CF;
  background: #FFFFFF; color: var(--ant); font: 16px var(--font); width: 100%;
}
.notice { background: var(--card); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; line-height: 1.45; }
.notice b { display: block; margin-bottom: 2px; }

/* Untere Navigation */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  max-width: 560px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #FFFFFF; border-top: 1px solid #E7E2DE;
  padding: 6px max(4px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(4px, env(safe-area-inset-left, 0px));
}
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px;
  text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 700;
}
.tabbar a[aria-current="page"] { color: var(--red); }
.tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.footer { padding: 18px var(--gutter-r) 8px var(--gutter); color: var(--muted); font-size: 12px; display: flex; flex-direction: column; gap: 6px; }
.footer .claim { letter-spacing: .18em; font-weight: 700; color: var(--ant); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- Ergänzungen für die echte App ---------- */
.row .t, .row .s, .feature .t, .feature .s { display: block; }
.events { display: flex; flex-direction: column; gap: 10px; }
.badge.few { background: #FFFFFF; border: 1px solid var(--red); color: var(--red); }
p.text.small { font-size: 12.5px; color: var(--muted); }
p.text.empty { padding: 8px 2px; }
.hero .top .eyebrow { margin-top: 0; }
.hero .lead { max-width: 44ch; }

.footer .links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer .links a { color: var(--muted); min-height: 32px; display: inline-flex; align-items: center; }
.footer .ver { font-size: 11px; }

/* Buchungsleiste bleibt über der Navigation sichtbar */
.cta-bar.sticky {
  position: sticky; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
  background: #FFFFFF; z-index: 5; padding-bottom: 12px; margin-top: 8px;
}

/* Wetter */
.eyebrow-dark { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-on-dark); font-weight: 700; }
.wx .body p { margin: 0; }
.wx .link-out { color: #FFFFFF; min-height: 36px; }
.wx-warn { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--red); color: #FFFFFF; }
.wx-warn svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.wx-warn b { letter-spacing: .02em; }
.wx .body > div:not(.wx-warn) > div:last-child { color: #FFFFFF; margin-top: 3px; }
.wx-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 10px; }
.wx-lang { display: inline-flex; border: 1px solid #5A4F4C; border-radius: 999px; overflow: hidden; flex-shrink: 0; }
.wx-lang[hidden] { display: none; }
.wx-lang button {
  appearance: none; border: 0; background: transparent; color: var(--soft-on-dark);
  font: inherit; font-size: 12px; font-weight: 600; padding: 7px 11px; min-height: 32px; cursor: pointer;
}
.wx-lang button[aria-pressed="true"] { background: #FFFFFF; color: var(--ant); }
.wx-lang button:disabled { opacity: .4; cursor: default; }
.wx-lang button:focus-visible, .wx-newer:focus-visible { outline: 2px solid #FFFFFF; outline-offset: -2px; }
.wx-newer {
  appearance: none; display: flex; gap: 8px; align-items: flex-start; width: 100%; text-align: left;
  border: 1px solid #5A4F4C; background: #43383A; color: #FFFFFF; border-radius: 10px;
  padding: 9px 12px; font: inherit; font-size: 13px; line-height: 1.4; cursor: pointer;
}
.wx-newer svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.wx-old { font-size: 12.5px; color: var(--muted-on-dark); }
.btn.light { background: #FFFFFF; color: var(--ant); }
.wind .more[hidden] { display: none !important; }
.wind .more .eyebrow + div { margin-top: 3px; }

/* Packliste */
.progress { display: flex; flex-direction: column; gap: 6px; }
.progress .bar { height: 8px; border-radius: 4px; background: var(--card); overflow: hidden; }
.progress .bar span { display: block; height: 100%; background: var(--red); transition: width .2s; }
.checks { border: 0; margin: 0; padding: 4px 14px 6px; background: var(--card); border-radius: var(--radius); }
.checks legend { float: left; width: 100%; padding: 12px 0 4px; }
.check { clear: both; display: flex; gap: 12px; align-items: center; min-height: 48px; padding: 6px 0; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 14.5px; line-height: 1.35; }
.check:last-child { border-bottom: 0; }
.check input { width: 22px; height: 22px; accent-color: var(--red); flex-shrink: 0; margin: 0; }
.check input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(110, 98, 94, .5); }

/* Logbuch */
.form-card { background: var(--card); border-radius: var(--radius); }
.form-card summary {
  list-style: none; cursor: pointer; min-height: 54px; display: flex; align-items: center; gap: 10px;
  padding: 0 16px; font-weight: 700; font-size: 15px;
}
.form-card summary::-webkit-details-marker { display: none; }
.form-card summary svg { width: 20px; height: 20px; color: var(--red); }
.form-card[open] summary { border-bottom: 1px solid var(--line); }
.form-card form { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.form-card > p.text { padding: 0 16px 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.field select, .field textarea {
  padding: 12px 14px; border-radius: 12px; border: 1.5px solid #D9D3CF;
  background: #FFFFFF; color: var(--ant); font: 16px var(--font); width: 100%;
}
.field select { min-height: 52px; }
.field textarea { resize: vertical; line-height: 1.4; }
.field input[type="date"] { min-width: 0; }
.form-msg { margin: 0; min-height: 1.2em; font-size: 13px; color: var(--ok); font-weight: 700; }
.entries { display: flex; flex-direction: column; gap: 10px; }
.entry { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.entry .eh { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.entry .t { font-weight: 700; font-size: 15px; }
.entry .s { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.entry .eyebrow { font-size: 10px; letter-spacing: .16em; }
.entry .pre { white-space: pre-wrap; margin-top: 2px; line-height: 1.45; }
.icon-btn {
  min-width: 44px; min-height: 44px; border-radius: 10px; border: 0; background: transparent; color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; flex-shrink: 0; margin: -8px -8px 0 0;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn.confirm { color: var(--red); font-weight: 700; font-size: 13px; padding: 0 8px; }

/* Login (dunkle Seite) */
body.on-dark .app { background: var(--ant); }
.dark-page { min-height: calc(100dvh - var(--tabbar-h)); background: var(--ant); color: #FFFFFF; display: flex; flex-direction: column; }
.dp-top { padding: calc(env(safe-area-inset-top, 0px) + 18px) var(--gutter-r) 0 var(--gutter); }
.dp-main { flex: 1; display: flex; flex-direction: column; gap: 18px; padding: 18px max(24px, env(safe-area-inset-right, 0px)) 24px max(24px, env(safe-area-inset-left, 0px)); }
.dp-emblem { width: 84px; height: 84px; }
.eyebrow.on-dark { color: var(--muted-on-dark); }
.dark-page h1 { margin: 8px 0 0; font-size: 30px; line-height: 1.15; }
.dp-lead { margin: 10px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--soft-on-dark); max-width: 42ch; }
.dp-form { display: flex; flex-direction: column; gap: 10px; }
.dp-form label { font-size: 13px; font-weight: 700; }
.dp-form input {
  min-height: 52px; padding: 0 14px; border-radius: 12px; border: 1.5px solid #6E625E;
  background: #2A221F; color: #FFFFFF; font: 16px var(--font); width: 100%;
}
.dp-form input::placeholder { color: #8F8480; }
.dp-msg { margin: 0; min-height: 1.2em; font-size: 13px; color: #FFD3D5; font-weight: 700; }
.dp-sent { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: var(--radius); background: #2A221F; border: 1.5px solid #6E625E; }
.dp-sent .h { display: flex; gap: 10px; align-items: center; font-size: 16px; font-weight: 700; }
.dp-sent .h svg { width: 22px; height: 22px; color: #FFFFFF; }
.dp-sent p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--soft-on-dark); }
.dp-small { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted-on-dark); }
.dp-small a { color: #FFFFFF; font-weight: 700; }
.dp-foot { padding: 0 max(24px, env(safe-area-inset-right, 0px)) 24px max(24px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 12px; }
.dp-foot img { width: 170px; height: auto; }
.dp-foot .claim { font-size: 11px; letter-spacing: .2em; color: var(--muted-on-dark); font-weight: 700; }

/* Login in zwei Schritten */
.dp-form input#code { font-size: 24px; letter-spacing: .3em; text-align: center; font-weight: 700; }
.dp-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dp-link { background: none; border: 0; padding: 0; min-height: 44px; color: #FFFFFF; font: 700 14px var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.btn.busy { opacity: .7; pointer-events: none; }
.btn:disabled { opacity: .7; }

/* App installieren */
.install-hint { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 14px var(--gutter-r) 0 var(--gutter); padding: 12px 48px 12px 12px; border-radius: var(--radius); background: var(--card); }
.install-hint .grow { min-width: 0; flex: 1 1 150px; }
.install-hint img { border-radius: 10px; flex-shrink: 0; }
.install-hint .t { font-weight: 700; font-size: 14px; }
.install-hint .s { font-size: 12px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.install-hint .btn.small { flex-shrink: 0; }
.install-hint .icon-btn { position: absolute; top: 4px; right: 4px; margin: 0; }
.app-icon-row { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: var(--radius); background: var(--card); }
.app-icon-row img { border-radius: 14px; box-shadow: 0 2px 8px rgba(35, 28, 26, .25); }
.app-icon-row .t { font-weight: 700; font-size: 16px; }
.app-icon-row .s { font-size: 13px; color: var(--muted); margin-top: 2px; }
.guide { border: 1.5px solid var(--line); border-radius: var(--radius); }
.guide summary { list-style: none; cursor: pointer; min-height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-weight: 700; font-size: 15px; }
.guide summary::-webkit-details-marker { display: none; }
.guide[open] summary .chev { transform: rotate(180deg); }
.guide ol { margin: 0; padding: 0 16px 14px 36px; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; line-height: 1.45; }
.inl { width: 18px; height: 18px; vertical-align: -3px; color: var(--red); }
.qr { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px; border-radius: var(--radius); background: #FFFFFF; border: 1.5px solid var(--line); }
.qr p { margin: 0; font-size: 13px; color: var(--muted); }

/* Admin */
.form-msg.err { color: var(--red); }
.form-msg.ok { color: var(--ok); }
.row.person { align-items: flex-start; }
.row.person .s + .s { margin-top: 1px; }
.row .badge { vertical-align: 1px; margin-left: 4px; }
.assign { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 8px; margin-top: 10px; }
.assign select, .assign input { min-height: 44px; padding: 0 10px; border-radius: 10px; border: 1.5px solid #D9D3CF; background: #FFFFFF; font: 15px var(--font); color: var(--ant); min-width: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.icon-btn .cl { white-space: nowrap; }

/* ---------- Trimmfibel: Kapitel lesen ---------- */
.field input[type="file"] { padding: 12px 14px; min-height: 0; }
.tf-status { display: flex; gap: 6px; align-items: flex-start; }
.tf-status svg, .tf-meta svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: var(--ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.row .num.sm { width: auto; min-width: 36px; padding: 0 8px; font-size: 13px; border-radius: 18px; }

.tf { gap: 14px; }
.tf p { margin: 0; }
.tf-meta { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; color: var(--muted); }
.tf-lead { font-size: 17px; line-height: 1.5; color: var(--ant); }
.tf-p { font-size: 15.5px; line-height: 1.6; color: #2E2522; }
.tf-small { font-size: 13px; line-height: 1.5; color: var(--muted); }
.tf-toc { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.tf-toc .eyebrow { color: var(--ant); }

.tf-sec { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; margin-top: 10px; border-top: 1px solid var(--line); scroll-margin-top: 12px; }
.tf-sec-head { display: flex; gap: 12px; align-items: flex-start; }
.tf-nr { flex-shrink: 0; min-width: 44px; height: 30px; padding: 0 8px; border-radius: 15px; background: var(--red); color: #FFFFFF; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.tf-sec h2 { margin: 0; font-size: 23px; line-height: 1.2; text-wrap: balance; }
.tf-tag { margin-top: 3px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.tf-h3 { margin: 8px 0 -4px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--ant); }
.tf-step { margin: 10px 0 -4px; display: flex; gap: 10px; align-items: center; font-size: 17px; line-height: 1.25; }
.tf-badge { flex-shrink: 0; width: 26px; height: 26px; border-radius: 13px; background: var(--red); color: #FFFFFF; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.tf-badge.sm { width: 20px; height: 20px; font-size: 11px; margin-right: 7px; vertical-align: 1px; }

.tf-ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.55; color: #2E2522; }
.tf-ul li { position: relative; padding-left: 18px; }
.tf-ul li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 8px; height: 2px; background: var(--red); }
.tf-steps { margin: 0; padding: 0; list-style: none; background: var(--card); border-radius: var(--radius); padding: 2px 14px; }
.tf-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.tf-steps li:last-child { border-bottom: 0; }

.tf-box { background: var(--card); border-left: 4px solid var(--ant); border-radius: 4px var(--radius) var(--radius) 4px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.tf-box.red { border-left-color: var(--red); }
.tf-box .eyebrow { color: var(--ant); }
.tf-box.red .eyebrow { color: var(--red); }
.tf-box .tf-p { font-size: 15px; }

.tf-fig { margin: 4px 0 0; display: flex; flex-direction: column; gap: 6px; }
.tf-zoom { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #FBFAF8; cursor: zoom-in; }
.tf-zoom img { width: 100%; height: auto; }
.tf-fig figcaption { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.tf-fig .hint { display: inline-flex; gap: 3px; align-items: center; white-space: nowrap; color: var(--red); font-weight: 700; }
.tf-fig .hint svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }

.tf-tabwrap, .tf-gridwrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tf-tab, .tf-grid { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 1.45; }
.tf-tab th { text-align: left; vertical-align: bottom; padding: 6px 8px 6px 0; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 1.5px solid var(--ant); }
.tf-tab th.s-r { color: var(--red); }
.tf-tab th .sub { display: block; margin-top: 2px; letter-spacing: 0; text-transform: none; font-weight: 400; font-size: 11.5px; }
.tf-tab td { vertical-align: top; padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line); }
.tf-tab.zebra tbody tr:nth-child(odd) td { background: #F7F5F4; }
.tf-tab .s-b { font-weight: 700; }
.tf-tab .s-r { font-weight: 700; color: var(--red); }
.tf-tab .s-g { color: var(--muted); font-size: 12.5px; }
/* Schmale Bildschirme: jede Tabellenzeile als Karte */
@media (max-width: 520px) {
  .tf-tab, .tf-tab tbody, .tf-tab tr, .tf-tab td { display: block; width: auto; }
  .tf-tab thead { display: none; }
  .tf-tab tbody { display: flex; flex-direction: column; gap: 8px; }
  .tf-tab tr { background: var(--card); border-radius: 12px; padding: 10px 14px; }
  .tf-tab.zebra tbody tr:nth-child(odd) td { background: transparent; }
  .tf-tab td { border: 0; padding: 3px 0; font-size: 14.5px; }
  .tf-tab td:empty { display: none; }
  .tf-tab:not(.single):not(.nohead) td:first-child { font-size: 15.5px; font-weight: 700; padding-bottom: 4px; }
  .tf-tab td[data-label]:not([data-label=""])::before { content: attr(data-label); display: block; margin-top: 4px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
  .tf-tab:not(.single) td:first-child::before { display: none !important; }
}
.tf-grid { font-size: 12px; min-width: 420px; }
.tf-grid th { padding: 5px 4px; text-align: left; font-size: 11px; color: var(--muted); }
.tf-grid thead th { border-bottom: 1.5px solid var(--ant); }
.tf-grid td { border: 1px solid var(--line); height: 28px; }

.tf-form { border: 1.5px dashed #D9D3CF; border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.tf-form .eyebrow { color: var(--ant); }
.tf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tf-chips span { background: var(--card); border-radius: 8px; padding: 5px 9px; font-size: 13px; }
.tf-form .btn { align-self: flex-start; }

.tf-top { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; text-decoration: none; color: var(--muted); min-height: 36px; }
.tf-top svg { width: 16px; height: 16px; transform: rotate(90deg); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tf-chapnav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.tf-next { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: var(--radius); background: var(--ant); color: #FFFFFF; text-decoration: none; }
.tf-next.next { text-align: right; }
.tf-next .eyebrow { color: var(--muted-on-dark); font-size: 10px; }
.tf-next .t { font-weight: 700; font-size: 15px; }

/* Abbildung groß */
body.lb-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 50; background: #1E1816; display: flex; flex-direction: column; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(env(safe-area-inset-top, 0px) + 10px) max(14px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); color: #FFFFFF; }
.lb-cap { font-size: 14px; font-weight: 700; line-height: 1.35; color: var(--soft-on-dark); }
.icon-btn.light { color: #FFFFFF; margin: 0; background: rgba(255, 255, 255, .12); }
.lb-scroll { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; display: flex; align-items: center; padding: 0 0 12px; }
.lb-scroll img { width: max(100%, 880px); max-width: none; height: auto; margin: auto; background: #FBFAF8; }
.lb-hint { text-align: center; font-size: 12px; color: var(--muted-on-dark); padding: 0 16px calc(env(safe-area-inset-bottom, 0px) + 12px); }
@media (min-width: 900px) { .lb-scroll img { width: min(100%, 1400px); } .lb-hint { display: none; } }
@media (orientation: landscape) and (max-height: 520px) { .lb-hint { display: none; } }

/* ---------- Infos pro Event ---------- */
.field .hint { font-size: 12px; line-height: 1.4; color: var(--muted); }
.field .label { font-size: 13px; font-weight: 700; }
.optin { display: flex; gap: 12px; align-items: center; min-height: 44px; font-size: 14.5px; line-height: 1.35; cursor: pointer; }
.optin input { width: 22px; height: 22px; accent-color: var(--red); flex-shrink: 0; margin: 0; }
.link-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px; margin-bottom: 8px; }
.link-row input { min-height: 46px; }
@media (max-width: 420px) { .link-row { grid-template-columns: 1fr; gap: 6px; padding-bottom: 8px; border-bottom: 1px dashed #DDD7D3; } }
.field .btn.small, .info-links .btn, .tf-form .btn { width: auto; align-self: flex-start; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.row-actions { display: flex; gap: 2px; flex-shrink: 0; align-items: center; }
.row-actions .icon-btn { margin: 0; }
.info-row .grow { min-width: 0; }

.badge.new { background: var(--red); color: #FFFFFF; margin: 0 0 0 6px; padding: 2px 8px; vertical-align: 2px; }
.pos-chip { display: inline-flex; align-self: flex-start; gap: 8px; align-items: center; background: var(--card); border-radius: 18px; padding: 8px 14px; font-size: 14px; }
.pos-chip svg { width: 18px; height: 18px; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.infos { display: flex; flex-direction: column; gap: 12px; }
.info { background: var(--card); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 12px; border-left: 4px solid var(--red); }
.info.hidden-info { border-left-color: #B9B1AD; opacity: .8; }
.info.hl { box-shadow: 0 0 0 2px var(--red); }
.info-date { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.info-date .badge { margin: 0; letter-spacing: 0; text-transform: none; }
.info h3 { margin: 0; font-size: 19px; line-height: 1.25; }
.info-text { font-size: 15px; line-height: 1.55; color: #2E2522; display: flex; flex-direction: column; gap: 10px; }
.info-text p, .info-text ul { margin: 0; }
.info-text ul { padding-left: 20px; }
.info-text li + li { margin-top: 4px; }
.info-text a { color: var(--red); word-break: break-word; }
.info-links { display: flex; flex-wrap: wrap; gap: 8px; }
.info-links .btn { margin: 0; }

/* ---------- Leseprobe ---------- */
.badge.free { background: #FFFFFF; border: 1px solid var(--red); color: var(--red); margin: 0; flex-shrink: 0; }
.row.locked .t { color: #6E625E; }
.row.locked svg.lock { flex-shrink: 0; }
.tf-cta { background: var(--ant); color: #FFFFFF; border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.tf-cta .eyebrow { color: #F1A9AD; }
.tf-cta p { font-size: 15px; line-height: 1.5; color: #EDE8E5; }
.tf-cta .btn.small { width: auto; padding: 0 18px; }
.tf-cta .btn.secondary { background: transparent; color: #FFFFFF; border-color: #FFFFFF; }
.lp-line b { color: var(--ant); }
.lp-pick { background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 4px 0 8px; }
.lp-form { display: flex; flex-direction: column; gap: 2px; }
.lp-form .eyebrow { color: var(--ant); margin-bottom: 4px; }
.lp-form .optin { min-height: 40px; font-size: 14px; }
.lp-form .btn-row { margin-top: 8px; }

/* ---------- Selbstbewertung ---------- */
.sb { gap: 14px; }
.sb-scale { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.sb-scale b { color: var(--ant); font-size: 15px; }
.sb-scale .bar { flex: 1; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #352B28, #8A807C 55%, #B50B15); }
.sb-status { display: flex; gap: 8px; align-items: flex-start; background: var(--card); border-radius: 12px; padding: 10px 12px; font-size: 14px; line-height: 1.4; }
.sb-status svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.sb-status.sent svg { stroke: var(--ok); }
.sb-status.changed svg, .sb-status.draft svg { stroke: var(--red); }
.sb-progress { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); font-weight: 700; }
.sb-progress .bar { flex: 1; height: 8px; border-radius: 4px; background: #E7E2DE; overflow: hidden; }
.sb-progress .bar span { display: block; height: 100%; background: var(--red); border-radius: 4px; transition: width .2s; }
.sb-sec { display: flex; flex-direction: column; gap: 4px; background: var(--card); border-radius: var(--radius); padding: 14px 12px 8px; scroll-margin-top: 12px; }
.sb-h { margin: 0 2px 6px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ant); }
.sb-sec-count { letter-spacing: 0; color: var(--muted); font-size: 12.5px; }
.sb-item { padding: 9px 2px 11px; border-top: 1px solid #E4DFDB; scroll-margin: 90px; }
.sb-label { font-size: 15px; line-height: 1.35; margin-bottom: 8px; }
.sb-item.done .sb-label { color: #4A3F3C; }
.sb-boxes { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
.sb-box { aspect-ratio: 1 / 1; min-height: 30px; max-height: 44px; border-radius: 8px; border: 1.5px solid #CFC7C3; background: #FFFFFF; color: var(--ant); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; }
.sb-box:hover { border-color: var(--ant); }
.sb-box.on { background: var(--ant); border-color: var(--ant); color: #FFFFFF; }
.sb-box.on[data-v="7"], .sb-box.on[data-v="8"], .sb-box.on[data-v="9"], .sb-box.on[data-v="10"] { background: var(--red); border-color: var(--red); }
.sb-box:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.sb-actions { position: sticky; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px) + 8px); z-index: 5; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px; margin: 0 -10px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px); border-radius: 14px; box-shadow: 0 -2px 14px rgba(53, 43, 40, .12); }
.sb-actions .btn { min-height: 48px; font-size: 15px; }

.sb-row .icon-btn.open svg { transform: rotate(180deg); }
.sb-detail { background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 2px 0 10px; display: flex; flex-direction: column; gap: 8px; }
.sb-del { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.sb-del .btn { width: auto; align-self: flex-start; margin: 0; }
.sb-detail .eyebrow { color: var(--ant); margin-top: 6px; }
.sb-pos { display: flex; flex-wrap: wrap; gap: 6px; }
.sb-pos span { background: var(--card); border-radius: 8px; padding: 5px 9px; font-size: 13px; }
.sb-pos span.best { background: var(--ant); color: #FFFFFF; }
.sb-vals { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; line-height: 1.35; }
.sb-vals span { display: flex; gap: 8px; align-items: flex-start; }
.sb-vals i { font-style: normal; flex-shrink: 0; width: 24px; height: 22px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12.5px; color: #FFFFFF; background: #352B28; }
.sb-vals .mid i { background: #8A807C; }
.sb-vals .weak i { background: var(--red); }
.sb-vals .none i { background: #E2DCD8; color: #6E625E; }
.sb-mx-head { color: var(--ant); margin-top: 12px; }
.sb-matrix { border-collapse: collapse; font-size: 13px; width: 100%; min-width: 400px; }
.sb-matrix th, .sb-matrix td { padding: 6px 6px; border-bottom: 1px solid var(--line); text-align: center; }
.sb-matrix thead th { font-size: 10.5px; color: var(--muted); font-weight: 700; vertical-align: bottom; }
.sb-matrix tbody th { text-align: left; white-space: nowrap; }
.sb-matrix td.best { background: var(--ant); color: #FFFFFF; font-weight: 700; }

/* Wetterbriefing & Vorschau */
.wb { background: var(--card); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 12px; border-left: 4px solid var(--red); scroll-margin-top: 12px; }
.wb.wb-vorschau { border-left-color: var(--ant); }
.wb-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.wb-badges .badge { margin: 0; }
.badge.wb-art { background: var(--ant); color: #FFFFFF; letter-spacing: .08em; text-transform: uppercase; font-size: 10.5px; }
.wb-briefing .badge.wb-art { background: var(--red); }
.wb h2 { margin: 0; font-size: 20px; line-height: 1.25; }
.wb-stand { margin-top: -6px; font-size: 13px; color: var(--muted); }
.wb-kurz { background: #FFFFFF; border-radius: 10px; padding: 12px 14px; font-size: 15.5px; line-height: 1.5; font-weight: 700; color: var(--ant); }
.wb-kurz p, .wb-kurz ul { margin: 0; }
.wb-kurz p + p { margin-top: 8px; }
.wb-kurz ul { padding-left: 20px; }
.wb-sec { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.wb-text { font-size: 15px; line-height: 1.55; color: #2E2522; display: flex; flex-direction: column; gap: 10px; }
.wb-text p, .wb-text ul { margin: 0; }
.wb-text ul { padding-left: 20px; }
.wb-text li + li { margin-top: 4px; }
.wb-text a, .wb-kurz a { color: var(--red); word-break: break-word; }
.ww { display: flex; flex-direction: column; gap: 8px; }
.ww-row {
  display: grid; grid-template-columns: minmax(84px, auto) minmax(0, 1fr) auto; grid-template-areas: "zeit zeit zeit" "dir kn see" "notiz notiz notiz";
  gap: 6px 14px; align-items: center; background: #FFFFFF; border-radius: 10px; padding: 10px 12px; border-left: 4px solid #CFC7C3;
}
.ww-row.strong { border-left-color: var(--red); }
.ww-zeit { grid-area: zeit; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ww-dir { grid-area: dir; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; min-width: 0; }
.ww-dir span { overflow-wrap: anywhere; }
.ww-arrow { width: 26px; height: 26px; flex-shrink: 0; color: var(--ant); }
.ww-row.strong .ww-arrow { color: var(--red); }
.ww-kn { grid-area: kn; display: flex; flex-direction: column; min-width: 0; }
.ww-kn b { font-size: 16px; }
.ww-kn span { font-size: 12.5px; color: var(--muted); }
.ww-row.strong .ww-kn b { color: var(--red); }
.ww-see { grid-area: see; font-size: 14px; text-align: right; }
.ww-see span { display: block; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.ww-notiz { grid-area: notiz; font-size: 13.5px; line-height: 1.4; color: #4A3F3C; }
.wb-bilder { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .wb-bilder { grid-template-columns: 1fr 1fr; } }
.wb-bild { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.wb-bild button { appearance: none; border: 0; padding: 0; width: 100%; border-radius: 10px; overflow: hidden; background: #E9E5E2; cursor: zoom-in; display: block; }
.wb-bild img { width: 100%; height: 100%; object-fit: contain; display: block; background: #FFFFFF; }
.wb-bild img:not([src]) { visibility: hidden; }
.wb-bild button.missing { cursor: default; display: flex; align-items: center; justify-content: center; }
.wb-bild button.missing img { display: none; }
.wb-miss { font-size: 13px; color: var(--muted); padding: 12px; text-align: center; }
.wb-bild figcaption { font-size: 13px; line-height: 1.4; color: var(--muted); }
.wb-admin { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; border-top: 1px solid var(--line); padding-top: 12px; }
.wb-admin .btn { margin: 0; width: auto; }
.wb-admin .form-msg { flex-basis: 100%; }
.btn.danger { color: var(--red); border-color: var(--red); }
.wb-alt { display: flex; flex-direction: column; gap: 8px; }
.wb-old { background: var(--card); border-radius: var(--radius); }
.wb-old > summary { list-style: none; display: flex; gap: 12px; align-items: center; padding: 12px 14px; cursor: pointer; }
.wb-old > summary::-webkit-details-marker { display: none; }
.wb-old > summary .badge { margin: 0; flex-shrink: 0; }
.wb-old > summary .t { display: block; font-weight: 700; font-size: 14.5px; }
.wb-old > summary .s { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.wb-old > summary .chev { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: var(--ant); stroke-width: 2; transition: transform .15s; }
.wb-old[open] > summary .chev { transform: rotate(180deg); }
.wb-old > .wb { border-radius: 0 0 var(--radius) var(--radius); padding-top: 4px; }
.wb-old > .wb h2 { font-size: 17px; }
.wb-offline { margin: 0; font-size: 13px; color: var(--muted); }
.wb-offline[hidden] { display: none; }
.wb-flash { font-size: 14px; }
/* Eingabe */
.wbf { display: flex; flex-direction: column; gap: 16px; }
.wbf fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.wbf legend { padding: 0; margin-bottom: 8px; }
.wbf .btn.small { width: auto; align-self: flex-start; }
.wbf .two { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 560px) { .wbf .two { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); } }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg-opt { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 12px; border: 1.5px solid #D9D3CF; background: #FFFFFF; cursor: pointer; }
.seg-opt input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); flex-shrink: 0; }
.seg-opt b { display: block; font-size: 15px; }
.seg-opt small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.seg-opt:has(input:checked) { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
#wr { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.wr-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; gap: 6px; padding: 10px; border-radius: 12px; background: var(--card); }
.wr-row input { min-height: 46px; padding: 0 12px; border-radius: 10px; border: 1.5px solid #D9D3CF; background: #FFFFFF; color: var(--ant); font: 16px var(--font); width: 100%; min-width: 0; }
.wr-row .wr-zeit, .wr-row .wr-notiz { grid-column: 1 / 3; }
.wr-row .wr-a { grid-column: 1; }
.wr-row .wr-b { grid-column: 2; }
.wr-row .icon-btn { grid-column: 3; grid-row: 1; margin: 0; align-self: center; }
#bi { display: flex; flex-direction: column; gap: 8px; }
#bi:empty { display: none; }
.bi-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) 44px; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; background: var(--card); }
.bi-item img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; background: #E9E5E2; }
.bi-item input { min-height: 46px; padding: 0 12px; border-radius: 10px; border: 1.5px solid #D9D3CF; background: #FFFFFF; color: var(--ant); font: 16px var(--font); width: 100%; min-width: 0; }
.bi-item .icon-btn { margin: 0; }
.file-btn { position: relative; cursor: pointer; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-btn:focus-within { outline: 2px solid var(--red); outline-offset: 2px; }
.linklike { appearance: none; border: 0; background: none; padding: 0; font: inherit; color: var(--red); text-decoration: underline; cursor: pointer; }
.wbf-restore { border-left: 4px solid var(--red); }
