/* MeloHeit Clean Service — brand colours sampled from the client's own logo
   and business card (deep navy, cyan-to-blue gradient, white), not the
   generic "Glasklar" template palette — a client's own established identity
   always wins over the template preview's suggested colours. */

:root {
  --bg: #050914;
  --bg-2: #0a1224;
  --panel: #0e1830;
  --panel-2: #121e3a;
  --line: #1f2c4d;
  --text: #eef2fb;
  --muted: #9fb0d0;
  --cyan: #34c9f5;
  --blue: #2f7dff;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { padding: 0; margin: 0; list-style: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--cyan); color: var(--bg); padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.icon { width: 20px; height: 20px; fill: currentColor; flex: none; }
.icon-lg { width: 32px; height: 32px; }

/* ─────────────────────────────────────────────────────────── buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, filter .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--cyan), var(--blue)); color: #041018; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-outline { border-color: var(--cyan); color: var(--cyan); background: transparent; }
.btn-outline:hover { background: rgba(52, 201, 245, .1); }
.btn-ghost { color: var(--text); background: rgba(255,255,255,.06); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: 14px 26px; font-size: 16px; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; font-weight: 700;
  color: var(--cyan); margin: 0 0 10px;
}
.eyebrow.center { text-align: center; }
.section-title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.section-title.center { text-align: center; max-width: 720px; margin-inline: auto; }

/* ─────────────────────────────────────────────────────────── header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 9, 20, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 17px; }
.brand-text small { color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.main-nav { display: flex; gap: 26px; margin-inline-start: auto; }
.main-nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14.5px; }
.main-nav a:hover { color: var(--text); }

.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: 0; padding: 8px; margin-inline-start: auto; cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

.mobile-nav { display: none; flex-direction: column; gap: 2px; padding: 8px 20px 18px; border-top: 1px solid var(--line); }
.mobile-nav a { padding: 12px 4px; text-decoration: none; color: var(--text); font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 12px; justify-content: center; }

/* ─────────────────────────────────────────────────────────── hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 76px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-skyline {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 100%, rgba(47, 125, 255, .18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 0%, rgba(52, 201, 245, .16), transparent 60%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; }
.hero-glow-a { width: 420px; height: 420px; background: var(--blue); top: -140px; right: -100px; }
.hero-glow-b { width: 360px; height: 360px; background: var(--cyan); bottom: -160px; left: -80px; }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-copy h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; }
.hero-copy .accent { background: linear-gradient(135deg, var(--cyan), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lede { color: var(--muted); font-size: 17px; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-facts li { color: var(--muted); font-size: 13.5px; font-weight: 600; position: relative; padding-inline-start: 18px; }
.hero-facts li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }

/* wipe-to-reveal card */
.wipe-card {
  position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--panel);
  touch-action: none; user-select: none;
}
.wipe-card canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; z-index: 2; }
.wipe-card:active canvas { cursor: grabbing; }
.wipe-clean {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(155deg, #0c1830, #071022 60%, #05101f);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px;
}
.wipe-clean-inner { max-width: 280px; }
.wipe-clean-tag { font-size: 26px; font-weight: 800; background: linear-gradient(135deg, var(--cyan), var(--white)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 6px; }
.wipe-clean-sub { color: var(--muted); font-size: 14.5px; margin: 0; }
.wipe-hint {
  position: absolute; z-index: 3; bottom: 14px; left: 50%; transform: translateX(-50%);
  font-size: 12.5px; color: var(--muted); background: rgba(5,9,20,.6); padding: 6px 12px; border-radius: 999px;
  pointer-events: none; transition: opacity .4s ease;
}

/* ─────────────────────────────────────────────────────────── trust strip */
.trust-strip { border-block: 1px solid var(--line); background: var(--bg-2); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 26px 0; }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; color: var(--text); }
.trust-item .icon { fill: var(--cyan); }

/* ─────────────────────────────────────────────────────────── services */
.services { padding: 88px 0; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 42px; }
.service-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; transition: border-color .2s ease, transform .2s ease;
}
.service-card:hover { border-color: var(--cyan); transform: translateY(-3px); }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}
.service-icon svg { width: 26px; height: 26px; fill: var(--bg); }
.service-card h3 { font-size: 18px; }
.service-sub { color: var(--cyan); font-size: 13px; font-weight: 700; margin: -6px 0 14px; }
.service-card ul li { position: relative; padding-inline-start: 18px; color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.service-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }

/* ─────────────────────────────────────────────────────────── planner */
.planner { padding: 88px 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.planner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.planner-copy p { color: var(--muted); max-width: 44ch; }
.planner-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.field select {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font-size: 15px; font-family: inherit;
}
.planner-result {
  background: rgba(52, 201, 245, .08); border: 1px solid rgba(52, 201, 245, .3);
  border-radius: 12px; padding: 16px; font-size: 14.5px; color: var(--text); margin: 18px 0;
}
.planner-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ─────────────────────────────────────────────────────────── about */
.about { padding: 88px 0; }
.about-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; }
.about p { color: var(--muted); }
.about-list { margin-top: 18px; }
.about-list li { position: relative; padding-inline-start: 22px; margin-bottom: 12px; color: var(--muted); }
.about-list li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }
.about-list strong { color: var(--text); }
.area-card {
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 26px; text-align: center;
}
.area-card .icon-lg { fill: var(--cyan); margin: 0 auto 14px; }
.area-card h3 { font-size: 16px; }
.area-card p { color: var(--muted); margin: 0; }

/* ─────────────────────────────────────────────────────────── contact */
.contact { padding: 88px 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.contact-copy p { color: var(--muted); max-width: 50ch; }
.contact-list { margin: 22px 0 28px; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; }
.contact-list .icon { fill: var(--cyan); }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--cyan); }
.contact-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 28px; text-align: center; box-shadow: var(--shadow);
}
.contact-logo { width: 96px; height: 96px; border-radius: 18px; object-fit: cover; margin: 0 auto 18px; }
.contact-tagline { color: var(--cyan); font-weight: 700; font-style: italic; margin: 0; }

/* ─────────────────────────────────────────────────────────── footer */
.site-footer { padding: 40px 0 30px; border-top: 1px solid var(--line); }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { border-radius: 8px; object-fit: cover; }
.footer-brand strong { display: block; font-size: 14.5px; }
.footer-brand p { margin: 0; color: var(--muted); font-size: 12.5px; }
.footer-nav { display: flex; gap: 20px; }
.footer-nav a { text-decoration: none; color: var(--muted); font-size: 13.5px; }
.footer-nav a:hover { color: var(--text); }
.footer-copy { color: var(--muted); font-size: 12.5px; margin: 0; }

/* ─────────────────────────────────────────────────────────── responsive */
@media (max-width: 980px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav.is-open { display: flex; }
  .hero-grid, .planner-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .contact-cta .btn { width: 100%; justify-content: center; }
  .header-inner { height: 66px; }
}

/* Respect a visitor's motion preference: no bespoke wipe interaction is
   required to read the same content, so the canvas can start pre-revealed. */
@media (prefers-reduced-motion: reduce) {
  .wipe-hint { display: none; }
}
