/* ===== Havenlicht ===== */
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }

:root {
  --night: #0E2A47;
  --night-2: #173761;
  --sea: #2E7DB8;
  --sea-deep: #1F5C8B;
  --beam: #FFD45C;
  --beam-soft: #FFE7A0;
  --coral: #E8553E;
  --sand: #FBF7EF;
  --sand-2: #F3EADA;
  --ink: #0E2A47;
  --muted: #4A5E75;
  --line: rgba(14, 42, 71, .12);
  --radius: 22px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--sand); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 750; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--beam); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.eyebrow { display: inline-block; font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sea-deep); background: rgba(46, 125, 184, .12); padding: 5px 12px; border-radius: 999px; margin-bottom: 1em; }
.eyebrow--light { color: var(--beam); background: rgba(255, 212, 92, .14); }
.head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 60px); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--display); font-weight: 700; font-size: 1.1rem; text-decoration: none; padding: .85em 1.5em; border-radius: 999px; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s; }
.btn--beam { background: var(--beam); color: var(--night); box-shadow: 0 0 0 0 rgba(255, 212, 92, .5), 0 6px 0 #D9A92A; }
.btn--beam:hover { transform: translateY(-2px); box-shadow: 0 0 0 8px rgba(255, 212, 92, .18), 0 8px 0 #D9A92A; }
.btn--beam:active { transform: translateY(3px); box-shadow: 0 3px 0 #D9A92A; }
.btn--ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--beam); color: var(--beam); }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(14, 42, 71, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav__inner { height: 70px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.55rem; letter-spacing: -.03em; }
.brand b { color: var(--beam); font-weight: 800; }
.brand img { border-radius: 11px; transition: transform .3s ease; }
.brand:hover img { transform: rotate(-6deg) scale(1.06); }
.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__menu a { color: rgba(255, 255, 255, .9); text-decoration: none; font-weight: 600; padding: 8px 14px; border-radius: 999px; transition: background .15s, color .15s; }
.nav__menu a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.nav__menu .nav__cta { background: var(--beam); color: var(--night); margin-left: 6px; }
.nav__menu .nav__cta:hover { background: #fff; color: var(--night); }
.nav__toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 3px; margin: 4px 0; border-radius: 3px; background: #fff; transition: transform .25s, opacity .25s; }
@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__menu { position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px 16px 20px; background: var(--night); border-bottom: 3px solid var(--beam); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .2s ease; }
  .nav__menu a { padding: 12px 16px; font-size: 1.1rem; }
  .nav__menu .nav__cta { margin: 8px 0 0; text-align: center; }
  .nav.open .nav__menu { opacity: 1; visibility: visible; transform: none; }
  .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); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92vh, 860px); background: var(--night); color: #fff; overflow: hidden; display: flex; align-items: center; isolation: isolate; }
.scene { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; overflow: visible; z-index: -2; }
.hero__content { position: relative; padding: clamp(60px, 9vh, 110px) 0 clamp(170px, 24vh, 240px); }
.hero__kicker { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; color: var(--beam); margin-bottom: 1.1em; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 800; max-width: 9.6em; letter-spacing: -.035em; line-height: .98; margin-bottom: .45em; }
.hero h1 span { color: var(--beam); }
.hero__lead { font-size: clamp(1.1rem, 1.7vw, 1.35rem); max-width: 30em; color: rgba(255, 255, 255, .86); margin-bottom: 1.4em; }
.hero__price { display: inline-flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); padding: 10px 20px 10px 16px; border-radius: 18px; margin-bottom: 1.8em; }
.hero__price strong { font-family: var(--display); font-size: 2.6rem; font-weight: 800; color: var(--beam); line-height: 1; letter-spacing: -.03em; }
.hero__price span { font-size: .95rem; line-height: 1.25; color: rgba(255, 255, 255, .85); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* scene animation */
.beam { transform-box: view-box; transform-origin: 1190px 139px; animation: sweep 9s ease-in-out infinite; }
@keyframes sweep { 0%, 100% { transform: scaleX(1); opacity: 1; } 45% { transform: scaleX(.05); opacity: .4; } 50% { transform: scaleX(-.05); opacity: .4; } 55% { transform: scaleX(-1); opacity: 1; } 90% { transform: scaleX(-1); } }
.glow { transform-box: fill-box; transform-origin: center; animation: glow 3s ease-in-out infinite; }
@keyframes glow { 50% { transform: scale(1.25); opacity: .12; } }
.waves { animation: waves 14s linear infinite; }
.waves.w2 { animation-duration: 22s; }
@keyframes waves { to { transform: translateX(-1440px); } }
.cloud { animation: drift 60s linear infinite alternate; }
.cloud.c2 { animation-duration: 80s; animation-direction: alternate-reverse; }
.cloud.c3 { animation-duration: 50s; }
@keyframes drift { to { transform: translateX(120px); } }
.stars circle { animation: twinkle 4s ease-in-out infinite; }
.stars circle:nth-child(3n) { animation-delay: -1.3s; }
.stars circle:nth-child(3n+1) { animation-delay: -2.6s; }
@keyframes twinkle { 50% { opacity: .25; } }

/* gulls */
.gulls { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.gull { position: absolute; left: 0; width: var(--s, 54px); animation: fly var(--d, 24s) linear infinite; animation-delay: var(--delay, 0s); }
.gull.rtl { animation-name: fly-rtl; }
.gull__bob { animation: bob 2.6s ease-in-out infinite; }
.gull svg { overflow: visible; }
.gull .wing { transform-box: view-box; transform-origin: 30px 15px; animation: flap var(--f, .55s) ease-in-out infinite alternate; }
.gull.glide .wing { animation: glide 4s ease-in-out infinite; }
@keyframes fly { from { transform: translateX(-12vw); } to { transform: translateX(112vw); } }
@keyframes fly-rtl { from { transform: translateX(112vw) scaleX(-1); } to { transform: translateX(-12vw) scaleX(-1); } }
@keyframes bob { 50% { transform: translateY(-14px); } }
@keyframes flap { from { transform: scaleY(1); } to { transform: scaleY(-.45); } }
@keyframes glide { 0%, 70%, 100% { transform: scaleY(.85); } 80% { transform: scaleY(-.4); } 90% { transform: scaleY(.9); } }

@media (max-width: 760px) {
  .hero { align-items: flex-start; min-height: 0; }
  .scene { height: 330px; top: auto; }
  .hero__content { padding: 40px 0 330px; }
  .hero .gulls { top: auto; height: 360px; }
}

/* ---------- USPs ---------- */
.usps { padding: clamp(40px, 6vw, 70px) 0 clamp(60px, 8vw, 100px); }
.usps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.usp { background: #fff; border-radius: var(--radius); padding: 26px 24px; box-shadow: 0 1px 0 var(--line), 0 20px 40px -28px rgba(14, 42, 71, .35); }
.usp svg { width: 48px; height: 48px; margin-bottom: 14px; }
.usp h3 { margin-bottom: .3em; }
.usp p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 980px) { .usps__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .usps__grid { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { padding: clamp(50px, 8vw, 110px) 0; background: var(--sand-2); position: relative; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; right: 0; height: 24px; background: var(--sand-2); -webkit-mask: radial-gradient(circle at 20px 0, transparent 20px, #000 21px) 0 0 / 40px 24px repeat-x; mask: radial-gradient(circle at 20px 0, transparent 20px, #000 21px) 0 0 / 40px 24px repeat-x; }
.steps::before { top: -23px; transform: scaleY(-1); }
.steps::after { bottom: -23px; }
.steps__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps__list::before { content: ""; position: absolute; top: 28px; left: 8%; right: 8%; border-top: 3px dashed rgba(46, 125, 184, .35); }
.step { position: relative; text-align: center; padding: 0 6px; }
.step__nr { position: relative; display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%; background: var(--night); color: var(--beam); font-family: var(--display); font-weight: 800; font-size: 1.5rem; box-shadow: 0 0 0 6px var(--sand-2); }
.step p { color: var(--muted); font-size: 1rem; }
@media (max-width: 900px) {
  .steps__list { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .steps__list::before { display: none; }
}
@media (max-width: 520px) { .steps__list { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing { background: var(--night); color: #fff; padding: clamp(80px, 10vw, 130px) 0; margin-top: 23px; position: relative; overflow: hidden; }
.pricing::before { content: ""; position: absolute; right: -10%; top: -30%; width: 70%; height: 160%; background: conic-gradient(from 250deg at 100% 50%, transparent 0deg, rgba(255, 212, 92, .07) 20deg, transparent 40deg); pointer-events: none; }
.pricing__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.pricing__text > p { color: rgba(255, 255, 255, .82); font-size: 1.1rem; }
.pricing__fit { font-size: 1rem !important; border-left: 3px solid var(--beam); padding-left: 14px; }
.pricing__fit strong { color: #fff; }
.price-card { position: relative; background: #fff; color: var(--ink); border-radius: 28px; padding: 38px 34px 30px; box-shadow: 0 0 0 10px rgba(255, 212, 92, .12), 0 40px 80px -30px rgba(0, 0, 0, .6); }
.price-card__logo { position: absolute; top: -32px; right: 28px; border-radius: 16px; box-shadow: 0 10px 24px rgba(0, 0, 0, .3); transform: rotate(8deg); }
.price-card__name { font-family: var(--display); font-weight: 800; font-size: 1.3rem; margin-bottom: .2em; }
.price-card__amount { font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 8vw, 5.4rem); line-height: 1; letter-spacing: -.04em; margin: 0; }
.price-card__amount .cur { font-size: .5em; vertical-align: .55em; margin-right: 2px; }
.price-card__amount .per { font-size: .26em; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.price-card__month { color: var(--sea-deep); font-weight: 600; margin: .4em 0 1.4em; }
.price-card__list { list-style: none; padding: 0; margin: 0 0 1.8em; display: grid; gap: 10px; }
.price-card__list li { position: relative; padding-left: 32px; }
.price-card__list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--beam) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230E2A47' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.price-card__note { margin: 14px 0 0; text-align: center; font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .pricing__grid { grid-template-columns: 1fr; } .price-card { max-width: 480px; margin-inline: auto; width: 100%; } }

/* ---------- Options ---------- */
.options { padding: clamp(80px, 10vw, 120px) 0 clamp(40px, 6vw, 70px); }
.options .head p:last-child { color: var(--muted); }
.options__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.opt { background: #fff; border-radius: var(--radius); padding: 26px 24px 24px; box-shadow: 0 1px 0 var(--line), 0 20px 40px -28px rgba(14, 42, 71, .35); transition: transform .2s ease; }
.opt:hover { transform: translateY(-4px); }
.opt svg { width: 44px; height: 44px; margin-bottom: 14px; }
.opt h3 { margin-bottom: .25em; }
.opt__price { font-family: var(--display); font-weight: 800; font-size: 1.7rem; color: var(--sea-deep); margin: 0 0 .5em; letter-spacing: -.02em; }
.opt__price span { font-family: var(--body); font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.opt p:last-child { margin: 0; color: var(--muted); font-size: 1rem; }
.wp { margin-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 28px; background: var(--night); color: #fff; border-radius: 26px; padding: 34px 38px; position: relative; overflow: hidden; }
.wp::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 212, 92, .08); }
.wp__text { max-width: 620px; position: relative; }
.wp h3 { font-size: 1.8rem; }
.wp__text p:last-child { margin: 0; color: rgba(255, 255, 255, .82); }
.wp__price { position: relative; display: flex; align-items: center; gap: 12px; flex: none; }
.wp__price strong { font-family: var(--display); font-weight: 800; font-size: 3.2rem; color: var(--beam); line-height: 1; letter-spacing: -.03em; }
.wp__price span { font-size: .95rem; line-height: 1.25; color: rgba(255, 255, 255, .8); }
.pricing__nocontract { background: rgba(255, 212, 92, .1); border-radius: 14px; padding: 14px 16px; font-size: 1.02rem !important; }
.pricing__nocontract strong { color: var(--beam); }
@media (max-width: 980px) { .options__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .options__grid { grid-template-columns: 1fr; } .wp { flex-direction: column; align-items: flex-start; padding: 28px 24px; } }

/* ---------- About ---------- */
.about { padding: clamp(80px, 10vw, 130px) 0; }
.about__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.about__art svg { width: min(380px, 100%); margin-inline: auto; }
.about__text p { color: var(--muted); }
.about__text em { color: var(--ink); font-style: italic; }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } .about__art svg { width: 240px; } }

/* ---------- FAQ ---------- */
.faq { padding: 0 0 clamp(80px, 10vw, 130px); }
.faq__wrap { max-width: 820px; }
.faq__list { display: grid; gap: 12px; }
details { background: #fff; border-radius: 18px; box-shadow: 0 1px 0 var(--line), 0 14px 30px -24px rgba(14, 42, 71, .4); }
summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; font-family: var(--display); font-weight: 700; font-size: 1.15rem; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--sand-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%230E2A47' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .25s ease, background-color .25s; }
details[open] summary::after { transform: rotate(45deg); background-color: var(--beam); }
details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { position: relative; background: var(--sea-deep); color: #fff; padding: clamp(80px, 10vw, 120px) 0; overflow: hidden; isolation: isolate; }
.contact::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40px; background: var(--sand); -webkit-mask: radial-gradient(ellipse 40px 22px at 40px 0, #000 98%, transparent 100%) 0 0 / 80px 40px repeat-x; mask: radial-gradient(ellipse 40px 22px at 40px 0, #000 98%, transparent 100%) 0 0 / 80px 40px repeat-x; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.contact__text > p { color: rgba(255, 255, 255, .85); font-size: 1.1rem; }
.contact__mail a { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--beam); text-decoration: none; }
.contact__mail a:hover { text-decoration: underline; }
.form { background: #fff; color: var(--ink); border-radius: 26px; padding: 30px; display: grid; gap: 16px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input, .form textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--sand); border: 2px solid transparent; border-radius: 12px; padding: 12px 14px; transition: border-color .15s, background .15s; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--sea); background: #fff; }
.form input.invalid { border-color: var(--coral); }
.form__hint { margin: 0; font-size: .85rem; color: var(--muted); text-align: center; }
.gulls--small { z-index: -1; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: rgba(255, 255, 255, .7); padding: 36px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer__inner p { margin: 0; }
.brand--footer { font-size: 1.3rem; }
.footer__small { font-size: .85rem; opacity: .7; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; translate: 0 26px; transition: opacity .7s ease, translate .7s ease; }
.js .reveal.in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; translate: none; }
  .gulls { display: none; }
}
