/* M&M Autoglas Duisburg — site stylesheet
   Flattened from the Claude Design export (see /design/README.md).
   Theme: "Anthrazit" (fixed — no runtime theme switcher on the production site). */

:root {
  --bg: #1b1c1f;
  --surf: #24262b;
  --foot: #16171a;
  --line: #34363c;
  --line2: #3e4147;
  --line3: #2a2c31;
  --outl: #4a4d54;
  --text: #eceef1;
  --mut: #c4c8ce;
  --mut2: #9ba1a9;
  --mut3: #7c828a;
  --mut4: #5d626a;
  --head: #ffffff;
  --hdr: rgba(27, 28, 31, 0.92);
  --acc: #e8352c;
  --acc-h: color-mix(in oklch, #e8352c 80%, white);
  --on-acc: #ffffff;
}

/* ---------- Fonts (self-hosted, latin subset only — covers ä ö ü ß) ---------- */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/barlow-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/barlow-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/barlow-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/barlow-condensed-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/barlow-condensed-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/barlow-condensed-700.woff2') format('woff2');
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Barlow, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--acc); text-decoration: none; }
a:hover, a:focus-visible { color: var(--acc-h); }
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: 'Barlow Condensed', sans-serif; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--acc);
  color: var(--on-acc);
  padding: 12px 20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.skip-link:focus { left: 12px; top: 12px; }

.page {
  max-width: 100%;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--hdr);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.brand { display: flex; flex-direction: column; line-height: 0.92; color: var(--head); }
.brand__name { font-weight: 700; font-size: 30px; letter-spacing: 0.02em; }
.brand__sub { font-weight: 600; font-size: 13px; letter-spacing: 0.34em; color: var(--acc); }

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-nav a { color: var(--mut); }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="page"] { color: var(--head); }
.site-nav .nav-cta { background: var(--acc); color: var(--on-acc); padding: 11px 20px; letter-spacing: 0.1em; }
.site-nav .nav-cta:hover, .site-nav .nav-cta:focus-visible { background: var(--acc-h); color: var(--on-acc); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex: none;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--head); }

@media (max-width: 760px) {
  .site-header__inner { position: relative; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--hdr);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    padding: 10px 20px 20px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 2px; border-bottom: 1px solid var(--line3); }
  .site-nav .nav-cta { text-align: center; margin-top: 8px; border-bottom: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 30px;
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn-primary { background: var(--acc); color: var(--on-acc); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--acc-h); color: var(--on-acc); }
.btn-outline { border: 1px solid var(--outl); color: var(--text); background: transparent; }
.btn-outline:hover, .btn-outline:focus-visible { border-color: var(--text); color: var(--head); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; border-bottom: 1px solid var(--line); }
.hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) 20px clamp(44px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--acc);
  border: 1px solid #3a1f1e;
  padding: 8px 14px;
  margin-bottom: 26px;
}
.hero h1 {
  font-weight: 700;
  font-size: clamp(40px, 8vw, 76px);
  line-height: 0.95;
  margin: 0 0 22px;
  color: var(--head);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.hero .lead { font-size: 19px; line-height: 1.6; color: var(--mut); margin: 0 0 14px; max-width: 52ch; text-wrap: pretty; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero__media { position: relative; }
.hero__frame { position: absolute; inset: 16px -16px -16px 16px; border: 1px solid var(--line2); }
.hero__media img {
  position: relative;
  width: 100%;
  height: clamp(240px, 42vw, 520px);
  object-fit: cover;
  filter: saturate(0.95) contrast(1.04);
}

/* ---------- USP strip ---------- */
.usp { border-bottom: 1px solid var(--line); background: var(--surf); }
.usp__grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
}
.usp__item { padding: clamp(22px, 3vw, 34px) 26px; border-right: 1px solid var(--line); }
.usp__item:first-child { padding-left: 0; padding-bottom: 34px; }
.usp__item:last-child { border-right: none; padding-right: 0; padding-bottom: 34px; }
.usp__value { font-weight: 700; font-size: clamp(26px, 4vw, 38px); color: var(--head); line-height: 1; }
.usp__label { font-size: 15px; color: var(--mut2); margin-top: 6px; }

/* ---------- Generic section scaffolding ---------- */
.section { border-bottom: 1px solid var(--line); }
.section--surf { background: var(--surf); }
.section__inner { max-width: 1200px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) 20px; }
.kicker {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 16px;
}
.section-title { font-weight: 700; font-size: clamp(30px, 5.5vw, 48px); line-height: 1.02; margin: 0; color: var(--head); }
.section-lead { max-width: 70ch; }
.section-lead p { font-size: 18px; line-height: 1.65; color: var(--mut); margin: 0; text-wrap: pretty; }

/* Leistungen: two-col intro + three cards */
.intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
  margin-bottom: 60px;
}
.intro-grid p { font-size: 18px; line-height: 1.65; color: var(--mut); margin: 0 0 14px; text-wrap: pretty; }
.intro-grid p:last-child { color: var(--mut2); margin-bottom: 0; }

.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 24px; }
.card { border: 1px solid var(--line); background: var(--surf); padding: clamp(22px, 3vw, 32px) clamp(20px, 2.6vw, 28px) clamp(24px, 3vw, 34px); }
.card__num { font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 0.2em; color: var(--mut4); margin-bottom: 18px; }
.card h3 { font-weight: 700; font-size: 28px; margin: 0 0 20px; color: var(--head); }
.card ul { display: flex; flex-direction: column; gap: 11px; font-size: 16px; line-height: 1.5; color: var(--mut); }

/* Pflege: article tiles */
.pflege-intro { max-width: 70ch; margin-bottom: 52px; }
.pflege-intro h2 { margin: 0 0 18px; }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); gap: 24px; }
.tile { border: 1px solid var(--line); background: var(--bg); }
.tile img { width: 100%; height: 200px; object-fit: cover; }
.tile__body { padding: clamp(20px, 2.6vw, 26px) 26px 30px; }
.tile__body h3 { font-weight: 700; font-size: 24px; margin: 0 0 12px; color: var(--head); }
.tile__body p { font-size: 16px; line-height: 1.6; color: var(--mut); margin: 0 0 14px; }
.tile__body ul { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--mut2); }

/* Über uns: split image/text */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}
.split p { font-size: 18px; line-height: 1.65; color: var(--mut); margin: 0 0 14px; text-wrap: pretty; }
.split p:last-child { color: var(--mut2); margin-bottom: 0; }
.split img { width: 100%; height: auto; border: 1px solid var(--line); }

/* Partner */
.partner-intro { max-width: 70ch; margin-bottom: 44px; }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 24px; }
.partner-card {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: clamp(22px, 3vw, 30px);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 26px;
}
.partner-card:hover, .partner-card:focus-visible { border-color: var(--acc); }
.partner-card img { width: clamp(64px, 18vw, 104px); height: clamp(64px, 18vw, 104px); object-fit: contain; flex: none; }
.partner-card__name { font-weight: 700; font-size: 26px; color: var(--head); }
.partner-card__url { font-size: 16px; color: var(--mut2); margin-top: 4px; }

/* ---------- Info grid (Kontakt cards) ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.info-cell { background: var(--surf); padding: clamp(20px, 2.6vw, 26px); }
.info-cell__label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mut2);
  margin-bottom: 10px;
}
.info-cell__value { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 28px; }
.info-cell__value--sm { font-size: 26px; }
.info-cell__text { font-size: 18px; color: var(--text); line-height: 1.45; }
.info-cell__text .muted { color: var(--mut2); }

/* Kontakt teaser card (home) */
.cta-card { border: 1px solid var(--line); background: var(--surf); padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.cta-card h3 { font-weight: 700; font-size: 30px; margin: 0; color: var(--head); }
.cta-card p { font-size: 17px; line-height: 1.6; color: var(--mut); margin: 0; }

.kontakt-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: clamp(28px, 4.5vw, 64px); }

/* ---------- Contact form page ---------- */
.page-header { max-width: 1200px; margin: 0 auto; padding: clamp(40px, 6vw, 76px) 20px clamp(48px, 7vw, 90px); }
.page-header--narrow { max-width: 1000px; }
.page-header .kicker { margin-bottom: 16px; }
.page-header h1 { font-weight: 700; font-size: clamp(32px, 6.5vw, 56px); line-height: 1; margin: 0 0 20px; color: var(--head); }
.page-header .lead { font-size: 18px; line-height: 1.65; color: var(--mut); margin: 0 0 52px; max-width: 75ch; text-wrap: pretty; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: clamp(26px, 4vw, 56px); align-items: start; }
.route-link { font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 17px; letter-spacing: 0.12em; text-transform: uppercase; }

.contact-form-card { border: 1px solid var(--line); background: var(--surf); padding: clamp(22px, 3vw, 36px); }
.contact-form-card h2 { font-weight: 700; font-size: clamp(24px, 3.4vw, 32px); margin: 0 0 8px; color: var(--head); }
.contact-form-card > p { font-size: 15px; color: var(--mut2); margin: 0 0 26px; }

form.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--mut); }
.field input, .field select, .field textarea {
  background: var(--bg);
  border: 1px solid var(--line2);
  color: var(--head);
  padding: 13px 14px;
  font-family: Barlow, sans-serif;
  font-size: 16px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--acc); outline: none; }

.consent-field { display: flex; gap: 11px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--mut2); }
.consent-field input { margin-top: 3px; accent-color: var(--acc); flex: none; }

.form-note { font-size: 12px; color: var(--mut3); }
.form-alert {
  border: 1px solid #2c4a2b;
  background: #111a11;
  color: #8fd18a;
  font-size: 15px;
  padding: 14px 16px;
  display: none;
}
.form-alert--error { border-color: #4a2b2b; background: #1a1111; color: #d18a8a; }
.form-alert.is-visible { display: block; }

.cf-turnstile { margin: 2px 0; }

/* honeypot — hidden from real users, present for bots */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Legal pages (Impressum / Datenschutz) ---------- */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.legal-sections { display: flex; flex-direction: column; gap: 42px; }
.legal-sections h2 { font-weight: 700; font-size: 24px; margin: 0; color: var(--head); }
.legal-sections .legal-body { font-size: 17px; line-height: 1.65; color: var(--mut); }
.legal-sections .legal-body p { margin: 0 0 16px; }
.legal-sections .legal-body p:last-child { margin-bottom: 0; }
.legal-sections .legal-body ul { display: flex; flex-direction: column; gap: 12px; color: var(--mut2); }
.legal-sections .legal-body ul .hl { color: var(--text); }
.legal-footnote { font-size: 15px; line-height: 1.65; color: var(--mut3); margin: 34px 0 0; max-width: 80ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--foot); }
.site-footer--full { }
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 56px) 20px 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 40px;
}
.footer-brand { display: flex; flex-direction: column; line-height: 0.92; margin-bottom: 16px; }
.footer-brand__name { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 30px; color: var(--head); }
.footer-brand__sub { font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 0.34em; color: var(--acc); }
.footer-desc { font-size: 15px; line-height: 1.6; color: var(--mut2); margin: 0; max-width: 40ch; }
.footer-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mut3);
  margin-bottom: 16px;
}
.footer-list { display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: var(--mut); }
.footer-list a { color: var(--mut); }
.footer-list a:hover, .footer-list a:focus-visible { color: var(--head); }

.site-footer--sub { border-top: 1px solid var(--line3); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 20px 14px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--mut3);
}
.site-footer--full .footer-bottom { border-top: 1px solid var(--line3); }
.footer-bottom__links { display: flex; gap: 22px; }
.footer-bottom a { color: var(--mut2); }
.footer-bottom a:hover, .footer-bottom a:focus-visible { color: var(--head); }
.footer-credit {
  text-align: center;
  padding: 0 20px 36px;
  font-size: 13px;
  color: var(--mut3);
}
.footer-credit a { color: var(--mut2); }
.footer-credit a:hover, .footer-credit a:focus-visible { color: var(--head); }

/* ---------- 404 ---------- */
.error-page { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 20px; }
.error-page h1 { font-size: clamp(60px, 12vw, 140px); margin: 0; color: var(--head); line-height: 1; }
.error-page p { font-size: 18px; color: var(--mut); margin: 16px 0 32px; }
