:root {
  color-scheme: light dark;
  --sea-900: #073e47;
  --sea-700: #0d6571;
  --sea-500: #2a8891;
  --sea-100: #dceff0;
  --sand: #f3ead8;
  --sun: #e9ad55;
  --ink: #183033;
  --muted: #637578;
  --surface: #fffdf8;
  --surface-raised: #ffffff;
  --line: #d8e2e1;
  --danger: #a23d35;
  --trip-color-1: #0d6571;
  --trip-color-2: #b45309;
  --trip-color-3: #7c3aed;
  --trip-color-4: #be123c;
  --trip-color-5: #047857;
  --trip-color-6: #1d4ed8;
  --trip-color-7: #a21caf;
  --trip-color-8: #9f1239;
  --shadow: 0 18px 50px rgb(7 62 71 / 12%);
  --radius: 20px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 90% 0%, rgb(42 136 145 / 14%), transparent 28rem),
    linear-gradient(180deg, var(--surface), #f7f4ec);
  color: var(--ink);
}
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--sun) 75%, transparent);
  outline-offset: 3px;
}

.login-shell {
  position: relative;
  display: grid;
  min-height: 100vh;
  padding: 24px 24px clamp(40px, 11vh, 96px);
  overflow: hidden;
  align-items: end;
  justify-items: center;
}
.login-hero-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.login-hero-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 25%), rgb(0 0 0 / 55%));
}
.login-card {
  position: relative;
  z-index: 2;
  width: min(100%, 360px);
  padding: clamp(20px, 5.5vw, 34px);
  color: #183033;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: 0 16px 42px rgb(7 62 71 / 18%);
  -webkit-backdrop-filter: blur(11px);
  backdrop-filter: blur(11px);
}
.login-card h1 { color: #073e47; }
.login-card .eyebrow { color: #0d6571; }
.login-card .login-copy { color: #455d60; }
.login-card input { color: #183033; border-color: rgb(7 62 71 / 22%); background: rgba(255, 255, 255, 0.88); }
.brand-mark, .mini-mark {
  display: grid;
  place-items: center;
  color: white;
  background: var(--sea-700);
  font-family: Georgia, serif;
  font-weight: 700;
}
.brand-mark { width: 62px; height: 62px; margin-bottom: 28px; border-radius: 50% 50% 48% 52% / 55% 44% 56% 45%; font-size: 32px; }
.mini-mark { width: 34px; height: 34px; border-radius: 50%; font-size: 19px; }
.eyebrow { margin: 0 0 8px; color: var(--sea-700); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; color: var(--sea-900); line-height: 1.08; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 8vw, 3.5rem); font-weight: 600; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.05rem; }
.login-copy { margin: 14px 0 28px; color: var(--muted); line-height: 1.6; }
label { display: block; margin: 0 0 8px; font-size: .88rem; font-weight: 700; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--surface-raised);
}
#pin { padding: 16px; font-size: 1.5rem; letter-spacing: .28em; text-align: center; }
textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.wide { width: 100%; margin-top: 14px; }
.form-error { min-height: 1.25em; margin: 10px 0 0; color: var(--danger); font-size: .88rem; }

.primary, .secondary, .quiet-danger, .text-button, .icon-button {
  min-height: 44px;
  border-radius: 12px;
  border: 0;
  font-weight: 750;
}
.primary { padding: 11px 18px; color: white; background: var(--sea-700); box-shadow: 0 8px 20px rgb(13 101 113 / 18%); }
.primary:hover { background: var(--sea-900); }
.primary.compact, .secondary.compact { min-height: 40px; padding: 8px 14px; white-space: nowrap; }
.secondary { padding: 10px 16px; color: var(--sea-900); border: 1px solid var(--line); background: var(--surface-raised); }
.quiet-danger { padding: 10px 14px; color: var(--danger); border: 1px solid color-mix(in srgb, var(--danger) 25%, transparent); background: transparent; }
.text-button { min-height: 36px; padding: 5px 8px; color: var(--muted); background: transparent; }
.icon-button { display: inline-grid; width: 40px; min-height: 40px; padding: 0; place-items: center; color: var(--sea-700); border: 1px solid var(--line); background: var(--surface-raised); font-size: 1.05rem; }
.icon-button.danger { color: var(--danger); }
.icon-button:disabled { cursor: default; opacity: .32; }

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 10px max(18px, calc((100vw - 980px) / 2));
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(15px);
}
.wordmark { display: flex; align-items: center; gap: 9px; color: var(--sea-900); font-weight: 850; text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.role-badge { padding: 5px 9px; border-radius: 999px; color: var(--sea-900); background: var(--sea-100); font-size: .7rem; font-weight: 850; }
.role-badge.editor { color: #674211; background: #f8dfb6; }
.mode-switch { width: 142px; }
.mode-switch .segmented-control { padding: 2px; border-radius: 10px; }
.mode-switch .segmented-control button { min-height: 34px; padding: 5px 8px; border-radius: 8px; font-size: .74rem; }
.bottom-nav {
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  padding: 7px max(8px, calc((100vw - 620px) / 2)) calc(7px + env(safe-area-inset-bottom));
  border-top: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
  background: color-mix(in srgb, var(--surface-raised) 94%, transparent);
  box-shadow: 0 -8px 28px rgb(7 62 71 / 9%);
  backdrop-filter: blur(15px);
}
.bottom-nav button {
  display: grid;
  min-width: 0;
  min-height: 52px;
  padding: 4px 2px;
  place-items: center;
  gap: 2px;
  color: var(--muted);
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-size: .68rem;
  font-weight: 750;
}
.bottom-nav button.active { color: var(--sea-900); background: var(--sea-100); }
.bottom-nav svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bottom-nav span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.content-shell { width: min(100%, 900px); min-height: calc(100vh - 64px); margin: 0 auto; padding: clamp(28px, 6vw, 64px) 18px calc(94px + env(safe-area-inset-bottom)); }
.panel { animation: arrive .25s ease-out; }
@keyframes arrive { from { opacity: 0; transform: translateY(5px); } }
.start-panel { max-width: 700px; }
.gallery-intro { margin: -8px 0 24px; color: var(--muted); line-height: 1.6; }
.wohnung-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.wohnung-tile {
  min-width: 0;
  height: 180px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: var(--surface-raised);
  box-shadow: 0 8px 24px rgb(7 62 71 / 10%);
}
.wohnung-tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.wohnung-tile:hover img { transform: scale(1.025); }
.lightbox-open { overflow: hidden; }
.wohnung-lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: 64px 20px 24px;
  place-items: center;
  background: rgb(0 0 0 / 88%);
}
.wohnung-lightbox-image {
  max-width: 100%;
  max-height: calc(100vh - 88px);
  object-fit: contain;
  border-radius: 10px;
}
.wohnung-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  min-height: 44px;
  padding: 0;
  color: white;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 50%;
  background: rgb(0 0 0 / 45%);
  font-size: 1.75rem;
  line-height: 1;
}
.lead { max-width: 620px; margin: 18px 0 28px; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.address-card { display: flex; gap: 16px; align-items: center; max-width: 600px; margin: 0 0 26px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-raised); box-shadow: 0 10px 28px rgb(7 62 71 / 7%); }
.address-card div { display: grid; gap: 3px; }
.address-card strong { line-height: 1.4; }
.address-icon { display: grid; flex: 0 0 46px; height: 46px; place-items: center; border-radius: 50%; color: var(--sea-900); background: var(--sea-100); font-size: 1.5rem; }
.condition-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 700px; margin: 34px 0; }
.condition-card { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-raised); }
.condition-card h2 { margin-bottom: 16px; }
.condition-content { display: grid; gap: 14px; }
.weather-summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; }
.condition-value { color: var(--sea-900); font-family: Georgia, "Times New Roman", serif; font-size: 2rem; font-weight: 600; }
.condition-label { color: var(--muted); font-size: .88rem; }
.weather-tides-card { grid-column: 1 / -1; }
.day-list { display: grid; gap: 9px; }
.day-row { display: grid; grid-template-columns: 46px 28px 88px minmax(0, 1fr); align-items: center; gap: 8px; padding-bottom: 9px; border-bottom: 1px solid var(--line); font-size: .86rem; }
.day-row:last-child { padding-bottom: 0; border-bottom: 0; }
.day-name { font-weight: 750; }
.day-temp { color: var(--sea-900); font-weight: 750; }
.day-tides { display: flex; flex-wrap: wrap; gap: 4px 10px; justify-content: flex-end; color: var(--muted); }
.tide-chip { white-space: nowrap; }
.data-attribution { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.5; }
.data-attribution a { color: var(--sea-700); }
.latest-posts-section { max-width: 700px; margin: 38px 0; padding-top: 30px; border-top: 1px solid var(--line); }
.latest-posts-section > h2 { margin-bottom: 10px; }
.latest-post-list { display: grid; }
.latest-post-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
  width: 100%;
  padding: 9px 4px;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
}
.latest-post-row:last-child { border-bottom: 0; }
.latest-post-row:hover { background: color-mix(in srgb, var(--sea-100) 45%, transparent); }
.latest-post-marker { flex: 0 0 auto; color: var(--sea-700); font-size: .7rem; }
.latest-post-marker.review { color: #955700; }
.latest-post-marker.guestbook { color: #74408c; }
.latest-post-content {
  display: flex;
  flex: 1 1 auto;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
  overflow: hidden;
}
.latest-post-author { flex: 0 0 auto; max-width: 45%; overflow: hidden; color: var(--sea-900); font-size: .86rem; text-overflow: ellipsis; white-space: nowrap; }
.latest-post-separator { flex: 0 0 auto; color: var(--muted); }
.latest-post-excerpt { flex: 1 1 auto; min-width: 0; overflow: hidden; color: var(--muted); font-size: .84rem; text-overflow: ellipsis; white-space: nowrap; }
.latest-post-date { flex: 0 0 auto; margin-left: auto; color: var(--muted); font-size: .76rem; text-align: right; white-space: nowrap; }
.start-gallery-section { max-width: 700px; margin: 38px 0; padding-top: 30px; border-top: 1px solid var(--line); }
.start-gallery-section > h2 { margin-bottom: 16px; }
.start-feeds { max-width: 700px; margin: 38px 0; padding-top: 30px; border-top: 1px solid var(--line); }
.start-feed-section { min-width: 0; }
.start-feed-section { margin-top: 24px; }
.start-feed-section > h2 { margin-bottom: 16px; }
#inselinfos-tabs { margin-bottom: 20px; }
.segmented-control {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  width: 100%;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--sea-100) 52%, var(--surface-raised));
}
.segmented-control button {
  min-width: 0;
  min-height: 40px;
  padding: 7px 10px;
  overflow: hidden;
  color: var(--muted);
  border: 0;
  border-radius: 10px;
  background: transparent;
  font-size: .85rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.segmented-control button.active {
  color: var(--sea-900);
  background: var(--surface-raised);
  box-shadow: 0 3px 12px rgb(7 62 71 / 10%);
}
.feed-list { display: grid; gap: 11px; }
.feed-card { padding: 15px; overflow-wrap: anywhere; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-raised); }
.feed-card h3 { font-size: .98rem; line-height: 1.35; }
.feed-card h3 a { color: var(--sea-900); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.feed-card p { display: -webkit-box; margin: 8px 0 0; overflow: hidden; color: var(--muted); font-size: .86rem; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.feed-date, .event-meta, .news-meta { margin-top: 7px; color: var(--muted); font-size: .75rem; }
.event-meta, .news-meta { display: flex; flex-wrap: wrap; gap: 5px 10px; }
.event-meta span::before, .news-meta span::before { content: "·"; margin-right: 10px; }
.feed-status { margin: 11px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.45; }
.feed-more {
  justify-self: center;
  min-height: 40px;
  padding: 7px 12px;
  color: var(--sea-700);
  border: 0;
  background: transparent;
  font-size: .86rem;
  font-weight: 800;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 16px; }
.chip { min-height: 40px; padding: 7px 14px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; background: var(--surface-raised); font-size: .85rem; font-weight: 750; }
.chip.active { color: var(--sea-900); border-color: var(--sea-500); background: var(--sea-100); }
.condition-card .empty-state { padding: 16px 10px; font-size: .82rem; }
.island-links { max-width: 700px; margin: 34px 0; padding-top: 28px; border-top: 1px solid var(--line); }
.island-links h2 { margin-bottom: 14px; }
.island-link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.island-link-grid a { display: flex; justify-content: space-between; gap: 10px; min-height: 72px; padding: 15px; color: var(--sea-900); border: 1px solid var(--line); border-radius: 14px; background: var(--surface-raised); font-weight: 750; line-height: 1.35; text-decoration: none; }
.island-link-grid a:hover { border-color: var(--sea-500); }
.island-link-grid span { color: var(--sea-700); }
.muted { color: var(--muted); font-size: .82rem; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-heading h1 { font-size: clamp(1.9rem, 7vw, 3rem); }
.phase-panel { margin-top: 28px; }
.phase-panel > h2, .phase-heading h2 { margin-bottom: 20px; }
.phase-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.progress-label { flex: 0 0 auto; color: var(--muted); font-size: .84rem; font-weight: 750; }
.progress-label.prominent { padding: 8px 12px; border-radius: 999px; color: var(--sea-900); background: var(--sea-100); }
.progress-track { height: 8px; margin: -8px 0 24px; overflow: hidden; border-radius: 999px; background: var(--line); }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sea-500), var(--sea-700)); transition: width .25s; }

.check-list { display: grid; gap: 24px; margin-bottom: 20px; }
.rule-group { display: grid; gap: 10px; }
.rule-group-list { display: grid; gap: 11px; }
.location-heading { display: flex; align-items: stretch; gap: 9px; color: var(--sea-900); font-size: .92rem; font-weight: 850; letter-spacing: .01em; }
.location-accent { width: 4px; min-height: 1.15rem; border-radius: 999px; background: var(--sea-500); }
.check-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: start;
  gap: 11px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-raised);
  transition: opacity .15s, border-color .15s;
}
.check-item.non-checkable { grid-template-columns: minmax(0, 1fr) auto; }
.check-item:has(input:checked) { opacity: .6; border-color: transparent; }
.check-item:has(input:checked) .check-text { text-decoration: line-through; }
.check-item input[type="checkbox"] { width: 28px; height: 28px; margin: 0; accent-color: var(--sea-700); }
.check-text { padding-top: 2px; line-height: 1.55; overflow-wrap: anywhere; }
.rule-references {
  grid-column: 2 / -1;
  display: grid;
  gap: 7px;
  margin-top: -2px;
  padding: 12px 14px;
  border-left: 3px solid var(--sun);
  border-radius: 0 10px 10px 0;
  background: color-mix(in srgb, var(--sand) 52%, var(--surface-raised));
}
.check-item.non-checkable .rule-references { grid-column: 1 / -1; }
.rule-references strong { color: var(--sea-900); font-size: .78rem; }
.rule-references p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.5; overflow-wrap: anywhere; }
.inline-controls { display: flex; flex-wrap: wrap; gap: 5px; }
.button-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.phase-tips { display: grid; gap: 10px; margin: 28px 0 22px; padding: 18px; border: 1px solid color-mix(in srgb, var(--sun) 45%, var(--line)); border-radius: 18px; background: color-mix(in srgb, var(--sand) 55%, var(--surface)); }
.phase-tip-heading { font-size: 1rem; }
.phase-tip-card { border-color: color-mix(in srgb, var(--sun) 40%, var(--line)); }

.trip-calendar-card {
  padding: clamp(12px, 4vw, 20px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-raised);
  box-shadow: 0 10px 28px rgb(7 62 71 / 7%);
}
#panel-planung .section-heading { flex-wrap: wrap; }
#panel-planung .section-heading #add-trip-plan { white-space: nowrap; }
.trip-calendar-heading {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.trip-calendar-heading h2 { text-align: center; text-transform: capitalize; }
.trip-calendar-scroll { min-width: 0; overflow-x: auto; }
.trip-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  min-width: 294px;
}
.trip-weekday {
  padding: 4px 0 7px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 800;
  text-align: center;
}
.trip-day-spacer { min-height: 62px; }
.trip-day {
  display: grid;
  min-width: 0;
  min-height: 62px;
  padding: 6px 4px;
  align-content: space-between;
  gap: 5px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: color-mix(in srgb, var(--surface-raised) 90%, var(--sea-100));
}
.trip-day:hover { border-color: var(--sea-500); }
.trip-day.occupied { background: color-mix(in srgb, var(--sea-100) 42%, var(--surface-raised)); }
.trip-day-number { font-size: .76rem; font-weight: 800; text-align: left; }
.trip-day-markers { display: grid; gap: 3px; width: 100%; }
.trip-day-marker { display: block; width: 100%; height: 4px; border-radius: 999px; }
.trip-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 15px; }
.trip-legend-item, .trip-plan-owner { display: flex; align-items: center; gap: 7px; min-width: 0; }
.trip-legend-item { color: var(--muted); font-size: .82rem; font-weight: 700; }
.trip-legend-marker { flex: 0 0 11px; width: 11px; height: 11px; border-radius: 50%; }
.trip-plan-section { margin-top: 32px; }
.trip-plan-section > h2 { margin-bottom: 15px; }
.trip-plan-card .trip-plan-dates { margin-top: 11px; color: var(--sea-900); font-weight: 800; }
.trip-plan-card .trip-plan-note { color: var(--muted); }

.card-list { display: grid; gap: 13px; }
.category-manager { margin-bottom: 30px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: color-mix(in srgb, var(--sea-100) 34%, var(--surface-raised)); }
.category-manager .subsection-heading { align-items: flex-end; }
.category-list { display: grid; gap: 8px; }
.category-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; border-radius: 12px; background: var(--surface-raised); }
.category-row > div:first-child { display: grid; gap: 2px; min-width: 0; }
.category-row strong { overflow-wrap: anywhere; }
.tip-cluster { display: grid; gap: 12px; }
.tip-cluster + .tip-cluster { margin-top: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.cluster-heading { font-size: 1.15rem; }
.content-card { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-raised); }
.restaurant-thumb { display: block; width: 100%; height: 160px; margin: 0 0 12px; object-fit: cover; border-radius: 12px; }
.attribution { margin: 0 0 13px; color: var(--muted); font-size: .72rem; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.content-card p { margin: 8px 0 0; white-space: pre-wrap; line-height: 1.58; overflow-wrap: anywhere; }
.content-card h2 { font-size: 1.05rem; line-height: 1.4; }
.card-meta { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; color: var(--muted); font-size: .78rem; }
.category { padding: 4px 8px; border-radius: 999px; color: var(--sea-900); background: var(--sea-100); font-weight: 700; }
.info-category { display: inline-block; margin-top: 7px; font-size: .72rem; }
.phone-link { display: inline-block; margin-top: 10px; color: var(--sea-700); font-size: 1.08rem; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.review-form { display: grid; gap: 15px; margin: 16px 0 32px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-raised); }
.review-form textarea { min-height: 90px; }
.review-form .primary { justify-self: start; }
.rating-scale { display: grid; grid-template-columns: repeat(5, minmax(44px, 1fr)); gap: 8px; }
.rating-dot { min-height: 44px; color: var(--muted); border: 1px solid var(--line); border-radius: 12px; background: var(--surface-raised); font-weight: 700; }
.rating-dot.chosen { color: white; border-color: var(--sea-700); background: var(--sea-700); }
.link-button { justify-self: start; min-height: 40px; padding: 8px 2px; color: var(--sea-700); border: none; background: transparent; font-weight: 700; }
.card-open { padding: 0; text-align: left; color: var(--sea-900); border: none; background: transparent; font-size: 1.05rem; line-height: 1.4; overflow-wrap: anywhere; }
.favorite-toggle { flex-shrink: 0; padding: 0 2px; color: var(--sun); border: none; background: transparent; font-size: 1.55rem; line-height: 1; }
.content-card .rating-line { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 10px 0 0; color: var(--muted); font-size: .85rem; }
.rating-line span:first-child { color: var(--sea-900); font-weight: 700; }
.content-card .cuisine-tag { display: inline-block; margin: 10px 8px 0 0; padding: 4px 10px; border-radius: 999px; color: var(--sea-900); background: var(--sea-100); font-size: .78rem; font-weight: 700; }
.content-card .opening-status { margin: 8px 0 0; color: var(--sea-700); font-size: .85rem; font-weight: 600; }
.restaurant-thumb.hero { height: 200px; }
.discover-section { margin-top: 20px; }
#add-activity { margin: 0 0 13px; }
.content-card .place-description { margin: 10px 0 0; font-size: .92rem; }
.place-link { display: inline-block; margin-top: 10px; color: var(--sea-700); font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.review-card .card-meta strong { color: var(--ink); font-size: .92rem; }
.review-card .card-meta span { padding: 2px 8px; border-radius: 999px; color: var(--sea-900); background: var(--sea-100); font-weight: 700; }
.content-subsection + .content-subsection { margin-top: 42px; padding-top: 32px; border-top: 1px solid var(--line); }
.subsection-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.guestbook-form { display: grid; gap: 15px; margin-bottom: 32px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-raised); }
.guestbook-form textarea { min-height: 110px; }
.guestbook-form .primary { justify-self: start; }
.guestbook-name-field { max-width: 360px; }
.guestbook-card time::before { content: "·"; margin-right: 7px; }
.empty-state { padding: 28px; color: var(--muted); border: 1px dashed var(--line); border-radius: 16px; text-align: center; }
.notice { margin-bottom: 20px; padding: 13px 16px; border-radius: 12px; }
.notice.error { color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, var(--surface)); }

dialog { width: min(calc(100% - 28px), 540px); max-height: calc(100vh - 30px); padding: 0; overflow: auto; color: var(--ink); border: 1px solid var(--line); border-radius: 20px; background: var(--surface-raised); box-shadow: var(--shadow); }
dialog::backdrop { background: rgb(3 28 32 / 55%); backdrop-filter: blur(3px); }
#entry-form { padding: 22px; }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 20px; }
.toast { position: fixed; z-index: 30; right: 18px; bottom: calc(82px + env(safe-area-inset-bottom)); max-width: calc(100% - 36px); padding: 12px 16px; color: white; border-radius: 12px; background: var(--sea-900); box-shadow: var(--shadow); font-weight: 700; }

@media (max-width: 620px) {
  .site-header { align-items: flex-start; }
  .header-actions { display: grid; grid-template-columns: auto auto; justify-items: end; }
  .mode-switch { grid-column: 1 / -1; grid-row: 2; }
  .role-badge { max-width: 125px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .check-item { grid-template-columns: 32px minmax(0, 1fr); }
  .check-item.non-checkable { grid-template-columns: minmax(0, 1fr); }
  .check-item .inline-controls { grid-column: 2; }
  .check-item.non-checkable .inline-controls { grid-column: 1; }
  .section-heading { align-items: center; }
  .section-heading h1 { line-height: 1.15; }
  #panel-planung .section-heading { flex-direction: column; align-items: flex-start; gap: 12px; }
  .island-link-grid { grid-template-columns: 1fr; }
  .condition-grid { grid-template-columns: 1fr; }
  .data-attribution { grid-column: 1; }
  .bottom-nav button { font-size: .61rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .login-hero-video { display: none; }
  .login-shell { background: url("/login-hero-poster.jpg?v=3.17") center / cover no-repeat; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --sea-900: #c2edef;
    --sea-700: #58b9c1;
    --sea-500: #459ba3;
    --sea-100: #183f44;
    --ink: #e8f0ef;
    --muted: #9cacab;
    --surface: #10191a;
    --surface-raised: #182324;
    --line: #324244;
    --danger: #ffaaa2;
    --trip-color-1: #5eead4;
    --trip-color-2: #fdba74;
    --trip-color-3: #c4b5fd;
    --trip-color-4: #fda4af;
    --trip-color-5: #6ee7b7;
    --trip-color-6: #93c5fd;
    --trip-color-7: #f0abfc;
    --trip-color-8: #f9a8d4;
    --shadow: 0 18px 50px rgb(0 0 0 / 30%);
  }
  body { background: radial-gradient(circle at 90% 0%, rgb(42 136 145 / 15%), transparent 28rem), var(--surface); }
  .primary { color: #062e34; }
  .rating-dot.chosen { color: #062e34; }
  .brand-mark, .mini-mark { color: #062e34; }
  .role-badge.editor { color: #f6d396; background: #4d381c; }
  .latest-post-marker.review { color: #f6c975; }
  .latest-post-marker.guestbook { color: #dba9ef; }
}
