/* ==========================================================================
   kassenpartner24.de - Design System
   Quill-Partner Heilbronn - light, warm-neutral product web (T2).
   Display: Bricolage Grotesque | Text/UI: Hanken Grotesk
   ========================================================================== */
@layer tokens, reset, base, type, layout, components, sections, forms, footer, motion, responsive;

@layer tokens {
  :root {
    /* Warm off-white paper axis */
    --paper:        #FBFAF7;
    --paper-2:      #F5F3ED;
    --paper-3:      #EDEAE1;
    --panel:        #F0F5F1;   /* emerald-tinted panel */
    --card:         #FFFFFF;

    /* Ink */
    --ink:          #0f172a;
    --ink-2:        #334155;
    --ink-3:        #475569;
    --ink-4:        #64748b;

    /* Emerald system (brand core) */
    --em:           #10b981;
    --em-300:       #34d399;
    --em-600:       #059669;
    --em-700:       #047857;
    --em-800:       #065f46;
    --em-900:       #064e3b;
    --em-tint:      rgba(16,185,129,.08);
    --em-tint-2:    rgba(16,185,129,.14);

    /* Amber ink-drop accent (sparse) */
    --amber:        #f59e0b;
    --amber-2:      #fbbf24;
    --amber-3:      #d97706;

    /* Deep footer */
    --night:        #052a20;
    --night-2:      #063d2e;

    /* Lines */
    --line:         rgba(15,23,42,0.10);
    --line-2:       rgba(15,23,42,0.16);
    --line-em:      rgba(16,185,129,0.30);
    --line-light:   rgba(255,255,255,0.14);

    /* Type scale - Bricolage display, confident */
    --fs-hero:  clamp(40px, 6.1vw, 82px);
    --fs-h1:    clamp(32px, 4.1vw, 58px);
    --fs-h2:    clamp(26px, 2.9vw, 43px);
    --fs-h3:    clamp(21px, 1.8vw, 27px);
    --fs-h4:    clamp(17px, 1.2vw, 20px);
    --fs-lead:  clamp(18px, 1.35vw, 22px);
    --fs-body:  17px;
    --fs-sm:    15px;
    --fs-cap:   14px;
    --fs-eye:   13px;

    --lh-disp: 1.02;
    --lh-head: 1.08;
    --lh-body: 1.62;

    --ff-disp: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --ff-sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --sp-1:4px; --sp-2:8px; --sp-3:16px; --sp-4:24px; --sp-5:32px;
    --sp-6:48px; --sp-7:64px; --sp-8:96px; --sp-9:128px;
    --section-y:       clamp(72px, 8.5vw, 140px);
    --section-y-tight: clamp(48px, 6vw, 92px);

    --maxw:        1200px;
    --maxw-narrow: 940px;
    --maxw-text:   680px;
    --gutter:      clamp(20px, 4vw, 48px);

    --r-2:2px; --r-3:8px; --r-4:12px; --r-5:16px; --r-6:22px; --r-pill:999px;

    --shadow-card: 0 1px 2px rgba(6,42,32,.05), 0 18px 48px -26px rgba(6,42,32,.32);
    --shadow-soft: 0 1px 2px rgba(6,42,32,.05), 0 10px 30px -20px rgba(6,42,32,.30);
    --shadow-lift: 0 30px 70px -34px rgba(6,42,32,.46);
    --shadow-em:   0 24px 70px -30px rgba(16,185,129,.55);

    --ease:      cubic-bezier(.22,.68,.16,1);
    --ease-out:  cubic-bezier(.16,1,.3,1);
    --dur:       .5s;
    --dur-q:     .26s;

    --header-h: 76px;
  }
}

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; color-scheme: light; }
  body, h1,h2,h3,h4,h5,h6, p, figure, blockquote, dl, dd, ul, ol { margin: 0; padding: 0; }
  ul, ol { list-style: none; }
  img, picture, svg, video { display: block; max-width: 100%; height: auto; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
  input, textarea, select { font: inherit; color: inherit; }
  table { border-collapse: collapse; }
  ::selection { background: var(--em); color: #fff; }
}

@layer base {
  body {
    font-family: var(--ff-sans);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--ink-2);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }
  h1,h2,h3,h4 { font-family: var(--ff-disp); font-weight: 700; line-height: var(--lh-head); letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
  h1 { font-size: var(--fs-h1); }
  h2 { font-size: var(--fs-h2); }
  h3 { font-size: var(--fs-h3); letter-spacing: -0.015em; }
  h4 { font-size: var(--fs-h4); letter-spacing: -0.01em; }
  p { overflow-wrap: break-word; hyphens: manual; }
  strong, b { color: var(--ink); font-weight: 600; }
  a.link { color: var(--em-700); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; text-decoration-color: var(--line-em); transition: text-decoration-color var(--dur-q) var(--ease); }
  a.link:hover { text-decoration-color: var(--em-700); }
  :focus-visible { outline: 3px solid var(--em); outline-offset: 3px; border-radius: 3px; }
  .skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 12px 18px; z-index: 200; border-radius: 0 0 10px 0; }
  .skip:focus { left: 0; }
  .em { color: var(--em-700); }
  .amber { color: var(--amber-3); }
  .nowrap { white-space: nowrap; }
}

@layer layout {
  .container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
  .container--narrow { max-width: var(--maxw-narrow); }
  .section { padding-block: var(--section-y); position: relative; }
  .section--tight { padding-block: var(--section-y-tight); }
  .section--paper2 { background: var(--paper-2); }
  .section--panel { background: var(--panel); }
  .grid { display: grid; gap: var(--sp-5); }
  .stack > * + * { margin-top: var(--sp-4); }
}

@layer type {
  .eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--ff-sans); font-size: var(--fs-eye); font-weight: 600;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--em-700);
  }
  .eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--em); box-shadow: 0 0 0 4px var(--em-tint); flex: none; }
  .eyebrow--amber { color: var(--amber-3); }
  .eyebrow--amber::before { background: var(--amber); box-shadow: 0 0 0 4px rgba(245,158,11,.12); }
  .eyebrow--light { color: var(--em-300); }
  .display { font-family: var(--ff-disp); font-weight: 700; font-size: var(--fs-hero); line-height: var(--lh-disp); letter-spacing: -0.03em; color: var(--ink); }
  .lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-3); max-width: 46ch; }
  .kicker { font-family: var(--ff-sans); font-weight: 500; font-size: var(--fs-sm); color: var(--ink-4); }
  .prose { max-width: 66ch; }
  .prose p { margin-bottom: var(--sp-4); color: var(--ink-3); }
  .prose h2 { margin: var(--sp-7) 0 var(--sp-3); }
  .prose h3 { margin: var(--sp-6) 0 var(--sp-2); }
  .prose ul { display: grid; gap: 10px; margin-bottom: var(--sp-4); }
  .prose ul li { position: relative; padding-left: 26px; color: var(--ink-3); }
  .prose ul li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 8px; height: 8px; border-radius: 2px; background: var(--em); }
  .section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
  .section-head .lead { margin-top: 18px; max-width: 60ch; }
  .section-head--center { margin-inline: auto; text-align: center; }
  .section-head--center .lead { margin-inline: auto; }
}

@layer components {
  /* Buttons - force-dark immune via background-image gradient + forced-color-adjust */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--ff-sans); font-weight: 600; font-size: var(--fs-sm);
    padding: 14px 24px; border-radius: var(--r-pill); min-height: 48px;
    transition: transform var(--dur-q) var(--ease), box-shadow var(--dur-q) var(--ease), background-color var(--dur-q) var(--ease);
    -webkit-tap-highlight-color: transparent; text-align: center; line-height: 1.1;
    forced-color-adjust: none; will-change: transform;
  }
  .btn svg { width: 18px; height: 18px; flex: none; }
  .btn--primary, a.btn--primary:link, a.btn--primary:visited {
    color: #fff;
    background-color: var(--em-700);
    background-image: linear-gradient(var(--em-700), var(--em-800));
    box-shadow: 0 1px 2px rgba(6,42,32,.2), 0 14px 30px -14px rgba(6,60,45,.6);
  }
  .btn--primary:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(6,42,32,.2), 0 20px 40px -14px rgba(6,60,45,.7); }
  .btn--ink, a.btn--ink:link, a.btn--ink:visited {
    color: #fff; background-color: var(--ink); background-image: linear-gradient(var(--ink), #0b1220);
  }
  .btn--ink:hover { transform: translateY(-2px); }
  .btn--ghost, a.btn--ghost:link, a.btn--ghost:visited {
    color: var(--ink); background-color: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2);
  }
  .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }
  .btn--light, a.btn--light:link, a.btn--light:visited {
    color: var(--em-900); background-color: #fff; background-image: linear-gradient(#fff,#fff);
  }
  .btn--light:hover { transform: translateY(-2px); }
  .btn--lg { padding: 17px 30px; min-height: 56px; font-size: 16px; }
  .btn--block { width: 100%; }
  .btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

  /* Pill badge */
  .pill {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: var(--fs-sm); font-weight: 500; color: var(--em-800);
    background: var(--em-tint); border: 1px solid var(--line-em);
    padding: 7px 15px 7px 12px; border-radius: var(--r-pill);
  }
  .pill svg { width: 15px; height: 15px; color: var(--em-700); }
  .pill--amber { color: var(--amber-3); background: rgba(245,158,11,.10); border-color: rgba(245,158,11,.28); }
  .pill--amber svg { color: var(--amber-3); }

  /* Brand lockup (composed inline) */
  .brand { display: inline-flex; align-items: center; gap: 12px; }
  .brand__mark { width: 40px; height: 40px; flex: none; }
  .brand__text { display: flex; flex-direction: column; line-height: 1; }
  .brand__name { font-family: var(--ff-disp); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: var(--ink); }
  .brand__name b { color: var(--em-700); font-weight: 700; }
  .brand__tag { font-family: var(--ff-sans); font-weight: 600; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-4); margin-top: 3px; }
  .brand--footer .brand__name { color: #fff; }
  .brand--footer .brand__name b { color: var(--em-300); }
  .brand--footer .brand__tag { color: rgba(255,255,255,.62); }

  /* Cards */
  .card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r-5);
    padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-soft);
    min-width: 0; position: relative; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  }
  .card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--line-em); }
  .card__icon {
    width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
    background: var(--em-tint); color: var(--em-700); margin-bottom: 20px;
  }
  .card__icon svg { width: 24px; height: 24px; }
  .card h3 { margin-bottom: 10px; }
  .card p { color: var(--ink-3); font-size: var(--fs-sm); }
  .card__num { font-family: var(--ff-disp); font-weight: 700; font-size: 15px; color: var(--em-700); letter-spacing: 0.04em; }

  /* Feature list with checks */
  .checks { display: grid; gap: 13px; }
  .checks li { position: relative; padding-left: 30px; color: var(--ink-3); font-size: var(--fs-sm); min-width: 0; }
  .checks li::before {
    content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--em-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
  }
  .checks li strong { color: var(--ink); }

  /* Chip */
  .chip {
    display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-sm); font-weight: 500;
    color: var(--ink-2); background: var(--paper-2); border: 1px solid var(--line);
    padding: 8px 14px; border-radius: var(--r-pill);
  }
  .chip svg { width: 15px; height: 15px; color: var(--em-700); }

  /* Hairline divider */
  .rule { height: 1px; background: var(--line); border: 0; }

  /* Data stat */
  .stat__num { font-family: var(--ff-disp); font-weight: 700; font-size: clamp(30px,3.6vw,46px); color: var(--ink); letter-spacing: -0.02em; line-height: 1; }
  .stat__num em { color: var(--em-700); font-style: normal; }
  .stat__label { font-size: var(--fs-sm); color: var(--ink-4); margin-top: 8px; }

  /* Tag row */
  .tags { display: flex; flex-wrap: wrap; gap: 10px; }

  /* Ink-draw connector (signature) */
  .inkdraw { display: block; width: 100%; height: auto; overflow: visible; }
  .inkdraw path { fill: none; stroke-linecap: round; }
  .inkdraw__line { stroke: url(#inkgrad); stroke-width: 7; filter: drop-shadow(0 3px 10px rgba(16,185,129,.28)); }
  .inkdraw__dot { filter: drop-shadow(0 2px 8px rgba(245,158,11,.5)); }
}

@layer sections {
  /* HERO ------------------------------------------------------------ */
  .hero { position: relative; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 104px); overflow: clip; }
  .hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 4vw, 72px); align-items: center; }
  .hero__copy { min-width: 0; max-width: 620px; }
  .hero__title { font-family: var(--ff-disp); font-weight: 700; font-size: var(--fs-hero); line-height: var(--lh-disp); letter-spacing: -0.032em; color: var(--ink); margin: 22px 0 0; }
  .hero__title b { color: var(--em-700); font-weight: 700; }
  .hero .lead { margin-top: 22px; max-width: 48ch; }
  .hero__cta { margin-top: 34px; }
  .hero__trust { margin-top: 32px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
  .hero__trust-photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: var(--shadow-soft); flex: none; }
  .hero__trust-text { font-size: var(--fs-sm); color: var(--ink-3); min-width: 0; }
  .hero__trust-text b { display: block; color: var(--ink); }

  /* Hero product stage */
  .hero__stage { position: relative; min-width: 0; }
  .hero__aura { position: absolute; inset: -6% -4% -10% -4%; border-radius: 40% 42% 46% 44%; background: radial-gradient(closest-side, rgba(52,211,153,.42), rgba(16,185,129,.12) 60%, transparent 78%); filter: blur(6px); z-index: 0; }
  .hero__device { position: relative; z-index: 1; border-radius: var(--r-6); }
  .hero__device img { width: 100%; border-radius: var(--r-6); }
  .hero__float {
    position: absolute; z-index: 2; background: var(--card); border: 1px solid var(--line);
    border-radius: var(--r-4); box-shadow: var(--shadow-card); padding: 12px 16px;
    display: flex; align-items: center; gap: 11px; font-size: var(--fs-sm); font-weight: 600; color: var(--ink);
  }
  .hero__float small { display: block; font-weight: 500; font-size: 12px; color: var(--ink-4); }
  .hero__float-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--em); box-shadow: 0 0 0 4px var(--em-tint); flex: none; }
  .hero__float--tse { top: 8%; left: -18px; }
  .hero__float--eu  { bottom: 8%; right: -14px; }
  .hero__float-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--em-tint); color: var(--em-700); display: grid; place-items: center; flex: none; }
  .hero__float-ic svg { width: 18px; height: 18px; }

  /* Logostrip / trustline */
  .trustline { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
  .trustline .chip { background: transparent; border-color: var(--line); }

  /* Feature cards grid */
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
  .cards-2 { grid-template-columns: repeat(2, 1fr); }

  /* Steps (Ablauf) */
  .steps { display: grid; gap: clamp(20px,2.4vw,28px); grid-template-columns: repeat(4, 1fr); counter-reset: step; }
  .step { position: relative; min-width: 0; }
  .step__no { font-family: var(--ff-disp); font-weight: 700; font-size: 15px; color: var(--em-700); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
  .step__no::before { counter-increment: step; content: counter(step,decimal-leading-zero); background: var(--em-tint); color: var(--em-700); width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-size: 15px; }
  .step h3 { font-size: var(--fs-h4); margin-bottom: 8px; }
  .step p { color: var(--ink-3); font-size: var(--fs-sm); }

  /* Split media block */
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,4vw,68px); align-items: center; }
  .split--rev .split__media { order: 2; }
  .split__copy { min-width: 0; }
  .split__media { min-width: 0; position: relative; }
  .split__media img { width: 100%; border-radius: var(--r-5); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
  .split__media--plain img { border: 0; box-shadow: none; }

  /* Pricing */
  .price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .price {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r-5);
    padding: 28px 26px; display: flex; flex-direction: column; min-width: 0; position: relative;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  }
  .price--hi { border-color: var(--em); box-shadow: var(--shadow-em); }
  .price:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
  .price__tag { position: absolute; top: -12px; left: 26px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; background-image: linear-gradient(var(--em-700),var(--em-800)); padding: 5px 12px; border-radius: var(--r-pill); forced-color-adjust: none; }
  .price__name { font-family: var(--ff-disp); font-weight: 700; font-size: 22px; color: var(--ink); letter-spacing: -0.02em; }
  .price__for { font-size: 13.5px; color: var(--ink-4); margin-top: 4px; min-height: 38px; }
  .price__amt { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 6px; }
  .price__amt b { font-family: var(--ff-disp); font-weight: 700; font-size: 40px; color: var(--ink); letter-spacing: -0.03em; }
  .price__amt span { font-size: 14px; color: var(--ink-4); }
  .price__note { font-size: 13px; color: var(--ink-4); margin-bottom: 20px; }
  .price .checks { margin: 4px 0 24px; }
  .price .btn { margin-top: auto; }

  /* Capability matrix */
  .capwrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-5); background: var(--card); -webkit-overflow-scrolling: touch; }
  .cap { width: 100%; min-width: 720px; border-collapse: collapse; font-size: var(--fs-sm); }
  .cap th, .cap td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); }
  .cap thead th { position: sticky; top: 0; background: var(--paper-2); font-family: var(--ff-disp); font-weight: 700; color: var(--ink); font-size: 14px; }
  .cap tbody th { text-align: left; font-weight: 500; color: var(--ink-2); font-family: var(--ff-sans); min-width: 220px; }
  .cap td .yes { color: var(--em-700); }
  .cap td .no { color: var(--line-2); }
  .cap .cap__hi { background: var(--em-tint); }
  .cap tbody tr:hover td, .cap tbody tr:hover th { background: var(--paper-2); }

  /* Branch grid */
  .branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .branch {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r-4); padding: 24px;
    min-width: 0; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
    display: flex; flex-direction: column; gap: 12px;
  }
  .branch:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--line-em); }
  .branch__ic { width: 42px; height: 42px; border-radius: 11px; background: var(--em-tint); color: var(--em-700); display: grid; place-items: center; }
  .branch__ic svg { width: 22px; height: 22px; }
  .branch h3 { font-size: var(--fs-h4); }
  .branch p { font-size: 14.5px; color: var(--ink-3); }
  .branch__link { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--em-700); display: inline-flex; align-items: center; gap: 6px; }
  .branch__link svg { width: 15px; height: 15px; transition: transform var(--dur-q) var(--ease); }
  .branch:hover .branch__link svg { transform: translateX(4px); }

  /* Region / local */
  .region { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,60px); align-items: center; }
  .region__cities { display: flex; flex-wrap: wrap; gap: 10px; }
  .region__city { font-size: 14.5px; font-weight: 500; color: var(--ink-2); background: var(--card); border: 1px solid var(--line); padding: 8px 15px; border-radius: var(--r-pill); }
  .region__city--home { color: var(--em-800); background: var(--em-tint); border-color: var(--line-em); }

  /* Tab switcher (branch feature switcher) */
  .tabs { border-bottom: 1px solid var(--line); display: flex; gap: 4px; overflow-x: auto; position: relative; }
  .tabs__btn { padding: 14px 18px; font-weight: 600; font-size: var(--fs-sm); color: var(--ink-4); white-space: nowrap; position: relative; transition: color var(--dur-q) var(--ease); }
  .tabs__btn[aria-selected="true"] { color: var(--ink); }
  .tabs__ink { position: absolute; bottom: -1px; height: 2px; background: var(--em); border-radius: 2px; transition: transform var(--dur) var(--ease), width var(--dur) var(--ease); }

  /* FAQ */
  .faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 860px; }
  .faq__item { border-bottom: 1px solid var(--line); }
  .faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left; padding: 24px 4px; font-family: var(--ff-disp); font-weight: 600; font-size: var(--fs-h4); color: var(--ink); }
  .faq__ic { flex: none; width: 26px; height: 26px; position: relative; }
  .faq__ic::before, .faq__ic::after { content: ""; position: absolute; background: var(--em-700); border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
  .faq__ic::before { left: 5px; right: 5px; top: 12px; height: 2px; }
  .faq__ic::after { top: 5px; bottom: 5px; left: 12px; width: 2px; }
  .faq__item.is-open .faq__ic::after { transform: scaleY(0); opacity: 0; }
  .faq__a { max-height: 0; overflow: hidden; transition: max-height var(--dur) var(--ease); }
  .faq__a-inner { padding: 0 4px 24px; color: var(--ink-3); max-width: 72ch; }
  .faq__a-inner p + p { margin-top: 12px; }

  /* CTA band */
  .ctaband { position: relative; background: var(--night); background-image: radial-gradient(120% 140% at 85% 0%, rgba(16,185,129,.28), transparent 55%); border-radius: var(--r-6); padding: clamp(36px,5vw,64px); overflow: clip; }
  .ctaband__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px,4vw,56px); align-items: center; position: relative; z-index: 1; }
  .ctaband h2 { color: #fff; }
  .ctaband .lead { color: rgba(255,255,255,.78); }
  .ctaband__contact { min-width: 0; }
  .ctaband__phone { font-family: var(--ff-disp); font-weight: 700; font-size: clamp(26px,3vw,36px); color: #fff; letter-spacing: -0.02em; display: inline-block; }
  .ctaband__meta { color: rgba(255,255,255,.7); font-size: var(--fs-sm); margin-top: 10px; }
  .ctaband__meta a { color: var(--em-300); }

  /* Split contact info + form */
  .info-list { display: grid; gap: 20px; }
  .info-list li { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
  .info-list .info__ic { width: 42px; height: 42px; border-radius: 11px; background: var(--em-tint); color: var(--em-700); display: grid; place-items: center; flex: none; }
  .info-list .info__ic svg { width: 20px; height: 20px; }
  .info-list b { display: block; color: var(--ink); font-weight: 600; }
  .info-list a { color: var(--ink-2); }
  .info-list a:hover { color: var(--em-700); }
  .info__sub { font-size: var(--fs-sm); color: var(--ink-4); }
}

@layer forms {
  .field { display: grid; gap: 8px; margin-bottom: 18px; min-width: 0; }
  .field label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
  .field label .opt { font-weight: 400; color: var(--ink-4); }
  .field input, .field textarea, .field select {
    background: var(--card); border: 1.5px solid var(--line-2); border-radius: var(--r-3);
    padding: 13px 15px; color: var(--ink); width: 100%; transition: border-color var(--dur-q) var(--ease), box-shadow var(--dur-q) var(--ease);
    color-scheme: light;
  }
  .field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
  .field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--em); box-shadow: 0 0 0 4px var(--em-tint); }
  .field textarea { min-height: 130px; resize: vertical; }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .form-note { font-size: 13px; color: var(--ink-4); }
  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .form-ok {
    display: flex; gap: 14px; align-items: flex-start; background: var(--em-tint); border: 1px solid var(--line-em);
    border-radius: var(--r-4); padding: 18px 20px; margin-bottom: 24px; color: var(--em-900);
  }
  .form-ok svg { width: 22px; height: 22px; color: var(--em-700); flex: none; margin-top: 2px; }
  .form-ok b { color: var(--em-900); }
  .form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-5); padding: clamp(24px,3vw,36px); box-shadow: var(--shadow-soft); }
}

@layer footer {
  .site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(251,250,247,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent; transition: border-color var(--dur-q) var(--ease), box-shadow var(--dur-q) var(--ease), background-color var(--dur-q) var(--ease);
  }
  .site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 24px -22px rgba(6,42,32,.4); }
  .header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
  .mainnav { display: flex; align-items: center; gap: 4px; }
  .mainnav > a:not(.btn) { padding: 9px 13px; font-size: var(--fs-sm); font-weight: 500; color: var(--ink-2); border-radius: var(--r-pill); transition: color var(--dur-q) var(--ease), background-color var(--dur-q) var(--ease); white-space: nowrap; }
  .mainnav > a:not(.btn):hover { color: var(--ink); background: var(--paper-2); }
  .mainnav > a:not(.btn).is-active { color: var(--em-800); background: var(--em-tint); }
  .mainnav__cta, a.mainnav__cta:link, a.mainnav__cta:visited { color: #fff; }
  .mainnav__cta { margin-left: 8px; }
  .hamburger { display: none; width: 46px; height: 46px; border-radius: var(--r-3); flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
  .hamburger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--dur-q) var(--ease), opacity var(--dur-q) var(--ease); }
  .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); }

  .site-footer { background: var(--night); color: rgba(255,255,255,.72); padding-top: clamp(56px,7vw,88px); margin-top: 40px; position: relative; }
  .site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--em), transparent); opacity: .5; }
  .site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(28px,3vw,48px); padding-bottom: 48px; }
  .site-footer h4 { color: #fff; font-size: 14px; letter-spacing: 0.04em; margin-bottom: 16px; font-family: var(--ff-sans); font-weight: 600; }
  .site-footer a { color: rgba(255,255,255,.72); transition: color var(--dur-q) var(--ease); }
  .site-footer a:hover { color: var(--em-300); }
  .site-footer ul { display: grid; gap: 11px; font-size: var(--fs-sm); }
  .site-footer__claim { color: rgba(255,255,255,.66); font-size: var(--fs-sm); margin-top: 18px; max-width: 34ch; }
  .site-footer__contact address { font-style: normal; font-size: var(--fs-sm); line-height: 1.9; }
  .site-footer__contact address a { color: #fff; }
  .site-footer__hours { font-size: var(--fs-sm); margin-top: 12px; color: rgba(255,255,255,.66); }
  .site-footer__hours span { color: var(--em-300); font-weight: 600; }
  .site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; border-top: 1px solid var(--line-light); font-size: 13.5px; color: rgba(255,255,255,.6); }
  .site-footer__bottom a:hover { color: var(--em-300); }

  /* Sticky mobile CTA */
  .sticky-cta { display: none; }
}

@layer motion {
  [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
  [data-reveal].is-in { opacity: 1; transform: none; }
  [data-reveal-delay="1"] { transition-delay: .07s; }
  [data-reveal-delay="2"] { transition-delay: .14s; }
  [data-reveal-delay="3"] { transition-delay: .21s; }
  [data-reveal-delay="4"] { transition-delay: .28s; }

  .hero__aura { animation: breathe 8s ease-in-out infinite; }
  .hero__device { animation: floaty 7s ease-in-out infinite; }
  .hero__float--tse { animation: floaty 7s ease-in-out infinite .6s; }
  .hero__float--eu { animation: floaty 6.4s ease-in-out infinite .3s; }
  @keyframes breathe { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.06); opacity: 1; } }
  @keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

  .magnetic { will-change: transform; }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
    .hero__aura, .hero__device, .hero__float { animation: none !important; }
  }
}

/* view transitions (cross-document MPA) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation-duration: .28s; }
::view-transition-new(root) { animation-duration: .28s; }

@layer responsive {
  @media (max-width: 1080px) {
    .cards-4 { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .price-grid { grid-template-columns: repeat(2, 1fr); }
    .branch-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 900px) {
    .hero__grid { grid-template-columns: 1fr; gap: 44px; }
    .hero__stage { max-width: 520px; margin-inline: auto; order: 2; }
    .hero__copy { max-width: none; order: 1; }
    .split { grid-template-columns: 1fr; gap: 32px; }
    .split--rev .split__media { order: 0; }
    .region { grid-template-columns: 1fr; }
    .cards-3 { grid-template-columns: repeat(2, 1fr); }
    .ctaband__grid { grid-template-columns: 1fr; gap: 28px; }
    .mainnav {
      position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
      background: var(--paper); border-bottom: 1px solid var(--line); padding: 16px var(--gutter) 28px;
      transform: translateY(-12px); opacity: 0; pointer-events: none; visibility: hidden;
      transition: transform var(--dur-q) var(--ease), opacity var(--dur-q) var(--ease), visibility var(--dur-q);
      box-shadow: var(--shadow-card); max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    }
    .mainnav.is-open { transform: none; opacity: 1; pointer-events: auto; visibility: visible; }
    .mainnav > a:not(.btn) { padding: 13px 14px; font-size: 16px; }
    .mainnav__cta { margin: 8px 0 0; }
    .hamburger { display: flex; }
    .sticky-cta {
      display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed;
      left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90;
    }
    .sc-action {
      display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; border-radius: var(--r-4);
      font-weight: 600; font-size: var(--fs-sm); box-shadow: var(--shadow-lift); forced-color-adjust: none;
    }
    .sc-call { color: #fff; background-image: linear-gradient(var(--em-700),var(--em-800)); }
    .sc-route { color: var(--ink); background: var(--card); border: 1px solid var(--line-2); }
    .sc-action svg { width: 18px; height: 18px; }
    body { padding-bottom: 76px; }
  }
  @media (max-width: 620px) {
    .cards-4, .cards-3, .cards-2, .price-grid, .branch-grid, .steps { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
    .site-footer__brand { grid-column: 1 / -1; }
    .hero__float--tse { left: 0; }
    .hero__float--eu { right: 0; }
    .btn-row .btn { width: 100%; }
    .hero__cta .btn { width: 100%; }
  }
  @media (max-width: 400px) {
    .site-footer__grid { grid-template-columns: 1fr; }
  }
}

/* Shared components used across multiple pages (must live in site.css, not page CSS) */
@layer components {
  .tse-note { display: flex; gap: 18px; align-items: flex-start; margin-top: 34px; background: var(--em-tint); border: 1px solid var(--line-em); border-radius: var(--r-5); padding: 22px 26px; }
  .tse-note__ic { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--em-700); display: grid; place-items: center; flex: none; box-shadow: var(--shadow-soft); }
  .tse-note__ic svg { width: 22px; height: 22px; }
  .tse-note p { color: var(--em-900); font-size: var(--fs-sm); max-width: 80ch; min-width: 0; }

  .home-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(48px,6vw,80px); padding-top: 44px; border-top: 1px solid var(--line); }
  .home-stats .stat { min-width: 0; }
}
@media (max-width: 900px) { .home-stats { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; } }
@media (max-width: 380px) { .home-stats { grid-template-columns: 1fr; } }

/* Kill-list iter1: highlighted tier ambient pulse + mobile sticky feature column */
.price--hi::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  box-shadow: 0 26px 74px -30px rgba(16,185,129,.75); opacity: .55;
}
@media (prefers-reduced-motion: no-preference) {
  .price--hi .price__tag { animation: tagBreathe 3.4s ease-in-out infinite; will-change: transform, opacity; }
  @keyframes tagBreathe { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(-2px); opacity: .82; } }
}
@media (max-width: 760px) {
  .cap tbody th, .cap thead th:first-child {
    position: sticky; left: 0; z-index: 2; background: var(--card);
    box-shadow: 1px 0 0 var(--line); min-width: 190px;
  }
  .cap thead th:first-child { background: var(--paper-2); z-index: 3; }
  .cap tbody tr:hover th { background: var(--paper-2); }
}
