/* ==========================================================
   L-Shala Fahrschule — Redesign-Studie von digital M.
   Palette: Signal Red + Ink Black + Off-White + Warning Yellow
   Typo:    Sora (display) + Instrument Sans (body) + JetBrains Mono (numerics)
   ========================================================== */

:root {
  /* Core palette */
  --ink: #0A0A0A;
  --ink-soft: #171717;
  --paper: #FAFAF7;
  --paper-soft: #F3F2EC;
  --line: #E5E5E0;
  --mute: #737373;

  /* Accent */
  --red: #DC2626;          /* Signal-Rot aus dem L-Schild */
  --red-deep: #991B1B;
  --red-soft: #FEE2E2;
  --yellow: #FACC15;       /* Warn-Gelb Kontrast */
  --yellow-soft: #FEF9C3;

  /* Sizing */
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --maxw: 1240px;

  /* Motion */
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Instrument Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Sora', system-ui, sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0 0 0.4em;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 6vw, 5.2rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p  { margin: 0 0 1em; }

.mono { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace; font-variant-numeric: tabular-nums; }

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--red);
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
section { padding: 96px 0; }
@media (max-width: 760px) { section { padding: 72px 0; } }

/* ---------- Demo banner ---------- */
.demo-banner {
  background: var(--ink);
  color: var(--paper);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 10px 20px;
  text-align: center;
}
.demo-banner b { color: var(--yellow); font-weight: 500; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 38px;
  height: 38px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  border-radius: 6px;
  box-shadow: 0 2px 0 rgba(0,0,0,.25) inset, 0 8px 20px -8px rgba(220, 38, 38, .7);
}
.brand small { display: block; font-size: 0.66rem; color: var(--mute); font-weight: 500; letter-spacing: 0.02em; font-family: 'Instrument Sans', sans-serif; margin-top: 2px; }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 0.95rem;
}
.nav-links a { color: var(--ink); transition: color .2s var(--ease); }
.nav-links a:hover { color: var(--red); }
.nav-links a.active { color: var(--red); font-weight: 600; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  font-family: 'Instrument Sans', sans-serif;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(220, 38, 38, .7);
}
.btn-primary:hover { background: var(--red-deep); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
}
.btn-yellow:hover { background: #EAB308; }

.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(220, 38, 38, .08), transparent 70%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 56px; } }

.hero h1 span {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 0 18px 2px;
  border-radius: 10px;
  transform: rotate(-1deg);
  box-shadow: 0 12px 40px -12px rgba(220, 38, 38, .6);
}
.hero-lead {
  font-size: 1.2rem;
  color: var(--mute);
  max-width: 56ch;
  margin: 22px 0 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-meta {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--mute);
}
.hero-meta strong {
  display: block;
  font-family: 'Sora', sans-serif;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 700;
}

/* Hero visual — L-plate hero card */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.45);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(220, 38, 38, .25) 0%, transparent 55%),
    repeating-linear-gradient(-45deg, transparent 0 40px, rgba(255,255,255,.03) 40px 41px);
}
.hero-L {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 180px;
  height: 180px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 9rem;
  border-radius: 20px;
  transform: rotate(-4deg);
  box-shadow: 0 30px 60px -20px rgba(220, 38, 38, .8), inset 0 4px 0 rgba(255,255,255,.18);
}
.hero-visual-caption {
  position: absolute;
  bottom: 32px;
  left: 32px;
  right: 32px;
  color: var(--paper);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: .8;
}
.hero-visual-title {
  position: absolute;
  bottom: 72px;
  left: 32px;
  right: 32px;
  color: var(--paper);
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
@media (max-width: 560px) {
  .hero-L { width: 120px; height: 120px; font-size: 6rem; top: 28px; right: 28px; }
  .hero-visual-title { font-size: 1.4rem; }
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--ink);
  color: var(--paper);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid var(--ink-soft);
  border-bottom: 1px solid var(--ink-soft);
}
.ticker-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  font-family: 'Sora', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  animation: scroll 38s linear infinite;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 60px; }
.ticker-track em { color: var(--red); font-style: normal; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Price chips (hero of value prop) ---------- */
.price-strip {
  background: var(--paper-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.price-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.chip {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.chip:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 var(--ink);
}
.chip-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mute);
  margin-bottom: 14px;
}
.chip-price {
  font-family: 'Sora', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.chip-price small { font-size: 0.95rem; font-weight: 500; color: var(--mute); display: block; margin-top: 6px; font-family: 'Instrument Sans', sans-serif; letter-spacing: 0; }
.chip-price sup { font-size: 1rem; vertical-align: super; font-weight: 600; color: var(--mute); }
.chip-footnote {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 0.86rem;
  color: var(--mute);
}

.chip.featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.chip.featured .chip-price small,
.chip.featured .chip-label { color: rgba(255,255,255,.6); }
.chip.featured .chip-footnote { border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.6); }
.chip.featured::after {
  content: "BELIEBT";
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--yellow);
  color: var(--ink);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

/* ---------- Categories grid (Kat A, B, C etc.) ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.cat {
  border: 1.5px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all .25s var(--ease);
}
.cat:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
}
.cat-badge {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.cat h4 {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
}
.cat p {
  font-size: 0.88rem;
  color: var(--mute);
  line-height: 1.5;
  margin: 0;
}

/* ---------- Steps — "Der Weg zum Führerausweis" ---------- */
.steps {
  background: var(--ink);
  color: var(--paper);
}
.steps h2, .steps .eyebrow { color: var(--paper); }
.steps .eyebrow { color: var(--yellow); }
.steps .eyebrow::before { background: var(--yellow); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 56px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 32px 28px;
  background: var(--ink-soft);
  border: 1px solid #222;
  border-radius: var(--radius);
  counter-increment: step;
}
.step::before {
  content: "0" counter(step);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--red);
  letter-spacing: 0.14em;
  display: block;
  margin-bottom: 18px;
}
.step h3 {
  color: var(--paper);
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.step p {
  color: rgba(255,255,255,.65);
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- Cards (programs) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.card {
  display: block;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.18);
}
.card-icon {
  width: 56px;
  height: 56px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 24px;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
}
.card h3 { margin-bottom: 10px; font-size: 1.35rem; }
.card p { color: var(--mute); font-size: 0.96rem; margin-bottom: 18px; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 2px;
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.card:hover .card-link { color: var(--red); border-color: var(--red); gap: 12px; }

/* ---------- Section headers ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 8px;
}
.section-head p {
  color: var(--mute);
  font-size: 1.05rem;
  max-width: 48ch;
}
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 56px;
}
.team-card {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  background: var(--paper);
}
.team-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  margin-bottom: 22px;
}
.team-card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.team-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 14px;
}
.team-card p { font-size: 0.94rem; color: var(--mute); margin-bottom: 18px; }
.team-card a.phone {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: var(--ink);
}
.team-card a.phone:hover { color: var(--red); }

/* ---------- Table (course dates) ---------- */
.course-table-wrap {
  margin-top: 40px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}
.course-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}
.course-table th, .course-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.course-table thead th {
  background: var(--ink);
  color: var(--paper);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.course-table tbody tr:last-child td { border-bottom: none; }
.course-table tbody tr:hover { background: var(--paper-soft); }
.course-table td.month {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  color: var(--ink);
}
.course-table td.date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
}
.course-table .tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  background: var(--red-soft);
  color: var(--red-deep);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.08em;
}
@media (max-width: 720px) {
  .course-table-wrap { overflow-x: auto; }
  .course-table { min-width: 600px; }
}

/* ---------- Two-col feature module ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }
.two-col-img {
  aspect-ratio: 4 / 5;
  background: var(--ink);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.two-col-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(220, 38, 38, .4), transparent 60%),
    repeating-linear-gradient(-45deg, transparent 0 40px, rgba(255,255,255,.04) 40px 41px);
}
.two-col-img .floating-chip {
  position: absolute;
  background: var(--paper);
  color: var(--ink);
  padding: 16px 20px;
  border-radius: var(--radius);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  box-shadow: 0 20px 50px -15px rgba(0,0,0,.4);
}
.two-col-img .chip-1 { top: 40px; left: 40px; }
.two-col-img .chip-2 { bottom: 40px; right: 40px; }
.two-col-img .chip-1 strong, .two-col-img .chip-2 strong {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  color: var(--ink);
  margin-top: 4px;
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 32px 0;
}
.bullets li {
  padding: 16px 0 16px 42px;
  position: relative;
  border-bottom: 1px dashed var(--line);
  font-size: 1rem;
}
.bullets li:last-child { border-bottom: none; }
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 24px;
  height: 24px;
  background: var(--red);
  border-radius: 6px;
}
.bullets li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 24px;
  width: 10px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* ---------- CTA section ---------- */
.cta-block {
  background: var(--red);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 72px 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: "L";
  position: absolute;
  right: -60px;
  bottom: -140px;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 30rem;
  line-height: 1;
  color: rgba(255,255,255,.06);
  pointer-events: none;
}
.cta-block h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.cta-block p { color: rgba(255,255,255,.85); margin: 14px 0 0; font-size: 1.05rem; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; position: relative; z-index: 1; }
.cta-block .btn-primary { background: #fff; color: var(--red); box-shadow: none; }
.cta-block .btn-primary:hover { background: var(--ink); color: #fff; }
.cta-block .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cta-block .btn-ghost:hover { background: #fff; color: var(--red); }
@media (max-width: 820px) { .cta-block { grid-template-columns: 1fr; padding: 48px 32px; } }

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
  margin: 56px auto 0;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: 'Sora', sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--red);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin: 16px 0 0;
  color: var(--mute);
  line-height: 1.65;
}

/* ---------- Form ---------- */
.form-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  margin-top: 56px;
}
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; gap: 48px; } }

.form {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mute);
  margin-bottom: 8px;
}
.form input, .form select, .form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 1rem;
  color: var(--ink);
  transition: border .2s var(--ease);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--red);
}
.form textarea { min-height: 140px; resize: vertical; }
.form .field { margin-bottom: 16px; }
.form button { width: 100%; justify-content: center; margin-top: 8px; }

.contact-side h3 { margin-bottom: 18px; }
.contact-info {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.contact-info li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info li span {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mute);
  margin-bottom: 6px;
}
.contact-info li strong {
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  color: var(--ink);
}
.contact-info li a { color: var(--ink); }
.contact-info li a:hover { color: var(--red); }

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
footer h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--yellow);
  margin-bottom: 18px;
  font-weight: 500;
}
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 10px; font-size: 0.94rem; color: rgba(255,255,255,.7); }
footer li a:hover { color: var(--paper); }
footer .brand { color: var(--paper); margin-bottom: 18px; }
footer .brand small { color: rgba(255,255,255,.5); }
footer p.fine { color: rgba(255,255,255,.5); font-size: 0.88rem; max-width: 38ch; }
.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- Page head (non-home) ---------- */
.page-head {
  padding: 80px 0 48px;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(220, 38, 38, .07), transparent 70%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 18ch; }
.page-head p { color: var(--mute); font-size: 1.15rem; max-width: 58ch; margin-top: 18px; }

/* ---------- Small utilities ---------- */
.center { text-align: center; }
.mt-xl { margin-top: 64px; }
.hidden { display: none; }
