/* ===== BYTEFIX IT — v18 ===== */
/* Design: warmes Dunkelbraun-Basis, Orange-Amber als Akzent,        */
/* Slab-Serif für Headlines, Mono für Labels — technisch + menschlich */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── Tokens ── */
:root {
  --bg:        #06080e;
  --bg2:       #080b14;
  --surface:   rgba(255,255,255,.038);
  --border:    rgba(255,255,255,.08);
  --border-hi: rgba(56,189,248,.38);
  --accent:    #38bdf8;
  --accent-lo: rgba(56,189,248,.09);
  --accent-hi: #7dd3fc;
  --text:      #d4dff0;
  --text-mid:  #7a8fa8;
  --text-dim:  #2d3f52;
  --head:      #edf2ff;
  --mono:      'DM Mono', monospace;
}

/* ── Base ── */
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

/* ── Background texture ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 0% 0%,   rgba(14,165,233,.09) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(30,64,175,.07) 0%, transparent 55%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 79px,
      rgba(255,255,255,.018) 79px,
      rgba(255,255,255,.018) 80px
    ),
    var(--bg);
}

/* ── Z-index ── */
header, main, footer { position: relative; z-index: 1; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6,8,14,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Brand ── */
.brand { text-decoration: none; }
.brand-logo { display: none; }
.brand-word {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
}
.brand-word strong {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--head);
}
.brand-word em {
  font-style: normal;
  color: var(--accent);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-family: var(--mono);
}

/* ── Nav links ── */
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  color: var(--text-mid);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 6px;
  transition: color .15s, background .15s;
  letter-spacing: .01em;
}
.nav-links a:hover { color: var(--head); background: rgba(255,255,255,.06); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--head);
  font-size: 1rem;
  padding: 7px 12px;
  border-radius: 6px;
  cursor: pointer;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s cubic-bezier(.2,.8,.4,1), transform .55s cubic-bezier(.2,.8,.4,1);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Eyebrow ── */
.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .65rem;
  font-family: var(--mono);
}

/* ── Hero ── */
.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 28px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
  gap: 56px;
  align-items: center;
}
.hero::after {
  content: '';
  grid-column: 1 / -1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(231,140,60,.2) 40%, transparent);
  margin-top: 4px;
}
.hero h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  line-height: 1.0;
  margin: 0 0 22px;
  letter-spacing: -.04em;
  font-weight: 800;
  color: var(--head);
}
.lead {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.72;
}
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }

/* ── Buttons ── */
.button {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 11px 22px;
  font-weight: 700;
  font-size: .88rem;
  text-decoration: none;
  transition: all .18s ease;
  letter-spacing: .02em;
}
.button.primary {
  background: var(--accent);
  color: #0e0c0a;
  border: 1px solid var(--accent);
}
.button.primary:hover {
  background: var(--accent-hi);
  border-color: var(--accent-hi);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(231,140,60,.28);
}
.button.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.button.secondary:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
  transform: translateY(-1px);
}

/* ── Hero Panel ── */
.hero-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
}
.logo-word-card {
  padding: 12px 0 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.hero-word {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--head);
}
.hero-word strong {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
}
.hero-word em {
  font-style: normal;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-family: var(--mono);
}
.panel-line {
  display: grid;
  gap: 3px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.panel-line:last-child { border-bottom: 0; }
.panel-line span {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--text-dim);
  font-family: var(--mono);
}
.panel-line strong { font-size: .9rem; font-weight: 500; color: var(--text); }
.panel-line a { color: var(--accent); text-decoration: none; font-size: .9rem; }
.panel-line a:hover { color: var(--accent-hi); }

/* ── Sections ── */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 68px 28px;
  border-top: 1px solid var(--border);
}
.subhero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 28px 52px;
}
.subhero h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  line-height: 1.04;
  margin: 0 0 16px;
  letter-spacing: -.04em;
  font-weight: 800;
  color: var(--head);
}
.subhero p { color: var(--text-mid); font-size: 1.05rem; max-width: 580px; }
.section h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.1;
  margin: 0 0 14px;
  letter-spacing: -.03em;
  font-weight: 800;
  color: var(--head);
}
.section p, .subhero p, .focus-card p, .service-card p,
.service-card li, .project-card p, .steps span { color: var(--text-mid); }
.section-title { margin-bottom: 32px; }

/* ── Card base ── */
.service-card, .project-card, .focus-card, .price-card, .steps li {
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color .2s, background .2s;
}
.service-card:hover, .project-card:hover, .price-card:hover {
  border-color: var(--border-hi);
  background: var(--accent-lo);
}
.focus-card:hover {
  border-color: var(--border-hi);
  background: var(--accent-lo);
  transform: translateY(-2px);
}

/* ── Intro / Split ── */
.intro, .split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.intro-text p + p { margin-top: 14px; }

/* ── Focus grid ── */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.focus-card {
  border-radius: 8px;
  padding: 22px;
  color: var(--text);
  text-decoration: none;
  display: block;
  transition: border-color .2s, background .2s, transform .2s;
}
.focus-card span {
  display: block;
  color: var(--accent);
  font-weight: 600;
  font-family: var(--mono);
  font-size: .7rem;
  margin-bottom: 12px;
  letter-spacing: .08em;
}
.focus-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: .98rem;
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--head);
  letter-spacing: -.02em;
}
.focus-card p { font-size: .88rem; line-height: 1.55; }

/* ── Service cards ── */
.service-stack { display: grid; gap: 10px; }
.service-card { border-radius: 8px; padding: 26px 30px; }
.service-card h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.3rem;
  margin: 0;
  font-weight: 800;
  color: var(--head);
  letter-spacing: -.03em;
}
.service-card h3 {
  margin: 0 0 10px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .01em;
  text-transform: uppercase;
  font-family: var(--mono);
}
.service-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.service-number {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--accent-lo);
  border: 1px solid rgba(231,140,60,.22);
  color: var(--accent);
  font-weight: 700;
  font-family: var(--mono);
  font-size: .78rem;
}
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service-card ul { margin: 10px 0 0; padding-left: 17px; }
.service-card ul li { margin-bottom: 6px; font-size: .92rem; }
.note {
  border-color: rgba(234,179,8,.18);
  background: rgba(234,179,8,.025);
}
.note:hover {
  border-color: rgba(234,179,8,.32);
  background: rgba(234,179,8,.04);
}

/* ── Project cards ── */
.project-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 10px;
  align-items: start;
}
.project-side { display: grid; gap: 10px; align-content: start; }
.project-card { border-radius: 8px; padding: 24px 26px; }
.project-card h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem;
  margin: 0;
  font-weight: 800;
  color: var(--head);
  letter-spacing: -.025em;
}
.project-card p { margin-top: 10px; font-size: .9rem; line-height: 1.6; }
.project-card.featured { padding: 30px 32px; }
.project-card.featured h2 { font-size: 1.35rem; }
.project-detail { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.project-tag {
  display: inline-flex;
  align-items: center;
  background: var(--accent-lo);
  border: 1px solid rgba(231,140,60,.22);
  color: var(--accent);
  font-size: .7rem;
  font-family: var(--mono);
  letter-spacing: .05em;
  padding: 3px 9px;
  border-radius: 4px;
}

/* ── Price cards ── */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.price-card { border-radius: 8px; padding: 26px 28px; }
.price-card span {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--text-dim);
  font-family: var(--mono);
}
.price-card strong {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin: 10px 0 12px;
  color: var(--head);
  letter-spacing: -.04em;
}
.price-card p { font-size: .9rem; color: var(--text-mid); line-height: 1.55; }
.small { font-size: .84rem; color: var(--text-dim) !important; line-height: 1.5; }

/* ── Steps ── */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.steps li { padding: 18px 22px; display: grid; gap: 5px; border-radius: 8px; }
.steps b {
  font-family: 'DM Sans', sans-serif;
  font-size: .92rem;
  font-weight: 800;
  color: var(--head);
  letter-spacing: -.01em;
}
.steps span { font-size: .9rem; line-height: 1.55; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-grid .wide { grid-column: 1 / -1; }
.service-card .eyebrow { margin-bottom: 6px; }

/* ── Infra strip / Band ── */
.band, .infra-strip {
  background: var(--accent-lo);
  border: 1px solid rgba(231,140,60,.18);
  border-radius: 8px;
}

/* ── CTA Band ── */
.cta-band {
  background: var(--accent-lo);
  border: 1px solid rgba(231,140,60,.2);
  border-radius: 8px;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-inner h2 { margin: 6px 0; }
.cta-inner p { margin: 0; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }

/* ── Price hint box ── */
.price-hint {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 32px;
}
.price-hint h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--head);
  letter-spacing: -.02em;
  margin-bottom: 14px;
}
.price-hint p { color: var(--text-mid); font-size: .92rem; line-height: 1.65; }
.price-hint p + p { margin-top: 10px; }
.price-hint a { color: var(--accent); text-decoration: none; }
.price-hint a:hover { color: var(--accent-hi); text-decoration: underline; }

/* ── Footer ── */
.footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 28px 44px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  font-size: .84rem;
}
.footer a { color: var(--text-dim); text-decoration: none; transition: color .15s; }
.footer a:hover { color: var(--text-mid); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 930px) {
  .hero, .intro, .split, .project-layout, .contact-grid, .detail-grid {
    grid-template-columns: 1fr;
  }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    left: 16px; right: 16px; top: 60px;
    background: #06080e;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px;
    flex-direction: column;
    gap: 2px;
    z-index: 30;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 14px; border-radius: 5px; font-size: .92rem; }
}
@media (max-width: 700px) {
  .focus-grid, .pricing-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid .wide { grid-column: 1; }
}
@media (max-width: 620px) {
  .hero { padding-top: 52px; }
  .service-head { display: block; }
  .service-number { margin-bottom: 14px; }
}

/* ── Kontaktformular ── */
.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form label {
  display: grid;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: .02em;
}
.contact-form label .req {
  color: var(--accent);
  margin-left: 2px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 11px 14px;
  color: var(--head);
  font: inherit;
  font-size: .93rem;
  transition: border-color .15s, background .15s;
  appearance: none;
  -webkit-appearance: none;
}
.contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a8fa8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(56,189,248,.04);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-dim);
}
.contact-form textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}
.contact-form .honeypot {
  display: none;
}
.form-notice {
  font-size: .8rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-top: 4px;
}
.form-notice a {
  color: var(--text-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-notice a:hover { color: var(--accent); }
.form-success {
  display: none;
  padding: 18px 22px;
  background: rgba(56,189,248,.07);
  border: 1px solid rgba(56,189,248,.22);
  border-radius: 6px;
  color: var(--text);
  font-size: .93rem;
}
@media (max-width: 640px) {
  .contact-form .form-row { grid-template-columns: 1fr; }
}

/* ── WhatsApp Card ── */
.whatsapp-card {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  padding: 16px 20px;
  background: rgba(37,211,102,.07);
  border: 1px solid rgba(37,211,102,.2);
  border-radius: 8px;
  margin-top: 20px;
  transition: background .2s, border-color .2s;
}
.whatsapp-card:hover {
  background: rgba(37,211,102,.12);
  border-color: rgba(37,211,102,.35);
}
.whatsapp-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  fill: #25d366;
}
.whatsapp-card span {
  color: var(--head);
  font-weight: 600;
  font-size: .95rem;
}
.whatsapp-card small {
  display: block;
  color: var(--text-mid);
  font-size: .82rem;
  font-weight: 400;
  margin-top: 2px;
}
