/* Übernommen aus igw-mieterportal src/site/feinschliff.css@925ee81 (Teil 2 von 2) (0036 W8). Regeln wörtlich;
 * angepasst: mit Biome formatiert und nach Regel 4 geteilt (Reihenfolge unverändert). */
.datei span {
  color: var(--schiefer);
  font-size: 16px;
}
.datei small {
  color: var(--grauwacke);
  font-size: 14px;
}
.feld input[type="file"] {
  font: inherit;
  font-size: 14px;
}
.dateiliste {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: var(--grauwacke);
  display: grid;
  gap: 4px;
}
.feld-zustimmung label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  font-size: 15px;
  color: var(--schiefer);
}
.feld-zustimmung input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--schiefer);
}
.formular-fehler {
  margin: 0;
  padding: 14px 16px;
  border-left: 3px solid #a4452f;
  background: #fbefec;
  color: #6e2a1b;
}
.formular-aktion {
  display: flex;
  gap: 16px;
  align-items: center;
}
.knopf[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.formular-erfolg {
  border-top: 1px solid var(--schiefer);
  padding-top: 24px;
  display: grid;
  gap: 10px;
}
.formular-erfolg .verb {
  margin: 0;
  font-family: var(--zeichen);
  font-size: 14px;
  color: var(--salbei-tief);
}
.formular-erfolg h3 {
  margin: 0;
  font-weight: 340;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.1;
  font-variation-settings: "wdth" 115;
}
.formular-erfolg p {
  margin: 0;
}
.formular-erfolg strong {
  font-family: var(--zeichen);
  font-weight: 400;
}
.formular-hinweis {
  margin-top: 18px;
  max-width: 34ch;
}
/* Sprungziele nicht unter dem festen Kopf verstecken */
main [id],
footer[id] {
  scroll-margin-top: 96px;
}
/* Angebotsdetail auf der Webseite */
.angebot-detail {
  display: grid;
  gap: 28px;
}
.zurueck {
  justify-self: start;
  font-size: 15px;
  color: var(--grauwacke);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.zurueck:hover {
  color: var(--schiefer);
}
.angebot-detail-kopf h2 {
  margin: 0;
  font-weight: 300;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variation-settings: "wdth" 120;
}
.angebot-galerie {
  display: grid;
  gap: 10px;
}
.angebot-gross {
  margin: 0;
  aspect-ratio: 3 / 2;
  max-height: 72vh;
  overflow: hidden;
  background: var(--papier);
}
.angebot-gross img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.angebot-vorschau {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.angebot-vorschau button {
  flex: 0 0 auto;
  width: 120px;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 2px solid transparent;
  background: var(--papier);
  cursor: pointer;
}
.angebot-vorschau button[aria-pressed="true"] {
  border-color: var(--schiefer);
}
.angebot-vorschau img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.angebot-text {
  display: grid;
  gap: 18px;
  max-width: 70ch;
}
.angebot-text p {
  margin: 0;
}
.angebot-text .merkmale li {
  grid-template-columns: minmax(0, 1fr);
  padding: 14px 0;
}
.angebot-aktion {
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
}
/* Satz: Überschriften ausgewogen, Fließtext ohne einzelne Wörter in der letzten Zeile.
 * Auf schmalen Bildschirmen trennt der Browser deutsch (lang="de"), aber nie Überschriften oder Knöpfe. */
h1,
h2,
h3,
.lead,
.bereich-titel {
  text-wrap: balance;
}
p,
li,
dd,
figcaption,
.bereich-satz,
.feld-hilfe {
  text-wrap: pretty;
}
body {
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
}
.preis,
.projekt-masse dd,
.eckdaten,
.panel-angebot-miete {
  font-variant-numeric: tabular-nums;
}
@media (max-width: 600px) {
  p,
  li,
  dd,
  figcaption {
    hyphens: auto;
    -webkit-hyphens: auto;
    hyphenate-limit-chars: 8 4 4;
  }
}
h1,
h2,
h3,
.knopf,
.leitsatz,
.schluss-satz,
.kopf-nav,
nav a {
  hyphens: manual;
}
/* Bilder: <picture> trägt nur die Quellen und nimmt keinen Platz ein. Bis das Bild da ist, steht eine unscharfe
 * Vorschau in seinen Farben (vorschau.css), nie ein leerer Kasten. */
picture {
  display: contents;
}
:is(figure, a)[class*="vorschau-"] {
  background-color: #2a2e2c;
  background-image: var(--vorschau);
  background-size: cover;
  background-position: center;
}
