/* In Flames Charcoal – inflames.de
   Farben und Schriften laut Logo-Guide (copo branding) */

@font-face {
  font-family: 'Playfair Display';
  font-weight: 400;
  font-display: swap;
  src: url(../schriften/playfair-display.woff2) format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-weight: 400 600;
  font-display: swap;
  src: url(../schriften/montserrat.woff2) format('woff2');
}
@font-face {
  font-family: 'Saira Expanded';
  font-weight: 600;
  font-display: swap;
  src: url(../schriften/saira-expanded-600.woff2) format('woff2');
}

:root {
  --sand: #ccc4b8;
  --glut: #de3711;
  --fels: #383833;
  --nacht: #1e1e1a;
  --tief: #161613;
  --text: #ccc4b8;
  --text-leise: #9d968b;
  --linie: rgba(204, 196, 184, .16);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --breit: 'Saira Expanded', 'Montserrat', system-ui, sans-serif;
  --rand: clamp(16px, 5vw, 64px);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--nacht);
  color: var(--text);
  font: 400 1rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; }
p { margin: 0; }

.huelle { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--rand); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.kicker {
  font: 600 .72rem/1.4 var(--breit);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--glut);
}

/* Buttons */
.knopf {
  display: inline-flex; align-items: center; gap: .7em;
  padding: 1em 1.8em;
  font: 600 .74rem/1 var(--breit);
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--nacht);
  background: var(--sand);
  border: 1px solid var(--sand);
  transition: background .2s, color .2s, border-color .2s;
}
.knopf:hover, .knopf:focus-visible { background: var(--glut); border-color: var(--glut); color: #fff; }
.knopf--rand { background: transparent; color: var(--sand); }
.knopf--rand:hover, .knopf--rand:focus-visible { background: var(--sand); border-color: var(--sand); color: var(--nacht); }
.knopf svg { width: 1.1em; height: 1.1em; flex: none; }
a:focus-visible, .knopf:focus-visible { outline: 2px solid var(--glut); outline-offset: 3px; }

/* Kopf */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.kopf.ist-gescrollt { background: rgba(22, 22, 19, .92); backdrop-filter: blur(8px); border-color: var(--linie); }
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.kopf__logo img { width: 190px; }
.kopf nav { display: flex; align-items: center; gap: 32px; }
.kopf nav a:not(.knopf) {
  font: 500 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--text-leise); transition: color .2s;
}
.kopf nav a:not(.knopf):hover { color: var(--sand); }
.kopf .knopf { padding: .85em 1.3em; }

/* Bühne */
.buehne {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  padding: 110px var(--rand) clamp(40px, 7vh, 80px);
  background: var(--tief) url(../bilder/hero.jpg) center bottom / cover no-repeat;
  overflow: hidden;
}
.buehne::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(to bottom, rgba(30, 30, 26, 0), var(--nacht));
  pointer-events: none;
}
.buehne > * { position: relative; z-index: 1; }
/* Aufsteigende Glut auf allen Seiten (js/seite.js legt die Ebene an) */
.glut { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; mix-blend-mode: screen; }
.buehne__logo { margin: 0 0 clamp(20px, 4vh, 36px); }
.buehne__logo img { width: clamp(200px, 26vw, 320px); margin: 0 auto; }
.buehne__claim {
  font: 600 clamp(.8rem, 1.6vw, 1.05rem)/1.7 var(--breit);
  letter-spacing: .24em; text-transform: uppercase; color: var(--glut);
  margin-bottom: 28px;
}
.buehne__knoepfe { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.buehne__pfeil {
  margin-top: 40px; width: 1px; height: 48px; background: linear-gradient(var(--sand), transparent);
  animation: atmen 2.4s ease-in-out infinite;
}
@keyframes atmen { 50% { opacity: .3; transform: translateY(6px); } }

/* Abschnitte */
.abschnitt { padding: clamp(72px, 12vw, 140px) 0; }
.abschnitt__kopf { max-width: 640px; margin-bottom: clamp(40px, 6vw, 64px); }
.abschnitt__kopf h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-top: 16px; letter-spacing: .01em; }
.abschnitt__kopf p:not(.kicker) { margin-top: 20px; color: var(--text-leise); font-size: 1.05rem; }

/* Produkt */
.produkt { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.produkt__bild { position: relative; }
.produkt__bild::before {
  content: ''; position: absolute; inset: 10% 5% 15%;
  background: radial-gradient(closest-side, rgba(222, 55, 17, .22), transparent);
  filter: blur(20px);
}
.produkt__bild img { position: relative; width: 100%; }
.produkt h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin: 16px 0 20px; }
.produkt__text > p:not(.kicker) { color: var(--text-leise); font-size: 1.05rem; }
.daten { margin: 32px 0 36px; border-top: 1px solid var(--linie); }
.daten div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--linie); }
.daten dt { color: var(--text-leise); font-size: .92rem; }
.daten dd { margin: 0; text-align: right; font-weight: 500; }
.preis { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; }
.preis strong { font: 400 2.4rem/1 var(--serif); color: var(--sand); }
.preis span { color: var(--text-leise); font-size: .85rem; }

/* Eigenschaften */
.vorteile { background: var(--tief); border-block: 1px solid var(--linie); }
.raster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--linie); border: 1px solid var(--linie); }
.karte { background: var(--tief); padding: clamp(28px, 3.4vw, 44px) clamp(22px, 2.6vw, 32px); }
.karte__zahl { font: 400 2.8rem/1 var(--serif); color: var(--glut); }
.karte h3 { font: 600 .78rem/1.5 var(--breit); letter-spacing: .18em; text-transform: uppercase; margin: 22px 0 12px; color: var(--sand); }
.karte p { color: var(--text-leise); font-size: .95rem; }

/* Anwendung */
.schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); counter-reset: s; }
.schritte li { counter-increment: s; border-top: 1px solid var(--glut); padding-top: 24px; }
.schritte li::before {
  content: '0' counter(s); display: block;
  font: 600 .74rem/1 var(--breit); letter-spacing: .2em; color: var(--glut); margin-bottom: 18px;
}
.schritte h3 { font-size: 1.5rem; margin-bottom: 12px; }
.schritte p { color: var(--text-leise); }

.hinweis {
  margin-top: clamp(48px, 7vw, 72px);
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px clamp(20px, 3vw, 32px);
  border: 1px solid var(--linie); background: rgba(56, 56, 51, .35);
}
.hinweis svg { flex: none; width: 26px; height: 26px; color: var(--glut); margin-top: 2px; }
.hinweis strong { display: block; font: 600 .74rem/1.5 var(--breit); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 6px; }
.hinweis p { color: var(--text-leise); font-size: .95rem; }

/* Marke */
.marke { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.marke__logo { display: flex; justify-content: center; padding: clamp(40px, 6vw, 72px); border: 1px solid var(--linie); }
.marke__logo img { width: min(280px, 100%); }
.marke p:not(.kicker) + p { margin-top: 18px; }
.marke p:not(.kicker) { color: var(--text-leise); font-size: 1.05rem; }
.marke h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin: 16px 0 24px; }

/* B2B & Anfrageformular */
.b2b { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.b2b h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin: 16px 0 20px; }
.b2b__text { color: var(--text-leise); font-size: 1.05rem; }
.haken { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 12px; }
.haken li { position: relative; padding-left: 26px; }
.haken li::before { content: ''; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--glut); transform: rotate(45deg); }
.b2b__kontakt { color: var(--text-leise); font-size: .95rem; }
.b2b__kontakt a { color: var(--sand); text-underline-offset: 3px; }
.formular { background: var(--tief); border: 1px solid var(--linie); padding: clamp(22px, 3.4vw, 40px); display: grid; gap: 16px; }
.formular h3 { font-size: 1.7rem; }
.formular__hinweis { font-size: .82rem; color: var(--text-leise); }
.feldpaar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feld { display: grid; gap: 6px; }
.feld label { font-size: .78rem; font-weight: 500; letter-spacing: .06em; color: var(--sand); }
.feld input, .feld select, .feld textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--sand); background: #0f0f0d;
  border: 1px solid rgba(204, 196, 184, .28); padding: 12px 14px; border-radius: 0;
}
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: 2px solid var(--glut); outline-offset: 0; border-color: transparent; }
.feld [aria-invalid="true"] { border-color: var(--glut); }
.formular__fehler { color: #ff9b78; font-size: .9rem; }
.formular .knopf { justify-self: start; cursor: pointer; }
.knopf--rand { background: transparent; color: var(--sand); }
.kopf nav a { white-space: nowrap; }
@media (max-width: 1100px) { .kopf nav { gap: 22px; } .kopf nav a:not(.knopf) { display: none; } }
@media (max-width: 640px) { .kopf nav { gap: 8px; } .kopf nav .knopf { padding: .8em .9em; letter-spacing: .1em; font-size: .64rem; } }
@media (max-width: 380px) { .kopf nav .knopf--rand { display: none; } }

/* Shop-Band */
.band {
  position: relative; text-align: center;
  padding: clamp(96px, 16vw, 180px) var(--rand) clamp(72px, 10vw, 120px);
  background: var(--nacht) url(../bilder/berge.jpg) center bottom / cover no-repeat;
}
.band::before { content: ''; position: absolute; inset: 0; background: linear-gradient(var(--nacht), rgba(30, 30, 26, .35) 45%, rgba(22, 22, 19, .85)); }
.band > * { position: relative; }
.band h2 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); margin: 18px auto 20px; max-width: 760px; }
.band p:not(.kicker) { color: var(--text-leise); max-width: 520px; margin: 0 auto 36px; }

/* Fuß */
.fuss { background: var(--tief); border-top: 1px solid var(--linie); padding: 48px 0 40px; font-size: .88rem; color: var(--text-leise); }
.fuss .huelle { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.fuss img { width: 150px; opacity: .85; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.fuss nav a { text-decoration: none; }
.fuss nav a:hover { color: var(--sand); }
.fuss__klein { width: 100%; padding-top: 24px; border-top: 1px solid var(--linie); font-size: .8rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* Rechtstexte */
.recht { padding: 140px 0 96px; }
.recht .huelle { max-width: 820px; }
.recht h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin: 16px 0 40px; }
.recht h2 { font-size: 1.45rem; margin: 44px 0 14px; }
.recht h3 { font: 600 .76rem/1.5 var(--breit); letter-spacing: .16em; text-transform: uppercase; margin: 28px 0 10px; }
.recht p:not(.kicker), .recht li { color: var(--text-leise); }
.recht p + p { margin-top: 12px; }
.recht ul { padding-left: 1.2em; margin: 12px 0; }
.recht a { color: var(--sand); text-underline-offset: 3px; }
.recht address { font-style: normal; color: var(--sand); }
.offen { background: rgba(222, 55, 17, .18); color: #fff; padding: 0 .3em; }

/* Einblenden */
@media (prefers-reduced-motion: no-preference) {
  .zeigen { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
  .zeigen.ist-da { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .buehne__pfeil { animation: none; }
}

/* Tablet und Handy */
@media (max-width: 960px) {
  .raster { grid-template-columns: repeat(2, 1fr); }
  .produkt, .marke, .b2b { grid-template-columns: 1fr; }
  .marke__logo { order: 2; }
  .kopf nav a:not(.knopf) { display: none; }
}
@media (max-width: 640px) {
  .buehne { background-image: url(../bilder/hero-mobil.jpg); background-position: center bottom; }
  .kopf .huelle { height: 64px; }
  .kopf__logo img { width: 150px; }
  .kopf .knopf { padding: .8em 1em; letter-spacing: .14em; }
  .raster, .schritte, .feldpaar { grid-template-columns: 1fr; }
  .buehne__knoepfe .knopf { width: 100%; justify-content: center; }
  .fuss .huelle { flex-direction: column; align-items: flex-start; }
}
