/* Platon e.K. – One-Page-Website
   Alle Pfade relativ, keine externen Ressourcen. */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/jakarta-latin-ext-wght-normal.woff2") format("woff2-variations");
  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: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/jakarta-latin-wght-normal.woff2") format("woff2-variations");
  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;
}

:root {
  --red: #e52c13;
  --red-dark: #b8200b;
  --red-soft: #fdecea;
  --ink: #111827;
  --ink-2: #1f2937;
  --text: #374151;
  --muted: #6b7280;
  --line: #e7e2dc;
  --bg: #ffffff;
  --soft: #f7f4f0;
  --soft-2: #efe9e2;

  --c-reinigung: #2f6fe4;
  --c-garten: #1f9d55;
  --c-hausmeister: #1f2937;
  --c-winter: #0891b2;
  --c-renovierung: #ea6a12;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(17, 24, 39, .06), 0 8px 24px rgba(17, 24, 39, .08);
  --shadow-lg: 0 24px 60px rgba(17, 24, 39, .16);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button { font: inherit; }

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: #cbd5e1; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, color .2s, box-shadow .2s, border-color .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(229, 44, 19, .3); }
.btn--primary:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .94rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .3s, box-shadow .3s, height .3s;
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; transition: filter .3s; }
.site-header:not(.is-scrolled):not(.is-open) .brand img { filter: brightness(0) invert(1); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 14px; border-radius: 10px; text-decoration: none;
  font-weight: 600; font-size: .96rem; color: var(--ink-2); transition: color .2s, background-color .2s;
}
.site-header:not(.is-scrolled):not(.is-open) .nav a { color: #fff; }
.nav a:hover { background: rgba(17, 24, 39, .06); }
.site-header:not(.is-scrolled) .nav a:hover { background: rgba(255, 255, 255, .14); }
.nav a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--red);
}
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--ink);
  padding: 8px 12px; border-radius: 10px; white-space: nowrap;
}
.header-phone svg { width: 18px; height: 18px; color: var(--red); }
.site-header:not(.is-scrolled):not(.is-open) .header-phone { color: #fff; }
.site-header:not(.is-scrolled):not(.is-open) .header-phone svg { color: #fff; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 0; cursor: pointer;
  background: rgba(17, 24, 39, .06); color: var(--ink); align-items: center; justify-content: center;
}
.site-header:not(.is-scrolled):not(.is-open) .nav-toggle { background: rgba(255, 255, 255, .16); color: #fff; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; position: relative; transition: transform .25s var(--ease), background-color .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.is-open .nav-toggle span { background: transparent; }
.is-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.is-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .header-phone span { display: none; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px;
    background: #fff; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a, .site-header:not(.is-scrolled):not(.is-open) .nav a { color: var(--ink); font-size: 1.2rem; padding: 16px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a.is-active::after { display: none; }
  .nav a.is-active { color: var(--red); }
  .nav .btn { margin-top: 24px; color: #fff; border: 0; font-size: 1.05rem; }
}
@media (min-width: 961px) { .nav .btn { display: none; } }
body.nav-locked { overflow: hidden; }
/* backdrop-filter würde das fixierte Menü im Header einsperren */
.site-header.is-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(100svh, 920px); display: flex; align-items: center;
  color: #e5e7eb; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 48px) 0 96px;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transform: scale(1.08); animation: heroZoom 18s ease-out forwards; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1200px 600px at 85% 20%, rgba(229, 44, 19, .28), transparent 60%),
    linear-gradient(100deg, rgba(10, 14, 24, .92) 0%, rgba(10, 14, 24, .78) 45%, rgba(10, 14, 24, .35) 100%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: end; }
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: transparent; background: linear-gradient(90deg, #ff6a4d, #ffb199); -webkit-background-clip: text; background-clip: text; }
.hero .eyebrow { color: #ffb4a3; }
.hero__lead { font-size: clamp(1.08rem, 1.7vw, 1.28rem); max-width: 620px; color: #d1d5db; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 40px; list-style: none; }
.hero__checks li { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; font-size: .98rem; }
.hero__checks svg { width: 22px; height: 22px; color: #4ade80; flex: none; }

.hero-card {
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius); padding: 28px; color: #e5e7eb;
}
.hero-card h2 { font-size: 1.15rem; color: #fff; margin-bottom: 18px; letter-spacing: -.01em; }
.hero-card ul { list-style: none; display: grid; gap: 10px; }
.hero-card li a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin: 0 -12px; border-radius: 12px;
  color: #fff; text-decoration: none; font-weight: 600; transition: background-color .2s;
}
.hero-card li a:hover { background: rgba(255, 255, 255, .1); }
.hero-card .dot { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.hero-card [data-c="hausmeister"] { --c: #94a3b8; }
.hero-card li a svg { width: 18px; height: 18px; margin-left: auto; opacity: .6; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 28px; height: 44px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 20px;
}
.scroll-hint::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff;
  animation: scrollHint 1.8s infinite;
}
@keyframes scrollHint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .scroll-hint { display: none; }
}

/* ---------- Stats ---------- */
.stats { margin-top: -64px; position: relative; z-index: 5; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { padding: 32px 24px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: var(--line); }
.stat__num { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat__num small { font-size: .55em; color: var(--red); margin-left: 2px; }
.stat__label { margin-top: 10px; font-weight: 600; color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat { padding: 26px 12px; }
}

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.about__media { position: relative; }
.about__media .main-img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.about__media::before {
  content: ""; position: absolute; inset: -18px auto auto -18px; width: 55%; height: 60%; border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, var(--red-soft) 0 10px, transparent 10px 20px); z-index: -1;
}
.badge-card {
  position: absolute; right: -16px; bottom: -28px; background: #fff; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); padding: 18px 22px; display: flex; align-items: center; gap: 16px; max-width: 300px;
}
.badge-card__year { font-size: 2.4rem; font-weight: 800; color: var(--red); line-height: 1; letter-spacing: -.03em; }
.badge-card p { margin: 0; font-size: .9rem; line-height: 1.4; color: var(--ink-2); font-weight: 600; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0 32px; list-style: none; }
.values li { background: var(--soft); border-radius: var(--radius-sm); padding: 16px; text-align: center; }
.values strong { display: block; font-size: 1.5rem; color: var(--red); font-weight: 800; line-height: 1.1; }
.values span { font-weight: 700; color: var(--ink); font-size: .92rem; }
.innung { display: flex; align-items: center; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.innung img { width: 120px; flex: none; mix-blend-mode: multiply; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about__media { margin: 0 8px 36px; }
  .badge-card { right: 8px; }
}
@media (max-width: 480px) {
  .values { grid-template-columns: 1fr; }
  .values li { display: flex; align-items: baseline; gap: 10px; text-align: left; }
}

/* ---------- Services (Tabs) ---------- */
.services { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 32px; align-items: start; }
.tabs { display: grid; gap: 8px; position: sticky; top: calc(var(--header-h) + 24px); }
.tab {
  --c: var(--red);
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff;
  color: var(--ink); font-weight: 700; font-size: 1.02rem; cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease), background-color .2s;
}
.tab:hover { border-color: var(--c); transform: translateX(3px); }
.tab__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); transition: background-color .2s, color .2s;
}
.tab__icon svg { width: 24px; height: 24px; }
.tab__arrow { margin-left: auto; width: 18px; height: 18px; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; color: var(--c); }
.tab[aria-selected="true"] { border-color: var(--c); box-shadow: 0 12px 28px color-mix(in srgb, var(--c) 18%, transparent); }
.tab[aria-selected="true"] .tab__icon { background: var(--c); color: #fff; }
.tab[aria-selected="true"] .tab__arrow { opacity: 1; transform: none; }

.panel {
  --c: var(--red);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  animation: panelIn .45s var(--ease);
}
.panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.panel__media { position: relative; aspect-ratio: 1582 / 815; background: var(--soft-2); overflow: hidden; }
.panel__media img { width: 100%; height: 100%; object-fit: cover; }
.panel__media--art {
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .25), transparent 40%),
    linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #7c2d12));
  color: #fff;
}
.panel__media--art svg { width: min(34%, 180px); height: auto; opacity: .95; }
.panel__tag {
  position: absolute; left: 20px; top: 20px; background: #fff; color: var(--c); font-weight: 800; font-size: .8rem;
  letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; box-shadow: var(--shadow);
}
.panel__body { padding: clamp(24px, 4vw, 44px); }
.panel__body h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; }
.checklist { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 24px 0 32px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; color: var(--ink-2); font-weight: 500; }
.checklist li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px;
  background: var(--c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.panel__actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.panel .link-arrow { color: var(--c); }
.panel__note { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); background: var(--soft); padding: 8px 14px; border-radius: 999px; font-size: .9rem; margin-bottom: 4px; }

[data-c="reinigung"] { --c: var(--c-reinigung); }
[data-c="garten"] { --c: var(--c-garten); }
[data-c="hausmeister"] { --c: var(--c-hausmeister); }
[data-c="winter"] { --c: var(--c-winter); }
[data-c="renovierung"] { --c: var(--c-renovierung); }

@media (max-width: 960px) {
  .services { grid-template-columns: 1fr; }
  .tabs {
    position: static; display: flex; overflow-x: auto; gap: 8px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px;
    scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { width: auto; flex: none; scroll-snap-align: start; padding: 10px 16px 10px 10px; font-size: .95rem; }
  .tab:hover { transform: none; }
  .tab__icon { width: 36px; height: 36px; border-radius: 10px; }
  .tab__icon svg { width: 20px; height: 20px; }
  .tab__arrow { display: none; }
}
@media (max-width: 560px) { .checklist { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; list-style: none; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px 28px;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step__num {
  counter-increment: step; display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: var(--red); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 20px;
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step p { margin: 0; color: var(--muted); }
.promise {
  margin-top: 40px; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center;
  background: var(--ink); color: #cbd5e1; border-radius: var(--radius); padding: clamp(24px, 4vw, 40px);
}
.promise svg { width: 56px; height: 56px; color: #4ade80; }
.promise p { margin: 0; font-size: 1.08rem; }
.promise strong { color: #fff; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .promise { grid-template-columns: 1fr; }
}

/* ---------- Technology ---------- */
.tech { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tech-card {
  background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .3s var(--ease), border-color .3s;
}
.tech-card:hover { transform: translateY(-6px); border-color: rgba(229, 44, 19, .6); }
.tech-card__img { aspect-ratio: 16 / 11; overflow: hidden; background: #fff; }
.tech-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tech-card:hover .tech-card__img img { transform: scale(1.05); }
.tech-card__body { padding: 26px; }
.tech-card__body p { margin: 0; color: #9ca3af; }
.tech-card__kicker { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #ff8a73; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; list-style: none; }
.chips li { font-size: .78rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: #d1d5db; }
@media (max-width: 960px) { .tech { grid-template-columns: 1fr 1fr; } .tech-card:last-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .tech { grid-template-columns: 1fr; } }

/* ---------- Engagement ---------- */
.news { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.news-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card__img { position: relative; aspect-ratio: 5 / 3; overflow: hidden; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; }
.news-card__year { position: absolute; left: 14px; top: 14px; background: var(--red); color: #fff; font-weight: 800; font-size: .8rem; padding: 4px 10px; border-radius: 999px; }
.news-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.news-card__body h3 { font-size: 1.08rem; margin-bottom: 8px; }
.news-card__body p { font-size: .94rem; color: var(--muted); }
.news-card__links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .92rem; }
@media (max-width: 1080px) { .news { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .news { grid-template-columns: 1fr; } }

.social-band {
  margin-top: 56px; border-radius: var(--radius); padding: clamp(28px, 4vw, 44px);
  background: linear-gradient(120deg, #e52c13, #c2185b 55%, #7b2ff7); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.social-band h3 { color: #fff; margin-bottom: 4px; }
.social-band p { margin: 0; opacity: .9; }
.social-band .btn { background: #fff; color: var(--ink); }
.social-band .btn:hover { transform: translateY(-2px); color: var(--ink); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-list { list-style: none; display: grid; gap: 14px; margin: 32px 0; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s var(--ease);
}
a.contact-item:hover { border-color: var(--red); transform: translateX(4px); color: var(--text); }
.contact-item__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); flex: none; }
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item strong { display: block; color: var(--ink); font-size: 1.02rem; }
.contact-item span { font-size: .95rem; color: var(--muted); }
.socials { display: flex; gap: 10px; list-style: none; }
.socials a {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ink); color: #fff; transition: background-color .2s, transform .2s var(--ease);
}
.socials a:hover { background: var(--red); transform: translateY(-3px); color: #fff; }
.socials svg { width: 20px; height: 20px; }

.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 44px); }
.form-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.field { grid-column: span 3; display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field--zip { grid-column: span 2; }
.field--city { grid-column: span 4; }
.field label { font-size: .88rem; font-weight: 700; color: var(--ink-2); }
.field label .req { color: var(--red); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--soft);
  border: 1.5px solid transparent; border-radius: 12px; padding: 13px 14px; min-height: 50px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--red); box-shadow: 0 0 0 4px rgba(229, 44, 19, .12); }
.field input:user-invalid { border-color: #dc2626; background: #fef2f2; }
.field small { color: var(--muted); font-size: .82rem; }
.check { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); flex: none; }
.captcha { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--soft); padding: 14px 16px; border-radius: 12px; }
.captcha label { font-weight: 700; color: var(--ink); }
.captcha input { width: 110px; font: inherit; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; min-height: 46px; }
.captcha input:focus { outline: none; border-color: var(--red); }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-foot small { color: var(--muted); font-size: .84rem; max-width: 320px; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; margin-bottom: 22px; font-weight: 600; }
.alert svg { width: 22px; height: 22px; flex: none; }
.alert--ok { background: #ecfdf5; color: #065f46; }
.alert--err { background: #fef2f2; color: #991b1b; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .field, .field--zip, .field--city { grid-column: 1 / -1; }
  .form-foot .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer { background: #0b0f19; color: #9ca3af; padding: 72px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 300px; }
.site-footer h4 { color: #fff; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a, .footer-link { color: #d1d5db; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; text-align: left; }
.site-footer a:hover, .footer-link:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating actions ---------- */
.fab-call, .to-top {
  position: fixed; z-index: 90; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  border: 0; cursor: pointer; box-shadow: var(--shadow-lg); transition: opacity .3s, transform .3s var(--ease);
}
.to-top { right: 20px; bottom: 20px; background: var(--ink); color: #fff; opacity: 0; transform: translateY(16px); pointer-events: none; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab-call { display: none; left: 20px; bottom: 20px; background: var(--red); color: #fff; }
.fab-call svg, .to-top svg { width: 24px; height: 24px; }
@media (max-width: 960px) { .fab-call { display: grid; } }

/* ---------- Dialogs ---------- */
dialog.legal {
  width: min(860px, calc(100% - 24px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); color: var(--text);
}
dialog.legal::backdrop { background: rgba(10, 14, 24, .6); backdrop-filter: blur(4px); }
dialog.legal[open] { display: flex; flex-direction: column; animation: panelIn .3s var(--ease); }
.legal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px; border-bottom: 1px solid var(--line); }
.legal__head h2 { font-size: 1.4rem; margin: 0; }
.legal__close { width: 42px; height: 42px; border-radius: 12px; border: 0; background: var(--soft); cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.legal__close:hover { background: var(--soft-2); }
.legal__close svg { width: 20px; height: 20px; }
.legal__body { padding: 24px 28px 32px; overflow-y: auto; font-size: .95rem; }
.legal__body h3 { font-size: 1.08rem; margin: 1.6em 0 .5em; }
.legal__body h3:first-child { margin-top: 0; }
.legal__body h4 { font-size: .98rem; margin: 1.2em 0 .4em; }
.legal__body ul { padding-left: 1.2em; margin-bottom: 1em; }
.legal__body address { font-style: normal; margin-bottom: 1em; }
.legal__body a { word-break: break-word; }
@media (max-width: 560px) {
  .legal__head, .legal__body { padding-left: 18px; padding-right: 18px; }
}

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
