/* ==========================================================================
   Buchhaltung Tarnopolski — Production CSS
   Design tokens, layout primitives, components, utilities.
   ========================================================================== */

/* --- Reset & Base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
               Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, picture, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: var(--primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

/* --- Design Tokens ------------------------------------------------------ */
:root {
  --primary:        #0049AD;
  --primary-dark:   #003580;
  --primary-light:  #E8F0FA;
  --primary-50:     #F4F8FD;
  --accent:         #759DD6;
  --bg:             #FFFFFF;
  --surface:        #F8FAFC;
  --surface-2:      #F1F5F9;
  --text:           #0F172A;
  --text-muted:     #475569;
  --text-soft:      #64748B;
  --border:         #E2E8F0;
  --border-strong:  #CBD5E1;
  --shadow-sm:      0 1px 2px rgba(15,23,42,.04);
  --shadow:         0 4px 12px rgba(15,23,42,.06);
  --shadow-lg:      0 12px 32px rgba(15,23,42,.10);
  --radius:         12px;
  --radius-lg:      20px;
  --container:      1200px;
  --space-1:        4px;
  --space-2:        8px;
  --space-3:        12px;
  --space-4:        16px;
  --space-5:        24px;
  --space-6:        32px;
  --space-7:        48px;
  --space-8:        64px;
  --space-9:        96px;
  --header-h:       72px;
}

/* --- Typography --------------------------------------------------------- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); letter-spacing: -0.01em; }
h4 { font-size: 1.125rem; letter-spacing: 0; }
p  { color: var(--text-muted); }
.lead { font-size: 1.125rem; line-height: 1.65; color: var(--text-muted); }
.eyebrow {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 4px 10px;
  background: var(--primary-light);
  border-radius: 999px;
}

/* --- Layout ------------------------------------------------------------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--space-5); }
.section   { padding-block: clamp(56px, 8vw, 96px); }
.section--tight { padding-block: clamp(40px, 6vw, 64px); }
.section--surface { background: var(--surface); }
.grid { display: grid; gap: var(--space-5); }
.flex { display: flex; gap: var(--space-3); }

/* --- Announcement Banner ----------------------------------------------- */
.announce {
  position: relative;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-size: .9rem;
  text-align: center;
  padding: 10px 48px 10px 16px;
}
.announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.announce a:hover { color: var(--primary-light); }
.announce__close {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  transition: background .15s;
}
.announce__close:hover { background: rgba(255,255,255,.15); }
.announce.is-hidden { display: none; }

/* --- Header ------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.brand img { height: 44px; width: auto; display: block; }
.brand:hover { color: var(--text); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; }
.brand__tag  { font-size: .75rem; color: var(--text-soft); }

.nav { display: flex; align-items: center; gap: var(--space-5); }
.nav a {
  color: var(--text);
  font-weight: 500;
  font-size: .95rem;
  padding: 8px 4px;
  position: relative;
}
.nav a:hover { color: var(--primary); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}
.nav__dropdown { position: relative; }
.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text);
  font-weight: 500;
  font-size: .95rem;
  padding: 8px 4px;
}
.nav__toggle svg { transition: transform .2s; }
.nav__dropdown[data-open="true"] .nav__toggle svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: -16px;
  min-width: 280px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all .18s ease;
}
.nav__dropdown[data-open="true"] .nav__menu,
.nav__dropdown:hover .nav__menu,
.nav__dropdown:focus-within .nav__menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 500;
}
.nav__menu a:hover { background: var(--primary-light); color: var(--primary); }
.nav__menu a::after { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: .95rem;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all .15s ease;
  white-space: nowrap;
  text-decoration: none !important;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,73,173,.25); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--white { background: #fff; color: var(--primary); }
.btn--white:hover { background: var(--primary-light); color: var(--primary-dark); }
.btn--lg { padding: 14px 28px; font-size: 1rem; }

/* Mobile menu trigger */
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  color: var(--text);
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform .2s, top .2s, opacity .2s;
}
.menu-btn span::before { content: ""; position: absolute; top: -7px; left: 0; }
.menu-btn span::after  { content: ""; position: absolute; top:  7px; left: 0; }
body.is-menu-open .menu-btn span { background: transparent; }
body.is-menu-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
body.is-menu-open .menu-btn span::after  { top: 0; transform: rotate(-45deg); }

/* --- Mobile Drawer ----------------------------------------------------- */
.drawer {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s;
  z-index: 100;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(86vw, 360px);
  background: #fff;
  padding: var(--space-5);
  transform: translateX(100%);
  transition: transform .25s ease;
  overflow-y: auto;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__nav { display: flex; flex-direction: column; gap: 4px; margin-top: var(--space-4); }
.drawer__nav a {
  display: block;
  padding: 14px 12px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 500;
  font-size: 1rem;
}
.drawer__nav a:hover, .drawer__nav a[aria-current="page"] {
  background: var(--primary-light); color: var(--primary);
}
.drawer__group { margin-top: var(--space-3); }
.drawer__group-label {
  display: block;
  padding: 8px 12px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-soft);
}
.drawer__cta { margin-top: var(--space-5); }

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(48px, 9vw, 96px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 500px at 20% -10%, var(--primary-light), transparent 60%),
    radial-gradient(ellipse 600px 400px at 100% 0%, #DBEAFE, transparent 60%);
  z-index: -1;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: var(--space-8);
  align-items: center;
}
.hero h1 { margin-block: var(--space-4); }
.hero .lead { margin-bottom: var(--space-6); max-width: 540px; }
.hero__ctas { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  font-size: .875rem;
  color: var(--text-soft);
}
.hero__trust strong { color: var(--text); font-size: 1.125rem; display: block; }
.hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--surface);
  aspect-ratio: 4/5;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero__media-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  padding: 16px 18px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.hero__media-badge strong { display: block; font-size: 1rem; color: var(--text); }
.hero__media-badge span { font-size: .85rem; color: var(--text-soft); }

/* Hero variant for subpages */
.hero--sub { padding-block: clamp(48px, 7vw, 80px); }
.hero--sub .hero__grid { grid-template-columns: 1fr; text-align: center; gap: var(--space-5); }
.hero--sub h1 { max-width: 800px; margin-inline: auto; }
.hero--sub .lead { margin-inline: auto; max-width: 700px; }
.hero--sub .hero__ctas { justify-content: center; }
.hero--sub::before {
  background:
    radial-gradient(ellipse 700px 400px at 50% -10%, var(--primary-light), transparent 60%),
    radial-gradient(ellipse 400px 300px at 90% 50%, #DBEAFE, transparent 60%),
    radial-gradient(ellipse 400px 300px at 10% 50%, #EFF6FF, transparent 60%);
}

/* Hero with side image (industry pages) */
.hero--industry { padding-block: clamp(56px, 8vw, 96px); }
.hero--industry .hero__grid { grid-template-columns: 1.05fr .95fr; text-align: left; }
.hero--industry h1 { max-width: 100%; margin-inline: 0; font-size: clamp(2rem, 4vw, 3rem); }
.hero--industry .lead { margin-inline: 0; max-width: 540px; }
.hero--industry .hero__ctas { justify-content: flex-start; }
.hero--industry .hero__media {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero--industry .hero__media picture,
.hero--industry .hero__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }

/* --- Section header ---------------------------------------------------- */
.s-head { max-width: 720px; margin-bottom: var(--space-7); }
.s-head--center { margin-inline: auto; text-align: center; }
.s-head h2 { margin-block: var(--space-3); }

/* --- Service Cards ----------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
}
.cards--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cards--4 { grid-template-columns: 1fr; }
}
.card {
  display: flex;
  flex-direction: column;
  padding: var(--space-5);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  text-decoration: none !important;
  color: var(--text);
  height: 100%;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
  color: var(--text);
}
.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-4);
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.125rem; margin-bottom: var(--space-2); }
.card p { font-size: .95rem; flex-grow: 1; }
.card__link {
  margin-top: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--primary);
  font-size: .9rem;
}
.card:hover .card__link { gap: 10px; }
.card__link svg { transition: transform .2s; }

/* --- Feature list (Why us) -------------------------------------------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}
.feature__num {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  margin-bottom: var(--space-4);
}
.feature h3 { margin-bottom: var(--space-2); font-size: 1.2rem; }
.feature p { font-size: .95rem; }

/* --- Service detail page ----------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.split img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.checklist { display: grid; gap: var(--space-3); margin-top: var(--space-4); }
.checklist li {
  display: flex;
  align-items: start;
  gap: 12px;
  color: var(--text-muted);
}
.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--primary-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230049AD' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* --- Accordion for service details ------------------------------------ */
.accordion { display: grid; gap: var(--space-3); }
.acc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.acc[open] { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.acc summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  cursor: pointer;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "";
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--primary-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230049AD' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E") center/16px no-repeat;
  transition: transform .2s;
}
.acc[open] summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230049AD' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
}
.acc__body { padding: 0 24px 22px; color: var(--text-muted); }

/* --- Testimonials ------------------------------------------------------ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: var(--space-5);
}
.quote {
  padding: var(--space-6);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}
.quote::before {
  content: "“";
  font-family: Georgia, serif;
  position: absolute;
  top: 6px;
  left: 18px;
  font-size: 4rem;
  color: var(--primary-light);
  line-height: 1;
}
.quote__body { position: relative; color: var(--text); font-size: 1rem; line-height: 1.65; }
.quote__author { margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--border); }
.quote__author strong { display: block; color: var(--text); }
.quote__author span { font-size: .875rem; color: var(--text-soft); }

/* --- CTA Strip --------------------------------------------------------- */
.cta-strip {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-6);
  align-items: center;
}
.cta-strip h2 { color: #fff; max-width: 600px; }
.cta-strip p { color: rgba(255,255,255,.85); margin-top: 8px; }

/* --- Contact ----------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: var(--space-7);
}
.contact-cards { display: grid; gap: var(--space-4); }
.contact-card {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  align-items: start;
  transition: border-color .2s, transform .2s;
}
.contact-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.contact-card__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: grid; place-items: center;
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card strong { display: block; color: var(--text); font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; }
.contact-card a, .contact-card p { display: block; color: var(--text); margin-top: 4px; font-size: 1rem; }
.contact-card a:hover { color: var(--primary); }
.contact-card span { display: block; color: var(--text-soft); font-size: .9rem; }

.form { display: grid; gap: var(--space-4); padding: var(--space-6); background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); }
.field { display: grid; gap: 6px; }
.field label { font-size: .875rem; font-weight: 600; color: var(--text); }
.field input, .field textarea, .field select {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: #fff;
  font-size: 1rem;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}
.field textarea { min-height: 140px; resize: vertical; }
.field__check { display: flex; gap: 10px; align-items: start; font-size: .875rem; color: var(--text-muted); }
.field__check input { flex-shrink: 0; margin-top: 4px; width: 18px; height: 18px; accent-color: var(--primary); }

/* --- Legal pages (Impressum/Datenschutz) ------------------------------ */
.legal { max-width: 820px; margin-inline: auto; }
.legal h2 { font-size: 1.6rem; margin-top: var(--space-7); margin-bottom: var(--space-3); }
.legal h3 { font-size: 1.2rem; margin-top: var(--space-5); margin-bottom: var(--space-2); }
.legal h4 { font-size: 1.05rem; margin-top: var(--space-4); margin-bottom: var(--space-2); }
.legal p { margin-bottom: var(--space-3); color: var(--text-muted); }
.legal ul { margin: var(--space-3) 0 var(--space-4) var(--space-5); list-style: disc; color: var(--text-muted); }
.legal ul li { margin-bottom: 6px; padding-left: 4px; }
.legal a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }

/* --- Footer ------------------------------------------------------------ */
.footer {
  background: #0B1426;
  color: #CBD5E1;
  padding-block: var(--space-8) var(--space-5);
  margin-top: var(--space-9);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-7);
}
.footer__brand img { height: 48px; width: auto; max-width: 200px; background: #fff; padding: 6px 12px; border-radius: 10px; }
.footer__brand p { margin-top: var(--space-4); color: #94A3B8; font-size: .9rem; max-width: 280px; }
.footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: var(--space-4); }
.footer ul { display: grid; gap: 10px; }
.footer a { color: #CBD5E1; font-size: .925rem; }
.footer a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid #1E293B;
  padding-top: var(--space-5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: .875rem;
  color: #64748B;
}
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: #1E293B;
  transition: background .15s;
}
.footer__social a:hover { background: var(--primary); }
.footer__social svg { width: 18px; height: 18px; }
.footer__locations { display: grid; gap: 4px; font-size: .875rem; color: #94A3B8; }
.footer__locations strong { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }

/* --- Cookie Banner (Toast — bottom right) ------------------------------ */
.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 380px;
  margin-inline: auto;        /* Mobile: centered */
  z-index: 1000;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(15, 23, 42, .18), 0 4px 12px rgba(15, 23, 42, .06);
  padding: 18px 18px 16px;
  transform: translateY(130%);
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.cookie.is-visible { transform: translateY(0); }
.cookie__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cookie__head img { height: 28px; width: auto; flex-shrink: 0; }
.cookie__head h4 { margin: 0; font-size: .98rem; line-height: 1.2; }
.cookie h4 { margin-bottom: 6px; font-size: .98rem; }
.cookie p { font-size: .82rem; color: var(--text-muted); margin-bottom: 12px; line-height: 1.5; }
.cookie p a { color: var(--primary); text-decoration: underline; }
.cookie__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie__actions .btn { flex: 1 1 auto; min-width: 0; padding: 9px 12px; font-size: .82rem; border-radius: 8px; }
.cookie__actions .btn--ghost { border-color: var(--border); }
.cookie__settings { font-size: .82rem; margin-top: 8px; padding-top: 4px; }
.cookie__settings label {
  display: flex;
  align-items: start;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
  font-size: .85rem;
}
.cookie__settings label:first-of-type { border-top: 0; }
.cookie__settings input { accent-color: var(--primary); width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.cookie__settings small { display: block; color: var(--text-soft); font-weight: 400; font-size: .76rem; margin-top: 2px; line-height: 1.4; }
.cookie__settings.is-hidden { display: none; }

@media (min-width: 760px) {
  .cookie {
    left: auto;
    right: 24px;
    bottom: 24px;
    margin-inline: 0;          /* Desktop: dock to right */
  }
}

/* --- Cookie reopen button (footer link) -------------------------------- */
.cookie-reopen { background: none; color: inherit; font: inherit; cursor: pointer; }
.cookie-reopen:hover { color: #fff; text-decoration: underline; }

/* --- Breadcrumbs -------------------------------------------------------- */
.crumbs {
  font-size: .875rem;
  color: var(--text-soft);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before {
  content: "›";
  color: var(--text-soft);
  font-size: 1rem;
}
.crumbs a { color: var(--text-soft); }
.crumbs a:hover { color: var(--primary); }
.crumbs [aria-current="page"] { color: var(--text); font-weight: 500; }

/* --- FAQ Section -------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq .acc { background: #fff; }
.faq .acc summary { font-size: 1rem; padding: 18px 22px; }
.faq .acc__body { padding: 0 22px 20px; line-height: 1.7; }
.faq .acc__body p { margin-bottom: 10px; }
.faq .acc__body p:last-child { margin-bottom: 0; }
.faq .acc__body a { color: var(--primary); text-decoration: underline; }

/* --- Skip link (accessibility) ----------------------------------------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 2000;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: top .15s;
}
.skip-link:focus { top: 8px; color: #fff; }

/* --- Star rating display ----------------------------------------------- */
.rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: .9rem;
  color: var(--text-soft);
}
.rating__stars { display: inline-flex; gap: 2px; color: #F59E0B; }
.rating__stars svg { width: 18px; height: 18px; fill: currentColor; }
.rating strong { color: var(--text); font-weight: 600; }

/* --- Utility ----------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* --- Responsive -------------------------------------------------------- */
@media (max-width: 960px) {
  .hero__grid,
  .hero--industry .hero__grid { grid-template-columns: 1fr; gap: var(--space-6); text-align: center; }
  .hero--industry h1,
  .hero--industry .lead { margin-inline: auto; }
  .hero--industry .hero__ctas { justify-content: center; }
  .hero__media { aspect-ratio: 16/12; max-width: 520px; margin-inline: auto; }
  .split { grid-template-columns: 1fr; gap: var(--space-6); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-strip { grid-template-columns: 1fr; text-align: center; }
  .cta-strip .btn { justify-self: center; }
}
@media (max-width: 760px) {
  .nav, .header__cta { display: none; }
  .menu-btn { display: inline-flex; }
  .footer__grid { grid-template-columns: 1fr; }
  .announce { font-size: .82rem; padding-left: 12px; padding-right: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
