/* House of Movement — mockup (Trygg Digital)
   Palett avledet av merket: rosé fra deres egne knapper, espresso fra header, papir fra dagslys/treverk. */

:root {
  --paper: #f7f3ec;
  --paper-2: #efe7dc;
  --ink: #2b2724;
  --ink-soft: #6b6259;
  --dark: #262220;
  --dark-2: #1d1a18;
  --rose: #c99f96;
  --rose-deep: #b08379;
  --rose-soft: #e4c7c0;
  --line: rgba(43, 39, 36, .14);
  --line-dark: rgba(247, 243, 236, .16);
  --paper-dark-text: #f2ece2;
  --radius: 18px;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(1180px, 92vw); margin-inline: auto; }
.wrap-narrow { width: min(880px, 92vw); margin-inline: auto; }

/* ---------- typografi ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.3rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
.h-it { font-style: italic; font-weight: 400; color: var(--rose-deep); }
.dark .h-it, .footer .h-it { color: var(--rose-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 1.1rem;
}
.dark .eyebrow { color: var(--rose-soft); }
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--rose); }

.lede { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--ink-soft); max-width: 56ch; }
.dark .lede { color: rgba(242, 236, 226, .78); }

/* ---------- knapper ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.7rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; text-decoration: none; line-height: 1;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--dark-2); }
.btn-rose { background: var(--rose-soft); color: var(--ink); }
.btn-rose:hover { background: var(--rose); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.dark .btn-ghost, .hero .btn-ghost { border-color: rgba(247,243,236,.4); color: var(--paper-dark-text); }
.dark .btn-ghost:hover, .hero .btn-ghost:hover { border-color: var(--paper-dark-text); }
.btn-sm { padding: .6rem 1.15rem; font-size: .9rem; }

/* ---------- bølgen (signatur fra logoen) ---------- */
.wave { color: var(--rose); }
.wave svg { display: block; width: 74px; height: auto; }
.wave path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.wave-draw path {
  stroke-dasharray: 140; stroke-dashoffset: 140;
  animation: waveDraw 1.4s ease forwards;
}
.wave-draw path:nth-child(2) { animation-delay: .25s; }
.wave-draw path:nth-child(3) { animation-delay: .5s; }
@keyframes waveDraw { to { stroke-dashoffset: 0; } }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header .bar {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.site-header.scrolled { background: rgba(29, 26, 24, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(247,243,236,.08); }
.site-header.on-paper { }
.site-header.on-paper.scrolled { background: rgba(247, 243, 236, .92); box-shadow: 0 1px 0 var(--line); }

.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand-name { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .02em; color: var(--paper-dark-text); display: none; }

.nav-desktop { display: flex; align-items: center; gap: 1.7rem; }
.nav-desktop a:not(.btn) {
  color: var(--paper-dark-text); text-decoration: none; font-size: .95rem; font-weight: 500;
  opacity: .85; transition: opacity .15s ease;
}
.nav-desktop a:not(.btn):hover, .nav-desktop a[aria-current="page"] { opacity: 1; }
.nav-desktop a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--rose); text-decoration-thickness: 2px; }

.on-paper .nav-desktop a:not(.btn), .on-paper .brand-name { color: var(--ink); }

.nav-toggle {
  display: none; background: none; border: 0; width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--paper-dark-text); transition: transform .25s ease, opacity .2s ease; }
.on-paper .nav-toggle span { background: var(--ink); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 55; background: var(--dark-2); color: var(--paper-dark-text);
  display: flex; flex-direction: column; justify-content: center; padding: 8vh 8vw;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.nav-open .nav-mobile { opacity: 1; pointer-events: auto; }
.nav-mobile a { text-decoration: none; font-family: var(--font-display); font-size: clamp(1.7rem, 7vw, 2.4rem); padding: .45rem 0; }
.nav-mobile .nav-sub { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1.2rem; }
.nav-mobile .nav-sub a { font-family: var(--font-body); font-size: .95rem; opacity: .7; }
.nav-mobile .btn { margin-top: 2.2rem; align-self: flex-start; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: min(94vh, 880px); display: flex; align-items: flex-end;
  color: var(--paper-dark-text); isolation: isolate;
}
.hero picture, .hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero img.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(200deg, rgba(29,26,24,.05) 30%, rgba(29,26,24,.72) 78%),
              linear-gradient(90deg, rgba(29,26,24,.5) 0%, rgba(29,26,24,0) 55%);
}
.hero-inner { padding: calc(var(--header-h) + 4rem) 0 4.5rem; width: min(1180px, 92vw); margin-inline: auto; }
.hero .eyebrow { color: var(--rose-soft); }
.hero h1 { max-width: 15ch; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero .lede { color: rgba(242,236,226,.86); margin-top: 1.3rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.1rem; }
.hero .wave { margin-top: 2.6rem; color: var(--rose-soft); }
.hero-note { font-size: .85rem; color: rgba(242,236,226,.66); margin-top: 1.1rem; }

/* ---------- seksjoner ---------- */
.section { padding: clamp(4.2rem, 9vw, 7.5rem) 0; }
.section-tight { padding: clamp(3rem, 6vw, 4.8rem) 0; }
.dark { background: var(--dark); color: var(--paper-dark-text); }
.dark-2 { background: var(--dark-2); color: var(--paper-dark-text); }
.paper-2 { background: var(--paper-2); }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.4rem; margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.section-head .lede { margin-top: .9rem; }

/* trust-stripe */
.trust { border-block: 1px solid var(--line-dark); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 1.9rem 1.4rem; border-left: 1px solid var(--line-dark); }
.trust-item:first-child { border-left: 0; }
.trust-item strong { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.35rem, 2.2vw, 1.8rem); display: block; line-height: 1.2; }
.trust-item span { font-size: .86rem; color: rgba(242,236,226,.66); display: block; margin-top: .35rem; }

/* klasser */
.class-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.class-card {
  position: relative; border-radius: var(--radius); overflow: hidden; text-decoration: none;
  background: var(--dark); color: var(--paper-dark-text); min-height: 420px; display: flex; align-items: flex-end;
}
.class-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .4s ease; opacity: .92; }
.class-card::after { content: ""; position: absolute; inset: 40% 0 0 0; background: linear-gradient(180deg, transparent, rgba(24,21,19,.88)); }
.class-card:hover img { transform: scale(1.04); }
.class-body { position: relative; z-index: 1; padding: 1.6rem; width: 100%; }
.class-body h3 { font-size: 1.5rem; margin-bottom: .35rem; }
.class-body p { font-size: .92rem; color: rgba(242,236,226,.82); line-height: 1.55; max-width: 34ch; }
.class-meta { display: flex; gap: .5rem; margin-top: .9rem; flex-wrap: wrap; }
.chip {
  font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: .32rem .7rem; border-radius: 999px; background: rgba(247,243,236,.14); color: var(--paper-dark-text);
}
.chip-rose { background: var(--rose-soft); color: var(--ink); }

/* steg */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; counter-reset: steg; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.7rem; position: relative; }
.step::before {
  counter-increment: steg; content: counter(steg);
  font-family: var(--font-display); font-style: italic; font-size: 2.6rem; line-height: 1;
  color: var(--rose); display: block; margin-bottom: 1rem;
}
.step h3 { margin-bottom: .5rem; }
.step p { font-size: .95rem; color: var(--ink-soft); }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.team-card { text-decoration: none; }
.team-card figure { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.team-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.team-card:hover img { transform: scale(1.04); }
.team-card h3 { font-size: 1.15rem; margin-top: 1rem; }
.team-card p { font-size: .88rem; color: var(--ink-soft); margin-top: .15rem; }

/* omtaler */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.quote {
  background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 2rem 1.8rem;
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: 1.1rem;
}
.quote .stars { color: var(--rose-deep); letter-spacing: .18em; font-size: .95rem; }
.quote blockquote { font-family: var(--font-display); font-size: 1.22rem; line-height: 1.45; font-weight: 400; }
.quote figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: auto; }

/* teasere (utdanning/bedrift) */
.teaser { display: grid; grid-template-columns: 1.05fr .95fr; border-radius: calc(var(--radius) + 6px); overflow: hidden; background: var(--dark); color: var(--paper-dark-text); }
.teaser + .teaser { margin-top: 1.8rem; }
.teaser.flip { grid-template-columns: .95fr 1.05fr; }
.teaser-media { position: relative; min-height: 340px; }
.teaser-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.teaser-body { padding: clamp(2rem, 4vw, 3.4rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.1rem; }
.teaser-body h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.teaser-body p { color: rgba(242,236,226,.8); font-size: .98rem; max-width: 48ch; }
.teaser-body .btn { margin-top: .6rem; }

/* instagram */
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.ig-grid a { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1; display: block; }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ig-grid a:hover img { transform: scale(1.05); }
.ig-grid a::after { content: ""; position: absolute; inset: 0; background: rgba(29,26,24,0); transition: background .25s ease; }
.ig-grid a:hover::after { background: rgba(29,26,24,.18); }

/* kontakt / footer */
.footer { background: var(--dark-2); color: var(--paper-dark-text); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 3rem; padding: clamp(3.4rem, 7vw, 5.5rem) 0 3rem; }
.footer h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.footer p, .footer li { font-size: .94rem; color: rgba(242,236,226,.75); }
.footer ul { list-style: none; display: grid; gap: .45rem; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--rose-soft); }
.footer .brand img { height: 64px; }
.footer-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-dark); margin-top: 1.2rem; }
.footer-map iframe { display: block; width: 100%; height: 220px; border: 0; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 1.4rem 0 1.8rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .82rem; color: rgba(242,236,226,.55); }
.some { display: flex; gap: .9rem; margin-top: 1.2rem; }
.some a { display: inline-flex; width: 40px; height: 40px; border: 1px solid var(--line-dark); border-radius: 50%; align-items: center; justify-content: center; transition: border-color .2s ease, background .2s ease; }
.some a:hover { border-color: var(--rose-soft); background: rgba(228,199,192,.08); }
.some svg { width: 17px; height: 17px; fill: currentColor; }

/* stor ordmarkør */
.bigword { position: relative; overflow: hidden; }
.bigword::before {
  content: attr(data-word);
  position: absolute; right: -2vw; bottom: -4rem; z-index: 0;
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(7rem, 18vw, 15rem); line-height: 1; color: var(--ink); opacity: .05;
  pointer-events: none; white-space: nowrap;
}
.bigword.dark::before, .dark .bigword::before { color: var(--paper-dark-text); opacity: .05; }
.bigword > * { position: relative; z-index: 1; }

/* ---------- timeplan ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(2.6rem, 7vw, 5rem)) 0 clamp(2.4rem, 5vw, 3.6rem); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lede { margin-top: 1.1rem; }

.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2.2rem; }
.filter-btn {
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  padding: .55rem 1.1rem; border-radius: 999px; font-size: .9rem; font-weight: 500;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.filter-btn:hover { border-color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.day-col h3 { font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; font-family: var(--font-body); font-weight: 600; padding-bottom: .8rem; border-bottom: 2px solid var(--ink); margin-bottom: 1rem; }
.timeplan-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1.3rem; align-items: start; }
.slot {
  border: 1px solid var(--line); border-radius: 14px; padding: .95rem 1rem; margin-bottom: .8rem;
  background: var(--paper); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.slot:hover { border-color: var(--rose-deep); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(43,39,36,.07); }
.slot time { font-weight: 600; font-size: .92rem; display: block; }
.slot .slot-name { font-family: var(--font-display); font-size: 1.06rem; line-height: 1.25; margin: .25rem 0 .15rem; }
.slot .slot-meta { font-size: .8rem; color: var(--ink-soft); display: block; }
.slot .slot-spots { font-size: .74rem; color: var(--rose-deep); font-weight: 600; display: block; margin-top: .35rem; }
.slot button { margin-top: .7rem; width: 100%; }
.slot.hidden { display: none; }
.day-col.empty-day::after { content: "Ingen klasser denne dagen"; font-size: .82rem; color: var(--ink-soft); }

/* pris-seksjon */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.price-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.8rem; display: flex; flex-direction: column; gap: .4rem; }
.price-card.hl { background: var(--dark); color: var(--paper-dark-text); border-color: var(--dark); }
.price-card h3 { font-size: 1.15rem; }
.price-card .price { font-family: var(--font-display); font-size: 2.1rem; margin: .5rem 0 .2rem; }
.price-card .price small { font-size: 1rem; color: var(--ink-soft); font-family: var(--font-body); }
.price-card.hl .price small { color: rgba(242,236,226,.65); }
.price-card p { font-size: .9rem; color: var(--ink-soft); }
.price-card.hl p { color: rgba(242,236,226,.75); }
.price-card .btn { margin-top: auto; align-self: flex-start; }
.price-note { font-size: .84rem; color: var(--ink-soft); margin-top: 1.6rem; max-width: 70ch; }

/* ---------- utdanning ---------- */
.course-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }
.course-card { background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); overflow: hidden; display: flex; flex-direction: column; }
.course-card .course-media { aspect-ratio: 16 / 9; overflow: hidden; }
.course-card .course-media img { width: 100%; height: 100%; object-fit: cover; }
.course-body { padding: 2rem 1.9rem 2.2rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.course-body h3 { font-size: 1.6rem; }
.course-body .course-sub { color: var(--rose-deep); font-weight: 600; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.course-body p { font-size: .95rem; color: var(--ink-soft); }
.course-dates { border-top: 1px solid var(--line); padding-top: 1.1rem; display: grid; gap: .55rem; }
.course-dates li { list-style: none; display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; }
.course-dates li span:last-child { color: var(--ink-soft); }
.course-body .btn { margin-top: auto; align-self: flex-start; }

.fact-list { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.fact-list li { list-style: none; display: grid; grid-template-columns: 200px 1fr; gap: 1.5rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line-dark); font-size: .96rem; }
.fact-list li strong { font-weight: 600; }
.fact-list li span { color: rgba(242,236,226,.75); }

/* ---------- booking-modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 90; background: rgba(24, 21, 19, .55); backdrop-filter: blur(4px);
  display: none; align-items: flex-end; justify-content: center;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--paper); color: var(--ink); width: min(560px, 100vw);
  max-height: min(92vh, 92dvh); overflow-y: auto; border-radius: 22px 22px 0 0;
  padding: 1.6rem 1.6rem 2rem; position: relative;
  animation: modalUp .3s ease;
}
@media (min-width: 640px) {
  .modal-backdrop { align-items: center; padding: 2rem; }
  .modal { border-radius: 22px; padding: 2.2rem; }
}
@keyframes modalUp { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }

.modal-close { position: absolute; top: 1rem; right: 1rem; background: var(--paper-2); border: 0; width: 38px; height: 38px; border-radius: 50%; font-size: 1.05rem; line-height: 1; }
.modal-steps { display: flex; gap: .4rem; margin-bottom: 1.4rem; }
.modal-steps i { height: 3px; flex: 1; background: var(--line); border-radius: 2px; }
.modal-steps i.done { background: var(--rose-deep); }
.modal h2 { font-size: 1.55rem; margin-bottom: .3rem; }
.modal .modal-sub { font-size: .92rem; color: var(--ink-soft); margin-bottom: 1.4rem; }

.pick-list { display: grid; gap: .7rem; }
.pick {
  text-align: left; border: 1px solid var(--line); background: var(--paper); border-radius: 14px;
  padding: 1rem 1.15rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  transition: border-color .15s ease, background .15s ease;
}
.pick:hover { border-color: var(--ink); }
.pick.selected { border-color: var(--ink); background: var(--paper-2); }
.pick .pick-name { font-family: var(--font-display); font-size: 1.12rem; display: block; }
.pick .pick-sub { font-size: .82rem; color: var(--ink-soft); display: block; margin-top: .1rem; }
.pick .pick-side { font-size: .8rem; color: var(--ink-soft); white-space: nowrap; }

.day-strip { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 1.1rem; }
.day-pill {
  border: 1px solid var(--line); background: var(--paper); border-radius: 12px; padding: .55rem .35rem;
  min-width: 64px; text-align: center; font-size: .8rem; line-height: 1.35;
}
.day-pill strong { display: block; font-size: .95rem; }
.day-pill.selected { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.day-pill:disabled { opacity: .35; cursor: default; }
.time-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .7rem; }
.time-slot { border: 1px solid var(--line); border-radius: 12px; padding: .8rem .6rem; text-align: center; background: var(--paper); }
.time-slot:hover { border-color: var(--ink); }
.time-slot.selected { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.time-slot strong { display: block; font-size: 1rem; }
.time-slot span { font-size: .74rem; color: var(--ink-soft); }
.time-slot.selected span { color: rgba(247,243,236,.7); }

.form-grid { display: grid; gap: .9rem; }
.form-grid label { font-size: .85rem; font-weight: 600; display: grid; gap: .35rem; }
.form-grid input {
  font: inherit; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper);
  width: 100%;
}
.form-grid input:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 1px; border-color: transparent; }
.form-err { color: #a4432f; font-size: .82rem; display: none; }
.form-err.show { display: block; }

.modal-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; }
.modal-nav .btn { flex: 0 0 auto; }

.confirm-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--rose-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.confirm-icon svg { width: 28px; height: 28px; stroke: var(--ink); }
.confirm-card { background: var(--paper-2); border-radius: 14px; padding: 1.2rem 1.3rem; margin: 1.2rem 0; display: grid; gap: .3rem; font-size: .95rem; }
.confirm-card strong { font-family: var(--font-display); font-size: 1.15rem; }
.confirm-note { font-size: .92rem; color: var(--ink-soft); }

.demo-divider { display: flex; align-items: center; gap: .8rem; margin: 1.8rem 0 1.1rem; color: var(--ink-soft); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.demo-divider::before, .demo-divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }

.sms-bubble {
  background: var(--dark); color: var(--paper-dark-text); border-radius: 16px 16px 16px 4px;
  padding: 1rem 1.2rem; font-size: .92rem; max-width: 85%;
}
.sms-bubble small { display: block; color: rgba(242,236,226,.55); margin-top: .4rem; font-size: .74rem; }
.rate-stars { display: flex; gap: .45rem; margin-top: 1.1rem; }
.rate-stars button { background: none; border: 0; font-size: 1.7rem; color: var(--line); transition: transform .12s ease, color .12s ease; padding: .1rem; line-height: 1; }
.rate-stars button.lit { color: var(--rose-deep); }
.rate-stars button:hover { transform: scale(1.15); }
.rate-result { margin-top: 1rem; display: none; }
.rate-result.show { display: block; animation: modalUp .25s ease; }

/* toast */
.toast {
  position: fixed; bottom: 1.4rem; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--dark-2); color: var(--paper-dark-text); padding: .8rem 1.4rem; border-radius: 999px;
  font-size: .9rem; opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s ease; z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="2"] { transition-delay: .12s; }
[data-reveal="3"] { transition-delay: .24s; }
[data-reveal="4"] { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- responsivt ---------- */
@media (max-width: 1080px) {
  .timeplan-grid { grid-template-columns: repeat(4, 1fr); }
  .class-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .quotes { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item { border-top: 1px solid var(--line-dark); }
  .trust-item:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .teaser, .teaser.flip { grid-template-columns: 1fr; }
  .teaser-media { min-height: 240px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .timeplan-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .class-grid { grid-template-columns: 1fr; }
  .class-card { min-height: 340px; }
  .timeplan-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .hero-cta .btn { width: 100%; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .fact-list li { grid-template-columns: 1fr; gap: .2rem; }
}
