/* =====================================================================
   iBit Solutions · main.css
   Gemeinsame Basis für alle Seiten. 1× pflegen statt 9×.

   Einbau im <head> jeder Seite, ANSTELLE des bisherigen <style>-Blocks:
     <link rel="stylesheet" href="assets/css/main.css" />
   Unterordner (projekte/...) verwenden:
     <link rel="stylesheet" href="../assets/css/main.css" />

   Inhalt: Tokens · Basis · Navigation · Hero · Typografie · Buttons ·
   Raster · Karten · Panels · FAQ · Footer · Animation · Mobile
   ===================================================================== */

/* --- 1. Tokens ---------------------------------------------------- */
:root {
  --bg: #020617;
  --bg-soft: #071126;
  --card: rgba(255, 255, 255, 0.055);
  --card-strong: rgba(56, 189, 248, 0.10);
  --line: rgba(255, 255, 255, 0.10);
  --line-blue: rgba(56, 189, 248, 0.35);
  --text: #ffffff;
  --muted: #cbd5e1;
  --muted-2: #94a3b8;
  --brand: #38bdf8;
  --brand-2: #0ea5e9;
  --green: #86efac;
  --amber: #fbbf24;
  --red: #fca5a5;
  --success: #86efac;
  --warning: #fde68a;
  --danger: #fca5a5;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 24px;
  --max: 1160px;
}

/* --- 2. Basis ----------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(circle at 80% 0%, rgba(56, 189, 248, 0.16), transparent 32rem),
    radial-gradient(circle at 10% 28%, rgba(14, 165, 233, 0.10), transparent 28rem),
    var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -4;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

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

/* --- 3. Navigation ------------------------------------------------ */
.navbar {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max), calc(100% - 32px));
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 12px 14px 12px 18px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.78);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 60px rgba(0,0,0,0.25);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  color: var(--bg);
  box-shadow: 0 0 28px rgba(56,189,248,0.38);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--brand);
}

.nav-cta {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--bg) !important;
  background: var(--brand);
  font-weight: 600;
  box-shadow: 0 0 24px rgba(56,189,248,0.30);
}

/* --- 4. Hero ------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 150px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 46px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid rgba(56,189,248,0.25);
  border-radius: 999px;
  background: rgba(56,189,248,0.08);
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 26px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 18px var(--brand);
}

.hero-text {
  max-width: 700px;
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.hero-points span {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
}

/* --- 5. Typografie ------------------------------------------------ */
h1, h2, h3,
.panel-title,
.preview-title,
.identity-title,
.case-preview h2,
.info-panel h3,
.about-panel h3,
.quote-card blockquote,
.trust-item strong,
.faq-item summary,
.nav-logo,
.value-band strong,
.mini-card strong {
  font-family: 'Sora', 'IBM Plex Sans', system-ui, sans-serif;
  font-weight: 600;
}

h1 {
  max-width: 900px;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin-bottom: 26px;
}

h2 {
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

h3 {
  font-size: 22px;
  line-height: 1.28;
  letter-spacing: -0.015em;
  font-weight: 500;
  margin-bottom: 12px;
}

.highlight {
  color: var(--brand);
  text-shadow: 0 0 34px rgba(56,189,248,0.25);
}

/* Zurück-Link auf den Leistungsseiten */
.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 26px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 36px;
}

.section-head .section-text {
  margin-bottom: 0;
  max-width: 520px;
}

section {
  padding: 90px 0;
}

.section-kicker {
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-text {
  max-width: 760px;
  color: var(--muted-2);
  font-size: 18px;
  margin-bottom: 38px;
}

/* --- 6. Buttons --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: var(--brand);
  color: var(--bg);
  box-shadow: 0 0 30px rgba(56,189,248,0.35);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 0 42px rgba(56,189,248,0.55);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--line-blue);
  background: rgba(255,255,255,0.075);
}

/* --- 7. Raster ---------------------------------------------------- */
.trust-grid,
.grid {
  display: grid;
  gap: 22px;
}

.trust-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: -50px;
  position: relative;
  z-index: 2;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: 1.1fr 0.9fr;
}

/* --- 8. Karten ---------------------------------------------------- */
.trust-item,
.card,
.contact-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 60px rgba(0,0,0,0.18);
}

.trust-item {
  padding: 22px;
}

.trust-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 17px;
}

.trust-item p {
  color: var(--muted-2);
  font-size: 14px;
  line-height: 1.55;
}

.card {
  position: relative;
  padding: 30px;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  opacity: 0;
  background: radial-gradient(circle at 20% 0%, rgba(56,189,248,0.18), transparent 40%);
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.card:hover,
.card:focus-visible {
  transform: translateY(-8px);
  border-color: var(--line-blue);
  box-shadow: 0 24px 80px rgba(56,189,248,0.10);
}

.card:hover::before,
.card:focus-visible::before {
  opacity: 1;
}

.card > * {
  position: relative;
}

.card h3 {
  color: var(--text);
  font-size: 22px;
  margin-bottom: 14px;
}

.card p {
  color: var(--muted);
  margin-bottom: 20px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
}

.card-link::after {
  content: "→";
  transition: transform 0.25s ease;
}

.card:hover .card-link::after {
  transform: translateX(4px);
}

.service-icon,
.icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  margin-bottom: 22px;
  background: rgba(56,189,248,0.10);
  border: 1px solid rgba(56,189,248,0.18);
  color: var(--brand);
  font-size: 24px;
}

/* --- 8b. Gemeinsame Bausteine der Leistungsseiten ------------------ */
.result-box,
.showcase-box,
.cta-box,
.mini-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 60px rgba(0,0,0,0.18);
}

.result-box,
.showcase-box {
  padding: 34px;
  background:
    radial-gradient(circle at 85% 10%, rgba(56,189,248,0.16), transparent 24rem),
    rgba(255,255,255,0.055);
}

.result-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.result-list li {
  list-style: none;
  display: flex;
  gap: 12px;
  color: var(--muted);
}

.result-list li::before {
  content: "✓";
  color: var(--brand);
  font-weight: 600;
}

.steps {
  counter-reset: steps;
}

.step-card {
  counter-increment: steps;
}

.step-card::after {
  content: "0" counter(steps);
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgba(56,189,248,0.18);
  font-family: 'Sora', sans-serif;
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
}

.problem-card h3::before {
  content: "•";
  color: var(--brand);
  margin-right: 8px;
}

.split-list {
  display: grid;
  gap: 14px;
}

.split-list li {
  list-style: none;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  color: var(--muted);
}

.split-list strong {
  color: var(--text);
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.state-card {
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  background: rgba(2,6,23,0.38);
}

.state-card strong {
  display: block;
  margin-bottom: 14px;
  font-size: 18px;
}

.state-card.before strong {
  color: var(--red);
}

.state-card.after strong {
  color: var(--green);
}

.state-card ul {
  display: grid;
  gap: 10px;
}

.state-card li {
  list-style: none;
  color: var(--muted);
}

.cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 46px;
  border-color: rgba(56,189,248,0.25);
  background:
    radial-gradient(circle at 90% 10%, rgba(56,189,248,0.18), transparent 28rem),
    rgba(56,189,248,0.08);
}

.cta-box h2 {
  margin-top: 0;
}

.cta-actions {
  display: grid;
  gap: 12px;
  min-width: 260px;
}

.small-note {
  color: var(--muted-2);
  font-size: 13px;
  text-align: center;
}

.mini-stack {
  display: grid;
  gap: 22px;
}

.mini-card {
  padding: 24px;
}

.mini-card strong {
  display: block;
  color: var(--brand);
  margin-bottom: 8px;
}

/* --- 9. Hero-Panel (Start- und Leistungsseiten) -------------------- */
.hero-panel {
  position: relative;
  border: 1px solid var(--line-blue);
  border-radius: 30px;
  padding: 28px;
  background: linear-gradient(145deg, rgba(56,189,248,0.12), rgba(255,255,255,0.04));
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: floatPanel 5.5s ease-in-out infinite alternate;
}

.hero-panel::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  top: -90px;
  right: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,0.24), transparent 66%);
  pointer-events: none;
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 26px;
  position: relative;
}

.panel-badge {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(34,197,94,0.12);
  color: #86efac;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(134,239,172,0.20);
}

.panel-title {
  font-size: 28px;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-top: 10px;
  max-width: 320px;
}

.panel-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.panel-list li {
  list-style: none;
  display: flex;
  gap: 10px;
  color: var(--muted);
}

.panel-list li::before {
  content: "✓";
  color: var(--brand);
  font-weight: 600;
}

/* --- 10. FAQ ------------------------------------------------------ */
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 920px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,0.045);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 24px;
  color: var(--text);
  font-size: 19px;
  font-weight: 500;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--brand);
  font-size: 24px;
  line-height: 1;
}

.faq-item[open] {
  border-color: var(--line-blue);
  background: rgba(56,189,248,0.055);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  padding: 0 24px 22px;
  color: var(--muted);
  margin-bottom: 0;
}

/* --- 10b. Referenz-Bilder ----------------------------------------- */
.ref-block {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.ref-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.08);
}

.ref-images img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.ref-body {
  display: grid;
  grid-template-columns: 1.25fr 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 32px;
}

.ref-body h3 {
  margin-bottom: 10px;
}

.ref-facts {
  display: grid;
  gap: 10px;
}

.ref-facts div {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 15px;
}

.ref-facts div::before {
  content: "✓";
  color: var(--green);
  font-weight: 600;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.demo-card {
  display: block;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,0.035);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.demo-card:hover,
.demo-card:focus-visible {
  transform: translateY(-5px);
  border-color: var(--line-blue);
  background: rgba(56,189,248,0.06);
}

.demo-card strong {
  display: block;
  font-family: 'Sora', sans-serif;
  font-weight: 500;
  font-size: 18px;
}

.demo-card p {
  margin: 7px 0 14px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted-2);
}

.demo-card span {
  font-size: 14px;
  color: var(--brand);
}

@media (max-width: 980px) {
  .ref-images { grid-template-columns: 1fr 1fr; }
  .ref-images img:last-child { display: none; }
  .ref-body { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .ref-images { grid-template-columns: 1fr; }
  .ref-images img { height: 210px; }
  .ref-images img:last-child { display: block; }
  .ref-body { padding: 26px; }
  .demo-grid { grid-template-columns: 1fr; }
}

/* --- 11. Footer --------------------------------------------------- */
footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  color: var(--muted-2);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

footer a {
  color: var(--brand);
  margin-left: 16px;
}

/* --- 12. Animation ------------------------------------------------ */
/* Inhalt ist ohne JavaScript sichtbar. Erst wenn main.js die Klasse "js"
   setzt, wird der animierte Startzustand aktiv. So bleibt die Seite lesbar,
   falls main.js fehlt, blockiert wird oder JS deaktiviert ist. */
.reveal {
  transition: opacity 0.75s ease, transform 0.75s ease;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(34px);
}

html.js .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatPanel {
  from { transform: translateY(0); }
  to { transform: translateY(18px); }
}

/* --- 13. Mobile --------------------------------------------------- */
@media (max-width: 980px) {
  .hero-grid,
  .grid-2,
  .contact-box,
  .cta-box,
  .section-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .cta-actions {
    min-width: 0;
  }

  .before-after {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    animation: none;
  }

  .trust-grid,
  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .navbar {
    top: 12px;
    width: calc(100% - 24px);
    align-items: flex-start;
    border-radius: 24px;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-cta {
    padding: 8px 12px;
  }

  .hero {
    padding: 190px 0 64px;
    min-height: auto;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  h1 {
    letter-spacing: -1.4px;
  }

  .hero-text {
    font-size: 18px;
  }

  section {
    padding: 66px 0;
  }

  .trust-grid {
    margin-top: 0;
  }

  .trust-grid,
  .grid-4,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .card,
  .contact-box,
  .result-box,
  .showcase-box,
  .cta-box,
  .hero-panel {
    padding: 26px;
  }

  footer a {
    margin-left: 0;
    margin-right: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* --- 14. Mobile-Optimierung (Sticky-CTA, Touch-Größen) ------------ */
.mobile-floating-cta {
  display: none;
}

@media (max-width: 820px) {
  body {
    -webkit-text-size-adjust: 100%;
  }

  body.has-mobile-cta {
    padding-bottom: 82px;
  }

  body.has-mobile-cta footer {
    padding-bottom: 96px;
  }

  .navbar {
    top: 10px;
    width: calc(100% - 20px);
    padding: 10px;
    border-radius: 22px;
    background: rgba(2, 6, 23, 0.92);
    box-shadow: 0 14px 42px rgba(0,0,0,0.34);
  }

  .nav-logo {
    width: 100%;
    justify-content: space-between;
  }

  .nav-logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 11px;
    flex: 0 0 auto;
  }

  .nav-links {
    width: 100%;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 4px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    scroll-snap-align: start;
    white-space: nowrap;
    padding: 9px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.075);
  }

  .nav-links a.active,
  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: rgba(56,189,248,0.12);
    border-color: rgba(56,189,248,0.25);
  }

  .nav-cta {
    background: var(--brand) !important;
    color: var(--bg) !important;
    border-color: transparent !important;
  }

  .container {
    width: min(100% - 28px, var(--max));
  }

  .hero,
  main {
    scroll-margin-top: 130px;
  }

  .hero-grid,
  .grid-2,
  .contact-box,
  .form-grid {
    grid-template-columns: 1fr !important;
  }

  .hero {
    min-height: auto;
    padding-top: 176px !important;
    padding-bottom: 52px !important;
  }

  h1 {
    font-size: clamp(34px, 10.4vw, 48px) !important;
    line-height: 1.07;
    letter-spacing: -0.03em !important;
  }

  h2 {
    font-size: clamp(28px, 8.6vw, 38px) !important;
    line-height: 1.13;
  }

  h3 {
    line-height: 1.25;
  }

  .hero-text,
  .intro,
  .section-text {
    font-size: 17px !important;
    line-height: 1.65;
  }

  .hero-actions,
  .form-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
  }

  .hero-actions .btn,
  .form-actions .btn,
  .contact-actions .btn,
  .mail-link {
    width: 100%;
  }

  .btn,
  .mail-link {
    min-height: 52px;
    padding: 14px 18px;
    border-radius: 14px;
    text-align: center;
    touch-action: manipulation;
  }

  .hero-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-points span {
    width: 100%;
    text-align: center;
  }

  .hero-panel,
  .preview-card,
  .setup-visual,
  .support-finder,
  .roadmap-box,
  .offer-preview {
    margin-top: 6px;
    border-radius: 24px;
  }

  .panel-title,
  .preview-title {
    font-size: 24px !important;
  }

  section {
    padding: 54px 0 !important;
  }

  .trust-grid,
  .grid-4,
  .grid-3,
  .topic-grid,
  .contact-options,
  .offer-grid,
  .route-grid,
  .faq-grid,
  .value-grid,
  .example-grid,
  .setup-grid,
  .finder-grid,
  .roadmap-grid {
    grid-template-columns: 1fr !important;
  }

  .grid,
  .trust-grid,
  .topic-grid,
  .contact-options {
    gap: 16px;
  }

  .trust-grid {
    margin-top: 0 !important;
  }

  .card,
  .trust-item,
  .about-panel,
  .mini-card,
  .contact-box,
  .form-card,
  .info-panel,
  .route-card,
  .trust-card,
  .comparison-box,
  .cta-box,
  .offer-preview,
  .faq-item {
    padding: 22px !important;
    border-radius: 20px;
  }

  .card h3,
  .trust-item strong {
    font-size: 21px;
  }

  .card p,
  .trust-item p,
  .mini-card p,
  .faq-item p {
    font-size: 15.5px;
  }

  input,
  textarea,
  select {
    font-size: 16px !important;
  }

  textarea {
    min-height: 150px;
  }

  .mobile-floating-cta {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    border-radius: 16px;
    background: var(--brand);
    color: var(--bg);
    font-weight: 600;
    box-shadow: 0 16px 44px rgba(56,189,248,0.35), 0 10px 30px rgba(0,0,0,0.35);
  }

  .footer-content {
    align-items: flex-start;
    flex-direction: column;
  }

  footer a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
  }
}

@media (max-width: 430px) {
  .navbar {
    width: calc(100% - 16px);
    top: 8px;
    padding: 9px;
  }

  .nav-logo span:last-child {
    font-size: 15px;
  }

  .nav-links {
    gap: 7px;
  }

  .nav-links a {
    padding: 8px 10px;
    font-size: 13px;
  }

  .hero {
    padding-top: 166px !important;
  }

  .container {
    width: min(100% - 22px, var(--max));
  }

  .eyebrow,
  .section-kicker,
  .tag {
    font-size: 12px;
  }

  .card,
  .trust-item,
  .about-panel,
  .mini-card,
  .contact-box,
  .form-card,
  .info-panel,
  .route-card,
  .trust-card,
  .comparison-box,
  .cta-box,
  .offer-preview,
  .faq-item {
    padding: 20px !important;
  }

  .service-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    font-size: 22px;
  }

  .mobile-floating-cta {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
}
