/* ============================================================
   Votero Solutions — style.css
   Hell & clean · Cobalt-Akzent · Space Grotesk + Inter
   ============================================================ */

/* ---------- Schriften (lokal eingebunden, kein Google-Server) ---------- */
/* Variable Fonts: eine Datei deckt alle Schriftstärken ab. */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/spacegrotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/spacegrotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f0f2f6;
  --ink: #15171c;
  --ink-soft: #3a3f4a;
  --muted: #6a7180;
  --border: #e4e7ee;
  --accent: #2b57ff;
  --accent-ink: #1c3fd6;
  --accent-soft: #eaefff;
  --ok: #10b981;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(21, 23, 28, 0.05);
  --shadow: 0 12px 40px -18px rgba(21, 23, 28, 0.28);
  --maxw: 1140px;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

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

:focus-visible {
  outline: 2px 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-display);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 8px 20px -10px rgba(43, 87, 255, 0.7);
}
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
  box-shadow: none;
}
.btn-ghost:hover { background: var(--surface); border-color: var(--ink); }

.btn-sm { padding: 9px 16px; font-size: 0.9rem; }
.btn-block { width: 100%; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 247, 249, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.scrolled { border-color: var(--border); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
}
.brand-name { font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; white-space: nowrap; }
.brand-accent { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-weight: 500; color: var(--ink-soft); font-size: 0.98rem; transition: color 0.15s ease; }
.nav a:hover { color: var(--ink); }
.nav .nav-cta { color: #fff; }

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

.mobile-nav[hidden] { display: none; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 24px 22px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a { padding: 12px 4px; font-weight: 500; color: var(--ink-soft); border-bottom: 1px solid var(--border); }
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav .nav-cta { color: #fff; margin-top: 8px; border: 0; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 9vw, 110px) 0 clamp(60px, 8vw, 96px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.8rem);
  margin-bottom: 22px;
}
.hero .lead {
  font-size: 1.14rem;
  color: var(--muted);
  max-width: 40ch;
  margin-bottom: 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }

.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.hero-trust li { font-size: 0.92rem; color: var(--muted); }
.hero-trust strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Hero visual: Browserfenster (reine Designgrafik) ---------- */
.hero-visual { display: flex; justify-content: center; }
.site-card {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(0.4deg);
}
.site-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.site-dot { width: 9px; height: 9px; border-radius: 50%; background: #cfd5e0; }
.site-url {
  margin-left: 12px;
  flex: 1;
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 12px;
  text-align: center;
}
.site-body { padding: 18px; display: grid; gap: 18px; }

.site-nav { display: flex; align-items: center; gap: 10px; }
.site-logo { width: 26px; height: 26px; border-radius: 8px; background: var(--accent); }
.site-navlinks { display: flex; gap: 8px; margin-left: 4px; flex: 1; }
.site-navlinks i { width: 30px; height: 6px; border-radius: 3px; background: var(--surface-2); }
.site-navbtn { width: 54px; height: 20px; border-radius: 999px; background: var(--accent-soft); }

.site-hero { display: grid; gap: 10px; padding: 6px 0 2px; }
.site-line { display: block; border-radius: 5px; background: var(--surface-2); }
.site-line--xl { height: 16px; width: 88%; background: #dfe3ec; }
.site-line--lg { height: 16px; width: 62%; background: #dfe3ec; }
.site-line--sm { height: 8px; width: 76%; }
.site-cta {
  width: 96px; height: 26px;
  border-radius: 999px;
  background: var(--accent);
  margin-top: 6px;
}

.site-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.site-tile {
  height: 54px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

/* Aufbau-Animation: das Fenster "baut sich" beim Sichtbarwerden auf */
.site-nav, .site-hero > *, .site-tile {
  opacity: 0;
  transform: translateY(8px);
  animation: siteIn 0.5s ease forwards;
}
.site-nav            { animation-delay: 0.25s; }
.site-line--xl       { animation-delay: 0.40s; }
.site-line--lg       { animation-delay: 0.50s; }
.site-line--sm       { animation-delay: 0.60s; }
.site-cta            { animation-delay: 0.70s; }
.site-tile:nth-child(1) { animation-delay: 0.85s; }
.site-tile:nth-child(2) { animation-delay: 0.95s; }
.site-tile:nth-child(3) { animation-delay: 1.05s; }

@keyframes siteIn {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav, .site-hero > *, .site-tile {
    opacity: 1; transform: none; animation: none;
  }
}

/* ---------- Section basics ---------- */
.services, .process, .contact { padding: clamp(64px, 9vw, 104px) 0; }
.section-head { max-width: 620px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 1.08rem; }

/* ---------- Services ---------- */
.services { background: var(--surface); border-block: 1px solid var(--border); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #d7dce6;
}
.service-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 20px;
}
.service-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.service-card > p { color: var(--muted); margin-bottom: 20px; }

.feature-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 11px; }
.feature-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
  font-size: 0.97rem;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232b57ff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}
.service-link {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--accent);
  transition: gap 0.15s ease, color 0.15s ease;
}
.service-link:hover { color: var(--accent-ink); }

/* ---------- Statement-Band (Foto) ---------- */
.band {
  position: relative;
  background: #0f1220 url("images/collaboration.jpg") center/cover no-repeat;
  background-attachment: fixed;
}
.band-overlay {
  background: linear-gradient(100deg, rgba(15, 20, 40, 0.9) 0%, rgba(20, 30, 70, 0.72) 55%, rgba(43, 87, 255, 0.35) 100%);
  padding: clamp(72px, 11vw, 130px) 0;
}
.band-inner { max-width: 640px; color: #fff; }
.band-inner .band-eyebrow { color: #b9c6ff; }
.band-inner h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
.band-inner p { color: rgba(255, 255, 255, 0.85); font-size: 1.1rem; }

/* Honeypot: für Menschen unsichtbar, fängt Bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* ---------- Process ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: relative;
}
.step-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 12px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Contact ---------- */
.contact { background: var(--surface); border-top: 1px solid var(--border); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}
.contact-intro h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 14px; }
.contact-intro .section-sub { margin-bottom: 30px; }

.contact-direct { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-direct li { display: flex; align-items: center; gap: 14px; }
.contact-direct .ci {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}
.contact-direct a { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; transition: color 0.15s ease; }
.contact-direct a:hover { color: var(--accent); }

.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--ink-soft);
}
.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: #9aa1ad; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 110px; }
.field.invalid input,
.field.invalid textarea { border-color: #e5484d; box-shadow: 0 0 0 3px rgba(229,72,77,0.12); }

.form-note { margin-top: 14px; font-size: 0.92rem; min-height: 1.2em; }
.form-note.ok { color: var(--ok); }
.form-note.err { color: #e5484d; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); padding: 30px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-brand { font-size: 1.15rem; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--ink-soft); font-size: 0.9rem; font-weight: 500; transition: color 0.15s ease; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { color: var(--muted); font-size: 0.9rem; }
.footer-top { color: var(--muted); font-family: var(--font-display); font-size: 0.9rem; transition: color 0.15s ease; }
.footer-top:hover { color: var(--accent); }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(48px, 7vw, 80px) 0 clamp(56px, 8vw, 90px); }
.legal-inner { max-width: 760px; }
.legal-back {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--accent);
  margin-bottom: 20px;
}
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 24px; }
.legal h2 {
  font-size: 1.25rem;
  margin: 34px 0 10px;
}
.legal p { color: var(--ink-soft); margin-bottom: 12px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal-hint {
  background: var(--accent-soft);
  border: 1px solid #cdd9ff;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 30px;
}
.legal-hint em { font-style: normal; background: #fff; padding: 1px 6px; border-radius: 5px; }
.legal-updated { color: var(--muted); font-size: 0.9rem; margin-top: 30px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .site-card { max-width: 400px; }
  .service-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  /* background-attachment: fixed ruckelt auf Mobilgeräten */
  .band { background-attachment: scroll; }
}

@media (max-width: 680px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-trust { gap: 22px; }
}

/* ---------- Status "Verfügbar" / "Bald verfügbar" ---------- */
.service-status {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.service-status--live {
  color: #0f7a5a;
  background: rgba(16, 185, 129, 0.12);
}
.service-status--soon {
  color: #7a5a12;
  background: rgba(234, 179, 8, 0.16);
}
.service-card--soon {
  background: var(--surface-2);
  border-style: dashed;
}
.service-card--soon .service-icon {
  background: rgba(122, 90, 18, 0.09);
  color: #7a5a12;
}
.service-planned-head {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 12px;
}
.feature-list--planned li { color: var(--muted); }
.feature-list--planned li::before {
  background-color: rgba(122, 90, 18, 0.10);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a5a12' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v5l3 2'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E");
  background-size: 12px;
}
