/* Constructly Lead-Landingpage. Eigenständig, keine Abhängigkeit zur Hauptseite.
   Design-Sprache der Werkhalle: Ink, Papier, Orange, Inter, runde Pillen. */

@font-face {
  font-family: "Inter";
  src: url("assets/inter-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #121213;
  --ink-2: #1A1A1C;
  --paper: #FFFFFF;
  --paper-2: #F5F5F4;
  --txt: #1C1C1E;
  --txt-soft: #63636B;
  --inv-soft: rgba(255, 255, 255, .72);
  --accent: #FF5C0A;
  --r: 16px;
  --r-lg: 24px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: #fff;
  font: 400 1rem/1.6 "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.015em; margin: 0; }

/* ---------- Kopf: nur Logo und Telefon, keine Ausgänge ---------- */
.kopf {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .9rem var(--gutter); max-width: 74rem; margin-inline: auto;
}
.kopf img { height: 46px; width: auto; }
.kopf-tel { color: var(--inv-soft); text-decoration: none; font-size: .88rem; text-align: right; }
.kopf-tel b { color: #fff; white-space: nowrap; }
.kopf-tel:hover b { color: var(--accent); }

/* ---------- Held mit Formular ---------- */
.held { padding: clamp(1.2rem, 4vw, 3.5rem) var(--gutter) clamp(2rem, 5vw, 4rem); }
.spalten { max-width: 74rem; margin-inline: auto; display: grid; gap: 2rem; }
@media (min-width: 960px) {
  .held .spalten { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
}
h1 { font-size: clamp(1.9rem, 1.3rem + 3.4vw, 3.4rem); font-weight: 800; }
h1 em { font-style: normal; color: var(--accent); }
.unterzeile { color: var(--inv-soft); font-size: clamp(1rem, .95rem + .4vw, 1.18rem); max-width: 34rem; margin: 1rem 0 1.2rem; }
.garantie-pille {
  background: var(--ink-2); border: 1px solid rgba(255, 92, 10, .45); border-radius: 14px;
  padding: .8em 1em; font-size: .95rem; color: var(--inv-soft); max-width: 34rem; margin: 0 0 1.4rem;
}
.garantie-pille b { color: #fff; }

.stempel-reihe { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.stempel-reihe li {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px; padding: .55em .9em;
}
.stempel-reihe b { display: block; font-size: 1.05rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.stempel-reihe span { font-size: .74rem; color: var(--inv-soft); }

/* Formular-Karte */
.formular-karte {
  background: var(--paper); color: var(--txt); border-radius: var(--r-lg);
  padding: clamp(1.2rem, 3vw, 1.8rem); box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.formular-karte h2 { font-size: 1.35rem; }
.formular-satz { color: var(--txt-soft); font-size: .93rem; margin: .5rem 0 1.1rem; }
form label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .85rem; }
form input {
  display: block; width: 100%; margin-top: .3rem;
  font: inherit; font-size: 1rem; color: var(--txt);
  background: var(--paper-2); border: 1.5px solid #E3E3E0; border-radius: 12px;
  padding: .8em .9em; transition: border-color .15s ease;
}
form input:focus { outline: none; border-color: var(--accent); }
.hp-feld { position: absolute; left: -9999px; top: -9999px; }

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  width: 100%; border: 0; cursor: pointer; text-decoration: none;
  background: var(--accent); color: #fff; font: 700 1.05rem/1.2 "Inter", sans-serif;
  border-radius: 999px; padding: 1em 1.4em;
  box-shadow: 0 8px 22px rgba(255, 92, 10, .35);
  position: relative; z-index: 0;
  transition: transform .15s ease, background .15s ease;
}
.knopf:hover { background: #F55405; transform: translateY(-1px); }
.knopf::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  border: 2.5px solid var(--accent); box-shadow: 0 0 14px rgba(255, 92, 10, .55); opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .knopf::before { animation: puls 2.1s cubic-bezier(.15, .6, .3, 1) infinite; }
}
@keyframes puls {
  0% { transform: scale(1, 1); opacity: .95; }
  75%, 100% { transform: scale(1.07, 1.32); opacity: 0; }
}
.klein { font-size: .74rem; color: var(--txt-soft); margin: .8rem 0 0; }
.klein a { color: inherit; }
.fehler { color: #A33; font-size: .88rem; font-weight: 600; margin: .7rem 0 0; }

.danke { text-align: center; padding: 1.4rem 0 .6rem; }
.danke .haken {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto .8rem;
  border-radius: 50%; background: var(--accent); color: #fff; font-size: 1.8rem; font-weight: 800;
}
.danke h3 { font-size: 1.25rem; }
.danke p { color: var(--txt-soft); margin: .6rem 0 0; }
.danke a { color: var(--txt); text-decoration: none; }
.danke a b { color: var(--accent); }

/* ---------- Beweise ---------- */
.beweise { background: var(--paper-2); color: var(--txt); padding: clamp(2.2rem, 6vw, 4.5rem) var(--gutter); }
.beweise > h2, .beweise > .trichter-zeile, .faelle, .logos { max-width: 74rem; margin-inline: auto; }
.beweise h2 { font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.2rem); margin-bottom: 1.4rem; }
.faelle { display: grid; gap: 1rem; }
@media (min-width: 800px) { .faelle { grid-template-columns: repeat(3, 1fr); } }
.faelle article { background: #fff; border-radius: var(--r-lg); overflow: hidden; position: relative; box-shadow: 0 14px 44px rgba(28, 28, 30, .09); }
.faelle img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.faelle h3 { font-size: 1rem; margin: .9rem 1.1rem 0; }
.faelle p { font-size: .88rem; color: var(--txt-soft); margin: .35rem 1.1rem 1.1rem; line-height: 1.5; }
.stempel {
  position: absolute; right: 10px; top: 10px;
  background: var(--accent); color: #fff; font-weight: 800; font-size: .82rem; line-height: 1.15;
  padding: .45em .7em; border-radius: 10px; transform: rotate(-3deg);
  box-shadow: 0 8px 20px rgba(255, 92, 10, .4);
}
.stempel i { display: block; font-style: normal; font-weight: 600; font-size: .68rem; opacity: .92; }
.stempel.grau { background: #2E2E31; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }

.trichter-zeile {
  background: #fff; border-radius: var(--r); padding: 1rem 1.2rem; margin-top: 1.2rem;
  font-size: .95rem; color: var(--txt-soft); box-shadow: 0 10px 30px rgba(28, 28, 30, .07);
}
.trichter-zeile b { color: var(--txt); font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.trichter-zeile span { display: block; margin-top: .2rem; font-weight: 700; color: var(--txt); }

.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem 2.4rem; margin-top: 2rem; filter: invert(1) brightness(.35); }
.logos img { height: 30px; width: auto; max-width: 150px; object-fit: contain; }
.logos img.weiss { /* Weiß-Varianten werden durch den Invert automatisch dunkel */ }

/* ---------- Herkunft ---------- */
.herkunft { padding: clamp(2.2rem, 6vw, 4.5rem) var(--gutter); }
.herkunft .spalten { align-items: center; }
@media (min-width: 900px) { .herkunft .spalten { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.herkunft img { border-radius: var(--r-lg); }
.herkunft h2 { font-size: clamp(1.4rem, 1.1rem + 1.6vw, 2.1rem); margin-bottom: .8rem; }
.herkunft p { color: var(--inv-soft); max-width: 38rem; margin: 0 0 1.3rem; }
.herkunft .knopf { width: auto; }

/* ---------- Mobile Klebe-Leiste ---------- */
.leiste {
  position: fixed; left: .8rem; right: .8rem; bottom: .8rem; z-index: 50;
  display: block; text-align: center; text-decoration: none;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 1rem;
  border-radius: 999px; padding: .95em 1.2em; box-shadow: 0 12px 34px rgba(0, 0, 0, .45);
}
@media (min-width: 960px) { .leiste { display: none; } }

/* ---------- Fuss ---------- */
footer {
  display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; justify-content: space-between;
  max-width: 74rem; margin-inline: auto; padding: 1.6rem var(--gutter) 5.5rem;
  color: rgba(255, 255, 255, .45); font-size: .78rem;
}
footer a { color: inherit; }
@media (min-width: 960px) { footer { padding-bottom: 1.6rem; } }
