/* ============================================================
   ScaleXperts GmbH — Stylesheet
   Modern & seriös · Navy + Teal
   ============================================================ */

:root {
  /* Palette */
  --navy:      #0c1b2a;
  --navy-800:  #10263a;
  --navy-700:  #16344c;
  --ink:       #1a2b3a;
  --slate:     #4a5c6e;
  --muted:     #6b7c8c;
  --line:      #e4e9ee;
  --bg:        #ffffff;
  --bg-soft:   #f5f8fa;
  --bg-alt:    #eef3f6;

  --accent:    #2b7fff;  /* brand blue */
  --accent-2:  #5aa2ff;  /* light blue */
  --accent-ink:#1d5fd6;  /* deep blue (Text auf hell) */

  /* Type */
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Layout */
  --container: 1160px;
  --radius:    16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(12, 27, 42, .06);
  --shadow:    0 12px 40px rgba(12, 27, 42, .10);
  --shadow-lg: 0 24px 70px rgba(12, 27, 42, .16);
  --ease:      cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; color: var(--navy); letter-spacing: -.02em; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.container.narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 15px 28px; border-radius: 999px; cursor: pointer; border: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff; box-shadow: 0 8px 24px rgba(18, 179, 166, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(18, 179, 166, .45); }
.btn-ghost {
  background: transparent; color: var(--navy);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent-ink); transform: translateY(-2px); }

.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 16px;
}
.eyebrow-light { color: #8fb8ff; }
.grad {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============================================================
   BETRUGSWARNUNG
   ============================================================ */
.fraud-alert { background: linear-gradient(90deg, #b42318, #8f1d14); color: #fff; position: relative; z-index: 101; }
.fraud-alert-inner { display: flex; align-items: flex-start; gap: 13px; padding: 12px 0; }
.fraud-alert-icon { font-size: 1.25rem; line-height: 1.5; flex: none; }
.fraud-alert-text { margin: 0; font-size: .92rem; line-height: 1.55; color: rgba(255, 255, 255, .95); }
.fraud-alert-text strong { color: #fff; font-weight: 700; }
.fraud-alert a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 560px) { .fraud-alert-text { font-size: .85rem; } }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); }
.brand-text { font-weight: 800; font-size: 1.4rem; letter-spacing: -.035em; color: var(--navy); }
.lx-scale { color: var(--navy); }
.lx-xperts {
  background: linear-gradient(100deg, #4ea3ff 0%, #2b6fe6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-suffix { color: var(--muted); font-weight: 600; font-size: .82em; margin-left: 2px; letter-spacing: 0; -webkit-text-fill-color: var(--muted); }
/* Wortmarke auf dunklem Grund */
.site-footer .lx-scale { color: #fff; }

.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 30px; }
.nav-list a { font-weight: 500; font-size: .98rem; color: var(--slate); transition: color .2s; }
.nav-list a:hover { color: var(--navy); }
.nav-cta {
  background: var(--navy); color: #fff !important; padding: 10px 22px; border-radius: 999px;
  transition: background .25s, transform .25s;
}
.nav-cta:hover { background: var(--accent-ink); transform: translateY(-1px); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 8px; z-index: 120;
}
.nav-toggle span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: 88px 0 96px; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(43, 127, 255, .12), transparent 60%),
    radial-gradient(50% 45% at 5% 20%, rgba(18, 179, 166, .14), transparent 60%),
    var(--bg-soft);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow + h1 { margin-top: 0; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 800; }
.hero .lead { font-size: 1.18rem; color: var(--slate); margin: 24px 0 32px; max-width: 40ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; color: var(--muted); font-size: .95rem; font-weight: 500; }

.hero-card { display: grid; }
.stat-card {
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 8px 34px; box-shadow: var(--shadow-lg);
  background-image: radial-gradient(80% 60% at 100% 0%, rgba(18, 179, 166, .28), transparent 60%);
}
.stat { padding: 26px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.stat:last-child { border-bottom: none; }
.stat-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; color: #fff; }
.stat-label { display: block; margin-top: 8px; color: rgba(255, 255, 255, .72); font-size: .95rem; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip { padding: 30px 0; border-bottom: 1px solid var(--line); background: var(--bg); }
.trust-title { text-align: center; color: var(--muted); font-size: .9rem; font-weight: 500; margin: 0 0 16px; }
.trust-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; }
.trust-tags span {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--slate);
  padding: 8px 18px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 700; }
.section-sub { color: var(--slate); font-size: 1.1rem; margin-top: 18px; }

/* ---------- Card grids ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.service-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.6rem; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(18, 179, 166, .14), rgba(43, 127, 255, .14));
}
.service-kicker {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 6px;
}
.service-card h3 { font-size: 1.4rem; font-weight: 700; }
.service-card > p { color: var(--slate); margin: 12px 0 18px; }

.tick-list li { position: relative; padding-left: 28px; margin: 10px 0; color: var(--ink); font-size: .98rem; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 9px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg); border-radius: 1px;
}

/* ---------- Branchen ---------- */
.branch-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.branch-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(var(--accent), var(--accent-2)); transform: scaleY(0); transform-origin: top;
  transition: transform .35s var(--ease);
}
.branch-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.branch-card:hover::before { transform: scaleY(1); }
.branch-card h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 12px; }
.branch-card p { color: var(--slate); margin: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step-num {
  font-family: var(--font-head); font-weight: 800; font-size: 2.2rem;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1;
}
.step h3 { font-size: 1.2rem; font-weight: 700; margin: 14px 0 8px; }
.step p { color: var(--slate); font-size: .97rem; margin: 0; }

/* ============================================================
   STATEMENT BAND
   ============================================================ */
.statement { padding: 76px 0; text-align: center; background: var(--bg); }
.statement-quote {
  font-family: var(--font-head); font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.12; color: var(--navy); margin: 0;
}
.statement-sub { color: var(--slate); font-size: 1.12rem; margin: 22px auto 0; max-width: 62ch; }

/* ============================================================
   ABOUT (dark)
   ============================================================ */
.section-dark { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 90% 10%, rgba(18, 179, 166, .18), transparent 60%);
  pointer-events: none;
}
.h2-light { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 700; }
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; position: relative; }
.about-text { color: rgba(255, 255, 255, .78); font-size: 1.08rem; margin: 20px 0 26px; }
.why-list li { padding: 12px 0 12px 30px; position: relative; color: rgba(255, 255, 255, .82); border-top: 1px solid rgba(255, 255, 255, .08); }
.why-list li:first-child { border-top: none; }
.why-list li::before {
  content: ""; position: absolute; left: 0; top: 1.35em; width: 12px; height: 12px; border-radius: 50%;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
}
.why-list strong { color: #fff; }

.about-stats { display: grid; gap: 18px; }
.about-stat {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-sm); padding: 24px 26px;
}
.about-stat-num {
  display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; line-height: 1;
  background: linear-gradient(120deg, #9dc4ff, #6f9dff);
  -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px;
}
.about-stat span:last-child { color: rgba(255, 255, 255, .72); font-size: .96rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; gap: 14px; }
.faq-item {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 24px; transition: border-color .25s, box-shadow .25s;
}
.faq-item[open] { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 20px 0; font-family: var(--font-head);
  font-weight: 600; font-size: 1.08rem; color: var(--navy);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.6rem; font-weight: 400; color: var(--accent); flex: none;
  transition: transform .3s var(--ease); line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 20px; color: var(--slate); }

/* ============================================================
   CTA / KONTAKT
   ============================================================ */
.cta-section { padding: 80px 0; }
.cta-box {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  background: var(--navy); color: #fff; border-radius: 24px; padding: 56px;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.cta-box::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(45% 60% at 0% 100%, rgba(43, 127, 255, .25), transparent 60%),
    radial-gradient(45% 60% at 100% 0%, rgba(18, 179, 166, .28), transparent 60%);
}
.cta-text, .cta-contact { position: relative; }
.cta-text p { color: rgba(255, 255, 255, .8); margin: 18px 0 22px; font-size: 1.08rem; }
.cta-points li { padding: 7px 0; color: rgba(255, 255, 255, .85); }

.cta-contact { display: grid; gap: 14px; }
.contact-btn {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-sm); padding: 18px 22px;
  transition: transform .25s var(--ease), background .25s, border-color .25s;
}
.contact-btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .12); border-color: var(--accent); }
.contact-btn-ico {
  width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.3rem; background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.contact-btn small { display: block; color: rgba(255, 255, 255, .65); font-size: .82rem; }
.contact-btn strong { font-family: var(--font-head); font-size: 1.18rem; color: #fff; }

/* Hervorgehobener Buchungs-Button */
.contact-btn-book {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  border-color: transparent; box-shadow: 0 10px 26px rgba(43, 127, 255, .35);
}
.contact-btn-book:hover { background: linear-gradient(120deg, var(--accent), var(--accent-2)); border-color: rgba(255,255,255,.4); filter: brightness(1.06); }
.contact-btn-book .contact-btn-ico { background: rgba(255, 255, 255, .18); }
.contact-btn-book small { color: rgba(255, 255, 255, .85); }
.contact-or {
  display: flex; align-items: center; gap: 14px; margin: 4px 2px;
  color: rgba(255, 255, 255, .5); font-size: .82rem;
}
.contact-or::before, .contact-or::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .14); }
.contact-hours { color: rgba(255, 255, 255, .6); font-size: .88rem; margin: 4px 0 0; text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-800); color: rgba(255, 255, 255, .72); padding: 64px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 2fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand .brand-text { color: #fff; }
.footer-brand .lx-scale { color: #fff; }
.footer-brand p { margin: 16px 0 0; max-width: 34ch; font-size: .96rem; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-nav h4 { color: #fff; font-size: .95rem; font-weight: 600; margin-bottom: 14px; }
.footer-nav a { color: rgba(255, 255, 255, .7); font-size: .95rem; transition: color .2s; }
.footer-nav a:hover { color: #6fa8ff; }
.footer-nav li { margin: 8px 0; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 22px; font-size: .88rem; color: rgba(255, 255, 255, .5); }
.footer-bottom p { margin: 0; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal { padding: 60px 0 90px; }
.legal .container { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.legal h2 { font-size: 1.35rem; margin: 38px 0 12px; }
.legal p, .legal address { color: var(--slate); font-style: normal; margin: 10px 0; }
.legal a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.legal .back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; font-weight: 600; color: var(--accent-ink); text-decoration: none; }
.legal .placeholder { background: #fff7e6; border: 1px solid #ffe1a8; color: #7a5a10; padding: 4px 8px; border-radius: 6px; font-size: .9em; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { order: -1; max-width: 460px; }
  .cards-3, .steps { grid-template-columns: 1fr 1fr; }
  .about-grid, .cta-box { grid-template-columns: 1fr; gap: 36px; }
  .cta-box { padding: 40px 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 66px 0; }
  .hero { padding: 60px 0 70px; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-list {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255,255,255,.98); backdrop-filter: blur(14px);
    padding: 12px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-140%); transition: transform .4s var(--ease); visibility: hidden;
  }
  .nav-list.open { transform: translateY(0); visibility: visible; }
  .nav-list li { border-top: 1px solid var(--line); }
  .nav-list li:first-child { border-top: none; }
  .nav-list a { display: block; padding: 16px 4px; font-size: 1.05rem; }
  .nav-cta { text-align: center; margin-top: 12px; }
}

@media (max-width: 560px) {
  .cards-3, .steps { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
  .hero-actions .btn { flex: 1; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
