/* =========================================================
   Ayman Builds — style.css
   Hell · clean · seriös. Signal-Blau + Anthrazit-Ink.
   ========================================================= */

:root {
  --bg:        #ffffff;
  --bg-alt:    #f5f7fb;
  --ink:       #101422;   /* Überschriften / Anthrazit */
  --ink-2:     #2b3242;
  --body:      #55606f;   /* Fließtext */
  --muted:     #8a93a3;
  --line:      #e6eaf1;
  --line-2:    #eef1f6;
  --accent:    #1e50e5;   /* seriöses Signal-Blau */
  --accent-ink:#153aa8;
  --accent-hov:#1a44c4;
  --accent-soft:#eef2fe;
  --navy:      #0e1c3d;
  --wa:        #25d366;

  --radius:   16px;
  --radius-sm:11px;
  --radius-lg:22px;
  --shadow-sm: 0 1px 2px rgba(16,20,34,.05), 0 2px 6px rgba(16,20,34,.04);
  --shadow-md: 0 6px 24px rgba(16,20,34,.08), 0 2px 6px rgba(16,20,34,.05);
  --shadow-lg: 0 24px 60px rgba(20,40,90,.16), 0 6px 18px rgba(16,20,34,.06);

  --container: 1140px;
  --ease: cubic-bezier(.2,.7,.2,1);

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --display: 'Inter Tight', var(--sans);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }

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

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

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  --pad-y: 12px; --pad-x: 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600; font-size: 15px; letter-spacing: -.01em;
  border: 1.5px solid transparent;
  transition: transform .18s var(--ease), background .18s var(--ease),
              box-shadow .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
}
.btn-sm { --pad-y: 9px; --pad-x: 16px; font-size: 14px; }
.btn-lg { --pad-y: 15px; --pad-x: 26px; font-size: 16px; }

.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(30,80,229,.28); }
.btn-primary:hover { background: var(--accent-hov); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(30,80,229,.34); }

.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-alt); border-color: var(--ink-2); transform: translateY(-2px); }

.btn:active { transform: scale(.96); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(16,20,34,.05); }

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

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: inline-flex; }
.brand-name {
  font-family: var(--display); font-weight: 700; font-size: 19px;
  color: var(--ink); letter-spacing: -.02em;
}

.nav { margin-inline: auto; }
.nav-list { display: flex; gap: 4px; }
.nav-link {
  position: relative; display: inline-block;
  padding: 8px 14px; border-radius: 8px;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav-link:hover { color: var(--accent); }
.nav-link.active { color: var(--accent); }
.nav-link.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--accent); border-radius: 2px;
}

.header-cta { flex-shrink: 0; }

/* Mobile toggle */
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 11px; background: #fff; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--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-menu {
  display: flex; flex-direction: column; gap: 4px;
  padding: 8px 24px 22px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.98);
}
.mobile-link { padding: 13px 6px; font-size: 17px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.mobile-cta { margin-top: 14px; }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; padding: 76px 0 90px; overflow: hidden; }
.hero-topo {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(120% 90% at 85% -10%, var(--accent-soft) 0%, rgba(238,242,254,0) 55%),
    repeating-linear-gradient(115deg, rgba(30,80,229,.05) 0 1px, transparent 1px 46px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 40%, transparent 92%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 40%, transparent 92%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 500; color: var(--ink-2); letter-spacing: -.005em;
  margin-bottom: 26px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); flex: none; animation: pulse-ring 2.2s ease-out infinite; }

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.45); }
  70%  { box-shadow: 0 0 0 7px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.04; letter-spacing: -.032em;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero-sub { font-size: clamp(17px, 2.1vw, 20px); color: var(--body); max-width: 34ch; margin-bottom: 34px; }

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

.hero-facts { display: flex; gap: 30px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -.01em; }
.hero-facts span { font-size: 13.5px; color: var(--muted); }

/* Browser mockup */
.hero-visual { position: relative; animation: float-a 6s ease-in-out infinite; }
.browser {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
  transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
  transition: transform .5s var(--ease);
}
.hero-visual:hover .browser { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg) translateY(-4px); }

@keyframes float-a { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes float-b { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.tl-dot { width: 10px; height: 10px; border-radius: 50%; background: #d3d9e4; }
.tl-dot:nth-child(1) { background: #ff5f57; } .tl-dot:nth-child(2) { background: #febc2e; } .tl-dot:nth-child(3) { background: #28c840; }
.browser-url { margin-left: 12px; font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 4px 12px; }

.browser-body { padding: 20px; }
.mock-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.mock-logo { width: 74px; height: 14px; border-radius: 4px; background: var(--ink); }
.mock-links { display: flex; gap: 8px; }
.mock-links i { width: 30px; height: 9px; border-radius: 3px; background: var(--line); }
.mock-hero { display: flex; flex-direction: column; gap: 10px; padding: 8px 0 22px; }
.mock-h1 { width: 78%; height: 20px; border-radius: 6px; background: linear-gradient(90deg, var(--ink), var(--ink-2)); }
.mock-h1.short { width: 52%; }
.mock-line { width: 90%; height: 9px; border-radius: 4px; background: var(--line); margin-top: 4px; }
.mock-line.w70 { width: 66%; }
.mock-btn { width: 128px; height: 34px; border-radius: 999px; background: var(--accent); margin-top: 12px; }
.mock-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.mock-card { height: 62px; border-radius: 10px; background: var(--bg-alt); border: 1px solid var(--line); }

.floating-badge {
  position: absolute; left: -14px; bottom: -26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 14px 18px;
  display: flex; flex-direction: column;
  animation: float-b 5s ease-in-out infinite;
}
.fb-num { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--accent); letter-spacing: -.02em; }
.fb-label { font-size: 12.5px; color: var(--muted); max-width: 15ch; }

/* =========================================================
   Section scaffolding
   ========================================================= */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.section-head { max-width: 660px; margin-bottom: 52px; }
.section-eyebrow {
  font-family: var(--display); font-weight: 600; font-size: 13px;
  text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: 14px;
}
.section-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(27px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -.028em;
  color: var(--ink); margin-bottom: 16px;
}
.section-lead { font-size: 18px; color: var(--body); }

/* =========================================================
   Pricing
   ========================================================= */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.price-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 26px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  display: flex; flex-direction: column;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.featured { border-color: var(--accent); box-shadow: var(--shadow-md); }
.pc-flag {
  position: absolute; top: -12px; left: 26px;
  background: var(--accent); color: #fff; font-family: var(--display); font-weight: 600;
  font-size: 12px; letter-spacing: .01em; padding: 5px 13px; border-radius: 999px;
  box-shadow: 0 6px 14px rgba(30,80,229,.3);
  animation: flag-pop .5s var(--ease) .4s both;
}

@keyframes flag-pop {
  0%   { transform: scale(.8) translateY(4px); opacity: 0; }
  65%  { transform: scale(1.06) translateY(0); opacity: 1; }
  100% { transform: scale(1) translateY(0); }
}

.pricing .price-card:nth-child(1) { transition-delay: 0s; }
.pricing .price-card:nth-child(2) { transition-delay: .08s; }
.pricing .price-card:nth-child(3) { transition-delay: .16s; }
.pricing .price-card:nth-child(4) { transition-delay: .24s; }
.pc-name { font-family: var(--display); font-weight: 700; font-size: 21px; color: var(--ink); letter-spacing: -.02em; margin-bottom: 14px; }
.pc-price { display: flex; align-items: baseline; gap: 8px; }
.pc-amount { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 2.6vw, 38px); color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.pc-unit { font-size: 14px; color: var(--muted); font-weight: 500; }
.pc-sub { font-size: 14.5px; color: var(--muted); margin: 8px 0 22px; }
.pc-list { display: flex; flex-direction: column; gap: 13px; margin-bottom: 26px; flex: 1; }
.pc-list li { position: relative; padding-left: 28px; font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.pc-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231e50e5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}
.pc-cta { width: 100%; margin-top: auto; }

.pricing-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.pe-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 18px 20px; background: var(--accent-soft); border-radius: var(--radius);
}
.pe-item svg { flex: none; color: var(--accent); margin-top: 3px; }
.pe-item strong { display: block; font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--accent-ink); margin-bottom: 2px; }
.pe-item span { font-size: 14.5px; color: var(--accent-ink); opacity: .88; }

/* =========================================================
   Referenzen
   ========================================================= */
.ref-grid { display: grid; place-items: center; }
.ref-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.ref-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ref-card-lead { width: 100%; max-width: 600px; }

.ref-thumb { position: relative; display: block; }
.ref-card-lead .ref-thumb { padding: 20px 20px 0; background: linear-gradient(160deg, #f0f4ff, #eaf0fd); }

.ref-browser { background: #fff; border: 1px solid var(--line); border-top-left-radius: 12px; border-top-right-radius: 12px; box-shadow: 0 -6px 24px rgba(20,40,90,.08); overflow: hidden; }
.rb-bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.rb-bar span { width: 8px; height: 8px; border-radius: 50%; background: #d3d9e4; }
.rb-bar em { margin-left: 8px; font-style: normal; font-size: 11px; color: var(--muted); }
.rb-shot { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 9px; }
.rb-shot-fischer { background: linear-gradient(180deg, #fff, #f7f9fe); }
.rbf-eyebrow { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.rbf-h1 { width: 80%; height: 15px; border-radius: 5px; background: var(--ink); }
.rbf-h1.short { width: 55%; background: var(--ink-2); }
.rbf-btn { width: 96px; height: 26px; border-radius: 999px; background: var(--accent); margin-top: 6px; }
.rbf-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 12px; }
.rbf-row i { height: 40px; border-radius: 8px; background: var(--bg-alt); border: 1px solid var(--line); }

.ref-open {
  position: absolute; right: 30px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ink); color: #fff; font-family: var(--display); font-weight: 600; font-size: 13px;
  padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(6px); transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.ref-card-lead:hover .ref-open { opacity: 1; transform: translateY(0); }

.ref-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 9px; }
.tag {
  align-self: flex-start; font-family: var(--display); font-weight: 600; font-size: 11.5px;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px; background: var(--bg-alt); color: var(--muted); border: 1px solid var(--line);
}
.tag-live { background: rgba(37,211,102,.12); color: #12a355; border-color: rgba(37,211,102,.25); }
.ref-title { font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--ink); letter-spacing: -.02em; }
.ref-text { font-size: 15px; color: var(--body); }
.ref-link { font-weight: 600; font-size: 14.5px; color: var(--accent); margin-top: 2px; }
.ref-link:hover { text-decoration: underline; }

.ref-note { text-align: center; margin-top: 34px; font-size: 16px; color: var(--ink-2); font-weight: 500; }

/* =========================================================
   Über uns
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.about-text { font-size: 18px; color: var(--body); margin-top: 18px; }
.about-values { display: grid; gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.about-values li { background: #fff; padding: 22px 26px; display: flex; flex-direction: column; gap: 4px; }
.av-key { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--accent); letter-spacing: -.01em; }
.av-val { font-size: 15.5px; color: var(--ink-2); }

/* =========================================================
   Kontakt
   ========================================================= */
.section-contact { background: var(--bg-alt); border-block: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-intro .section-lead { margin-bottom: 28px; }

.contact-direct { display: flex; flex-direction: column; gap: 12px; }
.cd-item {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px; box-shadow: var(--shadow-sm);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
  color: var(--ink);
}
.cd-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.cd-item svg { flex: none; color: var(--accent); }
.cd-wa { position: relative; }
.cd-wa svg { color: var(--wa); }
.cd-wa::after {
  content: ""; position: absolute; top: 13px; right: 16px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--wa); animation: pulse-ring 2.2s ease-out infinite;
}
.cd-item span { display: flex; flex-direction: column; }
.cd-item strong { font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--ink); }
.cd-item em { font-style: normal; font-size: 13.5px; color: var(--muted); }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow-md); }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--ink-2); }
.field input, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hp-field { position: absolute; left: -9999px; }
.form-submit { width: 100%; margin-top: 6px; }
.form-hint { font-size: 13px; color: var(--muted); margin-top: 14px; text-align: center; }
.form-hint a { color: var(--accent); text-decoration: underline; }
.form-success { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(37,211,102,.1); color: #12a355; font-weight: 500; font-size: 15px; text-align: center; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--navy); color: #c7d0e2; padding: 62px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 2fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand-footer .brand-name { color: #fff; }
.footer-tag { margin-top: 16px; font-size: 15px; color: #93a1bd; max-width: 34ch; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.fn-col { display: flex; flex-direction: column; gap: 12px; }
.fn-head { font-family: var(--display); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: #6f7f9e; margin-bottom: 4px; }
.fn-col a { font-size: 15px; color: #c7d0e2; transition: color .16s var(--ease); }
.fn-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13.5px; color: #7c8aa8; }

/* =========================================================
   Legal pages (Impressum / Datenschutz)
   ========================================================= */
.legal { padding: 56px 0 88px; }
.legal-back {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--accent); margin-bottom: 30px;
}
.legal-back:hover { text-decoration: underline; }
.legal-inner { max-width: 760px; }
.legal h1 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4.5vw, 44px); letter-spacing: -.03em; color: var(--ink); margin-bottom: 12px; }
.legal .legal-intro { font-size: 18px; color: var(--body); margin-bottom: 40px; }
.legal h2 { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; color: var(--ink); margin: 40px 0 12px; }
.legal h3 { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--ink-2); margin: 24px 0 8px; }
.legal p { margin-bottom: 14px; color: var(--body); }
.legal ul.legal-list { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.legal ul.legal-list li { margin-bottom: 8px; color: var(--body); }
.legal a { color: var(--accent); text-decoration: underline; }
.legal .ph { background: #fff3cd; color: #8a6100; padding: 1px 7px; border-radius: 5px; font-weight: 600; font-size: .92em; border: 1px solid #f3e0a3; }
.legal .legal-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 8px; }
.legal .legal-card p { margin-bottom: 6px; }
.legal .updated { margin-top: 44px; font-size: 14px; color: var(--muted); }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .browser { transform: none !important; }
  .hero-visual, .floating-badge, .eyebrow .dot, .cd-wa::after, .pc-flag {
    animation: none !important;
  }
}

/* =========================================================
   Responsive
   ========================================================= */
.hide-mobile { display: inline; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
  .hero-copy { max-width: 640px; }
  .hero-sub { max-width: 46ch; }
  .hero-visual { max-width: 460px; }
  .browser { transform: none; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .pricing { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 66px 0; }
  .hero { padding: 52px 0 72px; }
  .pricing { grid-template-columns: 1fr; }
  .pricing-extra { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .hide-mobile { display: none; }
  .floating-badge { left: auto; right: 0; }
  .hero-facts { gap: 20px 26px; }
}

@media (max-width: 420px) {
  .container { padding-inline: 18px; }
  .footer-nav { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}
