/* ==========================================================================
   luxury-template — Autaxo webgen
   Quiet, exclusive, editorial design system for a high-end dealership.
   Playfair Display headings + Inter body. Warm ivory light scheme; the
   signature look is the near-black dark scheme. Hairline rules everywhere,
   flat surfaces, generous whitespace. Accent is injected at generation time
   (#d97706) and used sparingly.
   ========================================================================== */

/* --- Web fonts (central webgen asset CDN — first-party, no cookies) -------- */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('https://webgenassets.garage.infra.autaxo.de/fonts/playfair-display/playfair-display-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('https://webgenassets.garage.infra.autaxo.de/fonts/inter/inter-latin-wght-normal.woff2') format('woff2');
}

/* --- Design tokens ---------------------------------------------------------- */
:root {
  color-scheme: light dark;

  --accent: #d97706;
  /* Darkened accent: accent-colored text on light surfaces and filled buttons
     carrying white text (WCAG AA — the raw accent is often too light). */
  --accent-strong: color-mix(in srgb, var(--accent) 72%, #000);
  /* Lightened accent: accent-colored text on dark surfaces. */
  --accent-soft: color-mix(in srgb, var(--accent) 55%, #fff);
  /* Role token: accent-colored TEXT on the current scheme's surfaces. */
  --accent-text: var(--accent-strong);
  --accent-fg: #ffffff;

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Warm ivory luxe */
  --bg: #f7f4ef;
  --bg-soft: #efe9df;
  --ink: #171310;         /* headings, strong text */
  --body: #4d4437;        /* body copy */
  --muted: #857966;       /* secondary text */
  --line: #e3dbcd;        /* warm hairlines */
  --line-strong: #cfc4af; /* emphasised hairlines (button borders) */

  /* Fixed dark-band surfaces (signature moody panels, same in both schemes) */
  --night: #0d0b09;
  --night-soft: #16120e;
  --night-ink: #f5efe6;
  --night-body: #c9c0b1;
  --night-line: #2c251d;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 44px);
  /* ONE large soft shadow, reserved for hero/media only. */
  --shadow-media: 0 48px 90px -40px rgba(23, 19, 16, .45);

  /* Web-component theming (inherits through each widget's shadow DOM) */
  --autaxo-inventory-bg: transparent;
  --autaxo-inventory-text: var(--ink);
  --autaxo-inventory-title: var(--ink);
  --autaxo-inventory-muted: var(--muted);
  --autaxo-inventory-price-text: var(--ink);
  --autaxo-inventory-card-bg: var(--bg);
  --autaxo-inventory-card-hover-border: var(--accent);
  --autaxo-inventory-image-bg: var(--bg-soft);
  --autaxo-inventory-header-bg: transparent;
  --autaxo-inventory-input-bg: var(--bg);
  --autaxo-inventory-input-border: var(--line);
  --autaxo-inventory-input-text: var(--ink);
  --autaxo-inventory-input-focus: var(--accent-strong);
  --autaxo-inventory-btn-border: var(--line-strong);
  --autaxo-inventory-btn-text: var(--ink);
  --autaxo-inventory-btn-hover-bg: var(--bg-soft);
  --autaxo-inventory-table-border: var(--line);

  --autaxo-detail-bg: var(--bg);
  --autaxo-detail-text: var(--ink);
  --autaxo-detail-muted: var(--muted);
  --autaxo-detail-accent: var(--accent-strong);
  --autaxo-detail-accent-fg: var(--accent-fg);
  --autaxo-detail-border: var(--line);
  --autaxo-detail-image-bg: var(--bg-soft);
  --autaxo-detail-price-text: var(--ink);

  --autaxo-contact-bg: transparent;
  --autaxo-contact-fg: var(--ink);
  --autaxo-contact-muted: var(--muted);
  --autaxo-contact-accent: var(--accent-strong);
  --autaxo-contact-accent-fg: var(--accent-fg);
  --autaxo-contact-border: var(--line-strong);
  --autaxo-contact-border-focus: var(--accent-strong);
  --autaxo-contact-field-bg: var(--bg);
  --autaxo-inventory-font: var(--font-body);
  --autaxo-detail-font: var(--font-body);
  --autaxo-contact-font: var(--font-body);
  --autaxo-radius: 0px;
}

/* --- Dark scheme (the signature look; auto via OS preference) --------------- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0b09;
    --bg-soft: #16120e;
    --ink: #f5efe6;
    --body: #c9c0b1;
    --muted: #93876f;
    --line: #2c251d;
    --line-strong: #453b2c;

    --night-soft: #16120e;

    /* Accent text needs the LIGHT variant on dark surfaces. */
    --accent-text: var(--accent-soft);
    --autaxo-inventory-input-focus: var(--accent-soft);
    --autaxo-contact-border-focus: var(--accent-soft);

    --shadow-media: 0 48px 100px -36px rgba(0, 0, 0, .85);
  }
  .hero { background: #fff url('/images/dc201ea0-25d1-4157-9367-661fc11a19a7.webp') center center / contain no-repeat; }
}

/* --- Reset / base ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 380;
  line-height: 1.75;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--ink);
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: -.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.4rem; font-weight: 600; }
p { text-wrap: pretty; }
strong { color: var(--ink); font-weight: 600; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* --- Layout ------------------------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(88px, 11vw, 150px); }
.section--soft { background: var(--bg-soft); }
.section-title { text-align: center; }
.section--rule { border-top: 1px solid var(--line); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }

/* Thin editorial divider */
.rule { width: 64px; height: 1px; border: 0; background: var(--line-strong); margin: 28px 0; }
.rule--center { margin-inline: auto; }

/* --- Eyebrow + section heads --------------------------------------------------
   Small-caps-style labels: uppercase, wide tracking, hairline underline. */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 560;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-text);
  padding-bottom: 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--accent-text) 45%, transparent);
  margin-bottom: 22px;
}
.section-head { max-width: 700px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.center { margin-inline: auto; }
.section-head p { margin-top: 18px; font-size: 1.05rem; color: var(--muted); }
.lede { font-size: 1.1rem; color: var(--muted); font-weight: 380; }

/* --- Buttons -------------------------------------------------------------------
   Understated: hairline-bordered ghosts + one filled accent-strong primary. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--font-body); font-weight: 560; font-size: .76rem; line-height: 1;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 17px 32px; border: 1px solid transparent; border-radius: 0;
  cursor: pointer; white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn--primary { background: var(--accent-strong); color: var(--accent-fg); border-color: var(--accent-strong); }
.btn--primary:hover { background: color-mix(in srgb, var(--accent-strong) 84%, #000); border-color: color-mix(in srgb, var(--accent-strong) 84%, #000); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { background: transparent; color: var(--night-ink); border-color: rgba(245, 239, 230, .35); }
.btn--ghost-light:hover { border-color: var(--night-ink); background: rgba(245, 239, 230, .07); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row--center { justify-content: center; }
.btn-row--right { justify-content: flex-end; }

/* Quiet inline text link with hairline underline */
.text-link {
  font-family: var(--font-body); font-weight: 560; font-size: .76rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
  padding-bottom: 6px; border-bottom: 1px solid var(--line-strong);
  transition: color .2s ease, border-color .2s ease;
}
.text-link:hover { color: var(--accent-text); border-color: currentColor; }

/* --- Header / nav -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #000000;
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .nav a { color: #ffffff; }
.site-header .nav a:hover { color: var(--accent-soft); }
.site-header .nav-toggle span { background: var(--night-ink); }
.site-header .btn--primary { border-color: var(--accent-soft); }
@media (max-width: 900px) {
  .site-header .nav a { color: var(--ink); }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 40px; width: auto; background: #ffffff; border-radius: 2px; padding: 4px 8px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-family: var(--font-body); font-weight: 560; font-size: .74rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
  padding: 12px 14px 10px; border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav a:hover { color: var(--accent-text); }
.nav a[aria-current="page"] { color: var(--accent-text); border-bottom-color: currentColor; }
.nav .btn { padding: 13px 22px; margin-left: 14px; border-bottom: 1px solid var(--accent-strong); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 0;
  background: transparent; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 6px;
}
.nav-toggle span { display: block; width: 20px; height: 1px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 20px var(--gutter) 32px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .2s ease, opacity .2s ease;
  }
  .nav a { padding: 15px 4px; font-size: .82rem; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .nav .btn { margin: 18px 0 0; border: 1px solid var(--accent-strong); justify-content: center; }
  body.nav-open .nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* --- Hero (full-bleed, moody, centered) ---------------------------------------- */
.hero { position: relative; isolation: isolate; background: #fff url('/images/dc201ea0-25d1-4157-9367-661fc11a19a7.webp') center center / contain no-repeat; color: var(--night-ink); min-height: 50vh; display: flex; align-items: center; }
.hero__inner {
  position: relative; text-align: center; max-width: 860px; margin-inline: auto;
  padding-block: clamp(20px, 3vw, 40px) clamp(20px, 3vw, 40px);
}
.hero .eyebrow { color: var(--accent-soft); border-bottom-color: color-mix(in srgb, var(--accent-soft) 45%, transparent); }
.hero h1 { color: #14b8a6; }
.hero h1 small { font-size: .62em; font-weight: 400; display: inline-block; }
.hero__subtitle {
  font-family: var(--font-body); font-size: clamp(1rem, 1.8vw, 1.18rem); font-weight: 360;
  color: #14b8a6; max-width: 660px; margin: 28px auto 0;
  line-height: 1.7; text-wrap: balance;
}
.hero .rule { background: rgba(245, 239, 230, .4); margin-block: 14px; }
.hero__tagline {
  font-size: clamp(1.02rem, 1.9vw, 1.22rem); font-weight: 340; line-height: 1.8;
  color: var(--night-body); max-width: 580px; margin-inline: auto;
}
.hero .btn-row { margin-top: 24px; justify-content: center; }

/* --- Statement lead unter Hero (Spezialbetrieb) ----------------------------------- */
.statement-lead {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 480;
  line-height: 1.5;
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
  color: var(--ink);
}
.statement-lead:first-child { white-space: nowrap; }

/* --- Quiet mark row (index) ----------------------------------------------------- */
.marks { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 4vw, 48px); }
.mark { border-top: 1px solid var(--line-strong); padding-top: 24px; }
.mark h3 {
  font-family: var(--font-body); font-size: .74rem; font-weight: 560;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px;
}
.mark p { font-size: .93rem; color: var(--muted); }
@media (max-width: 900px) { .marks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .marks { grid-template-columns: 1fr; } }

/* --- USP-Liste (Fahrzeugseite) --------------------------------------------------- */
.section--usp { padding-block: clamp(40px, 5vw, 70px); }
.usp-list {
  list-style: none; padding: 0; margin: 0 auto; max-width: 800px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.usp-list li {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 480;
  line-height: 1.5;
  text-align: center;
  color: var(--ink);
  padding: 0 0 0 0;
  position: relative;
}
.usp-list li::before {
  content: "—";
  display: inline-block;
  color: var(--accent-text);
  margin-right: 14px;
  font-weight: 400;
}

/* --- Inventory ------------------------------------------------------------------ */
.inventory-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.inventory-head .section-head { margin-bottom: 0; }

/* --- Services (hairline ledger rows — no icon tiles) ----------------------------- */
.services { border-top: 1px solid var(--line-strong); }
.service-box {
  display: grid; grid-template-columns: minmax(200px, 320px) 1fr;
  gap: 10px 56px; padding-block: 36px;
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.service-title { font-size: 1.45rem; font-weight: 600; }
.service-text { color: var(--body); max-width: 62ch; font-size: .98rem; }
@media (max-width: 720px) {
  .service-box { grid-template-columns: 1fr; padding-block: 28px; }
}

/* --- Split (editorial media + copy) ---------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 7vw, 96px); align-items: center; }
.split--reverse .split__media { order: 1; }
.split__media { position: relative; isolation: isolate; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow-media); }
.split__media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.split__media-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow-media); }
.split__media::after {
  content: ""; position: absolute; inset: 16px -14px -14px 16px;
  border: 1px solid var(--line-strong); z-index: -1;
}
.legal-field p { margin-bottom: 0; }

.split__body h2 + p { margin-top: 24px; }
.split__body p + p { margin-top: 16px; }
.split__body .btn-row { margin-top: 36px; }
.quiet-list { list-style: none; padding: 0; margin: 28px 0 0; }
.quiet-list li {
  padding: 14px 0; border-top: 1px solid var(--line);
  color: var(--ink); font-size: .97rem; font-weight: 460;
}
.quiet-list li:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* --- Signature dark band (flat, hairline-bordered) -------------------------------- */
.cta-band {
  background: var(--night-soft); color: var(--night-body);
  border: 1px solid var(--night-line);
  padding: clamp(64px, 9vw, 110px) clamp(28px, 5vw, 80px);
  text-align: center;
}
.cta-band .eyebrow { color: var(--accent-soft); border-bottom-color: color-mix(in srgb, var(--accent-soft) 45%, transparent); }
.cta-band h2 { color: var(--night-ink); max-width: 640px; margin-inline: auto; }
.cta-band p { margin: 20px auto 0; max-width: 560px; }
.cta-band .btn-row { margin-top: 40px; justify-content: center; }

/* --- Contact ----------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(300px, 380px) 1fr; gap: clamp(44px, 6vw, 88px); align-items: start; }
.contact-card { }
.contact-list { margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(16px, 2vw, 24px); }
.contact-list > div { border: 1px solid var(--line); border-radius: 8px; padding: clamp(18px, 2.4vw, 28px); background: var(--bg); }
.contact-list > div:first-child { }
.contact-list dt {
  font-size: .7rem; font-weight: 560; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.contact-list dd { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.7; }
.contact-list dd a:hover { color: var(--accent-text); }
.contact-list .wa-icon,
.contact-list .tel-icon { vertical-align: middle; margin-right: 4px; }
.hours { border: 1px solid var(--line); border-radius: 8px; padding: clamp(18px, 2.4vw, 28px); background: var(--bg); margin-top: clamp(16px, 2vw, 24px); }
.hours h3 {
  font-family: var(--font-body); font-size: .7rem; font-weight: 560;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.hours table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours td { padding: 8px 0; color: var(--body); border-bottom: 1px solid var(--line); }
.hours td:first-child { white-space: nowrap; }
.hours tr:last-child td { border-bottom: 0; }
.hours td:last-child { text-align: right; color: var(--ink); }
.hours-note { margin-top: 14px; font-size: .85rem; color: var(--muted); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* --- Legal / prose ------------------------------------------------------------------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.55rem; margin-top: 52px; margin-bottom: 14px; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 30px; margin-bottom: 10px; }
.prose p { margin-bottom: 14px; }
.prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose ul { margin: 0 0 14px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }

.legal-headline {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-strong);
}
.legal-field {
  border-bottom: 1px solid var(--line-strong);
  padding: 16px 0;
  margin: 20px 0;
}
.data-table { width: 100%; border-collapse: collapse; margin: 10px 0 22px; border-top: 1px solid var(--line-strong); }
.data-table th, .data-table td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); font-size: .96rem; vertical-align: top; }
.data-table th {
  font-family: var(--font-body); font-weight: 560; font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted); width: 40%;
}

/* --- Page hero (sub-pages, centered editorial) ----------------------------------------- */
.page-hero { border-bottom: 1px solid var(--line); padding-block: clamp(100px, 15vw, 240px); text-align: center; }
.breadcrumbs {
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 26px;
}
.breadcrumbs a:hover { color: var(--accent-text); }
.breadcrumbs span[aria-current] { color: var(--ink); }
.page-hero h1 { font-family: var(--font-body); }
.page-hero .lede { margin: 0 auto; max-width: 620px; }
.page-hero .rule { margin: 30px auto; }

/* --- Footer (centered, minimal, hairline-topped) ---------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(72px, 9vw, 120px) 40px; text-align: center; }
.footer-name { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 560; color: var(--ink); letter-spacing: -.01em; }
.footer-tagline { margin: 14px auto 0; max-width: 460px; font-size: .95rem; color: var(--muted); }
.site-footer address { font-style: normal; margin-top: 26px; font-size: .95rem; color: var(--body); line-height: 1.9; }
.site-footer address a:hover { color: var(--accent-text); }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 34px; margin-top: 38px; }
.footer-nav a {
  font-size: .72rem; font-weight: 560; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); padding-bottom: 4px; border-bottom: 1px solid transparent;
}
.footer-nav a:hover { color: var(--accent-text); border-bottom-color: currentColor; }
.footer-bottom {
  margin-top: clamp(44px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 32px; align-items: center; justify-content: center;
  font-size: .84rem; color: var(--muted);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-bottom a:hover { color: var(--accent-text); }

/* --- Utilities ---------------------------------------------------------------------------- */
.mt-l { margin-top: clamp(44px, 6vw, 80px); }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--accent-strong); color: #fff;
  padding: 10px 18px; z-index: 100; font-size: .85rem;
}
.skip-link:focus { left: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- Team cards (editorial grid) -------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
.team-card {
  border: 1px solid var(--line);
  background: transparent;
  text-align: center;
  padding-bottom: 32px;
}
.team-card__image {
  aspect-ratio: 1 / 1;
  background: var(--bg-soft);
  margin-bottom: 0;
}
.team-card__name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin: 28px 24px 4px;
}
.team-card__role {
  font-size: .7rem;
  font-weight: 560;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 24px 12px;
}
.team-card__text {
  font-size: .93rem;
  color: var(--body);
  margin: 0 24px 0;
  max-width: 38ch;
  margin-inline: auto;
}
@media (max-width: 820px) {
  .team-grid { grid-template-columns: 1fr; }
}
@media (min-width: 821px) and (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Bildergalerie ------------------------------------------------------------ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.gallery-item {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-soft);
  transition: opacity .3s ease;
}
.gallery-item:hover {
  opacity: .85;
}
.gallery-item img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
