/* ============================================================
   Zenith Circuit — Außenwerbung & regionale Werbekampagnen
   Theme: High-end minimalist, high-contrast type, muted palette,
   vivid accent CTAs, sleek grid, subtle micro-interactions.
   ============================================================ */

:root {
  --bg: #F7F5F0;
  --bg-elev: #FFFFFF;
  --ink: #141414;
  --ink-soft: #2A2A2A;
  --muted: #6F6F6F;
  --line: #E4E0D8;
  --line-strong: #CFC9BD;
  --accent: #E5391F;
  --accent-deep: #B82A14;
  --accent-ink: #FFFFFF;
  --shadow: 0 1px 0 rgba(20,20,20,0.04), 0 12px 40px -24px rgba(20,20,20,0.18);
  --radius: 2px;
  --radius-lg: 4px;
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.4em;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 6.5vw, 5.4rem); font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 1; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-variation-settings: "opsz" 96; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-variation-settings: "opsz" 48; letter-spacing: -0.01em; }
h4 { font-size: 1.15rem; font-variation-settings: "opsz" 24; letter-spacing: 0; }
p { margin: 0 0 1.2em; }
.lead {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.45;
  color: var(--ink-soft);
  font-variation-settings: "opsz" 24;
  font-weight: 350;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1.4em;
}
.eyebrow--accent { color: var(--accent); }
small { color: var(--muted); }
strong { font-weight: 600; }
::selection { background: var(--accent); color: #fff; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.split { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (min-width: 880px) {
  .split--2 { grid-template-columns: 1fr 1fr; }
  .split--aside { grid-template-columns: 1.4fr 1fr; }
  .split--wide { grid-template-columns: 1fr 1.6fr; }
}
.grid { display: grid; gap: clamp(20px, 3vw, 36px); grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.section-head { max-width: 60ch; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 14px; --pad-x: 26px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--sans); font-size: 0.92rem; font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; background: var(--ink); color: #fff;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); color: #fff; background: var(--accent); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--accent-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--sm { --pad-y: 9px; --pad-x: 16px; font-size: 0.82rem; }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow .arrow { transition: transform 0.25s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 245, 240, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; font-family: var(--serif); font-size: 1.3rem; letter-spacing: -0.01em; font-variation-settings: "opsz" 48; color: var(--ink); }
.brand__mark { display: inline-grid; place-items: center; width: 28px; height: 28px; background: var(--ink); color: var(--accent); font-family: var(--sans); font-weight: 700; font-size: 0.78rem; letter-spacing: 0; border-radius: 2px; transform: translateY(2px); }
.brand:hover { color: var(--ink); }
.brand:hover .brand__mark { background: var(--accent); color: #fff; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__link { font-size: 0.92rem; color: var(--ink-soft); position: relative; padding-block: 4px; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--accent); transition: width 0.25s var(--ease); }
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { width: 100%; }
.nav__link[aria-current="page"] { color: var(--ink); }
.nav__link[aria-current="page"]::after { width: 100%; background: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line-strong); background: transparent; border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform 0.25s var(--ease), opacity 0.2s var(--ease); }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 880px) {
  .nav, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header__inner.is-open .nav {
    display: flex; position: fixed; inset: 64px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 6px;
    padding: 24px var(--gutter) 36px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav__link { font-size: 1.15rem; padding-block: 10px; }
  .nav-cta { display: flex; gap: 10px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C9C5BD; padding-block: clamp(56px, 7vw, 96px) 32px; }
.site-footer a { color: #C9C5BD; }
.site-footer a:hover { color: #fff; }
.site-footer__top { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 64px); padding-bottom: 48px; border-bottom: 1px solid #2A2A2A; }
@media (min-width: 760px) { .site-footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer__brand { font-family: var(--serif); font-size: 1.6rem; color: #fff; margin-bottom: 14px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 0.82rem; color: #8A8780; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(56px, 8vw, 120px) clamp(40px, 6vw, 80px); }
.hero__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.hero__meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }
.hero__title { max-width: 16ch; }
.hero__lede { max-width: 52ch; margin-top: 0.6em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__figure { margin-top: clamp(40px, 6vw, 72px); position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 16 / 9; background: #ddd; }
.hero__figure img { width: 100%; height: 100%; object-fit: cover; }
.hero__caption { position: absolute; left: 18px; bottom: 18px; background: rgba(247, 245, 240, 0.92); color: var(--ink); padding: 8px 12px; font-size: 0.78rem; letter-spacing: 0.04em; border-radius: 2px; }

/* ---------- Cards ---------- */
.card { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card__media { aspect-ratio: 4 / 3; background: #e8e6df; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__kicker { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.card__title { font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
.card__title a:hover { color: var(--accent); }
.card__text { color: var(--muted); font-size: 0.94rem; margin: 0; }
.card__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card--plain { background: transparent; border: 1px solid var(--line); }
.card--plain:hover { background: var(--bg-elev); }

/* ---------- Feature / spec list ---------- */
.spec-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.spec-list li { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.spec-list li span:first-child { color: var(--muted); }
.spec-list li span:last-child { color: var(--ink); font-weight: 500; text-align: right; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before { content: "+"; color: var(--accent); font-family: var(--serif); font-size: 1.2rem; line-height: 1.2; flex-shrink: 0; }

/* ---------- Pull / quote ---------- */
.pullquote { border-left: 2px solid var(--accent); padding-left: clamp(20px, 3vw, 32px); font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.3; color: var(--ink); margin: 0; }
.pullquote cite { display: block; margin-top: 16px; font-family: var(--sans); font-size: 0.85rem; font-style: normal; color: var(--muted); letter-spacing: 0.04em; }

/* ---------- Testimonial ---------- */
.testimonial { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.testimonial__quote { font-family: var(--serif); font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.4; margin: 0; color: var(--ink); }
.testimonial__meta { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testimonial__avatar { width: 44px; height: 44px; border-radius: 50%; background: #ddd; overflow: hidden; flex-shrink: 0; }
.testimonial__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial__name { font-weight: 600; font-size: 0.95rem; }
.testimonial__role { color: var(--muted); font-size: 0.82rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 22px; max-width: 640px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.02em; color: var(--ink-soft); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--bg-elev); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 12px 14px; width: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20,20,20,0.06); }
.field--invalid input, .field--invalid select, .field--invalid textarea { border-color: var(--accent); }
.field__error { color: var(--accent-deep); font-size: 0.82rem; min-height: 1em; }
.form__row { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.form__status { padding: 14px 16px; border-radius: var(--radius); font-size: 0.92rem; border: 1px solid transparent; }
.form__status--ok { background: #E8F4EC; border-color: #BFE3CB; color: #1B5E2A; }
.form__status--err { background: #FBE9E6; border-color: #F3C9C2; color: #8C1F0F; }
.form__hint { color: var(--muted); font-size: 0.82rem; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(20px);
  width: min(720px, calc(100% - 32px));
  background: var(--ink); color: #EAE7DF;
  border-radius: var(--radius-lg); padding: 20px 22px;
  display: grid; grid-template-columns: 1fr; gap: 16px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.4);
  z-index: 80; opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.cookie-banner.is-visible { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.cookie-banner p { margin: 0; font-size: 0.9rem; line-height: 1.5; color: #C9C5BD; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 620px) { .cookie-banner { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- Article / prose ---------- */
.prose { max-width: 70ch; }
.prose p, .prose ul, .prose ol { color: var(--ink-soft); }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose img { border-radius: var(--radius-lg); margin-block: 1.4em; }
.article-head { padding-block: clamp(48px, 7vw, 96px) clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.82rem; color: var(--muted); margin-bottom: 24px; }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }

/* ---------- Misc ---------- */
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--line-strong); border-radius: 100px; font-size: 0.74rem; color: var(--muted); letter-spacing: 0.02em; }
.tag--accent { color: var(--accent); border-color: var(--accent); background: rgba(229,57,31,0.06); }
.kpi-row { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 640px) { .kpi-row { grid-template-columns: repeat(3, 1fr); } }
.kpi { background: var(--bg-elev); padding: clamp(20px, 2.4vw, 28px); }
.kpi__num { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; letter-spacing: -0.02em; }
.kpi__label { color: var(--muted); font-size: 0.85rem; margin-top: 8px; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 0.82rem; color: var(--muted); margin-bottom: 28px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--line-strong); }

.page-hero { padding-block: clamp(48px, 6vw, 80px) clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.page-hero__lede { max-width: 56ch; }

.notice { background: #FBF6E9; border: 1px solid #E8DFA8; color: #5C4A12; padding: 14px 16px; border-radius: var(--radius); font-size: 0.9rem; }
.notice a { color: #5C4A12; text-decoration: underline; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound__code { font-family: var(--serif); font-size: clamp(6rem, 18vw, 14rem); line-height: 1; letter-spacing: -0.04em; color: var(--accent); }









