@font-face {
  font-family: "Fredoka";
  src: url("../fonts/fredoka-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #fff4cc;
  --paper: rgba(255, 253, 246, 0.92);
  --ink: #243024;
  --green: #146b34;
  --green-deep: #0f5428;
  --shadow: rgba(90, 60, 10, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 42% at 50% -8%, #fff8d4 0%, transparent 68%),
    radial-gradient(ellipse 42% 28% at 100% 12%, rgba(102, 175, 54, 0.18), transparent 70%),
    radial-gradient(ellipse 36% 24% at 0% 78%, rgba(242, 167, 0, 0.2), transparent 72%),
    var(--cream);
  font-family: "Fredoka", "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.55;
}

img,
video {
  max-width: 100%;
  height: auto;
}

.hero,
main,
footer {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero {
  padding-top: 1.25rem;
}

.hero-media {
  position: relative;
  width: min(100%, 400px);
  margin: 0 auto 1.1rem;
}

.hero-media video {
  display: block;
  width: 100%;
  aspect-ratio: 464 / 640;
  object-fit: cover;
  border-radius: 1.75rem;
  background: #ffe7a3;
  box-shadow:
    0 0 0 6px #fff,
    0 18px 40px var(--shadow);
}

.sound {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0.4rem 0.85rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 252, 240, 0.95);
  color: var(--green-deep);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(40, 30, 10, 0.16);
}

.sound svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.sound .icon-on {
  display: none;
}

.sound.is-on .icon-off {
  display: none;
}

.sound.is-on .icon-on {
  display: block;
}

.sound:focus-visible {
  outline: 3px solid var(--green-deep);
  outline-offset: 2px;
}

.title {
  margin: 0.15rem 0 0.2rem;
  font-size: clamp(2.05rem, 10.2vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-align: center;
}

.title span {
  color: var(--c);
  -webkit-text-stroke: 0.045em #fff;
  paint-order: stroke fill;
  text-shadow: 0 0.06em 0 rgba(255, 255, 255, 0.55);
}

.byline {
  margin: 0;
  text-align: center;
  color: var(--green);
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 600;
}

.about {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
  padding: 1.25rem;
  background: var(--paper);
  border-radius: 1.75rem;
  box-shadow: 0 12px 32px rgba(90, 60, 10, 0.06);
}

.about h2 {
  margin: 0 0 0.45rem;
  color: var(--green);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
}

.about-copy p {
  margin: 0 0 0.9rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.specs {
  color: var(--green);
  font-weight: 600;
}

.nowrap {
  white-space: nowrap;
}

.badge {
  display: inline-block;
  padding: 0.28rem 0.9rem 0.34rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe566 0%, #ffb703 100%);
  color: #6a3d00;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: inset 0 -2px 0 rgba(170, 90, 0, 0.18);
}

.cover {
  margin: 0;
}

.cover img {
  display: block;
  width: 100%;
  border-radius: 1.25rem;
}

.room {
  margin-top: 2.4rem;
}

.room h2 {
  margin: 0 0 1rem;
  color: var(--green);
  font-size: clamp(1.4rem, 4.2vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.sfeer {
  width: min(100%, 420px);
  margin: 0 auto;
}

.sfeer img {
  display: block;
  width: 100%;
  border-radius: 1.6rem;
  background: #fff;
  box-shadow:
    0 0 0 8px #fff,
    0 20px 44px var(--shadow);
}

footer {
  padding: 1.6rem 0 2rem;
  text-align: center;
}

footer p {
  margin: 0;
  color: var(--green);
  font-size: 0.98rem;
}

@media (min-width: 860px) {
  .hero {
    padding-top: 2rem;
  }

  .hero-media {
    width: min(100%, 420px);
    margin-bottom: 1.4rem;
  }

  .about {
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 380px);
    align-items: center;
    gap: 2rem;
    margin-top: 2.25rem;
    padding: 2rem 2.15rem;
  }

  .room {
    margin-top: 3.25rem;
  }

  .sfeer {
    width: min(100%, 460px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.hero-cta {
  margin: 1.15rem 0 0;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.35rem;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(20, 107, 52, 0.22);
}

.btn:hover,
.btn:focus-visible {
  background: var(--green-deep);
}

.btn:focus-visible {
  outline: 3px solid var(--green-deep);
  outline-offset: 3px;
}

.btn-external {
  background: #fff;
  color: var(--green-deep);
  box-shadow: inset 0 0 0 2px var(--green), 0 6px 14px var(--shadow);
}

.btn-external:hover,
.btn-external:focus-visible {
  background: #f3ffe9;
  color: var(--green-deep);
}

.order {
  margin-top: 2.4rem;
  padding: 1.25rem;
  background: var(--paper);
  border-radius: 1.75rem;
  box-shadow: 0 12px 32px rgba(90, 60, 10, 0.06);
}

.order h2,
.thanks-card h2,
.ebook h3 {
  margin: 0 0 0.45rem;
  color: var(--green);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
}

.order > .specs {
  margin: 0 0 0.7rem;
}

.order > .price {
  margin: 0 0 1.25rem;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

form[name="bestelling"] {
  position: relative;
  display: grid;
  gap: 0.9rem;
}

.form-field {
  margin: 0;
}

.form-field label,
.form-field legend {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--green-deep);
  font-weight: 600;
}

.form-field fieldset,
fieldset.form-field {
  margin: 0;
  padding: 0;
  border: 0;
}

.optional {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.92em;
  opacity: 0.75;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="number"],
.form-field textarea {
  width: 100%;
  max-width: 32rem;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 2px solid rgba(20, 107, 52, 0.28);
  border-radius: 0.85rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.form-field textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
  border-color: var(--green);
}

.choice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-weight: 500;
  cursor: pointer;
}

.choice input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--green);
}

.form-note {
  margin: 0.25rem 0 0.15rem;
  max-width: 36rem;
}

form[name="bestelling"] .btn {
  justify-self: start;
}

.ebook {
  margin-top: 1.75rem;
  padding-top: 1.4rem;
  border-top: 2px dashed rgba(20, 107, 52, 0.22);
}

.ebook p {
  margin: 0 0 0.9rem;
}

.ebook-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 0.8rem;
}

.thanks {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding-top: 2.5rem;
}

.thanks-card {
  max-width: 36rem;
  margin: 1.5rem auto 0;
  padding: 1.4rem 1.3rem 1.6rem;
  background: var(--paper);
  border-radius: 1.75rem;
  box-shadow: 0 12px 32px rgba(90, 60, 10, 0.06);
  text-align: center;
}

.thanks-card p {
  margin: 0 0 0.9rem;
}

.thanks-card .hero-cta {
  margin-top: 1.2rem;
}

@media (min-width: 860px) {
  .order {
    margin-top: 3.25rem;
    padding: 2rem 2.15rem;
  }
}
