/* ===========================================================
   stubenrein.de — Design System
   Warm & freundlich · Teal/Türkis + Korall-Akzent
   Display: Bricolage Grotesque · Body: Hanken Grotesk
   =========================================================== */

:root {
  /* Neutrals — warm, never cold */
  --cream:      #FBF6EE;
  --cream-deep: #F4EBDD;
  --paper:      #FFFFFF;
  --ink:        #1E3A36;
  --ink-soft:   #56706B;
  --ink-faint:  #8A9D99;

  /* Teal — primary */
  --teal:       #12897A;
  --teal-deep:  #0C5D52;
  --teal-700:   #0E6E61;
  --teal-tint:  #E2F1ED;
  --teal-tint2: #D2E9E3;

  /* Coral — warm accent (paw pink) */
  --coral:      #E98A6F;
  --coral-deep: #D96B4D;
  --coral-tint: #FBE8DF;

  /* Sun — soft secondary tint for variety */
  --sun-tint:   #FBEFD6;
  --sun:        #E8B45C;

  --line:       #E9DFCF;
  --line-soft:  #F0E8DA;

  --shadow-sm: 0 1px 2px rgba(30,58,54,.04), 0 2px 8px rgba(30,58,54,.05);
  --shadow-md: 0 4px 14px rgba(30,58,54,.07), 0 12px 30px rgba(30,58,54,.07);
  --shadow-lg: 0 10px 30px rgba(30,58,54,.10), 0 30px 60px rgba(30,58,54,.10);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 36px;

  --maxw: 1280px;
  --gut: clamp(22px, 4vw, 60px);

  --font-body: 'Hanken Grotesk', system-ui, sans-serif;
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: hidden; background: var(--cream); }

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

/* ---------- Scroll-Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .25s; }
.reveal-delay-4 { transition-delay: .3s; }
.reveal-delay-5 { transition-delay: .35s; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--coral);
  border-radius: 2px;
}

.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); }

/* ---------- Decorative blobs ---------- */
.deco-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .14;
  pointer-events: none;
  z-index: 0;
}
.deco-blob-teal {
  background: var(--teal);
}
.deco-blob-coral {
  background: var(--coral);
}
.deco-blob-sun {
  background: var(--sun);
}

/* Sections with decorative blobs that overhang the edge need their own
   clipping, since .hero/.band already clip but plain .section does not. */
#tipps, #fehler {
  overflow: hidden;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 6px 18px rgba(18,137,122,.28);
}
.btn-primary:hover { background: var(--teal-700); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(18,137,122,.34); }
.btn-ghost {
  background: transparent;
  color: var(--teal-deep);
  border-color: var(--teal-tint2);
}
.btn-ghost:hover { background: var(--teal-tint); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251,246,238,.82);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled { border-color: var(--line); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -0.02em;
}
.brand img { width: 34px; height: 34px; }
.brand .b1 { color: var(--teal); }
.brand .b2 { color: var(--teal-deep); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 15.5px;
  padding: 9px 14px;
  border-radius: 999px;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--teal-deep); background: var(--teal-tint); }
.nav-links .btn { margin-left: 6px; padding: 11px 22px; font-size: 15px; }
.nav-links a.btn-primary { color: #fff; background: var(--teal); }
.nav-links a.btn-primary:hover { color: #fff; background: var(--teal-700); }
.nav-links a.btn-ghost { color: var(--teal-deep); }
.nav-links a.btn-ghost:hover { color: var(--teal-deep); background: var(--teal-tint); }

.nav-toggle {
  display: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--ink); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px var(--gut) 18px;
}
.mobile-menu a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 13px 14px;
  border-radius: 12px;
}
.mobile-menu a:hover { background: var(--teal-tint); }
.mobile-menu.open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 7vw, 88px);
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, #EAF4F0 0%, var(--cream) 62%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 5.2vw, 62px);
  margin-bottom: 20px;
}
.hero h1 .hl { color: var(--teal); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0.06em;
  height: 0.26em;
  background: var(--coral-tint);
  border-radius: 6px;
  z-index: -1;
}
.hero .lead { max-width: 30ch; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta {
  display: flex; gap: 26px; margin-top: 34px;
  flex-wrap: wrap;
}
.hero-meta .stat { display: flex; flex-direction: column; }
.hero-meta .stat b { font-family: var(--font-display); font-size: 23px; color: var(--ink); }
.hero-meta .stat span { font-size: 14px; color: var(--ink-soft); }

/* Hero visual */
.hero-visual { position: relative; }
.hero-photo {
  border-radius: var(--r-xl);
  aspect-ratio: 4/4.4;
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  object-position: 60% 35%;
  display: block;
}
.hero-badge {
  position: absolute;
  left: -22px; bottom: 34px;
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 14px 18px 14px 14px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-md);
  animation: float-badge 4s ease-in-out infinite;
}
@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-badge .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--teal-tint); display: grid; place-items: center;
  flex: none;
}
.hero-badge .ico img { width: 28px; height: 28px; }
.hero-badge b { display: block; font-family: var(--font-display); font-size: 15px; }
.hero-badge span { font-size: 13px; color: var(--ink-soft); }

.hero-chip {
  position: absolute;
  top: 26px; right: -14px;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  transform: rotate(3deg);
  animation: float-chip 5s ease-in-out infinite;
}
@keyframes float-chip {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-6px); }
}

/* ---------- Placeholders ---------- */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg, var(--teal-tint) 0 14px, var(--teal-tint2) 14px 28px);
  display: grid; place-items: center;
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--teal-deep);
  background: rgba(255,255,255,.78);
  padding: 6px 12px;
  border-radius: 999px;
}
.ph.coral {
  background:
    repeating-linear-gradient(135deg, var(--coral-tint) 0 14px, #F6DACE 14px 28px);
}
.ph.coral::after { color: var(--coral-deep); }

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.tint { background: var(--paper); }
.section.tint-warm { background: var(--cream-deep); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(29px, 3.6vw, 44px); margin: 14px 0 12px; }
.section-head p { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-soft); }
.section-head.center .eyebrow { justify-content: center; }

/* ---------- Intro band ---------- */
.band {
  background: var(--teal-deep);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(36px, 5vw, 60px);
  position: relative;
  overflow: hidden;
}
.band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); max-width: 18ch; margin-bottom: 18px; }
.band p { color: rgba(255,255,255,.82); font-size: 17px; max-width: 60ch; }
.band .paw-deco {
  position: absolute; right: -30px; bottom: -36px;
  width: 220px; height: 220px; opacity: .12;
  transform: rotate(-18deg);
}

/* ---------- Tabs (Hund/Katze) ---------- */
.tabset { }
.tabs {
  display: inline-flex;
  gap: 4px;
  background: var(--cream-deep);
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.tab {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-soft);
  background: transparent;
  border: none;
  padding: 11px 24px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .18s, color .18s, box-shadow .18s;
}
.tab[aria-selected="true"] {
  background: var(--paper);
  color: var(--teal-deep);
  box-shadow: var(--shadow-sm);
}
.tab .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
.tab.cat .dot { background: var(--coral); }
.tabpanel { display: none; margin-top: 40px; }
.tabpanel.active { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Timeline / steps ---------- */
.steps { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 0 0 34px;
  position: relative;
}
.step:not(:last-child) .num::after {
  content: "";
  position: absolute;
  left: 50%; top: 56px; bottom: -6px;
  width: 2px; transform: translateX(-50%);
  background: linear-gradient(var(--teal-tint2), transparent);
}
.step .num {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700; font-size: 22px;
  display: grid; place-items: center;
  flex: none;
}
.cat-panel .step .num { background: var(--coral); }
.cat-panel .step:not(:last-child) .num::after { background: linear-gradient(var(--coral-tint), transparent); }
.step-body { padding-top: 6px; }
.step-body h3 { font-size: 21px; margin-bottom: 7px; }
.step-body p { color: var(--ink-soft); font-size: 16.5px; }
.step-body .pill {
  display: inline-block; margin-top: 10px;
  font-size: 13px; font-weight: 700; color: var(--teal-deep);
  background: var(--teal-tint); padding: 5px 12px; border-radius: 999px;
}
.cat-panel .step-body .pill { color: var(--coral-deep); background: var(--coral-tint); }

.steps-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; }
.steps-aside {
  position: sticky; top: 96px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.steps-aside .ph { border-radius: var(--r-md); aspect-ratio: 4/3.4; margin-bottom: 18px; }
.steps-aside .aside-photo { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: var(--r-md); margin-bottom: 18px; display: block; }
.steps-aside h4 { font-size: 17px; margin-bottom: 8px; }
.steps-aside p { font-size: 15px; color: var(--ink-soft); }

/* ---------- Tips grid ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 30px;
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--coral));
  opacity: 0;
  transition: opacity .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--teal-tint2); }
.card:hover::before { opacity: 1; }
.card .ico {
  width: 52px; height: 52px; border-radius: 15px;
  display: grid; place-items: center; margin-bottom: 18px;
  transition: transform .25s ease;
}
.card:hover .ico { transform: scale(1.08) rotate(-3deg); }
.card .ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 20px; margin-bottom: 9px; }
.card p { color: var(--ink-soft); font-size: 16px; }
.i-teal { background: var(--teal-tint); color: var(--teal); }
.i-coral { background: var(--coral-tint); color: var(--coral-deep); }
.i-sun  { background: var(--sun-tint); color: #B07C1E; }

/* ---------- Mistakes ---------- */
.mistakes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mistake {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-left: 4px solid var(--coral);
  border-radius: var(--r-md);
  padding: 22px 24px;
}
.mistake .x {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--coral-tint); color: var(--coral-deep);
  display: grid; place-items: center; flex: none;
}
.mistake .x svg { width: 22px; height: 22px; }
.mistake h3 { font-size: 18px; margin-bottom: 5px; }
.mistake p { font-size: 15.5px; color: var(--ink-soft); }
.mistake .fix { display: block; margin-top: 8px; font-size: 14.5px; color: var(--teal-deep); font-weight: 600; }

/* ---------- Checklist ---------- */
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.check-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.check-card .head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.check-card .head .badge {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
}
.check-card.dog .head .badge { background: var(--teal-tint); }
.check-card.cat .head .badge { background: var(--coral-tint); }
.check-card .head .badge img { width: 26px; height: 26px; }
.check-card .head h3 { font-size: 21px; }
.check-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.check-card li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: var(--ink-soft); }
.check-card li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.check-card.dog li svg { color: var(--teal); }
.check-card.cat li svg { color: var(--coral); }
.check-card li b { color: var(--ink); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow .25s, border-color .25s;
}
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: var(--teal-tint2); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  transition: color .2s;
}
.faq-item summary:hover { color: var(--teal-deep); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chev {
  width: 30px; height: 30px; flex: none;
  border-radius: 50%; background: var(--teal-tint); color: var(--teal-deep);
  display: grid; place-items: center;
  transition: transform .3s cubic-bezier(.22,1,.36,1), background .25s;
}
.faq-item[open] .chev { transform: rotate(45deg); background: var(--teal); color: #fff; }
.faq-item .chev svg { width: 16px; height: 16px; }
.faq-answer {
  padding: 0 24px 24px; color: var(--ink-soft); font-size: 16.5px; max-width: 68ch;
  animation: faq-slide .35s cubic-bezier(.22,1,.36,1);
}
@keyframes faq-slide {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Resources ---------- */
.res-note {
  max-width: 820px;
  margin: 18px auto 0;
  display: flex; align-items: flex-start; gap: 11px;
  font-size: 14px; line-height: 1.55; color: var(--ink-soft);
}
.res-note svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--ink-faint); }

/* ---------- Disclaimer band ---------- */
.disclaimer {
  display: flex; align-items: flex-start; gap: 14px;
  max-width: 820px; margin: clamp(40px,5vw,56px) auto 0;
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 24px;
}
.disclaimer .di {
  width: 38px; height: 38px; flex: none; border-radius: 11px;
  background: var(--sun-tint); color: #B07C1E;
  display: grid; place-items: center;
}
.disclaimer .di svg { width: 21px; height: 21px; }
.disclaimer p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.disclaimer b { color: var(--ink); font-weight: 600; }

.res-list { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.res {
  display: flex; align-items: center; gap: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 24px;
  text-decoration: none;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.res:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--teal-tint2); }
.res .res-ico {
  width: 48px; height: 48px; flex: none; border-radius: 13px;
  background: var(--teal-tint); color: var(--teal-deep);
  display: grid; place-items: center;
}
.res .res-ico svg { width: 24px; height: 24px; }
.res-text b { display: block; font-family: var(--font-display); font-size: 18px; color: var(--ink); }
.res-text span { font-size: 15px; color: var(--ink-soft); }
.res .arrow { margin-left: auto; color: var(--ink-faint); transition: transform .18s, color .18s; }
.res:hover .arrow { transform: translateX(4px); color: var(--teal); }
.res .arrow svg { width: 22px; height: 22px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.about-visual { position: relative; }
.about-visual .disc {
  width: min(340px, 100%); aspect-ratio: 1; margin-inline: auto;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, var(--teal-tint), var(--cream-deep));
  display: grid; place-items: center;
}
.about-visual .disc img { width: 56%; }
.about-visual .about-photo {
  width: min(360px, 100%); aspect-ratio: 1; margin-inline: auto;
  object-fit: cover; border-radius: 50%; display: block;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--paper);
}
.about h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 18px; }
.about p { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 16px; }
.about .note {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14.5px; color: var(--teal-deep); font-weight: 600;
  background: var(--teal-tint); padding: 8px 16px; border-radius: 999px;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, background .18s ease, visibility .25s;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.back-to-top:hover { background: var(--teal-700); transform: translateY(-2px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: clamp(48px, 6vw, 72px) 0 32px; }
.footer-top { display: flex; justify-content: space-between; gap: 36px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.10); }
.footer-brand { max-width: 34ch; }
.footer-brand .brand { font-size: 24px; margin-bottom: 14px; }
.footer-brand .brand .b1 { color: #6FD0C0; }
.footer-brand .brand .b2 { color: #fff; }
.footer-brand p { color: rgba(255,255,255,.62); font-size: 15.5px; }
.footer-nav { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--font-body); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: #6FD0C0; margin-bottom: 14px; }
.footer-col a { display: block; text-decoration: none; color: rgba(255,255,255,.74); font-size: 15.5px; padding: 5px 0; transition: color .15s, transform .15s; }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; }
.footer-bottom p { color: rgba(255,255,255,.5); font-size: 14px; }
.footer-bottom .legal { display: flex; gap: 22px; }
.footer-bottom .legal a { color: rgba(255,255,255,.72); text-decoration: none; font-size: 14px; }
.footer-bottom .legal a:hover { color: #fff; text-decoration: underline; }

/* ---------- Mistake hover ---------- */
.mistake {
  transition: transform .2s ease, box-shadow .2s ease;
}
.mistake:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ---------- Step hover ---------- */
.step {
  transition: transform .2s ease;
}
.step:hover {
  transform: translateX(4px);
}
.step .num {
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s;
}
.step:hover .num {
  transform: scale(1.08);
  box-shadow: var(--shadow-sm);
}

/* ---------- Check-card hover ---------- */
.check-card {
  transition: transform .2s ease, box-shadow .2s ease;
}
.check-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ---------- Resource link shimmer ---------- */
.res {
  position: relative;
  overflow: hidden;
}
.res::after {
  content: "";
  position: absolute;
  top: 0; left: -100%; bottom: 0;
  width: 60px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  transition: left .5s ease;
}
.res:hover::after {
  left: 120%;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; }
  .steps-layout { grid-template-columns: 1fr; }
  .steps-aside { position: static; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .cards, .mistakes, .check-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
}

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