/* ============================================================
   diekreadiven — components.css
   All component styling. References design-tokens.css only.
   ============================================================ */

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
#site-header {
  position: sticky; top: 0; z-index: 100;
  transition: transform var(--t-base), background var(--t-base),
              box-shadow var(--t-base), backdrop-filter var(--t-base);
}
#site-header.scrolled {
  background: rgba(252, 246, 238, 0.82);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}
#site-header.hidden-nav { transform: translateY(-100%); }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-6); padding-block: var(--sp-4);
}
.brand {
  font-family: var(--ff-display); font-weight: var(--fw-semibold);
  font-size: var(--fs-xl); letter-spacing: var(--ls-snug);
  color: var(--c-text); display: inline-flex; align-items: baseline; gap: 1px;
}
.brand b { color: var(--c-brand); font-weight: var(--fw-semibold); font-style: italic; }
.brand .dot { color: var(--c-accent); }

.nav-links { display: none; align-items: center; gap: var(--sp-6); }
.nav-links a {
  position: relative; font-size: var(--fs-sm); font-weight: var(--fw-medium);
  color: var(--c-text-2); padding-block: var(--sp-2); transition: color var(--t-fast);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--c-brand); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base); border-radius: var(--r-full);
}
.nav-links a:hover { color: var(--c-text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a[aria-current="page"], .nav-links a.active-section { color: var(--c-brand); }
.nav-links a[aria-current="page"]::after, .nav-links a.active-section::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: var(--sp-4); }
.nav-actions .btn { display: none; }
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-actions .btn { display: inline-flex; }
}

/* Hamburger */
.hamburger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; border-radius: var(--r-sm);
}
.hamburger span { display: block; height: 2px; width: 100%; background: var(--c-text); border-radius: var(--r-full); transition: transform var(--t-base), opacity var(--t-fast); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) { .hamburger { display: none; } }

/* Mobile overlay */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99;
  background: var(--c-dark); color: var(--c-text-inv);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter); gap: var(--sp-4);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  font-family: var(--ff-display); font-size: var(--fs-3xl); font-weight: var(--fw-medium);
  color: var(--c-text-inv); padding-block: var(--sp-2);
}
.mobile-nav a:hover { color: var(--c-brand-3); }
.mobile-nav .mobile-cta { margin-top: var(--sp-6); }
.mobile-nav .lang-toggle button { color: rgba(255,253,250,0.6); }
.mobile-nav .lang-toggle button[aria-pressed="true"] { color: var(--c-text-inv); background: rgba(255,253,250,0.14); }

/* ============================================================
   HERO (Variant E — overlapping headline + floating card cluster)
   ============================================================ */
.hero { position: relative; padding-block: clamp(3rem, 7vw, 6rem) var(--section-gap); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -10%; right: -8%;
  width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
  background: radial-gradient(circle at 30% 30%, rgba(245,166,35,0.22), transparent 62%);
  pointer-events: none; z-index: 0;
}
/* Pixel-ripple shimmer canvas (ported from pixel-perfect-hero).
   Lives in the hero, concentrated on the right (card cluster) and faded out
   before the headline so it never hurts type legibility. */
.pixel-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 78% 42%, #000 0%, rgba(0,0,0,0.55) 40%, transparent 70%);
          mask-image: radial-gradient(circle at 78% 42%, #000 0%, rgba(0,0,0,0.55) 40%, transparent 70%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: var(--sp-10); align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--sp-12); } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--c-brand-2);
  background: var(--c-surface); border: 1px solid var(--c-border);
  padding: 0.4rem 0.9rem; border-radius: var(--r-full); box-shadow: var(--shadow-sm);
  margin-bottom: var(--sp-6);
}
.hero-eyebrow .dot-live { width: 8px; height: 8px; border-radius: var(--r-full); background: var(--c-accent); }
.hero h1 { font-size: var(--fs-hero); margin-bottom: var(--sp-6); }
.hero h1 .accent { color: var(--c-brand); font-style: italic; }
.hero h1 .underline { position: relative; white-space: nowrap; }
.hero h1 .underline::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.18em;
  background: var(--c-accent); opacity: 0.5; border-radius: var(--r-full); z-index: -1;
}
.hero .lead { margin-bottom: var(--sp-8); max-width: 30rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-bottom: var(--sp-8); }

/* Social proof */
.social-proof { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; }
.avatar-stack { display: flex; }
.avatar-stack .av {
  width: 44px; height: 44px; border-radius: var(--r-full); margin-left: -12px;
  border: 2px solid var(--c-bg); display: grid; place-items: center;
  font-family: var(--ff-display); font-weight: var(--fw-semibold); font-size: var(--fs-sm);
  color: var(--c-text-inv); box-shadow: var(--shadow-sm);
}
.avatar-stack .av:first-child { margin-left: 0; }
.avatar-stack .av.a1 { background: var(--c-brand); }
.avatar-stack .av.a2 { background: var(--c-accent); color: var(--c-dark); }
.avatar-stack .av.a3 { background: var(--c-accent-2); }
.avatar-stack .av.a4 { background: var(--c-brand-2); }
.social-proof .proof-text { font-size: var(--fs-sm); color: var(--c-text-2); line-height: var(--lh-snug); }
.social-proof .proof-text b { color: var(--c-text); }

/* Hero card cluster (tilted, floating) */
.hero-cards { position: relative; min-height: 420px; }
@media (max-width: 1023px) { .hero-cards { min-height: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); } }
.h-card {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--r-lg); padding: var(--sp-5); box-shadow: var(--shadow-lg);
}
@media (min-width: 1024px) {
  .hero-cards .h-card { position: absolute; width: 260px; }
  .h-card.c1 { top: 0; left: 4%; transform: rotate(-5deg); }
  .h-card.c2 { top: 24%; right: 0; transform: rotate(4deg); width: 240px; }
  .h-card.c3 { bottom: 0; left: 12%; transform: rotate(3deg); width: 250px; }
}
.h-card .h-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-4); }
.h-card .h-emoji {
  width: 46px; height: 46px; border-radius: var(--r-md); display: grid; place-items: center;
  font-family: var(--ff-display); font-style: italic; font-weight: var(--fw-semibold);
  font-size: var(--fs-xl); color: var(--c-text-inv);
}
.h-card.c1 .h-emoji { background: var(--c-brand); }
.h-card.c2 .h-emoji { background: var(--c-accent); color: var(--c-dark); }
.h-card.c3 .h-emoji { background: var(--c-accent-2); }
.h-card h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-1); }
.h-card p { font-size: var(--fs-sm); color: var(--c-text-2); }
.h-card .metric { font-family: var(--ff-display); font-weight: var(--fw-semibold); font-size: var(--fs-2xl); color: var(--c-brand); }

/* ============================================================
   ROTATING HEADLINE WORD (ported from animated-hero)
   ============================================================ */
.rotator { display: block; position: relative; height: 1.18em; overflow: hidden; }
.rotator-word {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  color: var(--c-brand); font-style: italic;
  transform: translateY(120%); opacity: 0;
  transition: transform var(--t-slow) var(--ease-spring), opacity var(--t-base);
}
.rotator-word.is-active { transform: translateY(0); opacity: 1; }
.rotator-word.is-prev { transform: translateY(-120%); opacity: 0; }
.rotator-word.no-anim { transition: none !important; }

/* ============================================================
   ICON BAR (ported from icon-bar component)
   ============================================================ */
.icon-bar { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-12); }
.icon-bar-item {
  display: inline-flex; align-items: center; height: 44px; flex-shrink: 0; padding-right: 0;
  border-radius: var(--r-md); background: var(--c-bg-2); color: var(--c-text-2);
  border: 1px solid var(--c-border);
  transition: background var(--t-base), color var(--t-base), border-color var(--t-base),
              padding-right var(--t-slow) var(--ease-out);
}
.icon-bar-item .ib-icon { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; }
.icon-bar-item .ib-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.icon-bar-item .ib-label { display: grid; grid-template-columns: 0fr; transition: grid-template-columns var(--t-slow) var(--ease-out); }
.icon-bar-item .ib-label > span {
  overflow: hidden; white-space: nowrap;
  font-size: var(--fs-sm); font-weight: var(--fw-semibold); letter-spacing: var(--ls-snug);
}
.icon-bar-item:hover, .icon-bar-item:focus-visible {
  background: var(--c-brand-soft); color: var(--c-brand-2); border-color: var(--c-brand-mid);
  padding-right: var(--sp-4);
}
.icon-bar-item:hover .ib-label,
.icon-bar-item:focus-visible .ib-label { grid-template-columns: 1fr; }
/* Touch devices have no hover — always show labels */
@media (hover: none) {
  .icon-bar-item { padding-right: var(--sp-4); }
  .icon-bar-item .ib-label { grid-template-columns: 1fr; }
}

/* ============================================================
   TRUST BAR / STATS
   ============================================================ */
.trust-bar { border-block: 1px solid var(--c-border); }
.stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-8) var(--sp-6); }
@media (min-width: 768px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; }
.stat .counter, .stat .stat-num {
  display: block; font-family: var(--ff-display); font-weight: var(--fw-semibold);
  font-size: var(--fs-4xl); line-height: 1; color: var(--c-brand);
}
.stat .stat-label { display: block; margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--c-text-2); }

/* ============================================================
   SERVICES (Variant B — numbered editorial rows)
   ============================================================ */
.service-row {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-3);
  padding-block: var(--sp-8); border-top: 1px solid var(--c-border-2);
  transition: background var(--t-base);
}
.service-row:last-child { border-bottom: 1px solid var(--c-border-2); }
@media (min-width: 768px) {
  .service-row { grid-template-columns: auto 1fr auto; gap: var(--sp-8); align-items: start; padding-inline: var(--sp-5); border-radius: var(--r-lg); }
  .service-row:hover { background: var(--c-bg-3); }
}
.service-row .s-num {
  font-family: var(--ff-display); font-style: italic; font-weight: var(--fw-light);
  font-size: var(--fs-4xl); line-height: 1; color: var(--c-brand-mid);
}
.service-row:hover .s-num { color: var(--c-brand); }
.service-row .s-body h3 { font-size: var(--fs-2xl); margin-bottom: var(--sp-3); }
.service-row .s-body p { color: var(--c-text-2); max-width: 52ch; }
.service-row .s-tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }
.service-row .s-cta { align-self: center; }

/* ============================================================
   PROCESS (sticky numbered steps w/ SVG draw)
   ============================================================ */
.process-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-10); }
@media (min-width: 1024px) { .process-grid { grid-template-columns: 0.8fr 1.2fr; gap: var(--sp-16); } }
.process-sticky { position: static; }
@media (min-width: 1024px) { .process-sticky { position: sticky; top: 110px; align-self: start; } }
.process-step { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-5); padding-block: var(--sp-6); border-top: 1px solid var(--c-border); }
.process-step:first-child { border-top: none; }
.process-step .ps-icon {
  width: 56px; height: 56px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--c-brand-soft); flex-shrink: 0;
}
.process-step .ps-icon svg { width: 28px; height: 28px; stroke: var(--c-brand); fill: none; stroke-width: 2; }
.process-step .ps-num { font-family: var(--ff-display); font-style: italic; color: var(--c-accent-2); font-weight: var(--fw-semibold); font-size: var(--fs-sm); letter-spacing: var(--ls-wide); }
.process-step h3 { font-size: var(--fs-xl); margin: var(--sp-1) 0 var(--sp-2); }
.process-step p { color: var(--c-text-2); font-size: var(--fs-base); }

/* ============================================================
   PROJECT GALLERY
   ============================================================ */
.filter-tabs { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-10); }
.filter-tabs button {
  padding: 0.5rem 1.1rem; border-radius: var(--r-full); font-size: var(--fs-sm); font-weight: var(--fw-medium);
  color: var(--c-text-2); border: 1px solid var(--c-border-2); transition: all var(--t-fast);
}
.filter-tabs button:hover { border-color: var(--c-brand); color: var(--c-brand); }
.filter-tabs button[aria-pressed="true"] { background: var(--c-brand); border-color: var(--c-brand); color: var(--c-text-inv); }

.project-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); }
@media (min-width: 640px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .project-grid { grid-template-columns: repeat(3, 1fr); } }
.project-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 300px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--sp-6); color: var(--c-text-inv); box-shadow: var(--shadow-md);
  isolation: isolate;
}
.project-card.hide { display: none; }
.project-card.feat { grid-column: 1 / -1; min-height: 340px; }
.project-card .p-bg { position: absolute; inset: 0; z-index: -2; }
.project-card .p-bg img { width: 100%; height: 100%; object-fit: cover; }
.project-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(42,24,19,0.05) 0%, rgba(42,24,19,0.78) 100%); }
.project-card .p-deco {
  position: absolute; top: -0.15em; right: 0.1em; z-index: -1;
  font-family: var(--ff-display); font-style: italic; font-weight: var(--fw-semibold);
  font-size: clamp(5rem, 14vw, 9rem); line-height: 1; color: rgba(255,253,250,0.12);
}
.project-card .p-cat { font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: var(--ls-wider); text-transform: uppercase; color: var(--c-accent); margin-bottom: var(--sp-2); }
.project-card h3 { color: var(--c-text-inv); font-size: var(--fs-xl); margin-bottom: var(--sp-3); }
.project-card .p-result {
  display: inline-flex; align-items: center; gap: var(--sp-2); align-self: flex-start;
  background: var(--c-success-bg); color: var(--c-success);
  padding: 0.3rem 0.75rem; border-radius: var(--r-full); font-size: var(--fs-xs); font-weight: var(--fw-bold);
}
/* gradient fallbacks per card (used if image missing) */
.grad-1 { background: linear-gradient(135deg, var(--c-brand), var(--c-accent-2)); }
.grad-2 { background: linear-gradient(135deg, var(--c-accent), var(--c-brand)); }
.grad-3 { background: linear-gradient(135deg, var(--c-accent-2), var(--c-dark)); }
.grad-4 { background: linear-gradient(135deg, var(--c-brand-2), var(--c-accent)); }
.grad-5 { background: linear-gradient(135deg, var(--c-dark), var(--c-brand)); }
.grad-6 { background: linear-gradient(135deg, var(--c-accent), var(--c-accent-2)); }

/* ============================================================
   TEAM (Agentur & Team)
   ============================================================ */
.team-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-8); }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card { text-align: left; }
.team-card .t-photo {
  aspect-ratio: 4/5; border-radius: var(--r-lg); overflow: hidden; margin-bottom: var(--sp-4);
  transform: rotate(-1.5deg); box-shadow: var(--shadow-md); background: var(--c-brand-soft);
  display: grid; place-items: center;
}
.team-card:nth-child(even) .t-photo { transform: rotate(1.5deg); }
.team-card .t-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .t-initials { font-family: var(--ff-display); font-style: italic; font-size: var(--fs-4xl); color: var(--c-brand); }
.team-card h3 { font-size: var(--fs-xl); }
.team-card .t-role { color: var(--c-brand-2); font-size: var(--fs-sm); font-weight: var(--fw-semibold); margin-bottom: var(--sp-2); }
.team-card p { color: var(--c-text-2); font-size: var(--fs-sm); }

/* ============================================================
   KUNDEN MARQUEE
   ============================================================ */
.logo-item {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  padding-inline: var(--sp-10); font-family: var(--ff-display); font-weight: var(--fw-medium);
  font-size: var(--fs-xl); color: var(--c-text-3); white-space: nowrap;
}
.logo-item .dot { color: var(--c-brand); }

/* ============================================================
   TESTIMONIALS (static editorial grid)
   ============================================================ */
.testi-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); }
@media (min-width: 768px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi-card {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--r-lg); padding: var(--sp-8); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: var(--sp-5);
}
.testi-card.lead-quote { grid-column: 1 / -1; background: var(--c-dark); color: var(--c-text-inv); }
@media (min-width: 768px) { .testi-card.lead-quote { grid-column: span 2; } }
.testi-card blockquote { font-family: var(--ff-display); font-style: italic; font-size: var(--fs-lg); line-height: var(--lh-snug); }
.testi-card.lead-quote blockquote { font-size: var(--fs-2xl); }
.testi-author { display: flex; align-items: center; gap: var(--sp-3); margin-top: auto; }
.testi-author .av {
  width: 46px; height: 46px; border-radius: var(--r-full); display: grid; place-items: center;
  font-family: var(--ff-display); font-weight: var(--fw-semibold); flex-shrink: 0;
  background: var(--c-brand-soft); color: var(--c-brand-2);
}
.testi-author .ta-name { font-weight: var(--fw-semibold); font-size: var(--fs-sm); }
.testi-author .ta-role { font-size: var(--fs-xs); color: var(--c-text-3); }
.testi-card.lead-quote .ta-role { color: rgba(255,253,250,0.6); }

/* ============================================================
   FAQ (sticky head + accordion)
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-10); }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 0.6fr 1.4fr; gap: var(--sp-16); } }
.faq-head { position: static; }
@media (min-width: 1024px) { .faq-head { position: sticky; top: 110px; align-self: start; } }
.accordion-item { border-bottom: 1px solid var(--c-border-2); }
.accordion-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  width: 100%; text-align: left; padding-block: var(--sp-5);
  font-family: var(--ff-display); font-size: var(--fs-lg); font-weight: var(--fw-medium); color: var(--c-text);
}
.accordion-trigger:hover { color: var(--c-brand); }
.accordion-trigger .acc-icon { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.accordion-trigger .acc-icon::before, .accordion-trigger .acc-icon::after {
  content: ''; position: absolute; background: var(--c-brand); border-radius: var(--r-full);
  top: 50%; left: 50%; transform: translate(-50%,-50%); transition: transform var(--t-base);
}
.accordion-trigger .acc-icon::before { width: 100%; height: 2px; }
.accordion-trigger .acc-icon::after { width: 2px; height: 100%; }
.accordion-trigger[aria-expanded="true"] .acc-icon::after { transform: translate(-50%,-50%) scaleY(0); }
.accordion-body > div { padding-bottom: var(--sp-6); }
.accordion-body p { color: var(--c-text-2); max-width: 68ch; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { position: relative; background: var(--c-brand); color: var(--c-text-inv); overflow: hidden; text-align: center; }
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(245,166,35,0.4), transparent 55%);
  pointer-events: none;
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: var(--c-text-inv); font-style: italic; max-width: 16ch; margin-inline: auto; margin-bottom: var(--sp-5); }
.cta-band p { color: rgba(255,253,250,0.9); margin-inline: auto; margin-bottom: var(--sp-8); }
.cta-band .hero-ctas { justify-content: center; }

/* ============================================================
   FOOTER (3-col, distinct weights)
   ============================================================ */
.site-footer { background: var(--c-dark); color: var(--c-text-inv); padding-block: var(--sp-20) var(--sp-8); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-10); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: var(--sp-12); } }
.footer-brand .brand { color: var(--c-text-inv); font-size: var(--fs-2xl); }
.footer-brand .brand b { color: var(--c-brand-3); }
.footer-brand p { color: rgba(255,253,250,0.7); margin-block: var(--sp-4) var(--sp-6); max-width: 34ch; }
.footer-brand a.f-mail { color: var(--c-accent); font-weight: var(--fw-semibold); }
.footer-brand a.f-mail:hover { color: var(--c-text-inv); }
.footer-col h4 { color: var(--c-text-inv); font-size: var(--fs-sm); letter-spacing: var(--ls-wide); text-transform: uppercase; margin-bottom: var(--sp-5); font-family: var(--ff-body); font-weight: var(--fw-semibold); }
.footer-col.legal h4 { color: rgba(255,253,250,0.6); }
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col a { color: rgba(255,253,250,0.75); font-size: var(--fs-sm); transition: color var(--t-fast); }
.footer-col.legal a { font-size: var(--fs-xs); color: rgba(255,253,250,0.55); }
.footer-col a:hover { color: var(--c-text-inv); }
.footer-bottom {
  margin-top: var(--sp-16); padding-top: var(--sp-6); border-top: 1px solid rgba(255,253,250,0.12);
  display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; justify-content: space-between;
  font-size: var(--fs-xs); color: rgba(255,253,250,0.55);
}
.footer-bottom a { color: rgba(255,253,250,0.7); }
.footer-bottom a:hover { color: var(--c-text-inv); }
.footer-bottom .f-meta { display: flex; flex-wrap: wrap; gap: var(--sp-4); }

/* ============================================================
   CONTACT + FORM
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-12); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: var(--sp-16); align-items: start; } }
.contact-info .info-item { display: flex; gap: var(--sp-4); padding-block: var(--sp-5); border-bottom: 1px solid var(--c-border); }
.contact-info .info-item:last-child { border-bottom: none; }
.contact-info .ii-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--r-md); background: var(--c-brand-soft); display: grid; place-items: center; }
.contact-info .ii-icon svg { width: 22px; height: 22px; stroke: var(--c-brand); fill: none; stroke-width: 2; }
.contact-info .ii-label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: var(--ls-wide); color: var(--c-text-3); }
.contact-info .ii-val { font-size: var(--fs-md); font-weight: var(--fw-medium); }
.contact-info .ii-val a:hover { color: var(--c-brand); }

.form-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-xl); padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--shadow-lg); }
.field { margin-bottom: var(--sp-5); }
.field label { display: block; font-size: var(--fs-sm); font-weight: var(--fw-medium); margin-bottom: var(--sp-2); }
.field label .req { color: var(--c-brand); }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.85rem 1rem; border: 1.5px solid var(--c-border-2);
  border-radius: var(--r-md); background: var(--c-bg); font-size: var(--fs-base);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 3px var(--c-brand-soft);
}
.field input.invalid, .field textarea.invalid { border-color: var(--c-error); }
.field-error { display: none; color: var(--c-error); font-size: var(--fs-xs); margin-top: var(--sp-2); }
.field input.invalid ~ .field-error, .field textarea.invalid ~ .field-error { display: block; }
.field-row { display: grid; grid-template-columns: 1fr; gap: var(--sp-5); }
@media (min-width: 540px) { .field-row { grid-template-columns: 1fr 1fr; } }
.checkbox-field { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--fs-sm); color: var(--c-text-2); }
.checkbox-field input { width: auto; margin-top: 3px; accent-color: var(--c-brand); }
.checkbox-field a { color: var(--c-brand); text-decoration: underline; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-status { font-size: var(--fs-sm); margin-top: var(--sp-3); min-height: 1.2em; }
.form-status.ok { color: var(--c-success); }
.form-status.err { color: var(--c-error); }

/* Map */
.map-embed { border: 0; width: 100%; height: 360px; border-radius: var(--r-lg); box-shadow: var(--shadow-md); filter: saturate(0.9); }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed; bottom: var(--sp-6); left: 50%;
  transform: translateX(-50%) translateY(140%);
  background: var(--c-dark); color: var(--c-text-inv);
  padding: var(--sp-3) var(--sp-8); border-radius: var(--r-full);
  font-size: var(--fs-sm); font-weight: var(--fw-medium);
  box-shadow: var(--shadow-lg); z-index: 9999;
  transition: transform var(--t-base); white-space: nowrap; pointer-events: none;
}
.toast--success { border-left: 3px solid var(--c-success); }
.toast--error { border-left: 3px solid var(--c-error); }
.toast--visible { transform: translateX(-50%) translateY(0); }

/* ============================================================
   COOKIE CONSENT
   ============================================================ */
#cookie-banner {
  position: fixed; bottom: var(--sp-5); left: 50%; transform: translateX(-50%);
  width: min(560px, calc(100% - var(--sp-8))); z-index: 9000;
  background: var(--c-dark); color: var(--c-text-inv);
  border-radius: var(--r-lg); padding: var(--sp-6); box-shadow: var(--shadow-lg);
}
#cookie-banner[hidden] { display: none; }
#cookie-banner h4 { color: var(--c-text-inv); font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
#cookie-banner p { color: rgba(255,253,250,0.75); font-size: var(--fs-sm); margin-bottom: var(--sp-5); max-width: none; }
#cookie-banner p a { color: var(--c-accent); text-decoration: underline; }
.cookie-actions { display: grid; grid-template-columns: 1fr; gap: var(--sp-3); }
@media (min-width: 480px) { .cookie-actions { grid-template-columns: repeat(3, 1fr); } }
.cookie-actions .btn { width: 100%; justify-content: center; }
.cookie-actions .btn-secondary { color: var(--c-text-inv); border-color: rgba(255,253,250,0.35); }

.cookie-modal { position: fixed; inset: 0; z-index: 9500; display: grid; place-items: center; padding: var(--gutter); background: rgba(28,15,12,0.6); }
.cookie-modal[hidden] { display: none; }
.cookie-modal .cm-card { background: var(--c-surface); color: var(--c-text); border-radius: var(--r-xl); padding: clamp(1.5rem,4vw,2.5rem); max-width: 520px; width: 100%; box-shadow: var(--shadow-lg); max-height: 86vh; overflow-y: auto; }
.cookie-modal h3 { margin-bottom: var(--sp-4); }
.cookie-row { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4); padding-block: var(--sp-4); border-top: 1px solid var(--c-border); }
.cookie-row .cr-text strong { display: block; }
.cookie-row .cr-text span { font-size: var(--fs-sm); color: var(--c-text-2); }
.switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch .track { position: absolute; inset: 0; background: var(--c-border-2); border-radius: var(--r-full); transition: background var(--t-fast); }
.switch .track::before { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: var(--c-surface); border-radius: var(--r-full); transition: transform var(--t-base); box-shadow: var(--shadow-sm); }
.switch input:checked + .track { background: var(--c-brand); }
.switch input:checked + .track::before { transform: translateX(20px); }
.switch input:disabled + .track { background: var(--c-success); opacity: 0.7; }
.cookie-modal .cm-actions { margin-top: var(--sp-6); display: flex; gap: var(--sp-3); justify-content: flex-end; }

/* ============================================================
   LEGAL / PROSE PAGES
   ============================================================ */
.prose { max-width: 760px; }
.prose h1 { font-size: var(--fs-4xl); margin-bottom: var(--sp-6); }
.prose h2 { font-size: var(--fs-2xl); margin-block: var(--sp-10) var(--sp-4); }
.prose h3 { font-size: var(--fs-lg); margin-block: var(--sp-6) var(--sp-3); }
.prose p, .prose li { color: var(--c-text-2); margin-bottom: var(--sp-4); max-width: 70ch; line-height: var(--lh-relaxed); }
.prose ul { list-style: disc; padding-left: var(--sp-6); margin-bottom: var(--sp-4); }
.prose a { color: var(--c-brand); text-decoration: underline; }
.prose .updated { font-size: var(--fs-sm); color: var(--c-text-3); }
.prose table { width: 100%; border-collapse: collapse; margin-block: var(--sp-4); font-size: var(--fs-sm); }
.prose th, .prose td { text-align: left; padding: var(--sp-3); border: 1px solid var(--c-border-2); color: var(--c-text-2); }
.prose th { background: var(--c-bg-2); color: var(--c-text); font-weight: var(--fw-semibold); }

.page-hero { padding-block: clamp(3rem, 6vw, 5rem) var(--sp-12); background: var(--c-bg-2); }
.page-hero h1 { margin-bottom: var(--sp-4); }
.page-hero p { color: var(--c-text-2); font-size: var(--fs-lg); }
.breadcrumb { font-size: var(--fs-sm); color: var(--c-text-3); margin-bottom: var(--sp-5); }
.breadcrumb a:hover { color: var(--c-brand); }
.breadcrumb span { margin-inline: var(--sp-2); }

/* 404 */
.err-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: var(--gutter); }
.err-page .err-code { font-family: var(--ff-display); font-style: italic; font-size: clamp(5rem, 18vw, 11rem); line-height: 1; color: var(--c-brand); }
