/* ============================================================
   SurfAtlas – Modern, mobile-first stylesheet
   Palette: deep navy, teal, sand, white
   ============================================================ */

:root {
  --c-navy:       #0a2540;
  --c-navy-900:   #061a30;
  --c-teal:       #2ec4b6;
  --c-teal-dark:  #1fa89c;
  --c-sand:       #f5ece0;
  --c-sand-2:     #e8dbc7;
  --c-white:      #ffffff;
  --c-bg:         #fbfaf7;
  --c-muted:      #5b6b80;
  --c-border:     #e3e7ee;
  --c-warn:       #e07a5f;

  --radius-sm:  8px;
  --radius:    14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 8px rgba(10,37,64,.06);
  --shadow:    0 12px 28px rgba(10,37,64,.08);
  --shadow-lg: 0 20px 60px rgba(10,37,64,.16);

  --container: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --h-header: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
/* clip, not hidden: hidden turns body into a scroll box and breaks every position: sticky */
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--c-navy);
  background: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--c-teal-dark); text-decoration: none; }
a:hover { color: var(--c-navy); }

h1, h2, h3, h4 { line-height: 1.18; color: var(--c-navy); margin-top: 0; }
h1 { font-size: clamp(2rem, 4vw + .5rem, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 2vw + .5rem, 2.2rem); font-weight: 700; letter-spacing: -.015em; }
h3 { font-size: 1.18rem; font-weight: 700; }

p { margin: 0 0 1rem; }
.muted { color: var(--c-muted); }
.small { font-size: .85rem; }
.lead  { font-size: 1.1rem; color: var(--c-muted); max-width: 70ch; }
.text-center { text-align: center; }

.container {
  width: 100%; max-width: var(--container);
  margin-inline: auto; padding-inline: 20px;
}

.section     { padding: 64px 0; }
.section-alt { background: var(--c-white); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }

.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; margin-bottom: 24px;
}
.link-arrow {
  font-weight: 600; color: var(--c-navy);
}
.link-arrow::after { content: " →"; }

/* ========== Header ========== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--h-header);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--c-navy); font-weight: 800; letter-spacing: -.01em;
  font-size: 1.1rem;
}
.brand:hover { color: var(--c-navy); }
.brand-logo { width: 36px; height: 36px; }

.nav-primary ul {
  list-style: none; display: flex; gap: 22px; margin: 0; padding: 0;
  align-items: center;
}
.nav-primary a {
  color: var(--c-navy); font-weight: 500; padding: 8px 2px;
  position: relative;
}
.nav-primary a:not(.nav-cta):hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px;
  height: 2px; background: var(--c-teal);
}
.nav-cta {
  background: var(--c-navy); color: #fff !important;
  padding: 10px 18px !important; border-radius: 999px;
  transition: background .2s;
}
.nav-cta:hover { background: var(--c-teal-dark); }

.lang-switch a {
  font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  padding: 6px 10px !important; border-radius: 999px;
  border: 1px solid var(--c-border); color: var(--c-muted) !important;
}
.lang-switch a:hover { background: var(--c-sand); color: var(--c-navy) !important; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 10px; gap: 5px; flex-direction: column;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--c-navy); display: block;
  transition: transform .2s;
}

/* ========== Hero ========== */
.hero {
  position: relative; overflow: hidden;
  min-height: 80vh; padding: 120px 0 80px;
  color: #fff;
  display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; display: block; background: #1b6f8a; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 28% 40%; display: block; }
/* Lesbarkeit: links dunkler (Text), rechts das Bild frei; unten leicht dunkler */
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,37,64,.78) 0%, rgba(10,37,64,.45) 45%, rgba(10,37,64,.08) 80%),
              linear-gradient(0deg, rgba(10,37,64,.35) 0%, rgba(10,37,64,0) 40%); }
@media (max-width: 900px) {
  .hero-bg img { object-position: 60% 40%; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(10,37,64,.55) 0%, rgba(10,37,64,.6) 55%, rgba(10,37,64,.75) 100%); }
}
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block; background: rgba(255,255,255,.15);
  padding: 8px 14px; border-radius: 999px;
  font-size: .85rem; letter-spacing: .02em; margin-bottom: 22px;
  border: 1px solid rgba(255,255,255,.2);
}
.hero-title { color: #fff; margin: 0 0 18px; }
.accent { color: #ffd3a5; }
.hero-sub { font-size: 1.15rem; max-width: 60ch; opacity: .95; }

.hero-search {
  position: relative; display: flex; gap: 10px; max-width: 620px;
  background: #fff; padding: 10px; border-radius: 999px;
  box-shadow: var(--shadow-lg); margin-top: 30px;
}
.hero-search input {
  flex: 1; border: 0; font-size: 1rem; padding: 12px 18px; border-radius: 999px;
  background: transparent; color: var(--c-navy); outline: none;
}
.hero-search--inline { box-shadow: var(--shadow-sm); max-width: 560px; margin-top: 20px; }

.search-suggestions {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.search-suggestions a {
  display: block; padding: 12px 18px; color: var(--c-navy);
  border-bottom: 1px solid var(--c-border);
}
.search-suggestions a:hover { background: var(--c-sand); }
.search-suggestions a:last-child { border-bottom: 0; }

/* Header: "find a spot" search panel */
.nav-search { position: relative; }
.nav-search-panel {
  position: absolute; right: 0; top: calc(100% + 12px); z-index: 1300;
  width: min(380px, calc(100vw - 32px)); margin: 0; padding: 6px; border: 1px solid var(--c-border);
}
.nav-search-panel[hidden] { display: none; }
.nav-search-panel input { padding: 10px 14px; min-width: 0; }
.nav-search-panel .btn { padding: 10px 16px; }
@media (max-width: 900px) {
  .nav-search { width: 100%; }
  /* .nav-search prefix: must beat the later phone rule for .hero-search (column layout) */
  .nav-search .nav-search-panel { position: static; width: 100%; margin-top: 8px; box-shadow: none; flex-direction: row; border-radius: 999px; padding: 6px; }
  .nav-search .nav-search-panel .btn { width: auto; padding: 10px 16px; border-radius: 999px; }
}

.hero-actions { margin-top: 26px; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; border: 0; cursor: pointer; font-size: .98rem;
  transition: transform .15s, background .15s, color .15s;
}
.btn-primary { background: var(--c-teal); color: #fff; }
.btn-primary:hover { background: var(--c-teal-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.25); color: #fff; }
.btn-block { width: 100%; }

/* ========== Cards ========== */
.cards-grid {
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}
.card {
  background: #fff; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media {
  display: block; position: relative; aspect-ratio: 16/10; overflow: hidden;
  background: var(--c-sand);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(10,37,64,.85); color: #fff;
  font-size: .75rem; padding: 5px 10px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.card-body { padding: 18px 20px 22px; }
.card-title { font-size: 1.1rem; margin: 0 0 4px; }
.card-title a { color: var(--c-navy); }
.card-meta { color: var(--c-muted); font-size: .88rem; margin: 0 0 10px; }
.card-desc { color: var(--c-muted); font-size: .92rem; margin: 0; }

/* ========== Tiles (spots & schools without photos) ========== */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tiles-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.tile {
  --accent: var(--c-teal);
  position: relative; display: flex; flex-direction: column; gap: 12px;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 20px 20px 18px; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.tile::before {                     /* sport colour bar, like a tab on top */
  content: ""; position: absolute; left: 16px; right: 16px; top: -1px; height: 4px;
  border-radius: 0 0 4px 4px; background: var(--accent);
}
.tile:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #d3dae5; }
.tile--windsurf { --accent: #3b82c4; }
.tile--wingfoil { --accent: #f2a830; }
.tile--wave     { --accent: #0a2540; }
.tile--sup      { --accent: #8bb7c9; }
.tile-head { display: flex; align-items: flex-start; gap: 12px; }
.tile-head-text { flex: 1; min-width: 0; }
.tile-title { font-size: 1.12rem; line-height: 1.3; margin: 0; overflow-wrap: anywhere; }
.tile-title a { color: var(--c-navy); }
.tile-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }   /* whole tile clickable */
.tile-place { margin: 4px 0 0; color: var(--c-muted); font-size: .86rem; }
.tile-place::before { content: "📍"; font-size: .8em; margin-right: 4px; filter: grayscale(1) opacity(.6); }
.tile-thumb { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; }
.tile .fav-btn.tile-fav {
  position: relative; z-index: 2; top: auto; right: auto; flex: 0 0 auto;
  width: 36px; height: 36px; font-size: 1.05rem; box-shadow: none; border: 1px solid var(--c-border); background: #fff;
}
.tile-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.tchip { font-size: .76rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #e7f7f5; color: #12756c; }
.tchip--windsurf { background: #e6f0fa; color: #245f96; }
.tchip--wingfoil { background: #fdf1dc; color: #95600f; }
.tchip--wave     { background: #e6eaf0; color: var(--c-navy); }
.tchip--sup      { background: #eaf3f6; color: #3d6d80; }
.tchip--plain    { background: var(--c-sand); color: var(--c-navy); font-weight: 500; }
.tile-facts { display: grid; gap: 6px; margin: 0; font-size: .88rem; }
.tile-facts div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; }
.tile-facts dt { color: var(--c-muted); }
.tile-facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.tile-now { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .85rem; color: var(--c-muted); }
.tile-now-kn { font-weight: 700; color: #0a2540; padding: 2px 8px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.tile-now-arrow { font-style: normal; font-weight: 700; display: inline-block; color: var(--c-navy); }
.tile-now.is-go { color: var(--c-teal-dark); }
.tile-now.is-go b { color: var(--c-teal-dark); }
.tile-btn {
  position: relative; z-index: 1; margin-top: auto;
  display: flex; justify-content: center; gap: 6px;
  background: var(--c-navy); color: #fff; padding: 11px 18px;
}
.tile:hover .tile-btn, .tile-btn:hover { background: var(--c-teal-dark); color: #fff; }

/* Group heading per country */
.tile-group { margin: 36px 0 0; }
.tile-group[hidden] { display: none; }
.tile-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.tile-group-head h2 { margin: 0; font-size: 1.4rem; }
.tile-group-n { font-size: .8rem; font-weight: 600; color: var(--c-muted); background: var(--c-sand); border-radius: 999px; padding: 2px 9px; vertical-align: middle; }
.tile[hidden] { display: none; }

/* Filter bar */
.tile-filter {
  position: sticky; top: calc(var(--h-header) + 8px); z-index: 20;
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 10px;
  margin: 24px 0 8px; padding: 14px; border-radius: var(--radius);
  background: rgba(255,255,255,.96); border: 1px solid var(--c-border); box-shadow: var(--shadow-sm);
  backdrop-filter: blur(6px);
}
.tile-filter input[type=search], .tile-filter select {
  width: 100%; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--c-border);
  background: #fff; font: inherit; font-size: .95rem; color: var(--c-navy);
}
.tile-filter input[type=search] { padding-left: 38px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235b6b80' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 4 4'/%3E%3C/svg%3E") 13px center no-repeat; }
.tf-chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.tf-chip { cursor: pointer; }
.tf-chip input { position: absolute; opacity: 0; pointer-events: none; }
.tf-chip span { display: inline-block; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--c-border); font-size: .86rem; font-weight: 500; background: #fff; }
.tf-chip input:checked + span { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }
.tf-chip input:focus-visible + span { outline: 2px solid var(--c-teal); outline-offset: 2px; }
.tf-chip--now span { color: var(--c-teal-dark); border-color: #b5e6e0; }
.tf-chip--now input:checked + span { background: var(--c-teal-dark); border-color: var(--c-teal-dark); color: #fff; }
.tf-count { grid-column: 1 / -1; margin: 0; font-size: .82rem; color: var(--c-muted); display: flex; gap: 12px; align-items: center; }
.tf-reset { border: 0; background: none; color: var(--c-teal-dark); font: inherit; font-weight: 600; cursor: pointer; padding: 0; }
@media (max-width: 640px) {
  .tile-filter { grid-template-columns: 1fr; position: static; padding: 10px; gap: 8px; }   /* sticky would eat the phone screen */
  .tf-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -10px; padding: 0 10px 2px; scrollbar-width: none; }
  .tf-chip span { white-space: nowrap; }
  .tiles-grid { grid-template-columns: 1fr; gap: 12px; }
  .tile { padding: 16px; gap: 10px; }
  .tile-group { margin-top: 28px; }
}

/* ========== Features ========== */
.features-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.feature {
  background: #fff; border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
}
.feature-icon {
  font-size: 2rem; display: inline-block; margin-bottom: 10px;
}

/* ========== Country chips ========== */
.country-grid {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0;
}
.country-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--c-border);
  color: var(--c-navy); font-weight: 500; font-size: .95rem;
  transition: border-color .15s, background .15s;
  cursor: pointer;
}
.country-chip:hover { border-color: var(--c-teal); background: var(--c-sand); color: var(--c-navy); }
.country-chip .iso {
  display: inline-block; min-width: 28px; text-align: center;
  font-size: .7rem; font-weight: 800; letter-spacing: .04em;
  background: var(--c-navy); color: #fff; padding: 3px 6px; border-radius: 6px;
}

/* ========== Breadcrumb ========== */
.breadcrumb ol {
  list-style: none; padding: 0; margin: 0 0 14px;
  display: flex; flex-wrap: wrap; gap: 6px;
  font-size: .85rem; color: var(--c-muted);
}
.breadcrumb li + li::before { content: "›"; margin-right: 6px; opacity: .5; }
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-navy); }

/* ========== Map ========== */
.map-hero { padding: 36px 20px 12px; }
.map-wrap {
  display: grid; gap: 16px; padding: 0 20px 40px;
  grid-template-columns: 260px 1fr;
  max-width: var(--container); margin-inline: auto;
}
.map-filters {
  background: #fff; border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
  align-self: start; position: sticky; top: calc(var(--h-header) + 16px);
}
.map-filters details { margin: 6px 0; }
.map-filters summary { font-weight: 600; cursor: pointer; padding: 6px 0; }
.map-filters label {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0; font-size: .95rem; color: var(--c-navy);
  cursor: pointer;
}
.chip {
  display: inline-block; margin: 4px 6px 0 0;
  padding: 6px 12px; border-radius: 999px; background: var(--c-sand);
  border: 0; cursor: pointer; font-size: .85rem;
}
.chip:hover { background: var(--c-sand-2); }

.map-canvas {
  height: calc(100vh - var(--h-header) - 100px);
  min-height: 520px;
  border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
  z-index: 1;
}
.map-canvas--small { height: 360px; min-height: 360px; }
.map-canvas--home {
  height: 520px; min-height: 380px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.leaflet-popup-content { margin: 12px 14px; font-family: var(--font); }
.popup-title { font-weight: 700; margin: 0 0 4px; color: var(--c-navy); }
.popup-sub { color: var(--c-muted); font-size: .85rem; margin: 0 0 8px; }
.popup-link {
  display: inline-block; margin-top: 4px; font-weight: 600;
  color: var(--c-teal-dark);
}

/* ========== Spot detail ========== */
.spot-hero {
  position: relative; min-height: 36vh; max-height: 460px;
  overflow: hidden; color: #fff;
}
.spot-hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.spot-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,37,64,.85), rgba(10,37,64,.1));
}
.spot-hero-content {
  position: relative; padding: 90px 20px 28px;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: inherit;
}
.spot-hero-content h1 {
  color: #fff; margin-bottom: 6px;
  font-size: clamp(1.6rem, 2.4vw + .6rem, 2.4rem);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  overflow-wrap: anywhere;
}
.spot-hero-sub { color: rgba(255,255,255,.85); font-size: 1rem; margin: 0; }
.spot-hero .breadcrumb ol,
.spot-hero .breadcrumb a { color: rgba(255,255,255,.8); }

.spot-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 370px;   /* room for the forecast list */
  gap: 40px; padding: 48px 20px;
}
.spot-main, .spot-aside { min-width: 0; }
.spot-section { margin-bottom: 40px; }
.spot-section h2 { margin-bottom: 12px; }
.spot-section p { overflow-wrap: anywhere; }
.spot-warning { background: #fff3ee; border-left: 4px solid var(--c-warn); padding: 16px 20px; border-radius: var(--radius-sm); }

/* Spot hero with map (no photo yet) */
.spot-hero-map { position: absolute; inset: 0; z-index: 0; background: #e9eef2; }
.spot-hero--map::before {
  z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(10,37,64,.88) 0%, rgba(10,37,64,.55) 32%, rgba(10,37,64,0) 62%);
}
.spot-hero--map .spot-hero-content { z-index: 2; pointer-events: none; }
.spot-hero--map .spot-hero-content a, .spot-hero--map .spot-hero-content button { pointer-events: auto; }
.spot-hero.spot-hero--map { min-height: max(36vh, 320px); }

.spot-hero--map .leaflet-control-attribution { font-size: 10px; }

/* Spot page layout: overview + jump tabs on top, forecast beside (desktop) or
   right after the overview (phone) – the wind is what you check at the spot. */
.spot-grid { grid-template-areas: "over aside" "tabs aside" "main aside"; grid-template-rows: auto auto 1fr; row-gap: 0; }
.spot-grid > .spot-overview { grid-area: over; }
.spot-grid > .spot-tabs { grid-area: tabs; }
.spot-grid > .spot-main { grid-area: main; }
.spot-grid > .spot-aside { grid-area: aside; }
.spot-tabs { display: flex; gap: 4px; margin: 0 0 28px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--c-border); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.spot-tabs a { padding: 7px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--c-navy); white-space: nowrap; }
.spot-tabs a:hover { background: var(--c-sand); }
.spot-tabs a.is-active { background: var(--c-navy); color: #fff; }
.spot-section, #forecast { scroll-margin-top: calc(var(--h-header) + 64px); }
/* Desktop: the jump bar shares the main column's grid area, so it stays in view
   (sticky) while that column scrolls; the column leaves room for it on top. */
@media (min-width: 901px) {
  .spot-grid > .spot-tabs { grid-area: main; align-self: start; position: sticky; top: calc(var(--h-header) + 10px); z-index: 30; margin: 0; box-shadow: var(--shadow-sm); }
  .spot-grid > .spot-main { padding-top: 76px; }
}
@media (max-width: 900px) {
  .spot-grid { display: flex; flex-direction: column; gap: 0; padding-top: 16px; }
  .spot-aside { display: contents; }
  .spot-grid > .spot-overview { order: 1; margin: 0 -16px 12px; padding: 0 16px 2px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .spot-overview li { white-space: nowrap; flex: 0 0 auto; }
  .spot-tabs a { padding: 7px 11px; }
  .spot-grid > .spot-tabs { order: 2; position: sticky; top: calc(var(--h-header) + 6px); z-index: 30; margin: 0 0 16px; box-shadow: var(--shadow-sm); }
  .spot-aside > .forecast-card { order: 3; margin-bottom: 28px; }
  .spot-grid > .spot-main { order: 4; }
  .spot-aside > .fact-card { order: 5; margin-bottom: 20px; }
  .spot-aside > .nearby { order: 6; }
  .spot-hero.spot-hero--map { min-height: 260px; }
  .forecast-card { padding: 18px 14px; }
}

/* Spot overview chips */
.spot-overview { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; }
.spot-overview li {
  display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 12px;
  border: 1px solid var(--c-border); border-radius: 999px; background: #fff; font-size: .9rem; font-weight: 500;
}
.spot-overview li span { color: var(--c-muted); font-size: .78rem; font-weight: 400; }
.spot-overview li.spot-overview-now span { color: inherit; font-size: .9rem; font-weight: 500; }
.spot-overview li.spot-overview-now.is-go { background: var(--c-teal-dark); border-color: var(--c-teal-dark); color: #fff; }

/* Disclaimer + suggest a change */
.spot-disclaimer { font-size: .85rem; color: var(--c-muted); border-left: 3px solid var(--c-border); padding: 4px 0 4px 12px; margin: -16px 0 40px; }
.spot-suggest { margin: 0 0 40px; }
.spot-suggest > summary { cursor: pointer; font-weight: 600; color: var(--c-navy); padding: 8px 0; }
.spot-suggest > summary:hover { color: var(--c-teal-dark); }
.spot-suggest .comment-form { margin-top: 8px; }
.comment-form select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  font-size: 1rem; font-family: inherit; background: var(--c-bg); color: var(--c-navy);
}

/* Map page: full-width map, filters as overlay panel */
.map-full { position: relative; border-top: 1px solid var(--c-border); }
.map-canvas.map-canvas--full {
  height: calc(100vh - var(--h-header) - 40px); min-height: 520px;
  border-radius: 0; border: 0; box-shadow: none;
}
.map-full .map-filters {
  position: absolute; z-index: 1100; top: 60px; right: 12px; width: 300px;
  max-height: calc(100% - 84px); overflow-y: auto; box-shadow: var(--shadow-lg);
}
.map-full .map-filters[hidden] { display: none; }
.map-filters-close {
  position: sticky; top: 0; float: right; margin: -6px -6px 0 0; width: 32px; height: 32px;
  border: 0; border-radius: 50%; background: var(--c-bg); color: var(--c-navy); font-size: 1.3rem; line-height: 1; cursor: pointer;
}
.map-ctl { display: flex; gap: 8px; }
.map-ctl-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--c-border); background: #fff; color: var(--c-navy);
  font: 600 .9rem var(--font); cursor: pointer; box-shadow: var(--shadow-sm);
}
.map-ctl-btn:hover { border-color: var(--c-teal); }
.map-ctl-btn[aria-pressed="true"], .map-ctl-btn[aria-expanded="true"] { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }
.map-legend {
  background: rgba(255,255,255,.94); border-radius: var(--radius-sm); padding: 6px 8px;
  box-shadow: var(--shadow-sm); font: 500 11px var(--font); color: var(--c-navy);
}
.map-legend[hidden] { display: none; }
.map-legend-bar { display: flex; border-radius: 4px; overflow: hidden; }
.map-legend-bar span { min-width: 24px; padding: 2px 0; text-align: center; color: #0a2540; font-weight: 600; }
.map-legend-txt { margin-top: 3px; color: var(--c-muted); }
@media (max-width: 640px) {
  /* minus the tab bar at the bottom (64 px + safe area); dvh: without the browser's address bar */
  .map-canvas.map-canvas--full { height: calc(100vh - var(--h-header) - 64px - env(safe-area-inset-bottom)); min-height: 420px; }
  @supports (height: 100dvh) { .map-canvas.map-canvas--full { height: calc(100dvh - var(--h-header) - 64px - env(safe-area-inset-bottom)); } }
  .map-full .map-filters { top: auto; bottom: 0; right: 0; left: 0; width: auto; max-height: 70%;
    border-radius: var(--radius) var(--radius) 0 0; }
  .map-legend-bar span { min-width: 18px; font-size: 10px; }
  .map-full .leaflet-bottom.leaflet-left .map-legend { margin-bottom: 26px; }
}

/* Map page: wind filters */
.map-wind-note { margin: 2px 0 8px; }
.map-dirs { margin-top: 6px; }
.map-dirs > span { display: block; margin-bottom: 2px; }
.map-dirs .chip { min-width: 2.6em; text-align: center; }
.map-dirs .chip[aria-pressed="true"] { background: var(--c-teal-dark); color: #fff; }

/* Kite calculator */
.kc-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; margin: 8px 0 40px; }
.kc-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.kc-field { display: block; margin: 0 0 18px; border: 0; padding: 0; }
.kc-field > span, .kc-field legend { display: flex; justify-content: space-between; font-weight: 600; color: var(--c-navy); margin-bottom: 6px; }
.kc-field > span b { font-weight: 700; color: var(--c-teal-dark); font-variant-numeric: tabular-nums; }
.kc-field output { font-variant-numeric: tabular-nums; color: var(--c-teal-dark); }
.kc-field input[type=range] { width: 100%; accent-color: var(--c-teal-dark); }
.kc-boards { display: flex; flex-wrap: wrap; gap: 8px; }
.kc-boards legend { width: 100%; }
.kc-boards label { cursor: pointer; }
.kc-boards input { position: absolute; opacity: 0; }
.kc-boards span { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--c-sand); font-size: .9rem; }
.kc-boards input:checked + span { background: var(--c-navy); color: #fff; }
.kc-boards input:focus-visible + span { outline: 2px solid var(--c-teal); outline-offset: 2px; }
.kc-result { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--c-navy); color: #fff; }
.kc-result-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.7); }
.kc-result strong { font-size: 2.4rem; line-height: 1.1; }
.kc-result-note:empty { display: none; }
.kc-result-note { color: #ffd3a5; font-size: .9rem; }
.kc-quiver { font-size: .92rem; color: rgba(255,255,255,.85); }
.kc-table-card h2 { margin-top: 0; font-size: 1.2rem; }
.kc-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.kc-table th, .kc-table td { padding: 7px 10px; border-bottom: 1px solid var(--c-border); text-align: left; }
.kc-table td { text-align: right; font-weight: 600; }
.kc-table tr.is-current { background: rgba(46,196,182,.14); }
.kc-text { max-width: 760px; }
@media (max-width: 800px) { .kc-grid { grid-template-columns: 1fr; } }

/* Spot FAQ */
.spot-faq h3 { font-size: 1.02rem; margin: 18px 0 4px; }
.spot-faq p { margin: 0; }

/* Country page: regions */
/* Country page: region overview cards + sticky region bar */
.region-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 20px 0 18px; }
.region-card { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--c-border); color: var(--c-navy); box-shadow: var(--shadow-sm); transition: border-color .15s, transform .15s; }
.region-card:hover { border-color: var(--c-teal); color: var(--c-navy); transform: translateY(-2px); }
.region-card strong { font-size: 1.15rem; }
.region-card-n { font-size: 1.6rem; font-weight: 800; color: var(--c-teal-dark); line-height: 1; }
.region-card-n small { font-size: .8rem; font-weight: 600; color: var(--c-muted); }
.region-card-text { font-size: .88rem; color: var(--c-muted); line-height: 1.45; }
.region-card-sports { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.region-nav { position: sticky; top: calc(var(--h-header) + 8px); z-index: 20; display: flex; gap: 4px; width: max-content; max-width: 100%;
  overflow-x: auto; scrollbar-width: none; margin: 0 0 28px; padding: 4px; border-radius: 999px; background: #fff;
  border: 1px solid var(--c-border); box-shadow: var(--shadow-sm); }
.region-nav a { padding: 7px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--c-navy); white-space: nowrap; }
.region-nav a:hover { background: var(--c-sand); }
.region-nav a span { color: var(--c-muted); font-weight: 500; margin-left: 2px; }
.region-intro { max-width: 72ch; margin: 0 0 20px; color: var(--c-muted); font-size: 1.02rem; line-height: 1.6; }
details.region-intro summary { cursor: pointer; list-style: none; }
details.region-intro summary::-webkit-details-marker { display: none; }
.region-intro-more { color: var(--c-teal-dark); font-weight: 600; white-space: nowrap; }
details.region-intro[open] .region-intro-more { display: none; }
details.region-intro p { margin: 6px 0 0; }
.region-block { margin-bottom: 48px; scroll-margin-top: calc(var(--h-header) + 16px); }
.region-block > h2 { margin-bottom: 8px; }
.region-block > .lead { max-width: 72ch; margin-bottom: 20px; }

/* Monthly wind statistics */
.wind-table-wrap { overflow-x: auto; margin: 4px 0 10px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: #fff; }
.wind-table { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.wind-table th, .wind-table td { padding: 7px 10px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--c-border); }
.wind-table thead th { font-size: .78rem; font-weight: 600; color: var(--c-muted); background: var(--c-bg); }
.wind-table tbody tr:last-child th, .wind-table tbody tr:last-child td { border-bottom: 0; }
.wind-table th:first-child { text-align: left; font-weight: 500; }
.wind-table .wind-col-days { width: 45%; text-align: left; }
.wind-days { display: flex; align-items: center; gap: 8px; }
.wind-bar { flex: 1; height: 8px; border-radius: 4px; background: var(--c-border); overflow: hidden; min-width: 40px; }
.wind-bar span { display: block; height: 100%; background: var(--c-muted); border-radius: 4px; }
.wind-table tr.is-season .wind-bar span { background: var(--c-teal-dark); }
.wind-table tr.is-season th:first-child { font-weight: 700; }
.wind-pct { min-width: 3.2em; text-align: right; }
@media (max-width: 520px) {
  .wind-table { font-size: .84rem; }
  .wind-table th, .wind-table td { padding: 6px 6px; }
  .wind-table .wind-col-days { width: auto; }
}

.gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.gallery img { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); }

.fact-card {
  background: #fff; border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
  position: sticky; top: calc(var(--h-header) + 16px);
}
.fact-card h3 { margin-top: 0; }
.fact-card dl {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 0 0 16px;
}
.fact-card dt { color: var(--c-muted); font-size: .82rem; min-width: 0; overflow-wrap: anywhere; }
.fact-card dd { margin: 0; font-weight: 500; min-width: 0; overflow-wrap: anywhere; }

/* Favorite heart button */
.fav-btn {
  position: absolute; top: 12px; right: 12px;
  width: 40px; height: 40px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: rgba(255,255,255,.92); color: #aab3c3;
  font-size: 1.2rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(10,37,64,.15);
  transition: transform .15s, color .15s, background .15s;
}
.fav-btn:hover { transform: scale(1.08); color: #e07a5f; }
.fav-btn.is-on { color: #e07a5f; background: #fff; }
.fav-btn.is-on:hover { color: #c8644a; }

.fav-btn--lg {
  position: static; width: 44px; height: 44px; font-size: 1.4rem;
  margin-left: 0; flex: 0 0 auto;
  background: rgba(255,255,255,.15); color: rgba(255,255,255,.9);
  box-shadow: none; border: 1px solid rgba(255,255,255,.35);
}
.fav-btn--lg:hover { background: rgba(255,255,255,.25); color: #fff; }
.fav-btn--lg.is-on { background: #fff; color: #e07a5f; border-color: #fff; }

.nav-fav {
  display: inline-flex !important; align-items: center; gap: 4px;
  color: #e07a5f !important; font-size: 1.05rem;
}
.fav-count {
  font-size: .72rem; font-weight: 700;
  background: #e07a5f; color: #fff;
  padding: 2px 7px; border-radius: 999px; min-width: 18px;
  display: inline-block; text-align: center;
}
.fav-count[hidden] { display: none; }

.empty { text-align: center; padding: 48px 20px; color: var(--c-muted); }

/* Forecast widget */
.forecast-card {
  background: linear-gradient(160deg, var(--c-navy) 0%, #0f3558 100%);
  color: #fff; border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.forecast-card h3 { color: #fff; margin: 0 0 14px; font-size: 1.05rem; letter-spacing: .02em; }
.forecast-card a { color: #ffd3a5; }
.forecast-card .muted { color: rgba(255,255,255,.65); }
.fc-loading { padding: 10px 0; color: rgba(255,255,255,.7); font-size: .9rem; }
.fc-current {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; padding: 10px 0 14px; border-bottom: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}
.fc-cur-wind { display: flex; align-items: center; gap: 12px; }
.fc-cur-wind strong { font-size: 1.6rem; display: block; }
.fc-cur-wind .small, .fc-cur-temp .small { display: block; }
.fc-cur-temp { text-align: right; font-size: 1.2rem; font-weight: 700; }
.fc-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--c-teal); color: #fff; font-size: 1.2rem; font-weight: 700;
  transition: transform .3s;
}
/* Now: suits the spot? */
.fc-now-fit { flex-basis: 100%; margin-top: -4px; font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.65); }
.fc-now-fit .is-go { display: inline-block; color: #0a2540; background: #2ec4b6; border-radius: 999px; padding: 2px 10px; }

/* Sea: waves + next tide turns */
.fc-sea { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .9rem; }
.fc-sea strong { display: block; font-size: 1rem; }
.fc-sea .small { display: block; }
.fc-sea-tides { display: flex !important; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-weight: 600; }
.fc-label { display: block; color: rgba(255,255,255,.6); font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.fc-tide-badge {
  display: inline-block; padding: 1px 6px; border-radius: 5px;
  font-size: .68rem; font-weight: 800; letter-spacing: .04em; line-height: 1.4;
}
.fc-tide-badge.is-h { background: #7cc6f2; color: #0a2540; }
.fc-tide-badge.is-l { background: rgba(255,211,165,.85); color: #0a2540; }

/* Day strip: tap a day to show its hours */
.fc-days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0 0 10px; }
.fc-dbtn {
  display: flex; flex-direction: column; align-items: stretch; gap: 5px; min-width: 0;
  padding: 8px 6px 7px; border-radius: 10px; cursor: pointer; font: inherit; text-align: center;
  background: rgba(255,255,255,.05); border: 1.5px solid rgba(255,255,255,.12); color: #fff;
}
.fc-dbtn:hover { border-color: rgba(255,255,255,.35); }
.fc-dbtn.is-active { background: rgba(255,255,255,.14); border-color: #fff; }
.fc-d-name { font-size: .78rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-d-bar { display: flex; height: 8px; border-radius: 3px; overflow: hidden; }
.fc-d-bar i { flex: 1; opacity: .55; }
.fc-d-bar i.is-fit { opacity: 1; box-shadow: inset 0 -3px 0 #2ec4b6; }
.fc-d-bar i.is-past { opacity: .15; }
.fc-d-bar i.is-dark { opacity: .2; background-image: repeating-linear-gradient(135deg, rgba(10,37,64,.55) 0 2px, transparent 2px 4px) !important; }
.fc-d-sun { font-size: .62rem; letter-spacing: -.01em; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-d-max { font-size: .7rem; color: rgba(255,255,255,.75); white-space: nowrap; }
.fc-d-max b { display: inline-block; min-width: 24px; padding: 0 3px; border-radius: 4px; font-size: .78rem; }
.fc-d-fit { font-size: .66rem; font-weight: 700; color: rgba(255,255,255,.5); white-space: nowrap; }
.fc-dbtn.has-fit .fc-d-fit { color: #2ec4b6; }

/* Resolution + kite settings */
.fc-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 10px; }
.fc-res { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.08); }
.fc-res button { border: 0; cursor: pointer; font: inherit; font-size: .78rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: none; color: rgba(255,255,255,.75); }
.fc-res button.is-active { background: #2ec4b6; color: #0a2540; }
/* Weather models: choice + Windguru-style comparison */
.fc-models { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 8px; }
.fc-model-chips { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 3px; border-radius: 12px; background: rgba(255,255,255,.08); }
.fc-model-chips button { border: 0; cursor: pointer; font: inherit; font-size: .76rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: none; color: rgba(255,255,255,.78); }
.fc-model-chips button.is-active { background: #2ec4b6; color: #0a2540; }
.fc-model-chips button:disabled { opacity: .45; cursor: wait; }
.fc-cmp-btn { border: 1px solid rgba(255,255,255,.3); background: none; color: #fff; font: inherit; font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; cursor: pointer; }
.fc-cmp-btn.is-active { background: #fff; color: #0a2540; }
.fc-model-hint { flex-basis: 100%; color: rgba(255,255,255,.65) !important; }
.fc-cmp { margin: 0 0 12px; }
.fc-cmp-sum { margin: 0 0 6px; font-weight: 700; font-size: .9rem; color: #7ee3d8; }
.fc-cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 10px; }
.fc-cmp-t { border-collapse: separate; border-spacing: 2px; font-size: .74rem; min-width: 100%; }
.fc-cmp-t th { position: sticky; left: 0; z-index: 1; background: #0e2f4f; color: rgba(255,255,255,.85); text-align: left; padding: 3px 6px; font-weight: 700; white-space: nowrap; }
.fc-cmp-t thead th { position: static; text-align: center; background: none; color: rgba(255,255,255,.6); font-weight: 600; }
.fc-cmp-t thead th:first-child { position: sticky; left: 0; background: #0e2f4f; }
.fc-cmp-t td { min-width: 34px; text-align: center; padding: 2px 1px; border-radius: 5px; line-height: 1.05; vertical-align: middle; }
.fc-cmp-t td b { display: block; font-size: .82rem; }
.fc-cmp-t td small { display: block; font-size: .62rem; opacity: .85; }
.fc-cmp-t td i { display: inline-block; font-style: normal; font-size: .7rem; font-weight: 700; }
.fc-cmp-t td.fc-c-na { background: rgba(255,255,255,.05); color: rgba(255,255,255,.4); }
.fc-c-agree td { font-weight: 700; font-size: .7rem; color: #0a2540; }
.fc-c-agree td.is-all { background: #2ec4b6; }
.fc-c-agree td.is-most { background: #8fe0d6; }
.fc-c-agree td.is-some { background: rgba(255,255,255,.25); color: #fff; }
.fc-c-agree td.is-none, .fc-c-agree td.is-na { background: rgba(255,255,255,.06); color: rgba(255,255,255,.45); }
.fc-c-spread td { color: rgba(255,255,255,.6); font-size: .68rem; }

/* High/low water between the list rows */
.fc-tide-row { display: flex; align-items: center; gap: 8px; padding: 3px 6px; font-size: .78rem; font-weight: 600; color: #fff;
  border-top: 1px dashed rgba(124,198,242,.5); }
.fc-tide-row.is-l { border-top-color: rgba(255,211,165,.5); }
.fc-tide-row .muted { font-weight: 400; }
.fc-sun-row { display: flex; align-items: center; gap: 8px; padding: 3px 6px; font-size: .78rem; font-weight: 600; color: #fff;
  border-top: 1px dashed rgba(255,214,102,.55); background: linear-gradient(90deg, rgba(255,190,80,.14), transparent 60%); }
.fc-sun-row.is-set { background: linear-gradient(90deg, rgba(240,120,80,.16), transparent 60%); }
.fc-sun-row .muted { font-weight: 400; }
.fc-sun-ico { width: 22px; text-align: center; }

/* Forecast: Windfinder-style list */
.fc-list { display: flex; flex-direction: column; gap: 2px; font-size: .82rem; font-variant-numeric: tabular-nums; }
.fc-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) 34px 34px 36px; align-items: center; gap: 6px;
  padding: 4px 6px; border-radius: 6px; background: rgba(255,255,255,.04); }
.fc-row.has-kite { grid-template-columns: 26px minmax(0, 1fr) 34px 34px 46px 40px; }
.fc-row--head { background: none; padding-top: 0; padding-bottom: 0; font-size: .66rem; color: rgba(255,255,255,.55);
  text-transform: uppercase; letter-spacing: .03em; }
.fc-row--head span:nth-child(n+3) { text-align: center; }
.fc-row.is-fit { background: rgba(46,196,182,.2); box-shadow: inset 3px 0 0 #2ec4b6; }
.fc-r-time { font-weight: 700; color: #fff; }
.fc-r-dir { display: flex; align-items: center; gap: 4px; color: rgba(255,255,255,.85); white-space: nowrap; overflow: hidden; }
.fc-r-dir i { display: inline-block; font-style: normal; font-weight: 700; width: 14px; text-align: center; }
.fc-r-wind, .fc-r-gust { text-align: center; border-radius: 5px; padding: 2px 0; font-weight: 700; }
.fc-r-gust { opacity: .8; font-weight: 600; }
.fc-r-kite { text-align: center; font-weight: 700; color: #fff; white-space: nowrap; }
.fc-row:not(.is-fit) .fc-r-kite { opacity: .5; font-weight: 600; }   /* size is info only when the hour does not suit */
.fc-r-sky { text-align: right; white-space: nowrap; color: rgba(255,255,255,.85); }
.fc-kite-set { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: rgba(255,255,255,.85); }
.fc-kite-set input, .fc-kite-set select { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.25);
  border-radius: 6px; padding: 4px 6px; font: inherit; }
.fc-kite-set input { width: 3.6em; text-align: center; }
.fc-kite-set select option { color: #0a2540; }
.fc-windows-kite { font-size: .85rem; font-weight: 600; color: #2ec4b6; }

/* Forecast: when the wind suits the spot */
.fc-windows {
  display: flex; flex-direction: column; gap: 2px; margin: 0 0 14px; padding: 10px 12px;
  border-radius: 10px; background: rgba(46,196,182,.16); border: 1px solid rgba(46,196,182,.45);
}
.fc-windows strong { font-size: 1.05rem; color: #fff; }
.fc-win-main, .fc-win-more { border: 0; background: none; padding: 0; font: inherit; color: #fff; cursor: pointer; text-align: left;
  text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
.fc-win-main { font-size: 1.05rem; font-weight: 700; align-self: flex-start; }
.fc-win-more { color: rgba(255,255,255,.85); }
.fc-win-main:hover, .fc-win-more:hover { text-decoration-color: #2ec4b6; }
.fc-windows-tide { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: .82rem; font-weight: 600; }
.fc-windows.is-none { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); }
.fc-windows.is-none strong { font-size: .9rem; font-weight: 600; }
.fc-windows-more { font-size: .82rem; color: rgba(255,255,255,.8); }
.fc-rule { font-size: .72rem; color: rgba(255,255,255,.6); margin-top: 2px; }
.fc-legend { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: .75rem; color: rgba(255,255,255,.7); }
.fc-fit-swatch { display: inline-block; width: 14px; height: 10px; border-radius: 3px; background: rgba(46,196,182,.22); box-shadow: inset 0 0 0 1.5px #2ec4b6; }

/* ========== Schools (Surfschulen) ========== */
.schools-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 12px;
}
.school-item-link {
  display: grid; grid-template-columns: 96px 1fr; gap: 14px;
  align-items: center; padding: 10px;
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-navy);
  transition: border-color .15s, box-shadow .15s;
}
.school-item-link:hover { border-color: var(--c-teal); box-shadow: var(--shadow-sm); color: var(--c-navy); }
.school-item-img {
  width: 96px; height: 72px; object-fit: cover; border-radius: 8px;
  background: var(--c-sand);
}
.school-item-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.school-item-body strong { overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .school-item-link { grid-template-columns: 72px 1fr; gap: 10px; padding: 8px; }
  .school-item-img { width: 72px; height: 56px; }
}

.nearby { margin-top: 24px; }
.nearby ul { list-style: none; padding: 0; margin: 0; }
.nearby li + li { border-top: 1px solid var(--c-border); }
.nearby a {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 12px 0; color: var(--c-navy); gap: 8px;
}
.nearby a:hover strong { color: var(--c-teal-dark); }

/* Comments */
.comments { list-style: none; padding: 0; margin: 0 0 24px; }
.comments li {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 10px;
}
.comment-meta { font-size: .85rem; color: var(--c-muted); margin-bottom: 4px; }
.comment-form { background: #fff; border: 1px solid var(--c-border); padding: 20px; border-radius: var(--radius); }
.comment-form label { display: block; font-size: .9rem; color: var(--c-muted); margin: 10px 0 4px; }
.comment-form input, .comment-form textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--c-border);
  border-radius: var(--radius-sm); font-size: 1rem; font-family: inherit;
  background: var(--c-bg); color: var(--c-navy);
}
.comment-form input:focus, .comment-form textarea:focus {
  outline: none; border-color: var(--c-teal); background: #fff;
}
.comment-form .cmt-captcha { width: 6em; margin-bottom: 12px; }
/* Honeypot: off-screen instead of display:none so naive bots still fill it */
.cmt-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ========== Blog post ========== */
.post-head { margin-bottom: 18px; }
.post-cover {
  width: 100%; max-height: 460px; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}
.post-body { font-size: 1.05rem; }
.post-body h2 { margin-top: 2.2rem; }
.post-body h3 { margin-top: 1.6rem; }
.post-body img { border-radius: var(--radius-sm); margin: 1.2rem 0; }
.post-body table {
  width: 100%; border-collapse: collapse; margin: 1.6rem 0;
  font-size: .98rem; border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.post-body th, .post-body td {
  padding: 10px 14px; text-align: left;
  border-bottom: 1px solid var(--c-border);
}
.post-body thead th {
  background: var(--c-navy); color: var(--c-white);
  font-weight: 600;
}
.post-body tbody tr:nth-child(even) { background: var(--c-sand); }
.post-body tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 540px) {
  .post-body table { font-size: .9rem; }
  .post-body th, .post-body td { padding: 8px 10px; }
}

/* ========== Footer ========== */
.site-footer {
  background: var(--c-navy); color: rgba(255,255,255,.85);
  padding: 56px 0 28px; margin-top: 64px;
}
.footer-grid {
  display: grid; gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 40px;
}
.footer-heading { color: #fff; margin: 0 0 12px; font-size: 1.02rem; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin: 6px 0; }
.footer-list a { color: rgba(255,255,255,.75); }
.footer-list a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px; font-size: .85rem; color: rgba(255,255,255,.6);
}

.seo-text { max-width: 80ch; color: var(--c-muted); }
.seo-text h2 { color: var(--c-navy); }

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  /* Menu as a panel below the header: search, icon tiles, language + cookies */
  .nav-primary {
    position: fixed; top: var(--h-header); left: 0; right: 0; bottom: 0; overflow-y: auto; overscroll-behavior: contain;
    background: var(--c-sand); padding: 16px 16px calc(24px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--c-border);
    transform: translateY(-12px); opacity: 0; pointer-events: none; visibility: hidden;
    transition: transform .22s ease, opacity .22s ease, visibility 0s .22s;
  }
  .nav-primary.is-open { transform: none; opacity: 1; pointer-events: auto; visibility: visible; transition: transform .22s ease, opacity .22s ease; }
  body.nav-open { overflow: hidden; }
  /* backdrop-filter would make the header the containing block of the fixed panel (height 0) */
  body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav-primary ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; }
  .nav-primary li { min-width: 0; }
  .nav-primary li > a { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; height: 100%; padding: 14px;
    border-radius: var(--radius); background: #fff; border: 1px solid var(--c-border); font-weight: 600; font-size: .95rem; color: var(--c-navy); }
  .nav-primary li > a:active { background: #eef8f7; border-color: var(--c-teal); }
  .nav-primary a:not(.nav-cta):hover::after { display: none; }
  .nav-ico { font-size: 1.35rem; line-height: 1; }
  .nav-primary .fav-count { display: inline-block; margin-left: 4px; padding: 0 7px; border-radius: 999px; background: #ff8a8a; color: #fff; font-size: .75rem; }
  .nav-primary .lang-switch, .nav-primary .nav-m-cookie { grid-column: span 1; }
  .nav-primary .lang-switch > a, .nav-primary .nav-m-cookie > a { flex-direction: row; align-items: center; justify-content: center; padding: 10px;
    background: transparent; font-size: .85rem; font-weight: 600; color: var(--c-muted); text-align: center; }
  .nav-d, .nav-d-txt, .nav-primary .nav-search { display: none !important; }
  .nav-m-search { display: flex; flex-direction: row !important; gap: 8px; margin: 0 0 14px; padding: 6px !important; border-radius: 999px !important; box-shadow: var(--shadow-sm); }
  .nav-m-search input { min-width: 0; padding: 10px 14px; }
  .nav-m-search .btn { width: auto !important; padding: 10px 16px !important; border-radius: 999px !important; }
  /* ☰ → ✕ */
  .nav-toggle span { transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .map-wrap { grid-template-columns: 1fr; }
  .map-filters { position: static; }
  .map-canvas { height: 60vh; min-height: 420px; }

  .spot-grid { grid-template-columns: 1fr; gap: 0; padding: 16px 16px 24px; }
  .fact-card { position: static; }
  .spot-hero { min-height: 30vh; }
  .spot-hero-content { padding: 60px 16px 22px; }
  .spot-hero-content h1 { font-size: 1.55rem; }
  .form-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }

  .hero { min-height: 72vh; padding: 90px 0 60px; }
  .hero-search { flex-direction: column; border-radius: var(--radius); padding: 12px; gap: 8px; }
  .hero-search input { width: 100%; }
  .hero-search .btn { width: 100%; border-radius: var(--radius-sm); padding: 14px; }
}
@media (max-width: 540px) {
  .section { padding: 44px 0; }
  .container { padding-inline: 16px; }
  .fact-card { padding: 18px; }
  .fact-card dl { grid-template-columns: minmax(0, 110px) minmax(0, 1fr); gap: 6px 10px; }
  .fact-card dd { text-align: right; }
  .forecast-card { padding: 18px; }
  .comment-form { padding: 16px; }
  .spot-hero-content h1 { font-size: 1.4rem; gap: 8px; }
  .fav-btn--lg { width: 38px; height: 38px; font-size: 1.15rem; }
  .breadcrumb ol { font-size: .8rem; }
  .nearby a { flex-wrap: wrap; }
}

/* ========== Admin (minimal) ========== */
.admin-wrap { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; background: #f3f5f9; }
.admin-side {
  background: var(--c-navy); color: #fff; padding: 22px 16px;
}
.admin-side h2 { color: #fff; font-size: 1rem; margin: 0 8px 20px; letter-spacing: .08em; text-transform: uppercase; }
.admin-side a {
  display: block; padding: 10px 12px; border-radius: var(--radius-sm);
  color: rgba(255,255,255,.85); font-weight: 500;
}
.admin-side a:hover, .admin-side a.active { background: rgba(255,255,255,.08); color: #fff; }
.admin-main { padding: 28px 36px; }
.admin-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 22px;
}
.admin-panel {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm);
}
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.data-table th, .data-table td {
  padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--c-border);
}
.data-table th { background: #f3f5f9; font-weight: 600; }
.data-table tr:hover { background: #fafbff; }
.data-table .actions a { margin-right: 8px; }
.badge {
  font-size: .72rem; padding: 3px 8px; border-radius: 999px;
  background: var(--c-sand); color: var(--c-navy);
}
.badge.on { background: #d2f4ed; color: #0b6a5a; }
.badge.off { background: #fddede; color: #a33030; }

/* Admin: spot check */
.sc-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.sc-tab { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--c-border); color: var(--c-navy); font-weight: 600; text-decoration: none; }
.sc-tab span { font-weight: 400; font-size: .82rem; color: var(--c-muted, #667); margin-left: 4px; }
.sc-tab.active { background: var(--c-navy); color: #fff; border-color: var(--c-navy); }
.sc-tab.active span { color: rgba(255,255,255,.75); }
.sc-filter { margin-left: auto; display: flex; gap: 4px; font-size: .88rem; }
.sc-filter a { padding: 4px 10px; border-radius: 6px; text-decoration: none; color: var(--c-navy); }
.sc-filter a.active { background: var(--c-sand); font-weight: 600; }
.spc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; align-items: start; }   /* admin spot checks (not .sc-grid: that is the school course grid) */
.sc-detail h2 { margin: 0 0 4px; font-size: 1.3rem; }
.sc-note { background: #f3f5f9; border-radius: 8px; padding: 8px 12px; font-size: .9rem; }
.sc-map { height: max(520px, calc(100vh - 300px)); border-radius: 10px; margin: 10px 0 6px; background: #dde3ea; }
.sc-map--wind { height: max(460px, calc(100vh - 420px)); }
.sc-pin { display: block; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.45); }
.sc-pin.old { background: #e5484d; }
.sc-pin.new { background: #2fb344; cursor: grab; }
.sc-sea { display: inline-block; background: #2ec4b6; color: #0a2540; font-size: .75rem; padding: 1px 6px; border-radius: 4px; }
.sc-legend { font-size: .88rem; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sc-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-left: 8px; }
.sc-dot.old { background: #e5484d; } .sc-dot.new { background: #2fb344; }
.sc-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.sc-form label { font-size: .88rem; }
.sc-form input[name=lat], .sc-form input[name=lng] { width: 120px; padding: 6px 8px; border: 1px solid var(--c-border); border-radius: 6px; font-family: monospace; }
.sc-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; width: 100%; margin-top: 6px; }
.sc-btn-reject { background: #fde2e2; color: #9c2b2b; }
.sc-btn-skip { background: #eef1f5; color: var(--c-navy); }
.sc-form--wind { display: block; }
.sc-dirs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0; }
.sc-dir { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 8px; border: 2px solid transparent; cursor: pointer; }
.sc-dir input { margin: 0; }
.sc-dir span { font-size: .72rem; }
.sc-dir:has(input:checked) { border-color: var(--c-navy); }
.sc-auflandig { background: #d3f5dc; } .sc-side-on { background: #e6f7d4; } .sc-sideshore { background: #fdf3c8; }
.sc-side-off { background: #fde2c8; } .sc-ablandig { background: #fbd0d0; }
.sc-list { padding: 12px; max-height: 80vh; overflow: auto; position: sticky; top: 16px; }
.sc-list ul { list-style: none; margin: 0; padding: 0; }
.sc-list li a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 6px; text-decoration: none; color: var(--c-navy); font-size: .9rem; }
.sc-list li a small { display: block; color: #778; font-size: .75rem; }
.sc-list li a:hover { background: #f3f5f9; }
.sc-list li.active a { background: #e3f6f3; font-weight: 600; }
/* Spot-Prüfung: Hinweise, Suche, Wind-Vorschlag, KI */
.sc-hints { margin: 10px 0; }
.sc-search { display: flex; gap: 8px; margin-bottom: 6px; }
.sc-search input { flex: 1; padding: 7px 10px; border: 1px solid var(--c-border); border-radius: 6px; }
.sc-hint-legend { color: #667; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 4px 0; }
.sc-hint-legend i, .sc-hint-list i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: var(--c); border: 2px solid #fff; box-shadow: 0 0 0 1px #ccd; flex: none; }
.sc-hint-list { list-style: none; margin: 0; padding: 0; max-height: 240px; overflow: auto; border: 1px solid var(--c-border); border-radius: 8px; }
.sc-hint-list li { display: flex; align-items: center; gap: 8px; padding: 5px 9px; font-size: .86rem; cursor: pointer; border-top: 1px solid #f0f2f6; }
.sc-hint-list li span { flex: 1; } .sc-hint-list li small { color: #778; }
.sc-hint-list li:hover { background: #f3f5f9; }
.sc-hint-list li.sc-hint-h { cursor: default; background: #f7f8fb; font-weight: 600; font-size: .78rem; color: #556; }
.sc-ai { margin: 12px 0; }
.sc-ai-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sc-ai-res { margin-top: 8px; padding: 10px 12px; border-radius: 8px; background: #fff0f8; border-left: 4px solid #ff2d95; font-size: .9rem; }
.sc-ai-res.conf-niedrig { background: #f6f6f6; border-left-color: #aaa; }
.sc-ai-res p { margin: 4px 0; }
.sc-sugg { border-collapse: collapse; font-size: .84rem; margin: 8px 0; width: 100%; }
.sc-sugg th, .sc-sugg td { padding: 3px 8px; border-bottom: 1px solid #eef0f4; text-align: left; }
.sc-sugg tr.pick td:first-child { box-shadow: inset 3px 0 #2fb344; }
.sc-batch { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 8px; }
@media (max-width: 1000px) { .spc-grid { grid-template-columns: 1fr; } .sc-list { position: static; max-height: 50vh; } .sc-map, .sc-map--wind { height: 60vh; } }

.login-card {
  max-width: 380px; margin: 10vh auto; padding: 28px;
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.login-card h1 { font-size: 1.3rem; margin-bottom: 6px; }
.form-grid { display: grid; gap: 14px; }
.form-grid label { font-weight: 500; font-size: .9rem; color: var(--c-navy); }
.form-grid input, .form-grid textarea, .form-grid select {
  width: 100%; padding: 10px 12px; margin-top: 4px;
  border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; background: #fff;
}
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus {
  outline: none; border-color: var(--c-teal);
}
.flash {
  padding: 10px 14px; border-radius: var(--radius-sm);
  margin-bottom: 14px; font-size: .95rem;
}
.flash.error   { background: #fde2e2; color: #9c2b2b; border: 1px solid #f4bcbc; }
.flash.success { background: #d2f4ed; color: #0b6a5a; border: 1px solid #8fd9cb; }

/* Print optimisation */
@media print {
  .site-header, .site-footer, .map-filters, .comment-form, .hero-search { display: none !important; }
  body { background: #fff; }
  .cc-overlay { display: none !important; }
}

/* Cookie consent – blocking modal */
body.cc-locked { overflow: hidden; }
.cc-overlay {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(10, 37, 64, .82);
  backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: ccFade 180ms ease-out;
}
.cc-overlay[hidden] { display: none !important; }
@keyframes ccFade { from { opacity: 0; } to { opacity: 1; } }

.cc-modal {
  background: #fff; color: #0a2540;
  border-radius: 14px;
  width: 100%; max-width: 580px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 28px clamp(20px, 4vw, 32px);
  box-shadow: 0 25px 60px rgba(0,0,0,.35);
  animation: ccPop 220ms cubic-bezier(.2, .8, .2, 1);
}
@keyframes ccPop {
  from { transform: translateY(12px) scale(.98); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cc-modal h2 {
  margin: 0 0 12px; font-size: 1.35rem; line-height: 1.25;
}
.cc-modal > p {
  margin: 0 0 18px; line-height: 1.55; color: #2a3b53;
}

.cc-details {
  margin: 12px 0 18px;
  border: 1px solid #d6dde6;
  border-radius: 10px;
}
.cc-details summary {
  cursor: pointer; list-style: none;
  padding: 12px 16px;
  font-weight: 600; font-size: .95rem;
  display: flex; align-items: center; gap: 8px;
}
.cc-details summary::-webkit-details-marker { display: none; }
.cc-details summary::before {
  content: "▸"; font-size: .8rem; transition: transform .15s;
}
.cc-details[open] summary::before { transform: rotate(90deg); }
.cc-details > div.cc-category { padding: 0 16px 14px; }

.cc-category {
  border-top: 1px solid #eef1f5;
  padding-top: 14px;
}
.cc-category:first-of-type { border-top: 0; padding-top: 0; }
.cc-toggle {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; cursor: pointer;
}
.cc-toggle input { width: 18px; height: 18px; cursor: pointer; }
.cc-toggle input[disabled] { opacity: .55; cursor: not-allowed; }
.cc-toggle small { color: #62748a; font-weight: 400; }
.cc-desc {
  margin: 6px 0 0 28px;
  font-size: .9rem; line-height: 1.5; color: #46556d;
}

.cc-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 20px;
}
.cc-btn {
  font: inherit; cursor: pointer;
  padding: 12px 18px;
  border-radius: 999px; border: 1px solid transparent;
  flex: 1 1 auto; white-space: nowrap;
  transition: background .12s, border-color .12s;
}
.cc-btn--primary {
  background: #2ec4b6; color: #0a2540; font-weight: 700;
}
.cc-btn--primary:hover { background: #25a89c; }
.cc-btn--ghost {
  background: #fff; color: #0a2540;
  border-color: #c9d2dd; font-weight: 600;
}
.cc-btn--ghost:hover { background: #f4f7fa; border-color: #a9b6c7; }
.cc-btn:focus-visible { outline: 3px solid #2ec4b6; outline-offset: 2px; }

.cc-foot {
  margin: 16px 0 0; text-align: center;
  font-size: .85rem; color: #62748a;
}
.cc-foot a { color: #0a2540; text-decoration: underline; }

@media (max-width: 480px) {
  .cc-actions { flex-direction: column; }
  .cc-btn { width: 100%; }
}

/* ========== Rider account / Garmin sessions ========== */
:root { --acc-hr: #d64545; }
.acc-nav {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin: 8px 0 24px; padding-bottom: 12px; border-bottom: 1px solid var(--c-border);
}
.acc-nav a {
  padding: 6px 14px; border-radius: 999px; color: var(--c-navy); font-weight: 500; font-size: .95rem;
}
.acc-nav a:hover { background: var(--c-sand); }
.acc-nav a.active { background: var(--c-navy); color: #fff; }
.acc-logout { margin-left: auto; }
.acc-logout button {
  background: none; border: 0; padding: 6px 4px; font: inherit; font-size: .9rem;
  color: var(--c-muted); cursor: pointer;
}
.acc-logout button:hover { color: var(--c-navy); }
.acc-card { margin: 4vh auto; }
.acc-switch { margin: 16px 0 0; }
.acc-panel {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 22px; margin-bottom: 20px; box-shadow: var(--shadow-sm);
}
.acc-narrow { max-width: 520px; }
.acc-h2 { font-size: 1.2rem; margin-bottom: 14px; }
.acc-steps { padding-left: 1.2rem; margin: 0 0 18px; }
.acc-steps li { margin-bottom: 6px; }
.acc-code { font-size: 1.6rem !important; letter-spacing: .15em; text-transform: uppercase; text-align: center; }
/* Schulen & Shops (Konto → Schule & Shop) */
.org-badge { display: inline-block; padding: 1px 8px; border-radius: 999px; background: #dcfce7; color: #166534; font-size: .78rem; font-weight: 700; vertical-align: middle; white-space: nowrap; }
.org-badge--hero { background: rgba(255,255,255,.92); font-size: .9rem; margin-left: 6px; }
.org-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.org-item { display: flex; gap: 12px; align-items: flex-start; }
.org-ico { font-size: 1.4rem; line-height: 1.2; }
.org-claim-head { margin: 0 0 14px; }
.org-claim-link { margin: 12px 4px 0; }
.form-grid label.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; }
.form-grid label.check input { width: auto; margin-top: 3px; }
.org-head { margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.org-open { margin-top: 6px; padding: 4px 12px; }
.org-st-choices { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.org-st-choice { display: block; cursor: pointer; flex: 1 1 auto; }
.org-st-choice input { position: absolute; opacity: 0; pointer-events: none; }
.org-st-choice span { display: block; white-space: nowrap; text-align: center; padding: 12px 14px; border: 2px solid var(--c-sand, #e7e1d6); border-radius: 12px; font-weight: 600; background: #fff; }
.org-st-choice input:checked + span { border-color: var(--c-navy, #0b2545); background: #eef4fb; }
.org-st-choice input:focus-visible + span { outline: 3px solid #93c5fd; outline-offset: 2px; }
.org-st-extra { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.org-st-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.org-profile fieldset { border: 0; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.org-profile legend { font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
.org-label { font-weight: 600; }
.org-checks { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 4px; }
.org-pin { height: 300px; border-radius: 12px; overflow: hidden; }
.org-coords { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-error { color: #b91c1c; font-size: .85rem; font-weight: 600; }
.org-log { margin: 0; padding-left: 1.1rem; }
.org-st-box:not([hidden]) { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 12px 16px; margin: 0 0 18px;
  border-radius: 12px; background: #f0fdf4; border: 1px solid #bbf7d0; }
.org-st { font-size: .95rem; }
.org-st-line:not([hidden]) { display: block; font-size: .85rem; margin: 2px 0; }
.org-st--warn { color: #92400e; } .org-st--off { color: #991b1b; } .org-st--info { color: #1e40af; }
.org-st-text { flex-basis: 100%; }
.org-days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 10px 0 4px; }
.org-day { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 10px; border: 2px solid var(--c-sand, #e7e1d6);
  color: inherit; text-decoration: none; min-width: 0; }
.org-day span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.org-day.active { border-color: var(--c-navy, #0b2545); background: #eef4fb; }
.org-repeat { margin: 4px 0 8px; }
.org-st-row { flex-basis: 100%; }
.org-st-when { font-weight: 700; }
.btn-sm { padding: 3px 10px; font-size: .85rem; }
.linklike { background: none; border: 0; padding: 0; color: var(--c-muted, #64748b); text-decoration: underline; cursor: pointer; font: inherit; }
.org-leave { margin-top: 4px; }
.org-inline { display: inline-flex; gap: 6px; align-items: center; margin: 0; }
.org-person { align-items: center; flex-wrap: wrap; }
.org-person-main { flex: 1 1 200px; min-width: 0; }
.org-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.org-code-box { text-align: center; }
.org-qr { display: inline-block; padding: 8px; background: #fff; border-radius: 8px; min-height: 196px; }
.org-qr img, .org-qr canvas { display: block; margin: 0 auto; }
.org-code { font-size: 1.6rem; font-weight: 800; letter-spacing: .12em; margin: 8px 0 0; }
.org-code-box .org-st-actions { justify-content: center; }
.org-auto { margin-top: 12px; text-align: left; }
.org-auto label.check { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; }
.org-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.org-tabs a { padding: 6px 12px; border-radius: 999px; background: var(--c-sand, #f1ede6); color: inherit; text-decoration: none; font-size: .9rem; }
.org-tabs a.active { background: var(--c-navy, #0b2545); color: #fff; }
.org-count { display: inline-block; min-width: 1.4em; padding: 0 5px; margin-left: 4px; border-radius: 999px; background: rgba(0,0,0,.08); font-size: .8rem; text-align: center; }
.org-count--hot { background: #f59e0b; color: #fff; }
.org-edit summary { cursor: pointer; color: var(--c-muted, #64748b); }
.org-edit-form { margin-top: 8px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.org-edit-form .org-st-actions { grid-column: 1 / -1; }
.org-guest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
@media (max-width: 520px) { .org-days { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Tagesplaner (org-plan.js) */
.plan.is-busy { cursor: progress; }
.plan-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 12px; position: sticky; top: var(--header-h, 64px); z-index: 5;
  background: var(--c-bg, #fbfaf7); padding: 8px 0; }
.plan-day { font-size: 1.05rem; }
.plan-date { width: auto; padding: 4px 8px; border: 1px solid #d6d3cc; border-radius: 8px; font: inherit; }
.plan-bar-gap { flex: 1; }
.plan-dirty { font-size: .88rem; color: #92400e; font-weight: 600; }
.plan-clean { font-size: .88rem; color: #166534; font-weight: 600; }
.plan-wind { margin: 0 0 14px; }
.pw-l { display: block; font-size: .8rem; color: var(--c-muted, #64748b); margin-bottom: 4px; }
.pw-row { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 2px; }
.pw-h { display: flex; flex-direction: column; align-items: center; padding: 3px 0; border-radius: 6px; color: #0b2545; font-size: .72rem; line-height: 1.2; }
.pw-k { font-weight: 800; font-size: .85rem; }
.pw-a { display: inline-block; font-size: .8rem; }
.plan-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 16px; align-items: start; }
.plan-pool { position: sticky; top: calc(var(--header-h, 64px) + 60px); max-height: calc(100vh - var(--header-h, 64px) - 80px); overflow: auto;
  background: #fff; border: 2px dashed #d6d3cc; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.plan-h { font-size: 1rem; margin: 0 0 2px; }
.plan-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; align-content: start; }
.pg { background: #fff; border: 2px solid #e7e1d6; border-top: 6px solid var(--pg); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; min-height: 150px; }
.pg--mine { box-shadow: 0 0 0 3px color-mix(in srgb, var(--pg) 30%, transparent); }
.pg--locked { opacity: .72; }
.pg--cancelled { opacity: .6; background: repeating-linear-gradient(135deg, #fff, #fff 10px, #f5f5f4 10px, #f5f5f4 20px); }
.pg-head { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: start; }
.pg-time { font-weight: 800; color: var(--pg); white-space: nowrap; }
.pg-title { min-width: 0; }
.pg-more { border: 0; background: none; font-size: 1.3rem; line-height: 1; padding: 0 4px; cursor: pointer; color: #475569; }
.pg-meta { margin: 0; font-size: .82rem; color: #475569; }
.pg-people { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; align-content: flex-start; min-height: 44px; }
.pg-empty { font-size: .85rem; color: #94a3b8; align-self: center; }
.pg-foot { font-size: .8rem; color: #64748b; }
.pg-full { color: #b91c1c; font-weight: 700; }
.pg-badge { white-space: nowrap; display: inline-block; font-size: .7rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: #e2e8f0; color: #334155; vertical-align: middle; }
.pg-badge--ok { background: #dcfce7; color: #166534; } .pg-badge--warn { background: #fef3c7; color: #92400e; } .pg-badge--off { background: #fee2e2; color: #991b1b; }
[data-drop].is-over { border-color: var(--c-navy, #0b2545); border-style: solid; background: #eef4fb; }
.pp { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0; position: relative; text-align: left; font: inherit; color: inherit;
  padding: 6px 10px; border: 1px solid #cbd5e1; border-radius: 10px; background: #f8fafc; cursor: grab; touch-action: manipulation;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; max-width: 100%; }
.plan-pool .pp { width: 100%; }
.pp:disabled { cursor: default; }
.pp:focus-visible { outline: 3px solid #93c5fd; outline-offset: 1px; }
.pp-name { font-weight: 600; font-size: .9rem; }
.pp-sub { font-size: .72rem; color: #64748b; }
.pp:has(.pp-count) { padding-right: 34px; }
.pp-count { position: absolute; top: 6px; right: 8px; font-size: .7rem; font-weight: 700; background: #0b2545; color: #fff; border-radius: 999px; padding: 0 6px; }
.pp--placed { opacity: .6; }
.pp--guest { border-style: dashed; }
.pp--yes { border-color: #16a34a; } .pp--no { border-color: #dc2626; text-decoration: line-through; }
.pp-warn { color: #b45309; }
.pp-dragging { opacity: .35; }
.pp-ghost { position: fixed; left: 0; top: 0; z-index: 1000; pointer-events: none; box-shadow: 0 10px 25px rgba(0,0,0,.25); background: #fff; transform-origin: 0 0; }
body.plan-dragging { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.plan-add { display: flex; flex-direction: column; gap: 8px; justify-content: center; align-items: stretch; min-height: 150px;
  border: 2px dashed #d6d3cc; border-radius: 14px; padding: 12px; }
.plan-menu { position: fixed; z-index: 1001; background: #fff; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.2); padding: 6px; max-height: 70vh; overflow: auto; }
.plan-menu button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 9px 10px; border-radius: 8px; font: inherit; cursor: pointer; }
.plan-menu button:hover, .plan-menu button:focus-visible { background: #eef4fb; outline: none; }
.plan-menu button.is-danger { color: #b91c1c; }
.plan-menu-h { margin: 6px 10px 2px; font-size: .75rem; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .03em; }
.plan-dlg { border: 0; border-radius: 16px; padding: 18px; width: min(460px, calc(100vw - 24px)); box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.plan-dlg::backdrop { background: rgba(11,37,69,.45); }
.plan-colors { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.plan-swatch input { position: absolute; opacity: 0; }
.plan-swatch span { display: block; width: 30px; height: 30px; border-radius: 50%; background: var(--c); border: 3px solid #fff; box-shadow: 0 0 0 1px #cbd5e1; cursor: pointer; }
.plan-swatch input:checked + span { box-shadow: 0 0 0 3px #0b2545; }
.plan-swatch input:focus-visible + span { outline: 3px solid #93c5fd; }
.plan-toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 1002; background: #0b2545; color: #fff; padding: 10px 16px;
  border-radius: 999px; font-size: .9rem; max-width: calc(100vw - 32px); box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.plan-toast.is-bad { background: #b91c1c; }
.org-lessons .is-cancelled { opacity: .7; }
.pp-note { font-size: .72rem; color: #334155; max-width: 220px; white-space: normal; }
.msg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.msg-item { border: 1px solid #e7e1d6; border-left: 4px solid #94a3b8; border-radius: 10px; padding: 8px 12px; background: #fff; }
.msg--plan { border-left-color: #16a34a; } .msg--change { border-left-color: #f59e0b; } .msg--cancel { border-left-color: #dc2626; }
.msg--reply { border-left-color: #2563eb; background: #f8fafc; }
.msg-item.is-new { box-shadow: 0 0 0 2px #fde68a; }
.msg-meta { margin-bottom: 2px; }
.msg-body { margin: 0; white-space: normal; overflow-wrap: anywhere; }
.msg-myreply { margin: 6px 0 0; color: #1e40af; }
.msg-tpls { display: flex; flex-wrap: wrap; gap: 6px; }
.msg-respond { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; }
.msg-respond input { flex: 1 1 180px; min-width: 0; padding: 5px 8px; border: 1px solid #d6d3cc; border-radius: 8px; font: inherit; font-size: .85rem; }
.msg-respond .btn.is-on { background: #dcfce7; color: #166534; box-shadow: inset 0 0 0 2px #16a34a; }
.msg-respond .btn.is-on.is-no { background: #fee2e2; color: #991b1b; box-shadow: inset 0 0 0 2px #dc2626; }
.msg-push { margin: 0 0 10px; }
/* Kurse & Preise */
.course-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.course-item { display: flex; gap: 8px; align-items: flex-start; border: 1px solid #e7e1d6; border-radius: 12px; padding: 8px 10px; background: #fff; }
.course-item.is-hidden { opacity: .65; }
.course-item > details { flex: 1; min-width: 0; }
.course-item summary { display: flex; justify-content: space-between; gap: 10px; cursor: pointer; list-style: none; }
.course-item summary::-webkit-details-marker { display: none; }
.course-sum { min-width: 0; }
.course-price { font-weight: 800; white-space: nowrap; color: var(--c-navy, #0b2545); }
.course-move { display: flex; flex-direction: column; gap: 4px; }
.course-form { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #e7e1d6; }
.course-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; align-items: end; }
.course-grid--4 { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.course-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.course-new > summary { display: inline-block; list-style: none; cursor: pointer; }
.course-new > summary::-webkit-details-marker { display: none; }
.course-new[open] > summary { margin-bottom: 4px; }
.sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 0 0 14px; }
.sc-card { border: 1px solid #e7e1d6; border-radius: 14px; padding: 12px 14px; background: #fff; display: flex; flex-direction: column; gap: 6px; }
.sc-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.sc-title { font-size: 1rem; margin: 0; }
.sc-price { margin: 0; font-weight: 800; font-size: 1.1rem; white-space: nowrap; color: var(--c-navy, #0b2545); }
.sc-meta { margin: 0; font-size: .85rem; color: #475569; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sc-desc { margin: 0; }
.sc-sub { font-size: 1rem; margin: 6px 0 8px; }
.sc-rent { width: 100%; border-collapse: collapse; font-size: .92rem; }
.sc-rent th, .sc-rent td { padding: 7px 8px; border-bottom: 1px solid #eee; text-align: right; white-space: nowrap; }
.sc-rent th[scope=row], .sc-rent thead th:first-child { text-align: left; white-space: normal; }
.sc-rent thead th { font-size: .78rem; color: #64748b; font-weight: 600; }
.sc-rent th .small { font-weight: 400; }
.school-from { display: block; font-weight: 700; color: var(--c-navy, #0b2545); }
.shop-rent ul { margin: 4px 0 0; padding-left: 1.1rem; }
.shop-rent summary { cursor: pointer; }
/* Fotos & Team */
.media-grid { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.media-item { position: relative; border: 1px solid #e7e1d6; border-radius: 12px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.media-item.is-cover { box-shadow: 0 0 0 3px var(--c-navy, #0b2545); }
.media-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.media-cover-badge { position: absolute; top: 8px; left: 8px; background: var(--c-navy, #0b2545); color: #fff; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.media-form { display: flex; flex-direction: column; gap: 6px; padding: 8px; }
.media-form input { width: 100%; padding: 5px 8px; border: 1px solid #d6d3cc; border-radius: 8px; font: inherit; font-size: .85rem; }
.media-actions { display: flex; flex-wrap: wrap; gap: 4px; }
.tp-sum { display: flex; gap: 10px; align-items: center; min-width: 0; }
.tp-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; background: #f1f5f9; display: inline-flex; align-items: center; justify-content: center; }
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.gal-item { display: block; border-radius: 10px; overflow: hidden; background: #f1f5f9; }
.gal-item img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .2s; }
.gal-item:hover img { transform: scale(1.03); }
.gal-dlg { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.gal-dlg::backdrop { background: rgba(0,0,0,.88); }
.gal-dlg figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 48px 12px; box-sizing: border-box; }
.gal-dlg img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 6px; }
.gal-dlg figcaption { color: #fff; font-size: .9rem; text-align: center; }
.gal-dlg button { position: fixed; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 1.8rem; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; }
.gal-x { top: 12px; right: 12px; } .gal-p { left: 12px; top: 50%; } .gal-n { right: 12px; top: 50%; }
.tp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.tp-card { display: flex; gap: 12px; align-items: flex-start; border: 1px solid #e7e1d6; border-radius: 14px; padding: 12px; background: #fff; }
.tp-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; background: #f1f5f9; display: inline-flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.tp-name { font-size: 1rem; margin: 0; }
.tp-role { margin: 0; font-weight: 600; color: #475569; font-size: .9rem; }
.tp-bio { margin: 6px 0 0; }
.shop-thumb { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; }
/* Website-Baukasten (Editor) */
.site-url { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0 12px; word-break: break-all; }
.site-page-row { flex: 1; display: flex; justify-content: space-between; gap: 10px; align-items: center; min-width: 0; }
.site-themes { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.site-theme input { position: absolute; opacity: 0; }
.site-theme span { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 14px; border: 2px solid #e7e1d6; background: var(--b); color: var(--f); cursor: pointer; }
.site-theme i { display: block; height: 46px; border-radius: 8px; background: linear-gradient(135deg, var(--a), color-mix(in srgb, var(--a) 40%, var(--b))); }
.site-theme input:checked + span { border-color: var(--c-navy, #0b2545); box-shadow: 0 0 0 3px #93c5fd; }
.site-theme input:focus-visible + span { outline: 3px solid #93c5fd; }
.site-logo-prev { max-height: 60px; max-width: 200px; display: block; margin-bottom: 6px; background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0 / 16px 16px; border-radius: 6px; }
.site-blocks { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; counter-reset: blk; }
.site-block { display: flex; gap: 8px; align-items: flex-start; border: 1px solid #e7e1d6; border-radius: 12px; padding: 8px 10px; background: #fff; counter-increment: blk; }
.site-block > details { flex: 1; min-width: 0; }
.site-block summary { cursor: pointer; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.site-block summary::before { content: counter(blk); display: inline-flex; width: 22px; height: 22px; border-radius: 50%; background: #e2e8f0; font-size: .75rem; font-weight: 700; align-items: center; justify-content: center; }
.site-block-type { font-weight: 700; }
.site-photo-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 6px; }
.site-photo-pick label { position: relative; cursor: pointer; }
.site-photo-pick input { position: absolute; top: 6px; left: 6px; }
.site-photo-pick img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }
.site-photo-pick input:checked + img { outline: 3px solid var(--c-navy, #0b2545); }
.site-add-block { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.site-add-block select { padding: 6px 8px; border-radius: 8px; border: 1px solid #d6d3cc; font: inherit; }
.site-dns { width: 100%; border-collapse: collapse; margin: 6px 0; }
.site-dns th, .site-dns td { text-align: left; padding: 6px 8px; border-bottom: 1px solid #e7e1d6; }
.site-dns code { user-select: all; }
.school-site-btn { margin-bottom: 8px; }
/* Kursanfrage (Schulseite) */
.bk-form { display: grid; gap: 12px; }
.bk-form h2 { margin: 0; }
.bk-lead, .bk-note { margin: 0; }
.bk-note { font-size: .82rem; opacity: .75; }
.bk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px 12px; }
.bk-form label { display: flex; flex-direction: column; gap: 4px; font-size: .9rem; font-weight: 600; }
.bk-form input:not([type=checkbox]), .bk-form select, .bk-form textarea { font: inherit; font-weight: 400; padding: 9px 10px; border-radius: 10px; border: 1px solid #d6d3cc; background: #fff; color: inherit; width: 100%; box-sizing: border-box; }
.bk-form textarea { resize: vertical; }
.bk-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bk-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.bk-captcha { max-width: 260px; }
.bk-form .bk-check { flex-direction: row; align-items: flex-start; gap: 8px; font-weight: 400; }
.bk-check input { margin-top: 4px; }
.bk-btn { justify-self: start; font: inherit; font-weight: 700; border: 0; border-radius: 999px; padding: 12px 24px; cursor: pointer; background: var(--c-navy, #0b2545); color: #fff; }
.bk-btn:disabled { opacity: .6; cursor: default; }
.bk-msg { margin: 0; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.bk-msg.is-ok { background: #dcfce7; color: #166534; } .bk-msg.is-bad { background: #fee2e2; color: #991b1b; }
.bk-details > summary { display: inline-block; list-style: none; cursor: pointer; }
.bk-details > summary::-webkit-details-marker { display: none; }
.bk-details[open] > summary { margin-bottom: 14px; }
.bk-item .bk-facts { margin: 4px 0; }
.dpa-text { max-height: 60vh; overflow: auto; border: 1px solid #e7e1d6; border-radius: 12px; padding: 4px 18px; background: #fff; margin: 12px 0; font-size: .92rem; }
.dpa-text h3 { font-size: 1rem; margin: 16px 0 4px; }
.dpa-text p { margin: 6px 0; }
.org-reauth { padding: 10px 16px; }
.org-reauth p { margin: 0 0 6px; }
.org-reauth.is-ok { background: #f0fdf4; }
.org-reauth .acc-code { width: 130px; font-size: 1.1rem !important; padding: 5px 8px; border: 1px solid #d6d3cc; border-radius: 8px; }
.ev-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ev-item { display: flex; gap: 12px; align-items: flex-start; border: 1px solid #e7e1d6; border-left: 4px solid var(--c-teal, #2ec4b6); border-radius: 12px; padding: 10px 14px; background: #fff; }
.ev--testday { border-left-color: #2563eb; } .ev--sale { border-left-color: #ea580c; } .ev--event { border-left-color: #9333ea; }
.ev-ico { font-size: 1.5rem; line-height: 1.2; }
.ev-text { margin: 4px 0 0; }
/* Shop – Bereich */
.store-tabs { align-items: center; }
.store-tabs .pg-badge { margin-left: auto; }
.org-profile-fs { border: 0; padding: 0; margin: 4px 0 10px; display: grid; gap: 10px; }
.org-profile-fs legend { font-weight: 700; font-size: 1.05rem; margin-bottom: 6px; }
.store-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.store-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.store-filter input, .store-filter select { padding: 7px 10px; border: 1px solid #d6d3cc; border-radius: 10px; font: inherit; }
.store-filter input { flex: 1 1 200px; }
.store-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.store-row a { display: flex; gap: 12px; align-items: center; padding: 8px 10px; border: 1px solid #e7e1d6; border-radius: 12px; background: #fff; color: inherit; text-decoration: none; }
.store-row a:hover { border-color: var(--c-teal, #2ec4b6); }
.store-row.is-hidden a { opacity: .6; }
.store-row img, .store-noimg { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex: none; background: #f1f5f9; display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.store-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.store-row-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store-row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; white-space: nowrap; }
.store-var-table { display: grid; gap: 6px; }
.store-var-row { display: grid; grid-template-columns: 1.3fr 1fr .8fr .7fr .9fr auto; gap: 6px; align-items: center; }
.store-var-row input { width: 100%; padding: 6px 8px; border: 1px solid #d6d3cc; border-radius: 8px; font: inherit; font-size: .9rem; min-width: 0; }
.store-var-head { font-size: .78rem; font-weight: 700; color: #64748b; }
.store-var-new input { background: #fafaf9; border-style: dashed; }
.store-var-flags { display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.store-var-flags label.check { display: inline-flex; gap: 4px; }
.store-imgs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.store-imgs li { display: flex; flex-direction: column; gap: 4px; }
.store-imgs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.store-imgs input[type=number] { width: 54px; padding: 2px 4px; }
.store-cat-sub { margin-left: 24px; }
.store-res-items { margin: 4px 0; padding-left: 1.1rem; }
.school-shop-btn { margin-bottom: 8px; background: var(--c-sand, #f5ece0); }
.shop-link { font-weight: 700; }
.shop-report { margin-top: 18px; color: #64748b; }
.shop-report summary { cursor: pointer; }
.shop-badge--ext { top: auto; bottom: 8px; background: var(--c-navy, #0a2540); color: #fff; }
.shop-ext { margin: 10px 0; }
.shop-ext-btn { font-size: 1.05rem; padding: 12px 22px; }
.shop-ext-vars .tchip { margin: 2px 2px 2px 0; }
.shop-ext-vars .is-out { opacity: .45; text-decoration: line-through; }
.imp-map { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.imp-map select { width: 100%; }
.imp-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.imp-table th, .imp-table td { border-bottom: 1px solid #e3e7ee; padding: 5px 6px; text-align: left; vertical-align: top; }
.imp-help { margin: 0; padding-left: 1.1rem; }
.imp-images { padding: 10px 14px; border-radius: 12px; background: #fff7ed; border: 1px solid #fed7aa; margin-top: 8px; }
.imp-images p { margin: 0 0 6px; }
.clk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; margin: 6px 0; }
.clk-box { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 12px; background: #f0fdfa; border: 1px solid #ccfbf1; }
.clk-box strong { font-size: 1.5rem; }
.clk-box span { font-size: .82rem; color: #475569; }
.shop-report .bk-form { margin-top: 8px; }
/* Shop – öffentlich */
.shop-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.shop-title h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0; }
.shop-title h1 a { color: inherit; text-decoration: none; }
.shop-cart-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: var(--c-navy, #0a2540); color: #fff; text-decoration: none; font-weight: 700; }
.shop-cart-n { background: var(--c-teal, #2ec4b6); color: #0a2540; border-radius: 999px; padding: 0 8px; font-size: .85rem; }
.shop-cats { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 8px; scrollbar-width: thin; }
.shop-cats a { flex: none; padding: 7px 14px; border-radius: 999px; background: var(--c-sand, #f5ece0); color: inherit; text-decoration: none; font-size: .92rem; }
.shop-cats a.active { background: var(--c-navy, #0a2540); color: #fff; }
.shop-cats--sub a { background: #fff; border: 1px solid #e3e7ee; font-size: .85rem; padding: 5px 12px; }
.shop-cats--sub a.active { background: var(--c-teal, #2ec4b6); border-color: var(--c-teal, #2ec4b6); color: #0a2540; }
.shop-intro { max-width: 760px; }
.shop-cat-h { margin: 8px 0 12px; }
.shop-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 16px; }
.shop-filter input[type=search], .shop-filter select { padding: 8px 10px; border: 1px solid #d6d3cc; border-radius: 10px; font: inherit; background: #fff; }
.shop-filter input[type=search] { flex: 1 1 220px; }
.shop-avail { display: inline-flex; gap: 6px; align-items: center; font-size: .9rem; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin-bottom: 14px; }
.shop-card { display: flex; flex-direction: column; border: 1px solid #e3e7ee; border-radius: 14px; overflow: hidden; background: #fff; color: inherit; text-decoration: none; transition: box-shadow .15s, transform .15s; }
.shop-card:hover { box-shadow: 0 8px 22px rgba(10,37,64,.12); transform: translateY(-2px); }
.shop-card-img { position: relative; aspect-ratio: 1; background: #f4f6f8; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.shop-card-img img { width: 100%; height: 100%; object-fit: cover; }
.shop-badge { position: absolute; top: 8px; left: 8px; background: rgba(255,255,255,.95); color: #0a2540; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.shop-badge--out { left: auto; right: 8px; background: #fee2e2; color: #991b1b; }
.shop-card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; }
.shop-brand { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--c-muted, #5b6b80); margin: 0; }
.shop-price { font-weight: 800; margin-top: 4px; }
.shop-price s, .shop-pprice s { font-weight: 400; color: #94a3b8; margin-left: 6px; }
.shop-trader { margin-top: 24px; padding: 12px 16px; border-radius: 12px; background: #f8fafc; border: 1px solid #e3e7ee; }
.shop-trader p { margin: 4px 0; }
.shop-crumbs { margin: 4px 0 12px; }
.shop-product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.shop-main-img { display: block; border-radius: 14px; overflow: hidden; background: #f4f6f8; aspect-ratio: 1; }
.shop-main-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.shop-noimg { display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.shop-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; margin-top: 8px; }
.shop-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }
.shop-ptitle { margin: 0 0 6px; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.shop-vars { border: 0; padding: 0; margin: 10px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.shop-vars legend { font-weight: 700; margin-bottom: 6px; }
.shop-var input { position: absolute; opacity: 0; }
.shop-var span { display: inline-flex; flex-direction: column; align-items: center; padding: 8px 14px; border: 2px solid #e3e7ee; border-radius: 10px; cursor: pointer; font-weight: 600; min-width: 64px; }
.shop-var small { font-weight: 400; font-size: .75rem; color: #64748b; }
.shop-var input:checked + span { border-color: var(--c-navy, #0a2540); background: #eef4fb; }
.shop-var input:focus-visible + span { outline: 3px solid #93c5fd; }
.shop-var.is-out span { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.shop-pprice { font-size: 1.6rem; font-weight: 800; margin: 10px 0; }
.shop-pprice small { font-size: .8rem; font-weight: 400; display: block; }
.shop-qty-row { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.shop-qty { display: flex; flex-direction: column; font-size: .85rem; font-weight: 600; }
.shop-qty input { width: 80px; padding: 9px; border: 1px solid #d6d3cc; border-radius: 10px; font: inherit; }
.shop-added { color: #166534; font-weight: 600; }
.shop-desc { margin-top: 16px; }
.shop-lines { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.shop-line { display: grid; grid-template-columns: 56px 1fr auto 72px auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid #e3e7ee; border-radius: 12px; background: #fff; }
.shop-line img, .shop-line-noimg { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; background: #f4f6f8; display: flex; align-items: center; justify-content: center; }
.shop-line-main { display: flex; flex-direction: column; min-width: 0; }
.shop-line-main a { font-weight: 700; color: inherit; }
.shop-line input { width: 64px; padding: 6px; border: 1px solid #d6d3cc; border-radius: 8px; }
.shop-line.is-out { opacity: .6; }
.shop-line-price { font-weight: 700; white-space: nowrap; }
.shop-total { font-size: 1.15rem; text-align: right; }
.shop-reserve { margin-top: 18px; padding: 16px; border: 1px solid #e3e7ee; border-radius: 14px; background: #fff; }
.shop-code { display: block; font-size: 1.6rem; letter-spacing: .1em; font-weight: 800; margin-bottom: 6px; }
@media (max-width: 760px) {
  .shop-product { grid-template-columns: 1fr; gap: 16px; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .shop-line { grid-template-columns: 48px 1fr auto; }
  .shop-line img, .shop-line-noimg { width: 48px; height: 48px; }
  .shop-line input, .shop-line [data-rm] { grid-column: 2; justify-self: start; }
  .shop-cart-btn span { display: none; }
}
@media (max-width: 760px) {
  .store-var-row { grid-template-columns: 1fr 1fr; }
  .store-var-head { display: none; }
  .store-var-row { padding: 8px; border: 1px solid #e7e1d6; border-radius: 10px; }
}
@media print { .dpa-text { max-height: none; overflow: visible; border: 0; } .dpa-form, .site-header, .site-footer, .app-tabbar, .breadcrumb { display: none !important; } }
@media (max-width: 520px) { .course-grid--3 { grid-template-columns: 1fr 1fr 1fr; } .sc-rent th, .sc-rent td { padding: 6px 4px; } }
@media (max-width: 900px) {
  .plan-bar { position: static; gap: 6px; }
  .plan-date { display: none; }
  .plan-bar-gap { flex-basis: 100%; height: 0; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-pool { position: static; max-height: none; flex-direction: row; flex-wrap: wrap; }
  .plan-pool .plan-h, .plan-pool > p { flex-basis: 100%; }
  .plan-pool .pp { width: auto; }
  .pw-row { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}
.acc-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 20px;
}
.acc-stats div {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  padding: 12px 16px; color: var(--c-muted); font-size: .85rem;
}
.acc-stats span {
  display: block; font-size: 1.4rem; font-weight: 700; color: var(--c-navy); font-variant-numeric: tabular-nums;
}
.acc-clickable tbody tr { cursor: pointer; }
.acc-clickable td, .acc-clickable th { white-space: nowrap; }
.acc-map { height: 440px; border-radius: var(--radius-sm); margin-bottom: 8px; }
.acc-chart { display: block; width: 100%; height: 220px; }
.acc-legend { display: flex; flex-wrap: wrap; gap: 16px; color: var(--c-muted); margin: 8px 0 0; }
.acc-legend .hr { color: var(--acc-hr); }
.acc-legend .speed { color: var(--c-teal-dark); }
.acc-legend .jump { color: var(--c-warn); }
.acc-btn-danger {
  background: none; border: 1px solid #f4bcbc; color: #9c2b2b; border-radius: 999px;
  padding: 6px 14px; font: inherit; font-size: .88rem; cursor: pointer;
}
.acc-btn-danger:hover { background: #fde2e2; }
.flash.info { background: var(--c-sand); color: var(--c-navy); border: 1px solid var(--c-sand-2); }
@media (max-width: 640px) {
  .acc-map { height: 320px; }
  .acc-logout { margin-left: 0; }
}
.acc-inline-actions { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 6px; }
.acc-link-btn {
  background: none; border: 0; padding: 0; font: inherit; font-size: .88rem;
  color: var(--c-teal-dark); cursor: pointer;
}
.acc-link-btn:hover { color: var(--c-navy); text-decoration: underline; }
.acc-admin-search { display: flex; gap: 8px; }
.acc-admin-search input {
  padding: 8px 12px; border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  font: inherit; min-width: 240px;
}
/* Let wide admin tables scroll inside .table-wrap instead of widening the page. */
.admin-main { min-width: 0; }

/* Start page: your spots (saved + recently opened) / spots near you */
.my-spots { background: var(--c-navy); color: #fff; padding: 18px 0 20px; }
.my-spots[hidden] { display: none; }
.my-spots-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.my-spots-head h2 { color: #fff; font-size: 1.15rem; margin: 0; }
.my-spots-head a { color: #ffd3a5; font-size: .85rem; white-space: nowrap; }
.my-spots-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.my-spots-list > .muted { color: rgba(255,255,255,.75); margin: 0; }
.my-spot { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; min-width: 0; }
.my-spot:hover { background: rgba(255,255,255,.14); color: #fff; }
.my-name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.my-fav { color: #ff8a8a; }
.my-place { font-size: .8rem; color: rgba(255,255,255,.65); }
.my-wind { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: .85rem; color: rgba(255,255,255,.85); }
.my-wind b { color: #0a2540; padding: 1px 7px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.my-wind i { font-style: normal; font-weight: 700; display: inline-block; }
.my-wind.is-go { color: #2ec4b6; font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions [hidden] { display: none; }
@media (max-width: 640px) {
  /* phone: one swipeable row, so the hero still starts on the first screen */
  .my-spots-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 2px; scrollbar-width: none; }
  .my-spot { flex: 0 0 72%; scroll-snap-align: start; }
}

/* Videos: 2-click YouTube (own preview image until "play") */
.page-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.page-chips a { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--c-border); font-size: .88rem; font-weight: 600; color: var(--c-navy); }
.page-chips a:hover { background: var(--c-sand); }
.video-group, .trip-group { margin-top: 36px; scroll-margin-top: calc(var(--h-header) + 16px); }
.video-group h2, .trip-group h2 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.video-grid--spot { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.yt-card { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: var(--c-navy); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-poster { position: absolute; inset: 0; display: block; }
.yt-poster img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .15s; }
.yt-poster:hover img { opacity: 1; }
.yt-btn { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 64px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; background: rgba(10,37,64,.85); color: #fff; font-size: 1.3rem; }
.yt-poster:hover .yt-btn { background: #e62117; }
.yt-note { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px; font-size: .72rem; line-height: 1.35;
  color: rgba(255,255,255,.92); background: linear-gradient(to top, rgba(10,37,64,.95), rgba(10,37,64,.75)); }
.yt-note[hidden] { display: none; }
.yt-note a { color: #ffd3a5; }
.yt-note label { display: flex; align-items: center; gap: 6px; margin-top: 4px; cursor: pointer; }
.yt-card figcaption { display: flex; flex-direction: column; gap: 2px; }
.yt-card figcaption strong { line-height: 1.3; }
.yt-desc { font-size: .9rem; color: var(--c-muted); }
.video-spots { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.video-spots a { display: flex; flex-direction: column; padding: 10px 14px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: #fff; color: var(--c-navy); }
.video-spots a:hover { border-color: var(--c-teal); }

/* Travel offers */
.trip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.trip { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--c-border); border-radius: var(--radius); background: #fff; }
.trip-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.trip-kind { background: var(--c-sand); color: var(--c-navy); }
.trip-ad { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--c-muted);
  border: 1px solid var(--c-border); border-radius: 4px; padding: 1px 6px; }
.trip-title { margin: 4px 0 0; font-size: 1.1rem; }
.trip-provider { margin: 0; }
.trip-desc { margin: 0; font-size: .92rem; overflow-wrap: anywhere; }
.trip-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.trip-price { font-weight: 700; }
.trip-btn { padding: 9px 16px; font-size: .9rem; }
.trip-disclosure { font-size: .82rem; color: var(--c-muted); border-left: 3px solid var(--c-border); padding: 2px 0 2px 10px; margin: 8px 0 16px; }

/* Where to stay (spot page) */
.stay-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.stay { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--c-border); border-radius: var(--radius); background: #fff; min-width: 0; }
.stay--kite { border-color: var(--c-teal); box-shadow: 0 0 0 1px var(--c-teal) inset; }
.stay-ico { font-size: 1.5rem; line-height: 1; flex: none; }
.stay-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.stay-name { overflow-wrap: anywhere; }
.stay-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.stay-badges .tchip { padding: 2px 8px; font-size: .72rem; }
.stay-b--kite { background: var(--c-teal); color: #fff; }
.stay-note { color: var(--c-navy); }
.stay-links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; }
.stay-more { margin-top: 12px; }
.stay-more summary { cursor: pointer; font-weight: 600; color: var(--c-teal-dark); }
.stay-rules { margin-top: 12px; }
.stay-hotels { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 18px;
  padding: 16px; border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-sand); }
.stay-hotels p { margin: 4px 0 0; }


/* Start page: figures + features */
.stats-band { background: #fff; border-bottom: 1px solid var(--c-border); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 4px; padding-top: 18px; padding-bottom: 18px; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; border-radius: var(--radius-sm); color: var(--c-navy); text-align: center; }
.stat:hover { background: var(--c-sand); color: var(--c-navy); }
.stat b { font-size: 1.9rem; line-height: 1.1; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat span { font-size: .85rem; color: var(--c-muted); }
.stat--live b { color: var(--c-teal-dark); }
.stat--live b::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #2ec4b6; margin: 0 6px 0 0;
  vertical-align: middle; box-shadow: 0 0 0 4px rgba(46,196,182,.25); }
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); padding-top: 10px; padding-bottom: 10px; }
  .stat b { font-size: 1.4rem; }
  .stat span { font-size: .74rem; }
}
.section-head--stack { flex-direction: column; align-items: flex-start; gap: 4px; }
.section-head--stack p { margin: 0; max-width: 60ch; }
.feat2-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.feat2 { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--c-border); color: var(--c-navy); transition: border-color .15s, transform .15s; }
.feat2:hover { border-color: var(--c-teal); color: var(--c-navy); transform: translateY(-2px); }
.feat2-icon { font-size: 1.6rem; }
.feat2 strong { font-size: 1.05rem; }
.feat2 span:last-child { font-size: .9rem; color: var(--c-muted); line-height: 1.5; }

/* Travel: providers + filter */
.prov-strip { margin: 20px 0 8px; }
.prov-strip-title { font-size: 1.1rem; margin: 0 0 10px; }
.prov-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.prov-card { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: var(--radius-sm); background: #fff;
  border: 1px solid var(--c-border); color: var(--c-navy); }
.prov-card:hover { border-color: var(--c-teal); color: var(--c-navy); }
.trip-filter { position: sticky; top: calc(var(--h-header) + 8px); z-index: 20; display: flex; flex-wrap: wrap; align-items: end; gap: 10px 14px;
  margin: 18px 0 8px; padding: 12px 14px; border-radius: var(--radius); background: rgba(255,255,255,.97); border: 1px solid var(--c-border); box-shadow: var(--shadow-sm); }
.trip-filter[hidden] { display: none; }
.trip-filter label { display: flex; flex-direction: column; gap: 3px; font-size: .78rem; color: var(--c-muted); }
.trip-filter select { min-width: 190px; padding: 8px 10px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); font: inherit; font-size: .92rem; background: #fff; color: var(--c-navy); }
.trip-kinds { display: flex; flex-wrap: wrap; gap: 6px; }
.trip-kinds .tf-chip { flex-direction: row; align-items: center; gap: 6px; font-size: .85rem; color: var(--c-navy); padding: 6px 12px;
  border: 1px solid var(--c-border); border-radius: 999px; background: #fff; cursor: pointer; }
.trip-kinds .tf-chip:has(input:checked) { background: var(--c-navy); color: #fff; border-color: var(--c-navy); }
.trip-kinds input { margin: 0; accent-color: #2ec4b6; }
.trip-count { margin-left: auto; align-self: center; }
.trip-group[hidden], .trip[hidden] { display: none; }
.trip-more { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; }
@media (max-width: 640px) {
  .trip-filter { position: static; }
  .trip-filter label, .trip-filter select { width: 100%; min-width: 0; }
  .region-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .region-card { padding: 12px; }
  .region-card-text { display: none; }
}

/* Start page: countries by continent */
.cont-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.cont-card { padding: 16px 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-border); }
.cont-card h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 0 0 8px; font-size: 1.05rem; }
.cont-card h3 span { white-space: nowrap; font-size: .8rem; font-weight: 600; color: var(--c-muted); }
.cont-card ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 14px; }
.cont-card li { break-inside: avoid; }
.cont-card a { display: flex; justify-content: space-between; gap: 6px; padding: 4px 0; font-size: .9rem; color: var(--c-navy); }
.cont-card a:hover { color: var(--c-teal-dark); }
.cont-card a b { font-weight: 600; color: var(--c-muted); font-size: .8rem; font-variant-numeric: tabular-nums; }

/* Account: GPX upload + speed legend */
.acc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 18px; }
.gpx-form { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.gpx-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%;
  min-height: 170px; padding: 24px; border: 2px dashed var(--c-border); border-radius: var(--radius); background: var(--c-sand);
  text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.gpx-drop:hover, .gpx-drop:focus-within { border-color: var(--c-teal); background: #fff; }
.gpx-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.gpx-drop-icon { font-size: 2rem; }
.gpx-howto { margin: 0; padding-left: 20px; line-height: 1.7; }
.acc-speed-legend { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; color: var(--c-muted); }
.acc-speed-legend i { flex: 0 0 160px; height: 8px; border-radius: 4px;
  background: linear-gradient(90deg, #3b6fd8, #2fa7c9, #2ec4b6, #7cc84a, #e8d43a, #f2a830, #ec6b2d, #d6302d); }

/* Spot page: community (chat, who is here, shared sessions) */
.comm-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; margin: 14px 0 24px; }
.chat, .present { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-border); min-width: 0; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.chat-live { color: #2ec4b6; font-size: .8rem; }
.chat-list { height: 300px; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 8px; padding: 4px 2px; }
.chat-msg { max-width: 85%; align-self: flex-start; padding: 8px 12px; border-radius: 14px 14px 14px 4px; background: var(--c-sand); }
.chat-msg.is-mine { align-self: flex-end; background: #dff5f2; border-radius: 14px 14px 4px 14px; }
.chat-msg p { margin: 2px 0 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.chat-meta { display: flex; align-items: baseline; gap: 8px; font-size: .78rem; color: var(--c-muted); }
.chat-meta b { color: var(--c-navy); }
.chat-report { margin-left: auto; border: 0; background: none; padding: 0; font: inherit; font-size: .72rem; color: var(--c-muted); cursor: pointer; text-decoration: underline; }
.chat-report:disabled { text-decoration: none; cursor: default; }
.chat-form { display: flex; gap: 8px; align-items: flex-end; }
.chat-form[hidden], .chat-list[hidden], .chat-guest[hidden], .chat-error[hidden] { display: none; }
.chat-form textarea { flex: 1; min-width: 0; resize: vertical; padding: 10px 12px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); font: inherit; }
.chat-error { margin: 0; color: #9c2b2b; font-size: .85rem; }
.chat-rules { margin: 0; }
.chat-guest { position: relative; text-align: center; padding: 8px 0; }
.chat-guest p { margin: 10px 0; }
.chat-blur { display: flex; flex-direction: column; gap: 8px; filter: blur(3px); opacity: .6; margin: 0 auto; max-width: 360px; }
.chat-blur span { height: 30px; border-radius: 14px; background: var(--c-sand); width: 70%; }
.chat-blur span:nth-child(2) { align-self: flex-end; background: #dff5f2; width: 55%; }
.chat-blur span:nth-child(3) { width: 80%; }
.present-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.present-list li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 10px; border-radius: var(--radius-sm); background: var(--c-sand); }
.present-list small { color: var(--c-muted); }
.present-n { margin: 0; font-size: .95rem; } .present-n b { font-size: 1.6rem; color: var(--c-teal-dark); }
.present-checkin { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; }
.present-checkin[hidden] { display: none; }
.present-checkin .btn { padding: 6px 12px; font-size: .85rem; background: var(--c-sand); color: var(--c-navy); }
.present-checkin .btn:hover { background: var(--c-teal); color: #fff; }
.comm-h3 { margin: 8px 0 10px; }
.comm-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 14px; padding: 0; color: var(--c-muted); font-size: .9rem; }
.comm-stats b { color: var(--c-navy); font-size: 1.1rem; }
.comm-sessions { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.comm-session { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-border); color: var(--c-navy); }
.comm-session:hover { border-color: var(--c-teal); color: var(--c-navy); }
.comm-track { width: 100%; height: 90px; border-radius: var(--radius-sm); background: #eaf4f6; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.comm-track path { fill: none; stroke: var(--c-teal-dark); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.comm-figs { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .8rem; color: var(--c-muted); }
@media (max-width: 760px) { .comm-grid { grid-template-columns: 1fr; } .chat-list { height: 240px; } .comm-grid .present { order: -1; } }

/* Account: share a session */
.share-box { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; }
.share-box p { margin: 4px 0; max-width: 62ch; }
.share-track { display: flex; align-items: center; gap: 6px; font-size: .9rem; }
.share-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.share-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #dff5f2; color: var(--c-teal-dark); font-weight: 700; font-size: .85rem; }
.share-badge--sm { padding: 1px 7px; font-size: .7rem; vertical-align: middle; }
.present-sub { margin: 10px 0 4px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--c-muted); }
.present-list--plan li { background: #eef6fb; }
.present-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; width: 100%; }
.present-checkin { flex-direction: column; align-items: stretch; }

/* App page ("My spot") */
.app-page { padding-top: 14px; padding-bottom: 40px; }
.app-switch { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 12px; padding: 0 16px 2px; }
.app-switch:empty { display: none; }
.app-switch a { flex: 0 0 auto; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--c-border);
  font-size: .88rem; font-weight: 600; color: var(--c-navy); white-space: nowrap; }
.app-switch a.is-active { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }
.app-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.app-head h1 { font-size: clamp(1.4rem, 4vw + .6rem, 2rem); margin: 0 0 2px; }
.app-head p { margin: 0; }
.app-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.app-links .btn { background: #fff; border: 1px solid var(--c-border); color: var(--c-navy); padding: 9px 16px; }
.app-pick-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-bottom: 16px; }
.app-pick-item { background: var(--c-navy); }
.app-install { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 22px; padding: 16px; border-radius: var(--radius);
  background: #fff; border: 1px dashed var(--c-teal); }
.app-install[hidden] { display: none; }
.app-page .community { margin-top: 8px; }

/* Bell + push panel */
.app-bell { position: relative; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--c-border); background: #fff;
  font-size: 1.15rem; cursor: pointer; filter: grayscale(1); opacity: .75; }
.app-bell.is-on { filter: none; opacity: 1; border-color: var(--c-teal); box-shadow: 0 0 0 3px rgba(46,196,182,.2); }
.app-bell[hidden] { display: none; }
.comm-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; position: relative; }
.app-head, .comm-head { position: relative; }
.push-panel { position: absolute; right: 0; top: 50px; z-index: 60; width: min(320px, calc(100vw - 32px)); display: flex; flex-direction: column; gap: 8px;
  padding: 14px; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-border); box-shadow: var(--shadow-lg); font-size: .9rem; }
.push-panel label { display: flex; gap: 8px; align-items: flex-start; }
.push-panel input { margin-top: 3px; accent-color: #2ec4b6; }
.push-actions { display: flex; gap: 8px; }
.push-actions .btn { padding: 8px 14px; font-size: .88rem; }
.push-msg { margin: 0; color: var(--c-teal-dark); }

/* Floating chat button on spot pages */
.chat-fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; gap: 6px;
  height: 52px; min-width: 52px; padding: 0 14px; border-radius: 26px; background: var(--c-navy); color: #fff; box-shadow: var(--shadow-lg);
  font-size: 1.3rem; transition: transform .2s, opacity .2s; }
.chat-fab:hover { color: #fff; transform: translateY(-2px); }
.chat-fab b { font-size: .8rem; font-weight: 800; background: #2ec4b6; color: #0a2540; border-radius: 999px; padding: 2px 8px; }
.chat-fab b[hidden] { display: none; }
.chat-fab.is-hidden { opacity: 0; pointer-events: none; transform: translateY(20px); }
@media print { .chat-fab { display: none; } }
.nav-install { display: none !important; }   /* phones: header button .nav-app; desktop: footer + /app */
.nav-install a { font-weight: 700; color: var(--c-teal-dark); }
.ios-howto { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: flex-end; justify-content: center; padding: 16px;
  background: rgba(10,37,64,.55); }
.ios-howto-card { width: min(380px, 100%); display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px; border-radius: 20px;
  background: #fff; text-align: center; margin-bottom: env(safe-area-inset-bottom); }
.ios-howto-card img { border-radius: 14px; }
.ios-howto-card ol { text-align: left; margin: 0; padding-left: 20px; line-height: 1.7; }
.ios-share { display: inline-block; padding: 0 5px; border: 1px solid var(--c-border); border-radius: 5px; font-size: .8rem; }
.nav-app { display: none; }
@media (max-width: 900px) {
  .nav-app:not([hidden]) { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; margin-right: 10px; padding: 7px 12px;
    border-radius: 999px; background: var(--c-teal); color: #fff; font-weight: 700; font-size: .85rem; }
  .nav-app:hover { color: #fff; }
}

/* Map page on phones: the map is the content – short title, no intro text */
@media (max-width: 640px) {
  .map-hero { padding-top: 8px; padding-bottom: 8px; }
  .map-hero h1 { font-size: 1.35rem; margin: 4px 0 8px; }
  .map-hero > p.muted { display: none; }
}

/* Spot tiles on phones: compact (the whole tile is the link) – long lists stay scannable */
@media (max-width: 640px) {
  .tiles-grid .tile { gap: 8px; padding-top: 14px; padding-bottom: 14px; }
  .tiles-grid .tile .tile-btn { display: none; }
  .tiles-grid .tile .tile-facts div:not(:first-child) { display: none; }
  .tiles-grid .tile .tile-chips { gap: 4px; }
  .tiles-grid .tile .tchip { padding: 2px 8px; font-size: .7rem; }
}

/* Desktop: mobile-only menu parts hidden */
@media (min-width: 901px) {
  .nav-m, .nav-m-search, .nav-ico, .nav-m-txt { display: none !important; }
}

/* Phones (browser and installed app): tab bar at the bottom (Mein Spot · Karte · Suchen · Favoriten · Menü) */
.app-tabbar { display: none; }
@media (max-width: 900px) {
  .app-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: repeat(5, 1fr);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--c-border);
    box-shadow: 0 -4px 18px rgba(10,37,64,.08); }
  .app-tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0; font-size: .68rem; font-weight: 600; color: var(--c-muted); }
  .app-tabbar a span { font-size: 1.3rem; line-height: 1.1; }
  .app-tabbar a.is-active { color: var(--c-teal-dark); }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .chat-fab { bottom: calc(78px + env(safe-area-inset-bottom)); }
  .nav-primary { bottom: calc(64px + env(safe-area-inset-bottom)); }
  .ios-howto { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  body.cc-locked .app-tabbar { display: none; }            /* cookie banner first */
}
@media (display-mode: standalone) and (max-width: 900px) {
  .nav-app { display: none !important; }                   /* already installed */
}
}
.app-switch a.app-switch-add { background: transparent; border-style: dashed; color: var(--c-teal-dark); }
/* App page: spots with notifications */
.app-push { margin-top: 24px; padding: 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-border); }
.app-push[hidden] { display: none; }
.app-push h2 { font-size: 1.1rem; margin: 0 0 10px; }
.app-push ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.app-push li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--c-sand); }
.app-push li a { flex: 1 1 160px; color: var(--c-navy); }
.push-tags { display: flex; gap: 6px; font-size: .8rem; }
.push-tags span { padding: 2px 8px; border-radius: 999px; background: #fff; }
.push-off { padding: 5px 12px; font-size: .8rem; background: #fff; color: #9c2b2b; border: 1px solid #f1c9c9; }
.shop-schools { margin: 8px 0 0; }

/* Reiseanbieter */
.prov-about { max-width: 760px; margin: 8px 0 14px; }
.prov-about p { white-space: normal; }
.prov-photos { display: flex; gap: 8px; overflow-x: auto; margin: 6px 0 14px; }
.prov-photos img { height: 150px; width: auto; border-radius: 10px; object-fit: cover; flex: none; }
.prov-links { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.tp-cta { margin-top: 28px; }
.tp-list .org-item { align-items: center; }
.tp-list .is-off { opacity: .6; }
.ss-box { display: flex; flex-direction: column; gap: 4px; }
.ss-box .ss-input { width: 100%; }
.ss-box .ss-info:empty { display: none; }
.ss-box select[size]:not([size="0"]) { height: auto; }
/* Reisedetails */
.tdf { display: flex; flex-direction: column; gap: 10px; }
.tdf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.tdf-pair { display: flex; gap: 6px; align-items: center; }
.tdf-pair input { width: 100%; min-width: 0; }
.tdf-rows { display: flex; flex-direction: column; gap: 8px; }
.tdf-row { display: grid; grid-template-columns: 2fr 2fr 90px 140px; gap: 6px; padding: 8px; border: 1px solid #e3e7ee; border-radius: 10px; }
.tdf-row.tdf-x { grid-template-columns: 160px 1.5fr 1.5fr 90px 140px auto; align-items: center; }
.tdf-inc { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.tdf-months { gap: 4px 10px; }
@media (max-width: 700px) { .tdf-row, .tdf-row.tdf-x { grid-template-columns: 1fr 1fr; } }
.trip-facts { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 4px 0 6px; }
.trip-fact { font-size: .78rem; background: #f1f5f9; border-radius: 999px; padding: 2px 8px; }
.trip-inc { margin: 4px 0; }
.trip-more { margin: 6px 0; font-size: .9rem; }
.trip-more summary { cursor: pointer; font-weight: 600; color: var(--c-teal, #0f766e); }
.trip-pkgs { width: 100%; border-collapse: collapse; margin: 6px 0; }
.trip-pkgs th, .trip-pkgs td { text-align: left; padding: 4px 0; border-bottom: 1px solid #eef1f5; vertical-align: top; font-weight: 400; }
.trip-pkgs td { text-align: right; white-space: nowrap; font-weight: 700; padding-left: 8px; }
.trip-xh { margin: 8px 0 2px; }
.trip-xl { margin: 0; padding-left: 1.1rem; }
.trip-xl li span + span { margin-left: 4px; }
/* Reiseanfrage-Dialog */
.trip-ask-btn { margin-right: 6px; }
.trip-ask-dlg { border: 0; border-radius: 16px; padding: 0; width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 32px); overflow: auto; box-shadow: 0 20px 60px rgba(10, 37, 64, .3); }
.trip-ask-dlg::backdrop { background: rgba(10, 37, 64, .45); }
.trip-ask-dlg .bk-form { margin: 0; padding: 20px; position: relative; }
.trip-ask-dlg h2 { margin: 0 32px 6px 0; font-size: 1.15rem; }
.trip-ask-x { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 1.6rem; line-height: 1; cursor: pointer; color: #64748b; }
.trip-wind { margin: 4px 0 2px; }
.trip-wind a { color: var(--c-teal, #0f766e); text-decoration: none; font-weight: 600; }
.trip-wind a:hover { text-decoration: underline; }
/* Push: eigene Wind-Wünsche */
.push-wish { display: flex; flex-direction: column; gap: 6px; margin: 2px 0 8px 24px; padding: 8px 10px; background: #f6f8fb; border-radius: 10px; }
.push-wish[hidden] { display: none; }
.push-wish-h { font-size: .85rem; font-weight: 600; }
.push-rose { display: flex; justify-content: center; }
.push-rose-svg { max-width: 180px; width: 100%; height: auto; user-select: none; -webkit-tap-highlight-color: transparent; }
.push-rose-ring { fill: #fff; stroke: #0a2540; stroke-opacity: .3; stroke-dasharray: 3 4; }
.push-rose-hub { fill: #fff; stroke: #0a2540; stroke-opacity: .25; }
.push-wedge { cursor: pointer; outline: none; }
.push-wedge path { fill: #e8eef5; stroke: #fff; stroke-width: 2; transition: fill .15s; }
.push-wedge:hover path { fill: #cfe9e6; }
.push-wedge.is-on path { fill: #2ec4b6; fill-opacity: .85; stroke: #fff; }
.push-wedge:focus-visible path { stroke: #0a2540; stroke-width: 2.5; }
.push-wedge text { font: 700 12px Inter, system-ui, sans-serif; fill: #0a2540; pointer-events: none; }
.push-wedge.is-on text { fill: #fff; }
.push-kn { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .9rem; }
.push-kn input { width: 64px; }
/* Forecast: view toggle, model info, expert table (Windguru-like) */
.fc-view button { padding: 4px 14px; }
.fc-minfo { flex-basis: 100%; font-size: .78rem; color: rgba(255,255,255,.85); }
.fc-minfo summary { cursor: pointer; color: #7ee3d8; font-weight: 700; }
.fc-minfo ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.fc-minfo li { background: rgba(255,255,255,.06); border-radius: 8px; padding: 6px 8px; line-height: 1.35; }
.fc-minfo-svc { color: rgba(255,255,255,.6); font-size: .72rem; }
.fc-expert { margin: 0 0 12px; }
.fc-x-t { border-spacing: 1px; }
.fc-x-t td { min-width: 30px; height: 24px; font-size: .74rem; color: rgba(255,255,255,.9); background: rgba(255,255,255,.04); }
.fc-x-t td.fc-x-w, .fc-x-t td.fc-x-g { font-weight: 800; }
.fc-x-t td.fc-x-g { font-weight: 600; font-size: .7rem; }
.fc-x-t td.is-night { filter: brightness(.62); }
.fc-x-t td small { display: block; font-size: .6rem; opacity: .75; }
.fc-x-arr { display: inline-block; font-style: normal; font-weight: 800; }
.fc-x-days th { text-align: left !important; color: #fff !important; font-weight: 800 !important; border-left: 2px solid rgba(255,255,255,.25); padding-left: 6px !important; }
.fc-x-days th:first-child { border-left: 0; }
.fc-x-hours th { font-size: .66rem; color: rgba(255,255,255,.65) !important; }
.fc-x-hours th.is-night { color: rgba(255,255,255,.35) !important; }
.fc-x-fit td.is-fit { background: #2ec4b6; color: #0a2540; font-weight: 800; }
.fc-x-t td.is-rain { background: rgba(80,150,255,.35); }
.fc-x-t .fc-tide-badge { font-size: .58rem; padding: 0 3px; }
.fc-x-sep th { color: #7ee3d8 !important; padding-top: 8px !important; }
.fc-x-sep td { background: none !important; }
.fc-x-msg { text-align: left !important; background: none !important; }
/* Expert forecast at full width (desktop), weighted mix */
.fc-wide { margin: 28px 0 0; }
.fc-wide[hidden] { display: none; }
.fc-wide-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 10px; }
.fc-wide-head h2 { color: #fff; margin: 0; font-size: 1.15rem; }
.fc-wide .fc-x-t td { min-width: 34px; }
.fc-x-moved { font-size: .85rem; color: rgba(255,255,255,.85); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fc-w { font-weight: 600; font-size: .66rem; color: #7ee3d8; margin-left: 2px; }
.fc-c-blend th { color: #7ee3d8 !important; }
.fc-c-blend td { box-shadow: inset 0 0 0 2px rgba(255,255,255,.85); }
.fc-minfo-w { background: rgba(126,227,216,.1); border-radius: 8px; padding: 8px 10px; margin: 6px 0; line-height: 1.4; }
/* Expert view: slim bar (closed) / block (open) on top of spot page + "My spot" */
.fc-wide:not(.is-open) { padding: 10px 16px; }
.fc-xbar { display: flex; align-items: center; gap: 6px 14px; flex-wrap: wrap; }
.fc-xbar strong { font-size: .95rem; }
.fc-xbar-t { color: rgba(255,255,255,.7); font-size: .82rem; flex: 1 1 220px; }
.fc-wide-head h2 { font-size: 1.05rem; }
.fc-wide-head .fc-model-chips { flex: 0 1 auto; }
.fc-xmin { margin-left: auto; }
@media (max-width: 900px) {
  .fc-wide { margin: 14px 0 0; }
  .fc-wide.is-open { padding: 14px 12px; }
  .fc-xbar-t { display: none; }                 /* phone: one slim line */
  .fc-xbar { justify-content: space-between; }
  .fc-wide-head { gap: 8px; }
  .fc-wide-head .fc-model-chips { order: 5; flex-basis: 100%; }
}
.app-page .fc-wide { margin: 0 0 14px; }
@media (max-width: 480px) {
  .fc-d-sun-i { display: none; }               /* phone: just "07:12–17:48" */
  .fc-d-sun { font-size: .58rem; letter-spacing: -.02em; }
}
@media (max-width: 900px) {
  .fc-wide-head .fc-model-chips { display: none; }   /* the forecast card below has the same model buttons */
}
.fc-d-sun-i { font-style: normal; }
/* Wind table header: everything in one row (model buttons scroll sideways when narrow) */
.fc-wide-head { flex-wrap: nowrap; }
.fc-wide-head h2 { white-space: nowrap; flex: 0 0 auto; }
.fc-wide-head .fc-model-chips { flex: 1 1 auto; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.fc-wide-head .fc-model-chips button { white-space: nowrap; flex: 0 0 auto; }
.fc-wide-btns { display: flex; gap: 8px; flex: 0 0 auto; margin-left: auto; }
.fc-wide-btns .fc-cmp-btn { white-space: nowrap; }
.fc-xmin { margin-left: 0; }
@media (max-width: 900px) {
  .fc-wide-head h2 { font-size: .95rem; }
  .fc-wide-btns .fc-cmp-btn { padding: 4px 10px; font-size: .74rem; }
}
@media (max-width: 420px) {
  .fc-wide-head { flex-wrap: wrap; }          /* very narrow phones: title on its own line, buttons below */
  .fc-wide-btns { margin-left: 0; }
}

/* Wind over water / land */
.fc-cs button { padding: 4px 11px; }
.fc-cs-info { position: relative; }
.fc-cs-info summary { list-style: none; cursor: pointer; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.12); color: #fff; font-size: .75rem; font-weight: 800; }
.fc-cs-info summary::-webkit-details-marker { display: none; }
.fc-cs-info[open] { flex-basis: 100%; }
.fc-cs-info p { margin: 6px 0 0; font-size: .78rem; line-height: 1.4; color: rgba(255,255,255,.85); background: rgba(126,227,216,.1); border-radius: 8px; padding: 8px 10px; }
/* Measured wind (DWD) + model accuracy */
.fc-obs { flex-basis: 100%; display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 6px 10px; border-radius: 10px;
  background: rgba(255,255,255,.07); font-size: .85rem; line-height: 1.35; }
.fc-obs-k { flex: 0 0 auto; min-width: 30px; text-align: center; font-weight: 800; border-radius: 6px; padding: 2px 4px; }
.fc-sk { font-weight: 600; font-size: .64rem; color: #ffd38a; margin-left: 3px; white-space: nowrap; }
/* Riders' feedback "how was the wind?" */
.fc-wfb { flex-basis: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: 6px;
  padding: 6px 10px; border-radius: 10px; background: rgba(255,211,138,.12); font-size: .82rem; }
.wind-ask { display: flex; flex-direction: column; gap: 6px; margin: 10px 0; padding: 10px 12px; border-radius: 12px; background: #eef8f7; border: 1px solid #cdebe7; }
.wind-votes { display: flex; gap: 6px; flex-wrap: wrap; }
.wind-vote { padding: 6px 14px; }
.wind-vote.is-on { background: var(--c-teal, #0f766e); border-color: var(--c-teal, #0f766e); color: #fff; }
/* Thermal spot hint */
.fc-thermal { flex-basis: 100%; margin-top: 6px; padding: 6px 10px; border-radius: 10px; background: rgba(242,168,48,.16); font-size: .82rem; }
.fc-thermal summary { cursor: pointer; font-weight: 700; }
.fc-thermal summary span { font-weight: 400; }
.fc-thermal p { margin: 6px 0 0; line-height: 1.4; color: rgba(255,255,255,.85); }
/* Wind table: hours so far today + measured row */
.fc-x-t td.is-past, .fc-x-t th.is-past { opacity: .6; }
.fc-x-obs th { color: #ffd38a !important; }
.fc-x-obs td.fc-x-w { box-shadow: inset 0 -3px 0 rgba(255,211,138,.9); }
/* Shore orientation (wind directions at the shore) */
.spot-sectors { display: flex; gap: 18px; align-items: flex-start; margin-top: 16px; padding: 14px; border: 1px solid var(--c-border); border-radius: var(--radius-sm, 10px); background: #fff; }
.spot-sectors svg { flex: 0 0 auto; }
.spot-sectors h3 { margin: 0 0 4px; font-size: 1rem; }
.spot-sectors p { margin: 0 0 6px; }
.spot-sectors-list { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 2px; }
.spot-sectors-list i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
@media (max-width: 520px) { .spot-sectors { flex-direction: column; align-items: center; } }
.fc-off { color: #ff8a80; font-weight: 800; margin-left: 2px; }
/* Webcams on the spot page */
.cam-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.cam-card { display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 1px solid var(--c-border); border-radius: var(--radius-sm, 10px); background: #fff; }
.cam-card h3 { margin: 0; font-size: 1rem; }
.cam-card p { margin: 0; }
.cam-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cam-btn { margin-top: auto; align-self: flex-start; }
.cam-embed { border-radius: 8px; background: #f1f5f9; padding: 10px; }
.cam-embed iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 6px; display: block; }

/* Language switch: dropdown with flags (DE · EN · FR) */
.lang-switch { position: relative; }
.lang-dd > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; padding: 6px 10px; border-radius: 999px;
  border: 1px solid var(--c-border); color: var(--c-muted); user-select: none; }
.lang-dd > summary::-webkit-details-marker { display: none; }
.lang-dd > summary:hover, .lang-dd[open] > summary { background: var(--c-sand); color: var(--c-navy); }
.lang-flag { width: 20px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(10,37,64,.15); flex: none; display: block; }
.lang-name { display: none; }
.lang-caret { font-size: .7rem; opacity: .7; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 1200; min-width: 170px; margin: 0; padding: 6px;
  list-style: none; background: #fff; border: 1px solid var(--c-border); border-radius: 12px; box-shadow: 0 10px 30px rgba(10,37,64,.15); }
.nav-primary .lang-menu { display: block; grid-template-columns: none; padding: 6px; }
.nav-primary .lang-menu li { margin: 0; }
.lang-switch .lang-menu a { display: flex !important; flex-direction: row !important; align-items: center; height: auto !important; background: transparent; gap: 10px; padding: 9px 10px !important; border: 0 !important;
  border-radius: 8px; font-size: .9rem; font-weight: 600; letter-spacing: 0; color: var(--c-navy) !important; white-space: nowrap; }
.lang-switch .lang-menu a:hover { background: var(--c-sand); }
.lang-switch .lang-menu a::after { display: none !important; }
.lang-switch .lang-menu a[aria-current] { background: #eef8f7; }
@media (max-width: 900px) {
  .nav-primary .lang-switch { grid-column: 1 / -1; }
  .lang-dd { width: 100%; }
  .lang-dd > summary { width: 100%; justify-content: center; padding: 10px; font-size: .9rem; letter-spacing: 0; background: #fff; }
  .lang-code { display: none; }
  .lang-name { display: inline; }
  .lang-menu { position: static; margin-top: 8px; box-shadow: none; }
}

/* ---- Bereich Schule/Shop/Reise: Seitenleiste + Übersicht (27.11.) ---- */
.container:has(> .org-side) {
  display: grid; grid-template-columns: 250px minmax(0, 1fr); column-gap: 32px; row-gap: 0; align-items: start;
}
.container:has(> .org-side) > * { grid-column: 2; min-width: 0; }
.container:has(> .org-side) > .org-side { grid-column: 1; grid-row: 1 / span 60; position: sticky; top: calc(var(--h-header) + 16px); }
.org-side {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 14px 10px; margin-bottom: 20px; max-height: calc(100vh - var(--h-header) - 32px); overflow-y: auto;
}
.org-side-card { display: flex; gap: 10px; align-items: center; padding: 4px 8px 14px; border-bottom: 1px solid var(--c-border); margin-bottom: 8px; }
.org-side-ico { flex: 0 0 40px; height: 40px; border-radius: 12px; background: var(--c-sand); display: grid; place-items: center; font-size: 1.3rem; }
.org-side-name { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.org-side-name strong { overflow: hidden; text-overflow: ellipsis; }
.org-menu { display: flex; flex-direction: column; gap: 1px; }
.org-menu-h { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); padding: 12px 10px 4px; }
.org-menu a {
  display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 9px; color: var(--c-navy); font-weight: 500; font-size: .95rem;
}
.org-menu a:hover { background: var(--c-sand); }
.org-menu a.active { background: var(--c-navy); color: #fff; }
.org-menu-i { width: 1.4em; text-align: center; }
.org-menu-l { flex: 1; min-width: 0; }
.org-menu .org-count { margin-left: auto; }
.org-side-foot { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--c-border); }
.org-side-foot a { padding: 5px 10px; border-radius: 8px; font-size: .88rem; color: var(--c-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.org-side-foot a:hover { background: var(--c-sand); color: var(--c-navy); }

.ov-title { font-size: 1.6rem; margin: 0 0 14px; }
.ov-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 20px; }
.ov-kpi {
  display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--c-border); box-shadow: var(--shadow-sm); color: var(--c-navy); transition: border-color .15s, transform .15s;
}
.ov-kpi:hover { border-color: var(--c-teal); transform: translateY(-1px); }
.ov-kpi-top { font-size: .85rem; color: var(--c-muted); font-weight: 600; }
.ov-kpi strong { font-size: 2rem; line-height: 1.15; font-weight: 800; }
.ov-kpi-sub { font-size: .8rem; color: var(--c-muted); }
.ov-kpi--hot { border-color: #f59e0b; background: #fffbeb; }
.ov-kpi--hot strong { color: #b45309; }
.ov-todo-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.ov-todo-head .acc-h2 { margin: 0; }
.ov-pct { display: flex; align-items: center; gap: 10px; color: var(--c-muted); }
.ov-bar { width: 140px; height: 8px; border-radius: 99px; background: var(--c-sand); overflow: hidden; }
.ov-bar span { display: block; height: 100%; background: var(--c-teal); border-radius: 99px; }
.ov-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px; }
.ov-list a {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--c-border);
  color: var(--c-navy); font-size: .93rem; height: 100%;
}
.ov-list a:hover { border-color: var(--c-teal); background: #f0fdfa; }
.ov-dot { flex: 0 0 8px; height: 8px; border-radius: 50%; background: #f59e0b; }
.ov-go { margin-left: auto; color: var(--c-muted); }
.ov-list--tips { margin-top: 8px; }
.ov-list--tips a { border-style: dashed; color: var(--c-muted); }

@media (max-width: 900px) {
  .container:has(> .org-side) { display: block; }
  .org-side {
    position: static; max-height: none; overflow: visible; padding: 10px 8px 8px; margin: 0 0 16px;
  }
  .org-side-card { padding: 2px 6px 8px; margin-bottom: 6px; }
  .org-side-ico { flex-basis: 32px; height: 32px; font-size: 1.05rem; }
  .org-menu { flex-direction: row; overflow-x: auto; gap: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .org-menu::-webkit-scrollbar { display: none; }
  .org-menu-h { display: none; }
  .org-menu a { flex: 0 0 auto; padding: 6px 12px; border-radius: 99px; background: var(--c-bg); font-size: .9rem; white-space: nowrap; }
  .org-side-foot { flex-direction: row; flex-wrap: wrap; gap: 2px 8px; margin-top: 6px; padding-top: 6px; }
  .org-side-foot a { padding: 3px 6px; font-size: .82rem; }
  .ov-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ov-kpi { padding: 12px; }
  .ov-kpi strong { font-size: 1.6rem; }
  .ov-title { font-size: 1.35rem; }
}

/* ---- Betriebsbereich: eigenes Layout ohne Website-Menü (27.11.) ---- */
body.ws { --h-header: 58px; background: #f3f5f8; padding-bottom: 0; }
body.ws .breadcrumb { display: none; }
body.ws main > .container { max-width: 1380px; padding-top: 22px; }
body.ws main > .section { padding-top: 22px; padding-bottom: 32px; }
.ws-bar { position: sticky; top: 0; z-index: 60; height: var(--h-header); background: var(--c-navy); color: #fff; box-shadow: 0 2px 10px rgba(6,26,48,.18); }
.ws-bar-in { max-width: 1380px; margin: 0 auto; height: 100%; padding: 0 20px; display: flex; align-items: center; gap: 16px; }
.ws-brand { display: flex; align-items: center; gap: 10px; color: #fff; min-width: 0; }
.ws-brand .brand-logo { width: 30px; height: 30px; flex: 0 0 30px; }
.ws-brand strong { font-size: 1.05rem; }
.ws-bar a:hover, .ws-bar a:focus-visible, .ws-bar button:hover { color: #fff; }
.ws-switch { position: relative; min-width: 0; }
.ws-switch summary {
  list-style: none; display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 10px; cursor: pointer;
  background: rgba(255,255,255,.1); max-width: 340px; font-size: .92rem; font-weight: 600;
}
.ws-switch summary::-webkit-details-marker { display: none; }
.ws-switch summary:hover, .ws-switch[open] summary { background: rgba(255,255,255,.18); }
.ws-switch-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ws-caret { font-size: .75rem; opacity: .8; }
.ws-menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 80; min-width: 280px; max-width: min(380px, 92vw); max-height: 70vh; overflow-y: auto;
  background: #fff; color: var(--c-navy); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; border: 1px solid var(--c-border);
}
.ws-menu-h { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); padding: 8px 10px 4px; }
.ws-menu a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--c-navy); }
.ws-bar .ws-menu a:hover { background: var(--c-sand); color: var(--c-navy); }
.ws-menu a.on { background: #eef4fb; font-weight: 600; }
.ws-menu-t { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.ws-menu-t small { color: var(--c-muted); font-weight: 400; font-size: .78rem; }
.ws-tick { color: var(--c-teal-dark); font-weight: 800; }
.ws-menu-sep { height: 1px; background: var(--c-border); margin: 6px 4px; }
.ws-bar-r { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.ws-bar-r a, .ws-out button {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; color: #fff; font: inherit; font-size: .9rem;
  background: transparent; border: 0; cursor: pointer; white-space: nowrap;
}
.ws-bar-r a:hover, .ws-out button:hover { background: rgba(255,255,255,.12); }
.ws-back { border: 1px solid rgba(255,255,255,.35) !important; }
.ws-av { width: 26px; height: 26px; border-radius: 50%; background: var(--c-teal); color: var(--c-navy); display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.ws-out { margin: 0; }
.ws-show-s { display: none; }
.ws-foot { max-width: 1380px; margin: 0 auto; padding: 8px 20px 28px; font-size: .82rem; color: var(--c-muted); text-align: right; }
.ws-foot a { color: var(--c-muted); }
@media (max-width: 900px) {
  body.ws main > .container { padding-top: 12px; }
  body.ws main > .section { padding-top: 12px; }
  .ws-bar-in { padding: 0 12px; gap: 8px; }
  .ws-hide-s { display: none; }
  .ws-show-s { display: inline; }
  .ws-bar-r a, .ws-out button { padding: 6px 9px; }
  .ws-switch summary { max-width: 46vw; padding: 6px 9px; }
  .ws-menu { position: fixed; top: calc(var(--h-header) + 6px); left: 8px; right: 8px; max-width: none; min-width: 0; }
  .ws-foot { text-align: center; padding-bottom: 20px; }
}

/* Sprachauswahl in der Kopfleiste des Betriebsbereichs (dunkel, auch auf dem Handy als kleines Dropdown) */
.ws-lang .lang-dd { width: auto; }
.ws-lang .lang-dd > summary { width: auto; padding: 6px 10px; font-size: .78rem; letter-spacing: .06em; background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.ws-lang .lang-dd > summary:hover, .ws-lang .lang-dd[open] > summary { background: rgba(255,255,255,.12); color: #fff; }
.ws-lang .lang-code { display: inline; }
.ws-lang .lang-name { display: none; }
.ws-lang .lang-menu { position: absolute; right: 0; top: calc(100% + 8px); margin-top: 0; box-shadow: 0 10px 30px rgba(10,37,64,.15); }
.ws-bar .ws-lang .lang-menu a:hover { color: var(--c-navy) !important; }
@media (max-width: 900px) { .ws-lang .lang-code { display: none; } .ws-lang .lang-dd > summary { padding: 6px 8px; } }

/* ---- Stunden (Schulen) ---- */
.hrs-optin .check { font-size: 1rem; }
.hrs-chip { display: inline-block; margin: 2px 4px 2px 0; padding: 1px 9px; border-radius: 99px; background: var(--c-sand); font-size: .82rem; }
.hrs-chip.on { background: #dcfce7; color: #166534; }
.hrs-sug { border: 1px solid var(--c-border); border-left: 4px solid var(--c-teal); border-radius: 12px; padding: 14px 16px; margin-top: 12px; background: #fcfdfd; }
.hrs-sug-head { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; }
.hrs-sug-h { display: flex; flex-direction: column; align-items: flex-end; white-space: nowrap; }
.hrs-sug-h strong { font-size: 1.6rem; line-height: 1.1; }
.hrs-people { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.hrs-person { padding: 5px 10px; border: 1px solid var(--c-border); border-radius: 99px; background: #fff; font-size: .9rem; }
.hrs-person:has(input:checked) { border-color: var(--c-navy); background: #eef4fb; }
.hrs-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.hrs-row label { display: flex; flex-direction: column; gap: 3px; font-size: .85rem; }
.hrs-row input[name="hours"] { width: 80px; }
.hrs-grow { flex: 1 1 180px; }
.hrs-sum { cursor: pointer; margin: 0; list-style: none; }
.hrs-sum::-webkit-details-marker { display: none; }
details[open] > .hrs-sum { margin-bottom: 12px; }
.hrs-month { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.hrs-month .acc-h2 { margin: 0; }
.hrs-mnav { display: flex; align-items: center; gap: 8px; }
.hrs-table .num { text-align: right; white-space: nowrap; }
.hrs-table tfoot th { border-top: 2px solid var(--c-border); }
.hrs-entries { margin-top: 12px; }
.hrs-entries summary { cursor: pointer; color: var(--c-muted); }
@media (max-width: 600px) { .hrs-sug-head { flex-direction: column; gap: 6px; } .hrs-sug-h { flex-direction: row; gap: 8px; align-items: baseline; } }
.hrs-row input:not([type=checkbox]), .hrs-row select {
  padding: 9px 11px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); font-family: inherit; font-size: .95rem; background: #fff; max-width: 100%;
}
.hrs-row input:focus, .hrs-row select:focus { outline: none; border-color: var(--c-teal); }
.form-grid .hrs-row input[type=checkbox], .hrs-people input[type=checkbox] { width: auto; margin: 0; }
.form-grid .hrs-row input[name="hours"] { width: 90px; }
.hrs-stu { border: 1px solid var(--c-border); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.hrs-stu-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.hrs-stu-sum { display: flex; flex-direction: column; align-items: flex-end; white-space: nowrap; }
.hrs-stu-sum strong { font-size: 1.5rem; line-height: 1.1; }
.kio-url { width: 100%; max-width: 520px; margin: 4px 0; padding: 6px 10px; border: 1px solid var(--c-border); border-radius: 8px; font: inherit; font-size: .85rem; color: var(--c-muted); background: var(--c-bg); }
.kio-add { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.kio-add input { flex: 1 1 220px; padding: 9px 12px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); font: inherit; }
.exp-range { margin-bottom: 4px; }
.exp-sets { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 14px 0; }
.exp-set { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--c-border); border-radius: 12px; color: var(--c-navy); background: #fff; }
.exp-set:hover { border-color: var(--c-teal); background: #f0fdfa; }
.exp-set span { display: flex; flex-direction: column; }
.exp-set small { color: var(--c-muted); }
.exp-ico { font-size: 1.5rem; }
.exp-bk { max-width: 560px; }
.exp-test { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }

/* ---- Eintragen (Spots, Schulen, Shops) ---- */
.sub-cta { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 18px; }
.sub-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 20px 0; }
.sub-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm); color: var(--c-navy); transition: border-color .15s, transform .15s; }
.sub-card:hover { border-color: var(--c-teal); transform: translateY(-2px); }
.sub-card strong { font-size: 1.1rem; }
.sub-ico { font-size: 2rem; }
.sub-form { max-width: 820px; }
.sub-lbl { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 6px; }
.sub-map { height: 340px; border-radius: 12px; border: 1px solid var(--c-border); z-index: 0; }
.sub-pos { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; align-items: center; }
.form-grid .sub-pos input { width: 150px; margin-top: 0; }
.sub-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sub-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--c-border); border-radius: 99px; background: #fff; font-size: .9rem; cursor: pointer; }
.sub-chip:has(input:checked) { border-color: var(--c-navy); background: #eef4fb; }
.form-grid .sub-chip input, .form-grid .sub-check input, .form-grid .sub-owner input { width: auto; margin: 0; }
.sub-check { align-self: end; }
.sub-owner { padding: 12px 14px; border-radius: 12px; background: var(--c-bg); border: 1px dashed var(--c-border); display: flex; flex-direction: column; gap: 4px; }
.sub-done { text-align: center; padding: 40px 24px; }
.sub-tick { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; background: var(--c-teal); color: #fff; display: grid; place-items: center; font-size: 2.6rem; font-weight: 800; }

/* ---- Für Schulen & Shops (templates/business.php) + Startseiten-Teaser ---- */
.biz-hero { background: linear-gradient(135deg, var(--c-navy) 0%, #12406b 60%, var(--c-teal-dark) 140%); color: #fff; padding: 28px 0 56px; }
.biz-hero .breadcrumb, .biz-hero .breadcrumb a { color: rgba(255,255,255,.7); }
.biz-hero h1 { color: #fff; max-width: 22ch; font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.1; margin: 6px 0 14px; }
.biz-hero .lead { color: rgba(255,255,255,.86); max-width: 62ch; }
.biz-kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--c-teal); margin: 0; }
.biz-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 8px; }
.biz-hero .btn:not(.btn-primary) { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); }
.biz-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 28px; padding: 0; margin: 26px 0 0; color: rgba(255,255,255,.8); }
.biz-facts strong { display: block; font-size: 1.8rem; color: #fff; line-height: 1.1; }
.biz-group { padding-top: 44px; padding-bottom: 8px; }
.biz-group h2 span { margin-right: 4px; }
.biz-item { cursor: default; }
.biz-item:hover { transform: none; border-color: var(--c-border); }
.biz-steps { list-style: none; padding: 0; margin: 10px 0 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.biz-steps li { display: flex; gap: 14px; align-items: flex-start; }
.biz-num { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--c-teal); color: var(--c-navy); font-weight: 800; display: grid; place-items: center; font-size: 1.1rem; }
.biz-steps p { margin: 4px 0 0; }
.biz-teaser { display: flex; gap: 28px; align-items: center; justify-content: space-between; padding: 30px 32px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #eef8f7, #f5f9ff); border: 1px solid var(--c-border); }
.biz-teaser h2 { margin: 4px 0 6px; }
.biz-teaser-list { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px 18px; font-weight: 500; }
.biz-teaser-ico { font-size: 6rem; line-height: 1; opacity: .9; }
@media (max-width: 700px) { .biz-teaser { padding: 22px 18px; } .biz-teaser-ico { display: none; } .biz-hero { padding-bottom: 40px; } }

/* ---- Session: Sprünge + 3D ---- */
.acc-map-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.acc-map-head .acc-h2 { margin-bottom: 10px; }
#acc-3d-btn[aria-pressed="true"] { background: var(--c-navy); color: #fff; }
.acc-3d { position: relative; margin-bottom: 10px; }
.acc-3d-map { height: 480px; border-radius: var(--radius-sm); overflow: hidden; }
.acc-3d-sw { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; background: #fff; border-radius: 8px; box-shadow: var(--shadow-sm); overflow: hidden; }
.acc-3d-sw button { border: 0; background: #fff; padding: 6px 12px; font: inherit; font-size: .85rem; cursor: pointer; color: var(--c-navy); }
.acc-3d-sw button[aria-pressed="true"] { background: var(--c-navy); color: #fff; }
.jmp-pin-wrap { background: none; border: 0; }
.jmp-pin { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #0a2540; font-weight: 800; font-size: .75rem;
  border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.jmp-tools { display: flex; gap: 6px; margin-bottom: 10px; }
.jmp-tools button { border: 1px solid var(--c-border); background: #fff; border-radius: 99px; padding: 5px 12px; font: inherit; font-size: .85rem; cursor: pointer; color: var(--c-navy); }
.jmp-tools button[aria-pressed="true"] { background: var(--c-navy); color: #fff; border-color: var(--c-navy); }
.jmp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.jmp-card { display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 10px 12px; border: 1px solid var(--c-border); border-radius: 12px;
  background: #fff; cursor: pointer; font: inherit; color: var(--c-navy); transition: border-color .15s, box-shadow .15s; }
.jmp-card:hover { border-color: var(--c-teal); }
.jmp-card.on { border-color: var(--c-navy); box-shadow: 0 0 0 2px var(--c-navy) inset; }
.jmp-head { display: flex; gap: 8px; align-items: baseline; font-size: .85rem; color: var(--c-muted); flex-wrap: wrap; }
.jmp-head b { color: var(--c-navy); font-size: 1rem; }
.jmp-best { color: #b45309; font-weight: 700; }
.jmp-vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; font-size: .72rem; color: var(--c-muted); }
.jmp-vals span { display: flex; flex-direction: column; }
.jmp-vals b { font-size: .95rem; color: var(--c-navy); }
.jmp-detail { margin-top: 16px; padding: 16px; border-radius: 14px; background: var(--c-bg); border: 1px solid var(--c-border); }
.jmp-detail h3 { margin: 0 0 8px; }
.jmp-detail .jmp-svg { font: 11px var(--font); fill: var(--c-muted); max-width: 680px; display: block; }
.jmp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin: 12px 0 6px; }
.jmp-stats div { background: #fff; border-radius: 10px; padding: 10px 12px; border: 1px solid var(--c-border); display: flex; flex-direction: column; }
.jmp-stats b { font-size: 1.3rem; }
.jmp-stats span { font-size: .8rem; color: var(--c-muted); }
.jmp-table { margin-top: 12px; }
@media (max-width: 700px) { .acc-3d-map { height: 380px; } }
.acc-3d-rot { position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; gap: 2px; background: #fff;
  border-radius: 99px; box-shadow: var(--shadow-sm); padding: 3px; }
.acc-3d-rot button { border: 0; background: transparent; border-radius: 99px; padding: 6px 12px; font: inherit; font-size: .9rem; cursor: pointer; color: var(--c-navy); }
.acc-3d-rot button:hover { background: var(--c-sand); }
.acc-3d-rot button[aria-pressed="true"] { background: var(--c-navy); color: #fff; }
.acc-3d-hint { margin: 6px 0 0; }
.jmp-rot { color: #6d28d9; font-weight: 700; font-size: .8rem; }

/* Zurück-Meldung (safety.js) – große Knöpfe, ein Tipp */
.sfy { border: 2px solid var(--c-teal); border-radius: 14px; background: #fff; padding: 14px 16px; margin: 14px 0 18px; }
.sfy-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.sfy-head strong { font-size: 1.05rem; color: var(--c-navy); white-space: nowrap; }
.sfy-head a { text-align: right; }
.sfy-q { margin: 4px 0 8px; font-weight: 600; }
.sfy-hours { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sfy .btn { border-radius: 12px; }
.sfy-h { min-height: 54px; font-size: 1.15rem; font-weight: 700; justify-content: center; white-space: nowrap; padding-left: 6px; padding-right: 6px; }
.sfy-h--warn { background: var(--c-warn); color: #fff; white-space: normal; }
.sfy-act { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; margin-top: 8px; }
.sfy-back { min-height: 60px; font-size: 1.2rem; font-weight: 700; justify-content: center; }
.sfy-ext { min-height: 60px; font-size: 1.05rem; justify-content: center; border: 2px solid var(--c-border); white-space: nowrap; }
.sfy-due { margin: 4px 0; font-size: 1.05rem; }
.sfy-warn { background: #fff4e5; border-left: 4px solid var(--c-warn); padding: 8px 10px; border-radius: 6px; margin: 10px 0; }
.sfy-err { background: #fdecec; border-left: 4px solid #c0392b; padding: 8px 10px; border-radius: 6px; margin: 6px 0; }
.sfy-ok { background: #e8f8f5; border-left: 4px solid var(--c-teal); padding: 8px 10px; border-radius: 6px; margin: 6px 0; }
.sfy-more { margin: 10px 0 4px; }
.sfy-more summary { cursor: pointer; color: var(--c-muted); font-size: .9rem; }
.sfy-more label { display: block; margin-top: 8px; }
.sfy-more input[type=text] { width: 100%; margin-top: 4px; }
.sfy-chk input { margin-right: 6px; }
.sfy-pill { position: fixed; right: 12px; bottom: 16px; z-index: 75; background: var(--c-navy); color: #fff; padding: 10px 14px; border-radius: 99px;
  font-weight: 700; box-shadow: 0 4px 14px rgba(0,0,0,.25); text-decoration: none; }
.sfy-pill--late { background: #c0392b; }
@media (max-width: 900px) { .sfy-pill { bottom: 78px; } }
.sfy-page .acc-panel + .acc-panel { margin-top: 18px; }
.sfy-contacts { list-style: none; padding: 0; margin: 0 0 12px; }
.sfy-contacts li { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--c-border); }
.sfy-contacts form { display: inline; }
.sfy-form { display: grid; grid-template-columns: 1fr 1.4fr auto auto; gap: 8px; align-items: end; }
@media (max-width: 700px) { .sfy-form { grid-template-columns: 1fr; } }
.sfy-steps { padding-left: 1.2em; }
.sfy-steps li { margin: 4px 0; }
.sfy-big { display: grid; gap: 10px; max-width: 420px; }
.sfy-big .btn { min-height: 56px; font-size: 1.15rem; justify-content: center; }
.sfy-sos { margin: 10px 0 0; padding-top: 8px; border-top: 1px dashed var(--c-border); color: var(--c-muted); }
.sfy-sos a { font-weight: 700; color: #c0392b; white-space: nowrap; }
.sfy-cust-open { margin: 8px 0 0; }
.sfy-cust { margin-top: 10px; padding: 10px; background: var(--c-bg); border-radius: 10px; }
.sfy-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sfy-chip { min-height: 44px; font-weight: 700; justify-content: center; white-space: nowrap; border: 2px solid var(--c-teal); background: #fff; padding: 4px 2px; font-size: 1rem; min-width: 0; }
.sfy-until span { grid-column: 1 / -1; font-size: .9rem; }
.sfy-until { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; margin-top: 10px; font-weight: 600; }
.sfy-until input { min-height: 44px; font-size: 1.1rem; padding: 4px 8px; min-width: 0; width: 100%; }
.sfy-until .btn { min-height: 44px; }
