:root {
  --night: #0d1930;
  --night-2: #142747;
  --blue: #8ecbff;
  --ice: #e9f5ff;
  --white: #f8fbff;
  --muted: #a9bad0;
  --lime: #b8f28b;
  --orange: #ffbd70;
  --line: rgba(192, 221, 255, .16);
  --font: 'Outfit', system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--white); font-family: var(--font); }
a { color: inherit; }
.site-nav { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem max(1.5rem, calc((100vw - 1120px) / 2)); background: rgba(10, 21, 41, .96); border-bottom: 1px solid var(--line); }
.nav-brand { text-decoration: none; font-size: .9rem; letter-spacing: .14em; font-weight: 900; color: var(--ice); white-space: nowrap; }
.nav-links { display: flex; flex-wrap: wrap; gap: .45rem; }
.nav-links a { color: #b8c9df; text-decoration: none; font-size: .9rem; font-weight: 700; padding: .58rem .9rem; border-radius: 999px; transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(142, 203, 255, .14); }
.trip-hero { min-height: 530px; position: relative; overflow: hidden; background: radial-gradient(ellipse at 72% 5%, #315582 0, transparent 43%), linear-gradient(125deg, #10213e 0%, #18375d 56%, #244b75 100%); }
.hero-content { position: relative; z-index: 2; max-width: 1120px; margin: 0 auto; padding: 5.6rem 1.5rem 12rem; }
.eyebrow, .section-tag { color: #a8d8ff; font-size: .72rem; font-weight: 900; letter-spacing: .18em; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; padding: .55rem .85rem; border: 1px solid rgba(195, 227, 255, .3); border-radius: 99px; background: rgba(8, 20, 39, .3); }
.live-dot { width: 7px; height: 7px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 15px var(--lime); }
.trip-hero h1, .films-hero h1 { margin: 1.35rem 0 .9rem; font-size: clamp(3.5rem, 9vw, 6.8rem); line-height: .88; letter-spacing: -.065em; font-weight: 900; }
.trip-hero h1 span, .films-hero h1 span { color: var(--blue); }
.hero-subtitle { max-width: 34rem; margin: 1.4rem 0 1.8rem; color: #d1e3f5; font-size: 1.12rem; }
.hero-scroll { display: inline-flex; gap: .8rem; align-items: center; color: var(--ice); text-decoration: none; font-size: .75rem; font-weight: 900; letter-spacing: .15em; }
.hero-scroll span { color: var(--lime); font-size: 1.25rem; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(1px); opacity: .3; pointer-events: none; }
.glow-one { width: 360px; height: 360px; right: 11%; top: 8%; background: radial-gradient(circle, rgba(173, 222, 255, .5), transparent 70%); }
.glow-two { width: 230px; height: 230px; right: 34%; bottom: 5%; background: radial-gradient(circle, rgba(108, 170, 229, .35), transparent 72%); }
.hero-snow { position: absolute; right: 8%; top: 18%; color: rgba(239, 248, 255, .55); font-size: 2.2rem; letter-spacing: .6em; transform: rotate(-12deg); }
.mountain-art { position: absolute; bottom: -1px; left: 0; width: 100%; height: 250px; }
.mountain-art svg { width: 100%; height: 100%; display: block; }
.trip-main { width: min(1120px, calc(100% - 3rem)); margin: -1px auto 0; position: relative; z-index: 2; }
.emergency-card { display: grid; grid-template-columns: 1fr auto; gap: 1.2rem 2rem; align-items: center; padding: 1.7rem 1.9rem; margin-top: -1px; background: linear-gradient(110deg, #172d4c, #1d3c61); border: 1px solid rgba(184, 217, 255, .24); border-radius: 20px; box-shadow: 0 18px 50px rgba(0, 0, 0, .22); }
.emergency-copy h2 { margin: .45rem 0 .35rem; font-size: 1.55rem; }
.emergency-copy p { margin: 0; color: var(--muted); max-width: 39rem; line-height: 1.5; }
.lost-button { border: 0; border-radius: 13px; padding: 1rem 1.25rem; color: #1d1a16; background: linear-gradient(135deg, #ffd08a, #ffad60); box-shadow: 0 8px 22px rgba(255, 173, 96, .2); font: 900 .85rem var(--font); letter-spacing: .06em; cursor: pointer; white-space: nowrap; }
.lost-button span { margin-right: .4rem; }
.lost-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; padding-top: .5rem; border-top: 1px solid var(--line); }
.lost-actions a, .map-open { padding: .75rem .95rem; border-radius: 10px; text-decoration: none; font-weight: 800; font-size: .9rem; }
.action-call { color: #17263e; background: var(--lime); }
.action-map, .map-open { color: var(--ice); border: 1px solid rgba(180, 214, 250, .3); background: rgba(255,255,255,.04); }
.lost-actions p { width: 100%; margin: .1rem 0 0; color: var(--muted); font-size: .86rem; }
.section-block { padding: 4.2rem 0 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.55rem; }
.section-heading h2 { margin: .4rem 0 .35rem; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.04em; }
.section-heading p { margin: 0; color: var(--muted); }
.mountain-stamp { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.04); font-size: 1.5rem; flex: 0 0 auto; }
.tab-switch { display: inline-flex; gap: .35rem; padding: .35rem; margin-bottom: 1.1rem; border-radius: 13px; background: #142641; border: 1px solid var(--line); }
.plan-tab { border: 0; border-radius: 9px; padding: .75rem 1rem; background: transparent; color: #aebed2; cursor: pointer; font: 800 .9rem var(--font); }
.plan-tab.active { color: #10203a; background: var(--blue); }
.schedule-list { display: grid; gap: .65rem; }
.daily-day-heading { display:inline-flex; align-items:center; margin:-.25rem 0 .8rem; padding:.55rem .9rem; border:1px solid rgba(255,189,112,.28); border-radius:999px; color:var(--orange); background:rgba(255,189,112,.08); font-size:.82rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.week-empty { margin:0; padding:.65rem 0 .1rem; color:var(--muted); font-size:.88rem; }
.schedule-row { display: grid; grid-template-columns: 88px minmax(0,1fr); align-items: start; gap: 1rem; padding: 1rem 1.15rem; border: 1px solid var(--line); background: rgba(24, 47, 76, .62); border-radius: 13px; }
.schedule-time { font-weight: 900; color: var(--blue); font-variant-numeric: tabular-nums; }
.schedule-copy strong { display: block; font-size: 1rem; white-space: pre-line; overflow-wrap: anywhere; }
.schedule-copy p { margin: .2rem 0 0; color: var(--muted); font-size: .9rem; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.schedule-day { grid-column: 1 / -1; margin-bottom: -.5rem; color: var(--orange); font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.week-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .8rem; }
.week-card { padding: 1.2rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(24, 47, 76, .62); }
.week-card h3 { margin: 0 0 .9rem; color: var(--orange); font-size: 1.1rem; }
.week-card .schedule-row { grid-template-columns: 68px minmax(0,1fr); padding: .75rem 0; border: 0; border-radius: 0; border-top: 1px solid var(--line); background: transparent; }
.stay-section { padding-top: 4.5rem; }
.map-frame { height: 360px; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: #182f4c; }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.map-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .8rem; }
.map-note { color: var(--muted); font-size: .86rem; }
.empty-state { padding: 1.5rem; border: 1px dashed rgba(183, 213, 244, .25); border-radius: 14px; color: var(--muted); background: rgba(255,255,255,.025); }
.bottom-callout { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem; border-radius: 18px; border: 1px solid rgba(184, 242, 139, .23); background: linear-gradient(105deg, rgba(104, 148, 119, .16), rgba(43, 79, 106, .28)); }
.bottom-callout > div { display: flex; align-items: center; gap: 1rem; }
.bottom-callout > div > span { font-size: 2rem; }
.bottom-callout strong { font-size: 1.05rem; }
.bottom-callout p { margin: .2rem 0 0; color: var(--muted); font-size: .9rem; }
.callout-mark { color: var(--blue); font-size: .68rem; font-weight: 900; letter-spacing: .16em; }
.page-footer { padding: 2rem 0 2.4rem; color: #71849d; text-align: center; font-size: .8rem; }
.page-footer span { color: var(--blue); padding-left: .25rem; }
/* Filmstemming */
.films-hero { position: relative; overflow: hidden; padding: 5rem max(1.5rem, calc((100vw - 1120px) / 2)) 3.5rem; background: radial-gradient(ellipse at 75% 15%, #315582 0, transparent 42%), linear-gradient(130deg, #132540, #254b73); }
.films-hero h1 { margin-top: 1.15rem; }
.films-hero p { max-width: 35rem; color: #d1e3f5; font-size: 1.05rem; }
.vote-counter { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.1rem; padding: .7rem 1rem; border: 1px solid rgba(193, 221, 255, .26); border-radius: 12px; background: rgba(4, 15, 31, .2); }
.vote-counter span { font-size: 1.2rem; }.vote-counter strong { font-size: 1.25rem; }.vote-counter small { color: var(--muted); }
.films-main { width: min(1120px, calc(100% - 3rem)); margin: 0 auto; padding: 2rem 0 4rem; }
.vote-status { padding: 1rem 1.1rem; margin-bottom: 1.3rem; border: 1px solid rgba(142, 203, 255, .25); border-radius: 13px; color: #d6eaff; background: rgba(49, 85, 130, .22); font-weight: 700; }
.movie-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.2rem; }
.movie-card { display: grid; grid-template-columns: minmax(130px, 190px) minmax(0,1fr); gap: 1.2rem; overflow: hidden; padding: .9rem; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(140deg, rgba(30, 56, 87, .95), rgba(16, 34, 58, .95)); }
.movie-card.chosen { border-color: rgba(184, 242, 139, .55); box-shadow: 0 0 0 1px rgba(184, 242, 139, .12); }
.movie-poster { min-height: 250px; overflow: hidden; border-radius: 12px; background: linear-gradient(150deg, #273f62, #0e1c31); display: grid; place-items: center; }
.movie-poster img { width: 100%; height: 100%; min-height: 250px; object-fit: cover; display: block; }
.poster-placeholder { font-size: 3rem; opacity: .7; }
.movie-info { display: flex; flex-direction: column; align-items: flex-start; padding: .4rem .2rem .3rem 0; }
.movie-info h2 { margin: 0; font-size: 1.35rem; line-height: 1.1; }
.movie-info p { color: var(--muted); line-height: 1.5; font-size: .9rem; }
.movie-votes { margin-top: auto; padding-top: 1rem; color: var(--blue); }.movie-votes strong { font-size: 1.4rem; }.movie-votes span { color: var(--muted); font-size: .82rem; }
.vote-button { width: 100%; margin-top: .7rem; border: 0; border-radius: 10px; padding: .85rem .75rem; background: var(--lime); color: #16251a; font: 900 .85rem var(--font); cursor: pointer; }
.vote-button:disabled { color: #d8e7d9; background: #40654b; cursor: default; }
.vote-footnote { color: #91a4bb; font-size: .82rem; margin-top: 1.3rem; }
@media (max-width: 760px) {
  .site-nav { padding: .85rem 1rem; }
  .nav-brand { font-size: .76rem; }
  .nav-links a { padding: .5rem .65rem; font-size: .8rem; }
  .trip-hero { min-height: 480px; }
  .hero-content { padding-top: 4.3rem; }
  .emergency-card { grid-template-columns: 1fr; padding: 1.35rem; }
  .lost-button { justify-self: start; }
  .week-grid, .movie-grid { grid-template-columns: 1fr; }
  .map-frame { height: 300px; }
  .bottom-callout { align-items: flex-start; flex-direction: column; }
  .callout-mark { align-self: flex-end; }
}
@media (max-width: 480px) {
  .trip-main, .films-main { width: min(100% - 1.5rem, 1120px); }
  .hero-content { padding-left: 1rem; padding-right: 1rem; }
  .trip-hero h1, .films-hero h1 { font-size: 3.7rem; }
  .section-block { padding-top: 3rem; }
  .section-heading { align-items: flex-start; }
  .schedule-row { grid-template-columns: 66px minmax(0,1fr); gap: .6rem; padding: .85rem .8rem; }
  .tab-switch { width: 100%; }
  .plan-tab { flex: 1; padding: .7rem .4rem; font-size: .82rem; }
  .movie-card { grid-template-columns: 115px minmax(0,1fr); gap: .8rem; padding: .65rem; }
  .movie-poster, .movie-poster img { min-height: 190px; }
  .movie-info h2 { font-size: 1.1rem; }
  .movie-info p { font-size: .8rem; }
  .films-hero { padding-top: 3.7rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }


/* --- Skitrip mobile-first polish --- */
.trip-page { overflow-x:hidden; }
.trip-page .site-nav { position:sticky; top:0; padding-top:max(.75rem, env(safe-area-inset-top)); backdrop-filter:blur(16px); }
.trip-page .nav-links a { min-height:42px; display:inline-flex; align-items:center; }
.lost-actions .action-copy { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:.75rem .95rem; border:1px solid rgba(180,214,250,.3); border-radius:10px; color:var(--ice); background:rgba(255,255,255,.07); font:800 .9rem var(--font); cursor:pointer; }
.lost-actions .action-copy:hover { background:rgba(255,255,255,.13); }
.lost-actions .action-copy:focus-visible, .lost-button:focus-visible, .plan-tab:focus-visible { outline:3px solid var(--lime); outline-offset:3px; }
.trip-page .map-frame { background:#172d4c; }
.trip-page .map-frame iframe { display:block; }
.trip-page .map-open { display:inline-flex; align-items:center; justify-content:center; min-height:44px; }
.trip-page .plan-tab { min-height:46px; }
@media (max-width:760px) {
  .trip-hero { min-height:430px; }
  .hero-content { padding-top:3.65rem; padding-bottom:10rem; }
  .hero-subtitle { max-width:30rem; font-size:1rem; }
  .trip-main { width:min(100% - 1.35rem, 680px); }
  .emergency-card { grid-template-columns:1fr; gap:1rem; padding:1.15rem; border-radius:17px; }
  .emergency-copy h2 { font-size:1.45rem; }
  .lost-button { width:100%; min-height:52px; justify-self:stretch; }
  .lost-actions { display:grid; grid-template-columns:1fr; gap:.6rem; }
  .lost-actions a,.lost-actions .action-copy { width:100%; min-height:48px; text-align:center; }
  .section-block { padding-top:3.15rem; }
  .section-heading { margin-bottom:1rem; }
  .section-heading h2 { font-size:2rem; }
  .week-grid { grid-template-columns:1fr; }
  .map-frame { height:260px; border-radius:15px; }
  .bottom-callout { padding:1.1rem; }
  .page-footer { padding-bottom:calc(2rem + env(safe-area-inset-bottom)); }
}
@media (max-width:480px) {
  .trip-page .site-nav { gap:.4rem; padding-left:.75rem; padding-right:.75rem; }
  .trip-page .nav-brand { font-size:.69rem; letter-spacing:.1em; }
  .trip-page .nav-links { gap:.15rem; }
  .trip-page .nav-links a { padding:.48rem .55rem; font-size:.76rem; }
  .trip-hero { min-height:395px; }
  .hero-content { padding:3.1rem 1rem 8.5rem; }
  .trip-hero h1 { font-size:clamp(3.2rem,15vw,4.1rem); }
  .trip-main { width:calc(100% - 1.2rem); }
  .tab-switch { display:grid; grid-template-columns:1fr 1fr; width:100%; }
  .plan-tab { padding:.7rem .35rem; font-size:.83rem; }
  .schedule-row { grid-template-columns:62px minmax(0,1fr); gap:.55rem; padding:.82rem .75rem; }
  .schedule-copy strong { font-size:.96rem; }
  .schedule-copy p { font-size:.84rem; }
  .map-frame { height:230px; }
}

/* De lichte ski-fuifstijl: ook de gedeelde navigatie en pagina-achtergrond volgen het gekozen thema. */
:root[data-theme="light"] body { background:var(--sky); color:var(--body-text); }
:root[data-theme="light"] .site-nav { background:rgba(255,255,255,.88); border-bottom-color:#d8def5; box-shadow:0 5px 24px rgba(48,57,105,.08); }
:root[data-theme="light"] .nav-brand { color:#292657; }
:root[data-theme="light"] .nav-links a { color:#62658c; }
:root[data-theme="light"] .nav-links a:hover,:root[data-theme="light"] .nav-links a.active { color:#24234f; background:#e8ecff; }
:root[data-theme="light"] .hero { background:radial-gradient(ellipse at 75% 5%,#ffffff 0,transparent 38%),linear-gradient(135deg,#f5f6ff 0%,#e4eaff 55%,#d5e2ff 100%); }
:root[data-theme="light"] .hero-text > p:last-child { color:#50547d; }
:root[data-theme="light"] .hero-kicker { color:#686b94; }
:root[data-theme="light"] .moon { filter:drop-shadow(0 8px 22px rgba(111,119,193,.25)); }
:root[data-theme="light"] .search-panel { border-color:#d7ddf5; box-shadow:0 18px 48px rgba(58,66,119,.10); }
:root[data-theme="light"] .inspiration { border-top-color:#d8def5; }
:root[data-theme="light"] .results li { border-color:#dbe0f3; box-shadow:0 5px 0 rgba(94,104,173,.10); }
:root[data-theme="light"] .results li:nth-child(even) { box-shadow:0 5px 0 rgba(92,160,190,.20); }
:root[data-theme="light"] .message,:root[data-theme="light"] .footer-note { color:#666a91; }
:root[data-theme="light"] .toast { box-shadow:0 8px 24px rgba(41,38,87,.18); }


/* Rhizo-schoollogo + compact mobile burger navigation */
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: .68rem;
  letter-spacing: .12em;
}
.nav-school-logo {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  object-fit: cover;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 3px 12px rgba(0,0,0,.18);
  background: #e50018;
}
.nav-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(192,221,255,.22);
  border-radius: 12px;
  color: var(--ice);
  background: rgba(255,255,255,.06);
  cursor: pointer;
}
.nav-menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}
.site-nav.menu-open .nav-menu-toggle span:first-child { transform: translateY(7px) rotate(45deg); }
.site-nav.menu-open .nav-menu-toggle span:nth-child(2) { opacity: 0; }
.site-nav.menu-open .nav-menu-toggle span:last-child { transform: translateY(-7px) rotate(-45deg); }
.nav-menu-toggle:focus-visible, .nav-links a:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

@media (max-width: 760px) {
  .site-nav {
    position: relative;
    min-height: 64px;
    padding: .65rem 1rem;
  }
  .trip-page .site-nav { position: sticky; }
  .nav-brand { gap: .55rem; font-size: .82rem; letter-spacing: .1em; }
  .nav-school-logo { width: 36px; height: 36px; flex-basis: 36px; border-radius: 8px; }
  .nav-menu-toggle { display: inline-flex; }
  .site-nav .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    z-index: 20;
    flex-direction: column;
    align-items: stretch;
    gap: .3rem;
    padding: .7rem 1rem 1rem;
    background: rgba(10,21,41,.985);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 26px rgba(0,0,0,.24);
  }
  .site-nav.menu-open .nav-links { display: flex; }
  .site-nav .nav-links a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: .72rem .9rem;
    border-radius: 11px;
    font-size: .94rem;
  }
  :root[data-theme="light"] .site-nav .nav-links {
    background: rgba(255,255,255,.99);
    border-bottom-color: #d8def5;
    box-shadow: 0 16px 26px rgba(48,57,105,.14);
  }
  :root[data-theme="light"] .nav-menu-toggle {
    color: #292657;
    border-color: #d8def5;
    background: #f4f5ff;
  }
}
@media (max-width: 380px) {
  .nav-brand { gap: .45rem; font-size: .73rem; letter-spacing: .075em; }
  .nav-school-logo { width: 33px; height: 33px; flex-basis: 33px; }
}


/* Ski-groepen pagina */
.groups-hero { position:relative; min-height:390px; overflow:hidden; display:flex; align-items:center; padding:3.5rem max(1.5rem,calc((100% - 1120px)/2)) 8rem; background:radial-gradient(ellipse at 70% 5%,rgba(125,190,238,.18),transparent 35%),linear-gradient(135deg,#132b49 0%,#1b4264 56%,#0d1930 100%); }
.groups-hero-content { position:relative; z-index:2; max-width:780px; padding:1rem 0; }
.groups-hero h1 { margin:.8rem 0 .75rem; font-size:clamp(3.2rem,8vw,6.2rem); line-height:.96; letter-spacing:-.065em; color:#f4f8ff; }
.groups-hero h1 span { display:block; color:#b8f28b; }
.groups-hero p { max-width:580px; margin:0; color:#c5d7e9; font-size:1.1rem; line-height:1.55; }
.groups-total { display:inline-flex; margin-top:1.4rem; padding:.55rem .85rem; border:1px solid rgba(184,242,139,.28); border-radius:999px; background:rgba(184,242,139,.1); color:#d9f5c7; font-size:.88rem; font-weight:800; }
.groups-main { padding-bottom:3.5rem; }
.groups-intro { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:2.7rem 0 1.2rem; }
.groups-intro h2 { margin:.35rem 0; font-size:clamp(1.8rem,4vw,2.5rem); letter-spacing:-.04em; }
.groups-intro p { margin:.25rem 0 0; color:var(--muted); }
.groups-intro-icon { display:grid; place-items:center; width:58px; height:58px; flex:0 0 58px; border:1px solid var(--line); border-radius:18px; background:rgba(145,206,255,.1); font-size:1.8rem; }
.groups-privacy { margin:0 0 1rem; color:var(--muted); font-size:.83rem; }
.ski-groups-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); gap:1rem; }
.ski-group-card { min-width:0; padding:1.25rem; border:1px solid var(--line); border-radius:18px; background:linear-gradient(145deg,rgba(27,53,84,.95),rgba(14,28,49,.96)); box-shadow:0 12px 34px rgba(0,0,0,.12); }
.ski-group-card-head { display:flex; align-items:center; gap:.8rem; padding-bottom:1rem; border-bottom:1px solid var(--line); }
.ski-group-icon { display:grid; place-items:center; width:46px; height:46px; flex:0 0 46px; border-radius:13px; background:rgba(145,206,255,.12); font-size:1.45rem; }
.ski-group-heading { flex:1; min-width:0; }
.ski-group-kicker { color:var(--blue); font-size:.68rem; font-weight:900; letter-spacing:.15em; }
.ski-group-heading h3 { margin:.1rem 0 0; color:#f4f8ff; font-size:1.25rem; overflow-wrap:anywhere; }
.ski-group-count { flex:0 0 auto; padding:.35rem .55rem; border-radius:999px; background:rgba(184,242,139,.1); color:#d5f3c0; font-size:.72rem; font-weight:800; }
.ski-student-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(125px,1fr)); gap:.45rem .85rem; margin:1rem 0 0; padding:0; list-style:none; }
.ski-student-list li { position:relative; padding:.45rem .55rem .45rem 1.2rem; border-radius:8px; color:#d6e4f3; background:rgba(255,255,255,.035); font-size:.91rem; overflow-wrap:anywhere; }
.ski-student-list li::before { content:""; position:absolute; left:.55rem; top:50%; width:5px; height:5px; border-radius:50%; background:var(--lime); transform:translateY(-50%); }
.ski-group-empty { margin:1rem 0 0; color:var(--muted); font-size:.9rem; }
.groups-footer-card { display:flex; align-items:center; gap:.9rem; margin-top:1.5rem; padding:1.2rem; border:1px solid rgba(184,242,139,.2); border-radius:16px; background:rgba(184,242,139,.06); }
.groups-footer-card > span { font-size:1.8rem; }
.groups-footer-card strong { color:#e8f7dc; }
.groups-footer-card p { margin:.15rem 0 0; color:var(--muted); font-size:.88rem; }
@media(max-width:760px) { .groups-hero { min-height:350px; padding:2.8rem 1.25rem 7rem; } .groups-hero h1 { font-size:clamp(3rem,14vw,4.5rem); } .groups-hero p { font-size:1rem; } .groups-main { width:calc(100% - 1.35rem); } .groups-intro { padding-top:2rem; } .ski-groups-grid { grid-template-columns:1fr; } .ski-group-card { padding:1rem; } }


/* Ski-groepen zoeken, leerlingfoto's en extra mobiele afwerking */
.visually-hidden { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.groups-lookup-card { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,.8fr); gap:1.1rem 1.5rem; align-items:center; margin:1.1rem 0 1.3rem; padding:1.35rem; border:1px solid rgba(145,206,255,.2); border-radius:20px; background:linear-gradient(130deg,rgba(27,65,99,.92),rgba(17,34,57,.96)); box-shadow:0 16px 38px rgba(0,0,0,.14); }
.groups-lookup-card h2 { margin:.3rem 0; color:#f4f8ff; font-size:clamp(1.45rem,3vw,2rem); letter-spacing:-.04em; }
.groups-lookup-card p { margin:.15rem 0 0; color:#c5d7e9; }
.groups-lookup-form { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.55rem; }
.groups-lookup-form input { width:100%; min-width:0; padding:.85rem .95rem; border:1px solid rgba(187,215,246,.25); border-radius:12px; color:#f4f8ff; background:#0d1b2e; font:inherit; }
.groups-lookup-form button { padding:.85rem 1rem; border:0; border-radius:12px; background:#b8f28b; color:#142519; font:inherit; font-weight:900; white-space:nowrap; }
.groups-lookup-form button:disabled { opacity:.65; }
.groups-lookup-status { grid-column:1/-1; min-height:1.2em; color:#d5e6f4!important; font-size:.88rem; }
.groups-lookup-result { grid-column:1/-1; display:flex; align-items:center; gap:.75rem; padding:.9rem 1rem; border:1px solid rgba(184,242,139,.28); border-radius:14px; background:rgba(184,242,139,.08); }
.groups-lookup-result[hidden] { display:none; }
.groups-result-kicker { color:#b8f28b; font-size:.7rem; font-weight:900; letter-spacing:.12em; }
.groups-result-group { color:#f5f9ff; font-size:1.12rem; }
.groups-result-name { color:#cad9e8; font-size:.88rem; }
.groups-result-photo { width:48px; height:48px; margin-left:auto; object-fit:cover; border-radius:50%; }
.ski-student-list { grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr)); }
.ski-student-list li.ski-student { display:flex; align-items:center; gap:.65rem; min-width:0; padding:.5rem .6rem; }
.ski-student-list li.ski-student::before { display:none; }
.ski-student-photo,.ski-student-avatar { width:36px; height:36px; flex:0 0 36px; border-radius:50%; }
.ski-student-photo { object-fit:cover; }
.ski-student-avatar { display:grid; place-items:center; background:rgba(145,206,255,.14); color:#cfe7ff; font-size:.75rem; font-weight:900; }
.ski-student-name { min-width:0; color:#e4edf7; overflow-wrap:anywhere; }
@media (max-width:760px) {
  .trip-hero { min-height:460px; padding:3.2rem 1.2rem 6.7rem; }
  .trip-hero h1 { font-size:clamp(2.8rem,13vw,4.6rem); line-height:.98; overflow-wrap:anywhere; }
  .hero-subtitle { max-width:35rem; font-size:1rem; }
  .trip-main { width:calc(100% - 1.25rem); padding-top:1.3rem; }
  .emergency-card { display:grid; grid-template-columns:1fr; gap:1rem; padding:1.15rem; }
  .lost-button { width:100%; justify-content:center; }
  .lost-actions { display:grid; grid-template-columns:1fr; gap:.55rem; }
  .lost-actions a,.lost-actions button { width:100%; min-height:46px; justify-content:center; }
  .tab-switch { width:100%; display:grid; grid-template-columns:1fr 1fr; }
  .plan-tab { min-width:0; padding:.75rem .5rem; }
  .schedule-row { grid-template-columns:70px minmax(0,1fr); gap:.7rem; padding:.85rem; }
  .schedule-copy { min-width:0; }
  .week-grid { grid-template-columns:1fr!important; }
  .week-card { min-width:0; padding:1rem; }
  .map-frame { overflow:hidden; border-radius:15px; }
  .map-frame iframe { width:100%; min-height:310px; }
  .map-actions { display:flex; flex-direction:column; align-items:stretch; gap:.65rem; }
  .map-open { width:100%; text-align:center; }
  .groups-lookup-card { grid-template-columns:1fr; gap:.8rem; padding:1rem; }
  .groups-lookup-form { grid-template-columns:1fr; }
  .groups-lookup-form button { width:100%; min-height:46px; }
  .ski-groups-grid { grid-template-columns:1fr; }
}
@media (max-width:420px) {
  .groups-lookup-result { align-items:flex-start; flex-direction:column; }
  .groups-result-photo { margin:0; }
  .ski-group-card-head { gap:.6rem; }
  .ski-group-count { font-size:.68rem; }
  .ski-student-list { grid-template-columns:1fr; }
}

/* Planningstekst behoudt Enter-regels en loopt niet uit de kaart op gsm. */
.schedule-row { min-width:0; }
.schedule-copy { min-width:0; overflow-wrap:anywhere; }
.schedule-copy strong, .schedule-copy p { white-space:pre-line; overflow-wrap:anywhere; }
.schedule-copy p { margin:.25rem 0 0; }
@media(max-width:760px) {
  .daily-day-heading { overflow-wrap:anywhere; }
  .schedule-row { align-items:start; }
  .schedule-time { overflow-wrap:anywhere; }
}


/* Update: volledig Rhizo-logo, vrije tekstzone in ski-groepen en helderdere leerlingfoto's */
.nav-school-logo {
  width: 92px;
  height: 40px;
  flex: 0 0 92px;
  object-fit: contain;
  object-position: center;
  padding: 2px 4px;
  background: rgba(255,255,255,.045);
  border-radius: 7px;
}
.groups-hero {
  min-height: 450px;
  align-items: flex-start;
  padding-top: 3rem;
  padding-bottom: 10rem;
}
.groups-hero-content {
  z-index: 3;
  width: 100%;
  margin-top: .35rem;
  padding: .6rem 0 1.2rem;
  text-shadow: 0 2px 18px rgba(5,15,30,.2);
}
.groups-hero .mountain-art {
  height: 145px;
  z-index: 1;
  opacity: .88;
}
.groups-hero h1 { line-height: 1.02; }
.groups-hero p { max-width: 640px; text-shadow: 0 1px 12px rgba(5,15,30,.55); }
.ski-student-list li.ski-student { min-height: 64px; gap: .8rem; padding: .55rem .7rem; }
.ski-student-photo,.ski-student-avatar {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 50%;
}
.ski-student-photo {
  object-fit: cover;
  object-position: center;
  border: 2px solid rgba(184,242,139,.58);
  box-shadow: 0 3px 12px rgba(0,0,0,.28);
  background: #203a5a;
}
.ski-student-avatar { font-size: .92rem; }
.groups-result-photo {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  object-fit: cover;
  border: 2px solid rgba(184,242,139,.65);
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.lost-contacts { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr)); gap:.65rem; width:100%; }
.lost-contact-card { display:grid; gap:.45rem; min-width:0; padding:.8rem; border:1px solid rgba(192,221,255,.18); border-radius:12px; background:rgba(8,20,39,.24); }
.lost-contact-name { color:#f4f8ff; font-weight:900; }
.lost-contact-number { color:#c4d5e8; font-size:.86rem; overflow-wrap:anywhere; }
.lost-contact-actions { display:flex; flex-wrap:wrap; gap:.45rem; }
.lost-contact-actions a,.lost-contact-actions button { min-height:42px; }
.contact-editors { margin-top:1rem; }
.contact-editors h3 { margin:0 0 .25rem; color:var(--blue); }
.contact-editor-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.8rem; margin-top:.75rem; }
.contact-editor { min-width:0; padding:.9rem; border:1px solid var(--line); border-radius:12px; background:rgba(9,23,41,.32); }
.contact-editor > strong { display:block; margin-bottom:.55rem; color:var(--lime); }
.contact-editor .field { margin-bottom:.65rem; }
.contact-editor input { width:100%; min-width:0; }
.group-import-preview-groups { display:grid; gap:.6rem; margin:.6rem 0; }
.group-import-preview-group { padding:.65rem .8rem; border:1px solid rgba(184,242,139,.18); border-radius:10px; background:rgba(0,0,0,.12); }
.group-import-preview-group strong { display:block; color:var(--lime); margin-bottom:.2rem; }
.group-import-preview-group span { color:var(--muted); font-size:.83rem; }
@media (max-width:760px) {
  .nav-school-logo { width:78px; height:36px; flex-basis:78px; }
  .groups-hero { min-height:420px; align-items:flex-start; padding:2.3rem 1.2rem 9.5rem; }
  .groups-hero-content { margin-top:0; padding:.45rem 0 1rem; }
  .groups-hero h1 { font-size:clamp(2.7rem,11.5vw,4.3rem); line-height:1.02; }
  .groups-hero p { max-width:100%; font-size:1rem; }
  .groups-hero .mountain-art { height:122px; }
  .contact-editor-grid { grid-template-columns:1fr; }
  .lost-contacts { grid-template-columns:1fr; }
  .ski-student-list li.ski-student { min-height:62px; }
}
