/* Farbeeck — Abdeckvlies, Farbchips, Kreppband. Kein Raster, kein Giebel. */
:root {
  --vlies: #efe6d4;
  --ocker: #c45c26;
  --preuss: #1f3a4d;
  --chrom: #e6b322;
  --oxid: #8c2f24;
  --zink: #f7f1e6;
  --verdaccio: #4a6b4e;
  --tinte: #1c1612;
  --krepp: #d8c9a4;
  --fehl: #9a261c;
  --gut: #35573a;
}

*,
*::before,
*::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

.leinwand {
  margin: 0;
  min-height: 100vh;
  color: var(--tinte);
  background:
    repeating-linear-gradient(118deg, transparent, transparent 38px, rgba(196, 92, 38, 0.04) 38px, rgba(196, 92, 38, 0.04) 39px),
    radial-gradient(ellipse 70% 40% at 80% 0%, rgba(230, 179, 34, 0.18), transparent 50%),
    linear-gradient(165deg, #f4ead6 0%, #e4d4b8 46%, #d7c4a2 100%);
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 1.03rem;
  line-height: 1.65;
}

.leinwand.leinwand-fest { overflow: hidden; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: var(--preuss); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--ocker);
  outline-offset: 3px;
}

.tuchsprung {
  position: absolute;
  left: 1rem;
  top: -3.2rem;
  background: var(--preuss);
  color: var(--zink);
  padding: 0.4rem 0.7rem;
  z-index: 90;
}
.tuchsprung:focus { top: 0.7rem; }

/* Vertical paint-chip rail, not a top bar */
.chipschiene {
  display: none;
}

@media (min-width: 1100px) {
  .chipschiene {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3.4rem;
    z-index: 20;
    padding: 5.5rem 0.45rem 1rem;
    gap: 0.4rem;
    background: rgba(31, 58, 77, 0.92);
  }
  .probe {
    flex: 1;
    display: block;
    min-height: 2.4rem;
    border: 2px solid rgba(247, 241, 230, 0.35);
    box-shadow: inset 0 -10px 0 rgba(0, 0, 0, 0.08);
  }
  .probe--ocker { background: var(--ocker); }
  .probe--preuss { background: #2a536c; }
  .probe--chrom { background: var(--chrom); }
  .probe--oxid { background: var(--oxid); }
  .probe--zink { background: var(--zink); }
  .probe--verdaccio { background: var(--verdaccio); }
  .tuchlage { margin-left: 3.4rem; }
}

.kreppband {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 6vw 1rem;
  background:
    repeating-linear-gradient(90deg, var(--krepp) 0 10px, #e4d3ad 10px 12px),
    var(--krepp);
  border-bottom: 2px dashed rgba(28, 22, 18, 0.28);
  box-shadow: 0 6px 0 rgba(196, 92, 38, 0.12);
}

.eckzeichen {
  text-decoration: none;
  color: var(--preuss);
  font-family: Newsreader, Georgia, serif;
  font-size: 1.7rem;
  line-height: 1;
}
.eckzeichen span {
  display: block;
  margin-top: 0.28rem;
  font-family: Outfit, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ocker);
}

.pinselriegel {
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  background: var(--preuss);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.pinselriegel span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--chrom);
}
.pinselriegel[aria-expanded="true"] span:nth-child(2) { width: 0.7rem; }

.tupfenleiste {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.tupfenleiste a {
  text-decoration: none;
  color: var(--tinte);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tupfenleiste a[aria-current="page"] { color: var(--oxid); }
.tupfenleiste .draht {
  color: var(--preuss);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 860px) {
  .tupfenleiste {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 80;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 1.5rem;
    background:
      linear-gradient(180deg, #1f3a4d 0%, #2a536c 100%);
  }
  .tupfenleiste a { color: var(--zink); font-size: 1.05rem; }
  .tupfenleiste a[aria-current="page"] { color: var(--chrom); }
  .tupfenleiste.tuch-auf { display: flex; }
  .pinselriegel { position: relative; z-index: 90; }
}

@media (min-width: 861px) {
  .pinselriegel { display: none; }
}

.spannrahmen {
  padding: 0 0 3rem;
}

/* Drop-cloth hero: cloth folds + overlapping wet sample, not a full-bleed strip */
.lakenfeld {
  position: relative;
  display: grid;
  gap: 0;
  margin: 1.4rem 5vw 0;
  padding: 1.4rem 1.2rem 1.6rem;
  background:
    linear-gradient(135deg, rgba(247, 241, 230, 0.55) 0 18%, transparent 18% 22%, rgba(247, 241, 230, 0.4) 22% 40%, transparent 40%),
    #e8dcc2;
  box-shadow:
    12px 16px 0 rgba(31, 58, 77, 0.08),
    inset 0 0 0 1px rgba(28, 22, 18, 0.08);
}

.falte {
  position: absolute;
  right: 0;
  top: 0;
  width: 5.5rem;
  height: 5.5rem;
  background: linear-gradient(225deg, #c45c26 0 48%, transparent 48%);
  opacity: 0.85;
  pointer-events: none;
}

.nassprobe {
  margin: 0;
  background: var(--preuss);
  padding: 0.55rem 0.55rem 0;
  transform: rotate(-1.4deg);
}
.nassprobe img {
  width: 100%;
  aspect-ratio: 7 / 5;
  object-fit: cover;
  background:
    repeating-linear-gradient(90deg, #c45c26 0 16%, #1f3a4d 16% 32%, #e6b322 32% 48%, #8c2f24 48% 64%, #4a6b4e 64% 80%, #efe6d4 80% 100%);
}
.nassprobe figcaption {
  padding: 0.45rem 0.2rem 0.55rem;
  color: var(--zink);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nassprobe--seite {
  transform: rotate(0);
  max-width: 36rem;
}

.lasurtext {
  padding: 1.6rem 0.4rem 0.2rem;
  max-width: 38rem;
}
.lasurtext h1,
.musterkarte h1 {
  font-family: Newsreader, Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 0.8rem;
}

.farbzettel {
  display: inline-block;
  margin: 0 0 0.7rem;
  padding: 0.28rem 0.5rem;
  background: var(--chrom);
  color: var(--tinte);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .lakenfeld {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: end;
    gap: 2rem;
    padding: 2rem 2.2rem 2.2rem;
  }
  .falte { width: 7rem; height: 7rem; }
  .lasurtext { padding-top: 0; }
}

.chipreihe {
  list-style: none;
  margin: 1.6rem 5vw 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}
.chipreihe li {
  padding: 0.85rem 0.8rem 0.75rem;
  background: var(--zink);
  border-left: 14px solid var(--ocker);
  box-shadow: 4px 4px 0 rgba(31, 58, 77, 0.12);
}
.chipreihe li:nth-child(2) { border-left-color: var(--preuss); }
.chipreihe li:nth-child(3) { border-left-color: var(--chrom); }
.chipreihe li:nth-child(4) { border-left-color: var(--verdaccio); }
.chipreihe b {
  display: block;
  font-family: Newsreader, Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
}
.chipreihe span {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--preuss);
}

@media (min-width: 800px) {
  .chipreihe { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.eimerbank {
  margin: 2.2rem auto 0;
  max-width: 40rem;
  padding: 0 5vw;
}
.eimerbank h2,
.musterkarte h2 {
  font-family: Newsreader, Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.musterkarte {
  margin: 1.6rem auto 0;
  max-width: 42rem;
  padding: 0 5vw 1rem;
}

.farbfächer {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}
.farbfächer li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.85rem;
  padding: 0.95rem 0 1rem 0.2rem;
  border-bottom: 1px dashed rgba(31, 58, 77, 0.25);
}
.farbfächer li::before {
  content: "";
  width: 1.1rem;
  height: 3.4rem;
  background: var(--ocker);
}
.farbfächer li:nth-child(2)::before { background: var(--preuss); }
.farbfächer li:nth-child(3)::before { background: var(--chrom); }
.farbfächer li:nth-child(4)::before { background: var(--oxid); }
.farbfächer strong {
  display: block;
  font-family: Newsreader, Georgia, serif;
  font-size: 1.28rem;
  font-weight: 600;
}

.eimergriff {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.72rem 1.15rem;
  background: var(--ocker);
  color: #fff;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mischfeld {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  margin-bottom: 0.85rem;
}
.mischfeld span {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--preuss);
}
.mischfeld input,
.mischfeld textarea {
  border: 0;
  border-bottom: 2px solid var(--preuss);
  background: rgba(247, 241, 230, 0.55);
  padding: 0.55rem 0.4rem;
  font: inherit;
  color: inherit;
}
.mischfeld textarea { min-height: 8rem; resize: vertical; }
.lasur-fehl { box-shadow: inset 0 -2px 0 var(--fehl); }

.firniskreuz {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin: 0.75rem 0 1.1rem;
  font-size: 0.92rem;
}
.firniskreuz.lasur-fehl { outline: 1px solid var(--fehl); padding: 0.3rem; }

.lasurquittung {
  padding: 1rem 0;
  color: var(--gut);
  font-family: Newsreader, Georgia, serif;
  font-size: 1.35rem;
}

.mischwanne {
  margin-top: 2.4rem;
  padding: 2rem 6vw 5.8rem;
  background: var(--preuss);
  color: var(--zink);
  display: grid;
  gap: 1.4rem;
}
.mischwanne a { color: var(--chrom); }
.mischwanne nav { display: flex; flex-direction: column; gap: 0.35rem; }
.firnisjahr { opacity: 0.72; font-size: 0.8rem; margin: 0; }

@media (min-width: 760px) {
  .mischwanne {
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: start;
  }
  .firnisjahr { grid-column: 1 / -1; }
}

.leimhinweis {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: var(--zink);
  color: var(--tinte);
  border-top: 8px solid var(--ocker);
  padding: 1rem 6vw;
}
.leimwahl { display: flex; gap: 0.55rem; margin-top: 0.7rem; }
.leimwahl button {
  font: inherit;
  border: 0;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
}
.leimwahl [data-cookie-accept] { background: var(--preuss); color: var(--zink); }
.leimwahl [data-cookie-reject] { background: transparent; color: var(--preuss); border: 1px solid var(--preuss); }
