:root {
  color-scheme: light;
  --papier: #f6f7f2;
  --weiss: #fff;
  --text: #20231f;
  --sek: #596059;
  --linie: #d8dcd4;
  --dunkel: #181a19;
  --gelb: #f9b233;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--papier);
  color: var(--text);
  font: 1rem/1.55 Arial,Helvetica,sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-underline-offset: .2em;
}

button,input,textarea,select {
  font: inherit;
}

a,button,input,textarea,select {
  outline-offset: 3px;
}

:focus-visible {
  outline: 3px solid #4774aa;
}

button {
  cursor: pointer;
}

.wrap {
  width: min(72rem,calc(100% - clamp(2rem,8vw,7rem)));
  margin-inline: auto;
}

main {
  flex: 1;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 5;
  background: var(--gelb);
  padding: .6rem 1rem;
}

.skip:focus {
  top: .4rem;
}

.mast,footer {
  background: var(--dunkel);
  color: #fafbf8;
}

.mast {
  border-bottom: 3px solid var(--gelb);
}

.mast-inner,.mast-links,.fuss,.fuss>div,.zeile,.werkzeuge,.filter,.minis {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.mast-inner,.fuss,.zeile {
  justify-content: space-between;
}

.mast-inner {
  min-height: 5rem;
  padding-block: .7rem;
}

.mast-inner>a {
  display: inline-flex;
  align-items: center;
  padding: .6rem 1rem;
  border-radius: 8px;
  background: #f7f7f2;
}

.mast-inner>a img {
  width: 9.5rem;
  height: auto;
}

.mast-links {
  gap: clamp(.65rem,3vw,2rem);
}

.mast-links a,.fuss a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .92rem;
  text-decoration: none;
}

.mast-links [aria-current],.mast-links a:hover,.fuss a:hover {
  color: var(--gelb);
  text-decoration: underline;
}

.hero {
  margin: clamp(1.25rem,4vw,3rem) 0;
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dunkel);
  color: var(--papier);
}

.hero>div {
  padding: clamp(1.65rem,4.7vw,4.25rem);
  align-self: center;
}

h1,h2,h3,p {
  margin: 0;
}

h1,h2,h3 {
  line-height: 1.13;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(2rem,4.8vw,4.65rem);
}

.hero h1 em {
  font-style: normal;
  color: var(--gelb);
}

.hero p {
  margin-top: 1rem;
  max-width: 33rem;
  color: #dce1d7;
}

.hero figure {
  position: relative;
  margin: 0;
  min-height: 16rem;
}

.hero figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 50%;
}

.bestand,.detail,.redaktion,.kurz {
  padding-bottom: clamp(2rem,5vw,4.5rem);
}

h2 {
  font-size: clamp(1.5rem,3vw,2.1rem);
}

h3 {
  font-size: 1.26rem;
}

.anzahl,.hilfe,.metazeile span {
  color: var(--sek);
}

.filter,.werkzeuge {
  margin: 1rem 0 1.5rem;
  gap: .45rem .7rem;
}

.filter a,.knopf,.textlink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-weight: 700;
}

.filter a {
  padding: .44rem .9rem;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: 999px;
  font-size: .93rem;
  text-decoration: none;
}

.filter a[aria-current],.filter a:hover {
  background: var(--dunkel);
  border-color: var(--dunkel);
  color: #fff;
}

.knopf {
  padding: .65rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--gelb);
  color: #171a16;
  text-decoration: none;
  line-height: 1.3;
}

.knopf:hover {
  background: #ffdb48;
}

.knopf.sekundar {
  background: #fff;
  border-color: #a8afa5;
}

.knopf.sekundar:hover {
  background: #f2f4ee;
}

.textlink {
  background: none;
  border: 0;
  color: var(--text);
  padding: 0;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.leer,.formular,.angebote-liste,.details,.karte {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
}

.leer {
  padding: clamp(1.3rem,3.8vw,3rem);
  border-left: 4px solid var(--gelb);
}

.leer p {
  margin: .5rem 0 1rem;
  color: var(--sek);
}

.leer .textlink {
  margin: 0 .8rem;
}

.karten {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(min(100%,17rem),1fr));
  gap: 1.1rem;
}

.karte {
  overflow: hidden;
}

.karte>a {
  display: block;
  height: 100%;
  text-decoration: none;
}

.karte>a:focus-visible {
  outline-offset: -4px;
}

.karte:hover h3 {
  text-decoration: underline;
}

.karte img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
  background: #e8ebe4;
}

.kartentext {
  padding: 1rem 1.2rem 1.25rem;
}

.kategorie,.metazeile {
  font-size: .875rem;
  font-weight: 700;
  color: var(--sek);
}

.karte h3 {
  margin: .25rem 0 .7rem;
}

.preis,.detailpreis {
  font-weight: 750;
}

.detailkopf,.redaktion,.kurz {
  padding-top: clamp(1.5rem,4.2vw,3rem);
}

.detailkopf .metazeile {
  margin: .8rem 0 .35rem;
}

.detailkopf h1,.redaktion h1,.kurz h1 {
  font-size: clamp(1.9rem,4vw,3.25rem);
}

.detail {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(0,1fr);
  gap: clamp(1.1rem,3vw,2.1rem);
  align-items: start;
  margin-top: 1.5rem;
}

.grossbild {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: #e6e9e1;
  border-radius: var(--radius);
}

.minis {
  gap: .5rem;
  margin-top: .7rem;
}

.minis a {
  padding: 2px;
  border: 2px solid transparent;
  border-radius: 8px;
}

.minis a[aria-current] {
  border-color: #343b31;
}

.minis img {
  width: 4.7rem;
  height: 3.3rem;
  object-fit: cover;
  border-radius: 4px;
}

.details {
  padding: clamp(1.1rem,2.7vw,2rem);
  min-width: 0;
}

.details h2,.leer h2,.angebote-liste h2 {
  font-size: 1.22rem;
}

.detailpreis {
  font-size: clamp(1.5rem,3.3vw,2.1rem);
  margin-bottom: 1.4rem;
}

.beschreibung {
  white-space: pre-line;
  overflow-wrap: anywhere;
  margin-top: .5rem;
}

.kontakt {
  display: grid;
  justify-items: stretch;
  gap: .55rem;
  border-top: 1px solid var(--linie);
  padding-top: 1.2rem;
  margin-top: 1.4rem;
}

.kontakt h2 {
  margin-bottom: .35rem;
}

.kurz .knopf {
  margin-top: 1.2rem;
}

.fuss {
  padding: 1.2rem 0;
  color: #d4d7cf;
  font-size: .9rem;
}

.fuss>div {
  gap: .9rem;
}

.redaktion {
  max-width: 58rem;
  margin-inline: auto;
}

.redaktion-titel {
  margin-bottom: 1rem;
}

.formular {
  padding: clamp(1rem,3.4vw,2rem);
  display: grid;
  gap: 1rem;
}

.anmeldung {
  max-width: 26rem;
  gap: .45rem;
}

.anmeldung .knopf {
  margin-top: .7rem;
}

.formular label,.formular legend {
  font-weight: 700;
}

.formular label small {
  font-weight: 400;
  color: var(--sek);
}

.formular input:not([type=hidden]):not([type=radio]):not([type=checkbox]),.formular textarea,.formular select {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: .32rem;
  border: 1px solid #aeb5ab;
  border-radius: 7px;
  background: #fff;
  color: var(--text);
  padding: .65rem .75rem;
  min-height: 44px;
}

.formular textarea {
  resize: vertical;
}

.formular .knopf {
  justify-self: start;
}

.feldpaar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.formular fieldset {
  margin: 0;
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--linie);
  border-radius: 10px;
}

.formular legend {
  padding-inline: .4rem;
}

.hilfe {
  font-size: .9rem;
  margin-top: .35rem;
}

.editor>label+.hilfe {
  margin-top: -.7rem;
}

.editor-bilder,.upload-miniaturen {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  margin: .6rem 0;
}

.editor-bilder>div {
  background: var(--papier);
  padding: .5rem;
  border-radius: 8px;
}

.editor-bilder img,.upload-miniaturen img {
  height: 5rem;
  width: 7rem;
  object-fit: cover;
  border-radius: 5px;
}

.formular .wahl {
  font-weight: 400;
  font-size: .93rem;
  display: flex;
  align-items: center;
  gap: .35rem;
  min-height: 36px;
}

.wahl input {
  width: 1.05rem;
  height: 1.05rem;
}

.angebote-liste {
  list-style: none;
  padding: 0;
  overflow: hidden;
}

.angebote-liste li {
  padding: .9rem 1.15rem;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  gap: .8rem;
  align-items: center;
}

.angebote-liste li+li {
  border-top: 1px solid var(--linie);
}

.angebote-liste h2 a {
  text-decoration: none;
}

.angebote-liste h2 a:hover {
  text-decoration: underline;
}

.status {
  border-radius: 100px;
  padding: .2rem .7rem;
  background: #edf0e9;
  font-size: .85rem;
  font-weight: 700;
}

.s-online {
  background: #dfefda;
  color: #274d1e;
}

.s-verkauft {
  background: #f6e5d7;
  color: #76431f;
}

.erfolg,.fehler {
  padding: 1rem;
  border-radius: 8px;
  margin: .7rem 0;
}

.erfolg {
  background: #e5efdf;
  color: #25481e;
}

.fehler {
  background: #fff0e8;
  color: #8a2d15;
}

.formular button:disabled {
  opacity: .55;
  cursor: progress;
}

.publikum {
  --papier: #191c1a;
  --weiss: #252925;
  --text: #f6f7f1;
  --sek: #c3c9bf;
  --linie: #41483f;
}

.publikum .hero {
  border: 1px solid var(--linie);
  color: var(--text);
  background: #252925;
}

.publikum .filter a[aria-current],.publikum .filter a:hover {
  background: var(--gelb);
  border-color: var(--gelb);
  color: #171a16;
}

.publikum .karte img,.publikum .grossbild {
  background: #121513;
}

.publikum .minis a[aria-current] {
  border-color: var(--gelb);
}

.publikum .knopf.sekundar {
  background: transparent;
  border-color: #939d8c;
  color: var(--text);
}

.publikum .knopf.sekundar:hover {
  background: #343a32;
}

@media(max-width:700px) {
  .hero,.detail {
    grid-template-columns: 1fr;
  }
  .hero figure {
    min-height: 0;
    height: clamp(7.5rem,30vw,13rem);
  }
  .hero h1 br {
    display: none;
  }
  .hero h1 em::before {
    content: " ";
  }
  .hero>div {
    padding: 1.4rem;
  }
  .hero p {
    margin-top: .6rem;
  }
  .mast-inner {
    gap: .1rem .7rem;
  }
  .mast-links {
    gap: .75rem;
  }
  .mast-links a {
    font-size: .875rem;
  }
  .detailkopf .metazeile {
    margin-top: .4rem;
  }
  .detail {
    margin-top: 1rem;
  }
  .details {
    padding: 1.1rem;
  }
  .fuss {
    align-items: flex-start;
    gap: .1rem;
  }
  .feldpaar {
    grid-template-columns: 1fr;
  }
}

@media(max-width:460px) {
  .wrap {
    width: calc(100% - 1.5rem);
  }
  .mast-inner>a img {
    width: 7.3rem;
  }
  .mast-links {
    gap: .5rem;
  }
  .angebote-liste li {
    grid-template-columns: minmax(0,1fr) auto;
  }
  .angebote-liste li>.textlink {
    grid-column: 1/-1;
    justify-self: start;
    min-height: 32px;
  }
  .filter {
    gap: .35rem;
  }
  .filter a {
    padding: .37rem .65rem;
  }
  .formular .knopf {
    justify-self: stretch;
  }
}

.mast-links .mast-tel{background:var(--gelb);color:var(--dunkel);font-weight:bold;padding:0 1.1rem;border-radius:999px;text-decoration:none}
.mast-links .mast-tel:hover{color:var(--dunkel);background:#ffc45c;text-decoration:none}
