/* ==========================================================================
   TATKRAFT Coworking – Design System
   Richtung: „Frisches Grün, klare Struktur“ – hell, luftig, editorial.
   Kundennotiz aus der Skizze: Überschriften grün, Texte grau.
   ========================================================================== */

:root {
  /* Markenfarben (Tatkraft-Grün) */
  --green: #79c03f;
  --green-deep: #79c03f;
  --green-accent: #79c03f;
  --green-logo: #14b400;
  --green-tint: #eff7e6;
  --green-tint-2: #e2edd2;
  --green-light: #a8d86e;

  --ink: #282828;
  --gray: #606060;
  --gray-soft: #8f8f8f;
  --line: #e5e5e3;

  --paper: #fbfbf8;
  --paper-alt: #f3f5ef;
  --night: #282828;

  --font-display: "Futura", system-ui, sans-serif;
  --font-body: "Futura", system-ui, sans-serif;

  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-hero: clamp(2.6rem, 1.2rem + 6vw, 6rem);
  --text-h2: clamp(1.9rem, 1.2rem + 2.6vw, 3.2rem);
  --text-h3: clamp(1.4rem, 1.15rem + 1vw, 2rem);

  --space-section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --container: 72rem;

  --radius: 1.25rem;
  --shadow-soft: 0 20px 60px -25px rgb(35 38 34 / 0.25);

  --duration-fast: 180ms;
  --duration-slow: 700ms;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset & Basics ---------- */

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--gray);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--gray);
  line-height: 1.12;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--green-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  background: var(--green-deep);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 0.5rem 0.5rem;
}

.skip-link:focus {
  top: 0;
}

/* Grünes Dreieck – das Motiv aus dem „A“ des Logos */
.section-title,
.intro h2 {
  position: relative;
  font-size: var(--text-h2);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-title::before,
.intro h2::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-bottom: 1.1rem;
  border-left: 0.65rem solid transparent;
  border-right: 0.65rem solid transparent;
  border-bottom: 1.05rem solid var(--green);
}

.section-title em,
.intro h2 em,
.hero h1 em {
  font-style: normal;
  color: var(--green-deep);
}

.section-sub {
  max-width: 38rem;
  margin-top: -0.5rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--duration-fast) var(--ease-out-expo),
    background-color var(--duration-fast) ease,
    color var(--duration-fast) ease,
    border-color var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease;
}

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

.btn-solid {
  background: var(--green);
  color: #fff;
}

.btn-solid:hover,
.btn-solid:focus-visible {
  background: var(--green-deep);
  box-shadow: 0 10px 25px -10px rgb(20 180 0 / 0.7);
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: rgb(255 255 255 / 0.7);
  color: #fff;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgb(255 255 255 / 0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-ghost-dark {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-ghost-dark:hover,
.btn-ghost-dark:focus-visible {
  background: var(--ink);
  color: #fff;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.08rem;
}

.btn:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  transition:
    background-color 250ms ease,
    box-shadow 250ms ease;
}

.site-header.is-scrolled {
  background: rgb(251 251 248 / 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0.9rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand img {
  width: clamp(120px, 12vw, 150px);
  height: auto;
  transition: filter 250ms ease;
}

/* Logo auf dem Hero-Foto weiß, nach dem Scrollen original */
.site-header:not(.is-scrolled):not(.nav-open) .brand img {
  filter: brightness(0) invert(1);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a:not(.btn) {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  color: #fff;
  padding-block: 0.25rem;
  background-image: linear-gradient(var(--green), var(--green));
  background-repeat: no-repeat;
  background-size: 0% 2px;
  background-position: left bottom;
  transition: background-size 250ms var(--ease-out-expo);
}

.site-header.is-scrolled .main-nav a:not(.btn) {
  color: var(--ink);
}

.main-nav a:not(.btn):hover,
.main-nav a:not(.btn):focus-visible {
  background-size: 100% 2px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.75rem;
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 26px;
  height: 2.5px;
  border-radius: 2px;
  background: #fff;
  transition:
    transform 250ms var(--ease-out-expo),
    opacity 200ms ease;
  content: "";
}

.site-header.is-scrolled .nav-toggle-bar,
.site-header.is-scrolled .nav-toggle-bar::before,
.site-header.is-scrolled .nav-toggle-bar::after,
.site-header.nav-open .nav-toggle-bar::before,
.site-header.nav-open .nav-toggle-bar::after {
  background: var(--ink);
}

.nav-toggle-bar {
  position: relative;
}

.nav-toggle-bar::before {
  position: absolute;
  top: -8px;
}

.nav-toggle-bar::after {
  position: absolute;
  top: 8px;
}

.nav-open .nav-toggle-bar {
  background: transparent !important;
}

.nav-open .nav-toggle-bar::before {
  transform: translateY(8px) rotate(45deg);
}

.nav-open .nav-toggle-bar::after {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: clamp(34rem, 92svh, 52rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(75deg, rgb(15 20 12 / 0.82) 0%, rgb(15 20 12 / 0.55) 45%, rgb(15 20 12 / 0.15) 100%),
    linear-gradient(to top, rgb(15 20 12 / 0.6) 0%, transparent 35%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  width: 100%;
  margin-inline: auto;
  padding: 8rem clamp(1.25rem, 4vw, 2.5rem) 7rem;
}

.hero-kicker {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: var(--text-hero);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 14ch;
  margin-bottom: 0.4em;
}

.hero h1 em {
  color: var(--green);
  position: relative;
  white-space: nowrap;
}

.hero-sub {
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.35rem);
  max-width: 34rem;
  color: rgb(255 255 255 / 0.88);
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Laufband am unteren Hero-Rand */
.hero-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 0.85rem 0;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
}

.hero-ticker span {
  flex-shrink: 0;
  animation: ticker 28s linear infinite;
}

.hero-ticker i {
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-left: 0.35rem solid transparent;
  border-right: 0.35rem solid transparent;
  border-bottom: 0.55rem solid #fff;
  animation: ticker 28s linear infinite;
}

@keyframes ticker {
  from {
    transform: translateX(100vw);
  }
  to {
    transform: translateX(-100vw);
  }
}

/* ---------- Intro ---------- */

.intro {
  padding-block: var(--space-section);
}

.intro-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: start;
}

.intro-lead {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.45rem);
  color: var(--ink);
}

/* ---------- Vorteile ---------- */

.benefits {
  background: var(--paper-alt);
  padding-block: var(--space-section);
  border-block: 1px solid var(--line);
}

.benefits-grid {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
}

.benefit {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  transition:
    transform 300ms var(--ease-out-expo),
    box-shadow 300ms ease,
    border-color 300ms ease;
}

.benefit:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: var(--green-tint-2);
}

.benefit h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35em;
}

.benefit p {
  font-size: 0.95rem;
  margin: 0;
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 0.9rem;
  background: var(--green-tint);
  color: var(--green-deep);
  transition:
    background-color 300ms ease,
    color 300ms ease,
    transform 300ms var(--ease-out-expo);
}

.benefit:hover .benefit-icon {
  background: var(--green);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}

.benefit-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Räume ---------- */

.spaces {
  padding-top: var(--space-section);
}

.space {
  padding-block: clamp(2.5rem, 2rem + 3vw, 5rem);
}

.space-alt {
  background: var(--paper-alt);
}

.space-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}

.space-row-flip .space-media {
  order: 2;
}

.space-media {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.space-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 700ms var(--ease-out-expo);
}

.space-media:hover img {
  transform: scale(1.04);
}

.badge-free {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 6px 18px -6px rgb(20 180 0 / 0.65);
}

.space-eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 0.5rem;
}

.space-body h3 {
  font-size: var(--text-h3);
  font-weight: 700;
}

.space-facts {
  list-style: none;
  margin: 1.25rem 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.space-facts li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.98rem;
}

.space-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0;
  height: 0;
  border-left: 0.3rem solid transparent;
  border-right: 0.3rem solid transparent;
  border-bottom: 0.5rem solid var(--green);
}

.space-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.price-tag {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gray);
  background: var(--green-tint);
  border: 1px dashed var(--green-deep);
  border-radius: 0.75rem;
  padding: 0.5rem 1rem;
}

.price-tag strong {
  color: var(--green-accent);
  font-weight: 800;
  font-size: 1.15em;
}

.member-hint,
.note-hint {
  font-size: 0.88rem;
  color: var(--gray-soft);
  margin: -0.5rem 0 1.5rem;
}

.member-hint strong,
.note-hint strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Mitgliedschaft ---------- */

.membership {
  padding-block: var(--space-section);
  background: var(--paper-alt);
  border-block: 1px solid var(--line);
}

.membership-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}

.membership-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.membership-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.membership-price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: var(--font-display);
  color: var(--green-accent);
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.membership-price small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gray);
}

/* ---------- FAQ ---------- */

.faq {
  padding-block: var(--space-section);
}

.faq-groups {
  margin-top: 2.5rem;
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

.faq-group h3 {
  font-size: 1.1rem;
  color: var(--green-deep);
  margin-bottom: 1rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}

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

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green-deep);
  font-size: 1.2rem;
  transition: transform 250ms var(--ease-out-expo);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 1.4rem 1.25rem;
  font-size: 0.97rem;
}

/* ---------- Kontakt ---------- */

.contact {
  padding-block: var(--space-section);
  background:
    radial-gradient(60rem 30rem at 110% -10%, var(--green-tint) 0%, transparent 60%),
    var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 4rem);
  margin-top: 2.5rem;
  align-items: start;
}

.contact-people {
  display: grid;
  gap: 1.5rem;
}

.person {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.person-topic {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-soft);
  margin-bottom: 0.4rem;
}

.person h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4em;
}

.person p {
  font-size: 0.97rem;
}

.person-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-weight: 600;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-soft);
}

.contact-form h3 {
  font-size: 1.6rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  margin-bottom: 1.1rem;
}

.form-field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.form-field .optional {
  color: var(--gray-soft);
  font-weight: 400;
}

.form-field input,
.form-field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 0.7rem;
  padding: 0.7rem 0.9rem;
  transition:
    border-color var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgb(20 180 0 / 0.15);
}

.form-field textarea {
  resize: vertical;
}

.form-consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

.form-consent input {
  margin-top: 0.3rem;
  accent-color: var(--green-deep);
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

/* ---------- Standort ---------- */

.location {
  padding-block: var(--space-section);
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}

.location-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.75rem 0 2rem;
}

.location-facts div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.9rem 1.1rem;
}

.location-facts dt {
  font-size: 0.85rem;
  color: var(--gray-soft);
}

.location-facts dd {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--green-accent);
}

.location-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

/* ---------- Footer ---------- */

.site-footer {
  background: #eeeeee;
  color: var(--ink);
  padding-top: clamp(3rem, 6vw, 5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand {
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.footer-brand img {
  opacity: 1;
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 26ch;
  color: var(--ink);
  font-size: 0.95rem;
}

.site-footer address {
  font-style: normal;
  line-height: 2;
  color: var(--ink);
}

.footer-brand address a {
  color: var(--green-logo);
}

.site-footer a {
  color: var(--green-logo);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
}

.footer-nav h4 {
  color: var(--ink);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.footer-partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding-block: 1.75rem;
  background: #eeeeee;
  border-top: none;
}

.footer-partners span {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #333;
}

.footer-partners a {
  display: inline-flex;
}

.footer-partners img {
  height: 2.1rem;
  width: auto;
  opacity: 1;
  transition: opacity 200ms ease;
}

.footer-partners a:hover img {
  opacity: 0.85;
}

.footer-meta {
  background: #eeeeee;
  border-top: none;
  padding-block: 1.5rem;
  font-size: 0.88rem;
  color: var(--ink);
}

/* ---------- Scroll-Reveal ---------- */

/* Nur ausblenden, wenn JS verfügbar ist (Progressive Enhancement) */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--duration-slow) var(--ease-out-expo),
    transform var(--duration-slow) var(--ease-out-expo);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 56rem) {
  .intro-grid,
  .space-row,
  .contact-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .space-row-flip .space-media {
    order: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 44rem) {
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 60;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 300ms ease,
      visibility 300ms ease;
  }

  .nav-open .main-nav {
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .main-nav a:not(.btn) {
    color: var(--ink) !important;
    font-size: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ---------- Reduced Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-ticker span,
  .hero-ticker i {
    animation: none;
  }

  .hero-ticker {
    flex-wrap: wrap;
    white-space: normal;
    justify-content: center;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
