/* FEUERMEISTER – Landingpage, Layout A „Markenbühne“ (freigegeben 17.11.2026).
   Vorlage: entwurf/layout-vorschlaege.html, Variante A. Keine externen Quellen. */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-800-normal.woff2") format("woff2"); }

:root {
  --fm-red: #e52427; --fm-red-dark: #b81c1f; --fm-ink: #272527; --fm-ash: #e8e7e8;
  --fm-paper: #fafafa; --fm-grey: #5f5f5f; --fm-gold: #ffbd5d;
  --display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --text: "Inter", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 16px/1.6 var(--text); color: var(--fm-ink); background: var(--fm-paper); }
img { max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--fm-red); outline-offset: 2px; }
.dunkel a:focus-visible, .rot a:focus-visible { outline-color: #fff; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: #fff; color: var(--fm-ink); padding: 10px 16px; border-radius: 6px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 24px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 32px; width: auto; display: block; }
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 1rem var(--display); text-decoration: none;
  background: var(--fm-red); color: #fff; padding: 13px 22px; border-radius: 6px; }
.btn:hover { background: var(--fm-red-dark); }
.btn.ghost { background: transparent; border: 2px solid currentColor; color: inherit; padding: 11px 20px; }
.btn.ghost:hover { background: rgba(255,255,255,.1); }
.ext::after { content: "\2197"; font-size: 0.9em; }
.eyebrow { font: 600 0.78rem var(--text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--fm-red); margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h2 { font: 700 clamp(1.5rem, 3.2vw, 2.1rem)/1.2 var(--display); margin: 4px 0 12px; }
h3 { font: 600 1.1rem/1.3 var(--display); margin: 0; }
.hint { font-size: 0.875rem; color: var(--fm-grey); }

/* Kopf */
.kopf { background: var(--fm-ink); color: #fff; }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; flex-wrap: wrap; }
.kopf nav { display: flex; gap: 22px; font-size: 0.92rem; }
.kopf nav a { text-decoration: none; opacity: .85; }
.kopf nav a:hover { opacity: 1; text-decoration: underline; }

/* Einstieg */
.hero { background: radial-gradient(70% 120% at 85% 110%, rgba(229,36,39,.6), transparent 60%), var(--fm-ink); color: #fff; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-block: 60px 68px; }
.hero .eyebrow { color: var(--fm-gold); }
.hero h1 { font: 800 clamp(2rem, 5vw, 3.4rem)/1.05 var(--display); margin: 10px 0 16px; }
.hero p { color: #dcd9dc; max-width: 46ch; margin: 0 0 26px; }
.hero-img { width: 100%; height: 360px; object-fit: cover; object-position: 0% 50%; border-radius: 8px; display: block; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Vertrauenszeile */
.trust { background: var(--fm-red); color: #fff; }
.trust ul { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-block: 18px; }
.trust li { font: 600 0.95rem var(--display); display: flex; gap: 8px; align-items: center; }
.trust li::before { content: ""; width: 8px; height: 8px; background: #fff; transform: rotate(45deg); flex: none; }

/* Produktwelt */
.kat { padding-block: 64px; scroll-margin-top: 12px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 24px 0 0; padding: 0; list-style: none; }
.tile { display: grid; grid-template-rows: auto 1fr; height: 100%; background: #fff; border: 1px solid var(--fm-ash); border-radius: 8px; overflow: hidden; text-decoration: none; }
.tile img { width: 100%; height: 200px; object-fit: cover; display: block; }
.tile div { padding: 16px 18px 18px; display: grid; gap: 6px; align-content: start; }
.tile p { margin: 0; font-size: 0.92rem; color: var(--fm-grey); }
.tile .go { font: 600 0.9rem var(--display); color: var(--fm-red-dark); }
.tile:hover { border-color: var(--fm-red); }
.tile:hover h3 { text-decoration: underline; }

/* Über uns + Kontakt */
.about { background: var(--fm-ash); padding-block: 56px; scroll-margin-top: 12px; }
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-img { width: 100%; height: 100%; min-height: 320px; max-height: 460px; object-fit: cover; border-radius: 8px; display: block; }
.about-text { display: grid; gap: 14px; }
.about-text p { margin: 0; }
.box { background: #fff; border-left: 4px solid var(--fm-red); padding: 20px 22px; border-radius: 0 8px 8px 0; display: grid; gap: 8px; scroll-margin-top: 12px; }
.box p { margin: 0; }

/* Fuß */
.legal { background: var(--fm-ink); color: #c9c6c9; font-size: 0.88rem; }
.legal .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; padding-block: 28px; }
.legal nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.legal a { color: #fff; }

/* Unterseiten (Impressum, Datenschutz, 404) */
.text { max-width: 760px; padding-block: 48px 64px; }
.text h1 { font: 700 clamp(1.8rem, 4vw, 2.4rem)/1.15 var(--display); margin: 0 0 24px; }
.text h2 { font-size: 1.3rem; margin-top: 32px; }
.text address { font-style: normal; }
.text dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; }
.text dt { font-weight: 600; }
.text dd { margin: 0; }
.text .actions { margin-top: 24px; }
/* Vor Livegang zu klären – tools/site-pruefen.py meldet jede Stelle */
mark.offen { background: #fff3b0; color: var(--fm-ink); outline: 2px dashed #b88a00; padding: 0 4px; }

@media (max-width: 760px) {
  .wrap { padding-inline: 16px; }
  .kopf nav { display: none; }
  .hero .wrap, .about .wrap { grid-template-columns: 1fr; gap: 24px; padding-block: 32px 40px; }
  /* 4:3 statt Breitbild: blendet den Schriftzug rechts im Foto aus */
  .hero-img { height: auto; aspect-ratio: 4 / 3; order: -1; }
  /* ganzes Kachelbild zeigen, sonst wird Text im Bild halb abgeschnitten */
  .tile img { height: auto; aspect-ratio: 3 / 2; }
  .about-img { min-height: 220px; max-height: 260px; }
  .trust ul { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr; }
  .kat { padding-block: 40px; }
  .text dl { grid-template-columns: 1fr; }
  .text dd { margin-bottom: 8px; }
}
@media (min-width: 761px) and (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
