/* ==========================================================================
   Singh Administration – style.css (Dark Page Background)
   ========================================================================== */

/* Reset */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
img, svg, video { max-width: 100%; display: block; }
input, select, textarea, button { font: inherit; }

/* Tokens */
:root {
  --brand-900: #192757;
  --brand-200: #87a1ff;
  --brand-050: #f4f4f4;

  --p-accounting: #dfffe2;
  --p-payroll: #fff9d9;
  --p-office: #ffead2;
  --p-web: #e9d9ff;

  --page-bg: var(--brand-900);
  --page-text: #f8fafc;
  --page-muted: rgba(248, 250, 252, 0.78);

  --surface: #ffffff;
  --surface-2: #f7f8fb;
  --text: #0f172a;
  --muted: #475569;
  --border: #e5e7eb;

  --shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
  --shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.08);

  --r-lg: 18px;
  --r-md: 14px;
  --r-sm: 10px;

  --container: 1120px;
  --pad-x: 20px;

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --fs-1: clamp(2rem, 1.4rem + 2.2vw, 3.1rem);
  --fs-2: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --fs-3: 1.25rem;
  --lh: 1.55;

  --header-h: 74px;
}

/* Base */
body {
  font-family: var(--font);
  line-height: var(--lh);
  background: var(--page-bg);
  color: var(--page-text);
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(var(--container), 100% - (var(--pad-x) * 2)); margin-inline: auto; }

.section { padding: 72px 0; }
.section-soft { background: rgba(255, 255, 255, 0.04); border-block: 1px solid rgba(255, 255, 255, 0.08); }
.section-cta { background: rgba(255, 255, 255, 0.03); }

.section-head { margin-bottom: 28px; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 12px; }
h1 { font-size: var(--fs-1); }
h2 { font-size: var(--fs-2); }
h3 { font-size: var(--fs-3); }
p { margin: 0 0 14px; }

.lead-on-dark { color: var(--page-muted); font-size: 1.06rem; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 10px; top: 10px;
  transform: translateY(-140%);
  background: var(--brand-200); color: #0f172a;
  padding: 10px 12px; border-radius: 10px; z-index: 9999;
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

/* Header / Nav */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(25, 39, 87, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}

.brand { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.brand-logo {
  height: 75px;     /* passt gut zur Header-Höhe */
  width: auto;      /* wichtig: nicht quadratisch erzwingen */
  max-width: 280px; /* verhindert Überlauf */
  border-radius: 0; /* bei Textlogo meist besser */
  object-fit: contain;

  /* optional – bei dir: Rahmen/Box weg, damit Logo nicht "eingesperrt" wirkt */
  background: transparent;
  padding: 0;
  border: 0;
}
.brand-text strong { font-weight: 900; }
.brand-tagline { display: block; font-size: 0.86rem; color: rgba(248,250,252,0.78); margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 14px; }
.nav a {
  padding: 10px 10px;
  border-radius: 10px;
  color: rgba(248,250,252,0.92);
}
.nav a:hover { background: rgba(255, 255, 255, 0.08); text-decoration: none; }

.nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(135, 161, 255, 0.14);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}
.nav-toggle-icon { display: block; width: 20px; height: 2px; background: #f8fafc; position: relative; }
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: #f8fafc;
}
.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }

/* Hero */
.hero {
  padding: 72px 0 36px;
  background:
    radial-gradient(900px 450px at 12% 20%, rgba(135, 161, 255, 0.22), transparent 60%),
    radial-gradient(900px 450px at 88% 28%, rgba(255, 255, 255, 0.08), transparent 55%),
    linear-gradient(180deg, transparent, transparent);
}
.hero-inner {
  display: grid; grid-template-columns: 1.35fr 0.85fr;
  gap: 26px; align-items: start;
}

.eyebrow {
  display: inline-block;
  font-weight: 800;
  color: #0f172a;
  background: rgba(135, 161, 255, 0.95);
  border: 1px solid rgba(135, 161, 255, 0.55);
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 14px; }
.hero-trust {
  list-style: none; padding: 0; margin: 14px 0 0;
  display: grid; gap: 8px; color: rgba(248,250,252,0.82);
}

/* Cards / Buttons */
.card {
  background: var(--surface);
  color: var(--text);
  border: 1px solid rgba(229, 231, 235, 1);
  border-radius: var(--r-lg);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none !important;
  user-select: none;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, border-color 120ms ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brand-200);
  color: #0f172a;
  box-shadow: 0 14px 28px rgba(135, 161, 255, 0.18);
}
.btn-primary:hover { background: #9ab1ff; }

.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: rgba(248,250,252,0.95);
  border-color: rgba(255,255,255,0.18);
}
.btn-secondary:hover { background: rgba(255,255,255,0.10); }

.btn-block { width: 100%; }

.text-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 800;
  color: var(--brand-900);
}
.text-link:hover { text-decoration: underline; }

/* Trust strip */
.trust-strip {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
}
.trust-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.trust-item {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(229, 231, 235, 1);
}
.trust-title { display: block; font-size: 0.84rem; color: var(--muted); }
.trust-value { display: block; font-weight: 900; margin-top: 4px; color: #111827; }

/* Grid helpers */
.grid { display: grid; gap: 18px; }
.services-grid { grid-template-columns: repeat(4, 1fr); }
.two-col { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 20px; align-items: start; }

/* Services cards (Pastell) */
.service { position: relative; overflow: hidden; }
.service::before {
  content: "";
  position: absolute;
  inset: -40px -40px auto auto;
  width: 160px; height: 160px;
  border-radius: 999px;
  opacity: 0.45;
  transform: rotate(10deg);
}

.service-accounting { background: linear-gradient(180deg, #fff, var(--p-accounting)); }
.service-accounting::before { background: var(--p-accounting); }
.service-payroll { background: linear-gradient(180deg, #fff, var(--p-payroll)); }
.service-payroll::before { background: var(--p-payroll); }
.service-office { background: linear-gradient(180deg, #fff, var(--p-office)); }
.service-office::before { background: var(--p-office); }
.service-web { background: linear-gradient(180deg, #fff, var(--p-web)); }
.service-web::before { background: var(--p-web); }

.list { margin: 12px 0 0; padding-left: 18px; color: var(--muted); }
.list li { margin: 6px 0; }

/* Highlight */
.highlight {
  border-color: rgba(25, 39, 87, 0.14);
  background: linear-gradient(180deg, rgba(135, 161, 255, 0.12), #fff);
}
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.mini { border-radius: 14px; padding: 12px; background: rgba(255,255,255,0.90); border: 1px solid rgba(229, 231, 235, 1); }
.mini-title { display: block; font-size: 0.86rem; color: var(--muted); }
.mini-value { display: block; font-weight: 900; margin-top: 2px; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 26px; color: rgba(248,250,252,0.86); }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand-200); font-weight: 900; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.step h3 {
  color: var(--text);
}
.step p {
  color: var(--muted);
}
.step {
  display: grid; grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(229, 231, 235, 1);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}
.step-number {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: rgba(135, 161, 255, 0.18);
  border: 1px solid rgba(135, 161, 255, 0.35);
  color: var(--brand-900);
  font-weight: 900;
}

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid rgba(229, 231, 235, 1);
  border-radius: var(--r-lg);
  padding: 12px 14px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  color: var(--text);
}

.faq-item summary { cursor: pointer; font-weight: 900; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; font-weight: 900; color: var(--brand-900); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 12px; color: var(--muted); }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 18px; align-items: start; }

.form { margin-top: 14px; display: grid; gap: 12px; }
.form-row { display: grid; gap: 8px; }

label { font-weight: 900; }

input, select, textarea {
  border: 1px solid rgba(229, 231, 235, 1);
  border-radius: 14px;
  padding: 12px 12px;
  background: #fff;
  outline: none;
  transition: box-shadow 120ms ease, border-color 120ms ease;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus {
  border-color: rgba(135, 161, 255, 0.9);
  box-shadow: 0 0 0 4px rgba(135, 161, 255, 0.18);
}

.form-actions { margin-top: 6px; display: grid; gap: 10px; }
.fineprint { margin: 0; font-size: 0.92rem; color: var(--muted); }
.fineprint a { color: var(--brand-900); font-weight: 800; text-decoration: underline; }

.map-placeholder {
  margin-top: 14px;
  border-radius: var(--r-lg);
  border: 1px dashed rgba(25, 39, 87, 0.25);
  padding: 14px;
  background: rgba(135, 161, 255, 0.08);
}

.notice {
  border-radius: 14px;
  padding: 12px 12px;
  border: 1px solid rgba(229, 231, 235, 1);
  background: #fff;
  margin-bottom: 12px;
}
.notice.ok { border-color: rgba(16, 185, 129, 0.35); background: rgba(16, 185, 129, 0.08); }
.notice.err { border-color: rgba(239, 68, 68, 0.35); background: rgba(239, 68, 68, 0.08); }

.hp { display: none; }

/* Footer */
.site-footer {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0,0,0,0);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  color: rgba(248,250,252,0.88);
}
.footer-nav { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-nav a {
  color: rgba(248,250,252,0.80);
  padding: 8px 10px;
  border-radius: 12px;
}
.footer-nav a:hover { background: rgba(255, 255, 255, 0.08); text-decoration: none; }

.noscript { background: rgba(255,255,255,0.10); color: #fff; padding: 10px 14px; text-align: center; }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --header-h: 68px; }

  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .nav {
    position: fixed;
    inset: calc(var(--header-h) + 10px) 16px auto 16px;
    background: rgba(25, 39, 87, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--r-lg);
    padding: 12px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .nav a { padding: 12px 12px; }
  .nav.is-open { display: flex; }
  .brand-tagline { display: none; }
}

@media (max-width: 520px) {
  .section { padding: 56px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
