/* Gemeinsames Stylesheet für das Anmeldeformular und die Bestätigungsseite. */

/* Quellenangabe 1 (projektweit, siehe index.php): GitHub Copilot
   Inline-Vervollständigungen waren während der gesamten Entwicklung aktiv. */

/* Lokal eingebundene Schriften. woff2-Dateien und unicode-range stammen aus der
   Google-Fonts-CSS, auf media/fonts/ umgebogen. Oswald und Nunito Sans sind
   Variable Fonts (eine Datei je Subset). (Borrowed) */

/* Oswald (Überschriften, Labels) */
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("../media/fonts/oswald-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("../media/fonts/oswald-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Nunito Sans (Fliesstext) */
@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../media/fonts/nunito-sans-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("../media/fonts/nunito-sans-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Material Symbols Outlined (Icon-Font, auf die genutzten Icons reduziert) */
@font-face {
  font-family: "Material Symbols Outlined";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("../media/fonts/material-symbols-outlined.woff2") format("woff2");
}

/* Design-Variablen (Farben und Schriften aus CI-CD)  */

:root {
  --primary: #0c2f5e;
  --scout-navy: #284676;
  --campfire-red: #952525;
  --on-primary: #ffffff;
  --on-surface: #1a1b1f;
  --on-surface-variant: #43474f;
  --outline: #747780;
  --outline-variant: #c4c6d0;
  --surface: #faf9fd;
  --primary-fixed: #d7e3ff;

  --font-headline: "Oswald", sans-serif;
  --font-body: "Nunito Sans", sans-serif;

  --breite-inhalt: 1120px;
  --rand-mobil: 16px;
  --rand-desktop: 48px;
}

/* Allgemein                                                         */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  color: var(--on-surface);
  -webkit-font-smoothing: antialiased;
  background-image: url("../media/images/background-desktop.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  body {
    background-image: url("../media/images/background-mobile.webp");
  }
}

.bg-overlay {
  background: linear-gradient(
    180deg,
    rgba(12, 47, 94, 0.45) 0%,
    rgba(12, 47, 94, 0.12) 100%
  );
  position: fixed;
  inset: 0;
  z-index: -1;
}

/* Formularelemente erben die Seitenschrift (tun sie von Haus aus nicht) */
input,
select,
textarea,
button {
  font-family: inherit;
}

/* Material-Symbols-Iconfont. Die Grundregeln (white-space, word-wrap, direction
   usw.) stammen aus dem von Google ausgelieferten Material-Symbols-CSS; nur
   font-variation-settings wurde ergaenzt/angepasst. (Borrowed) */
.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}

/* Gefülltes Haken-Icon auf der Bestätigungsseite */
.check-icon {
  font-size: 48px;
  color: var(--scout-navy);
  font-variation-settings: "FILL" 1;
}

/* Hilfsklassen, die auch das JavaScript verwendet (Ein-/Ausblenden) */
.hidden {
  display: none;
}

.inline {
  display: inline;
}

/* Eingabefeld optisch ausblenden, aber für Screenreader erreichbar lassen.
   Bekanntes "visually hidden"-Utility (clip-Technik), übernommen aus dem
   HTML5 Boilerplate. (Borrowed) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Kopf- und Fusszeile                                                 */

/* Gemeinsamer, zentrierter Inhaltsbereich für Kopf- und Fusszeile */
.inhalt-breite {
  width: 100%;
  max-width: var(--breite-inhalt);
  margin: 0 auto;
  padding-left: var(--rand-mobil);
  padding-right: var(--rand-mobil);
}

@media (min-width: 768px) {
  .inhalt-breite {
    padding-left: var(--rand-desktop);
    padding-right: var(--rand-desktop);
  }
}

.seiten-kopf {
  position: relative;
  z-index: 10;
  width: 100%;
}

.kopf-inhalt {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Logo mind. 1×1 cm auf jedem Gerät; Pixelgrössen passend zum Titel. */
.logo-bild {
  width: 56px;
  height: 56px;
  min-width: 1cm;
  min-height: 1cm;
  object-fit: contain;
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.2));
}

@media (min-width: 768px) {
  .logo-bild {
    width: 64px;
    height: 64px;
  }
}

.logo-text {
  font-family: var(--font-headline);
  font-size: 17px;
  line-height: 19px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--on-primary);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.seiten-fuss {
  position: relative;
  z-index: 10;
  margin-top: auto;
}

.fuss-inhalt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 32px;
  padding-bottom: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.fuss-info {
  font-family: var(--font-headline);
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.fuss-link-gruppe {
  display: flex;
  gap: 24px;
}

.fuss-link {
  font-size: 13px;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.fuss-link:hover {
  color: var(--on-primary);
  text-decoration: underline;
}

/* Ab Tablet: Fusszeile als Zeile mit Inhalt links, Links rechts */
@media (min-width: 640px) {
  .fuss-inhalt {
    flex-direction: row;
    justify-content: space-between;
  }

  .fuss-info {
    text-align: left;
  }
}

/* Hauptbereich und Karte                                              */

.seiten-haupt {
  position: relative;
  z-index: 10;
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px;
}

@media (min-width: 768px) {
  .seiten-haupt {
    padding: 32px;
  }
}

/* Layout der Karte; Textur, Schatten und Animation im Block Quellenangabe 4 unten. */
.form-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 56rem;
  margin-top: 32px;
  margin-bottom: 32px;
  padding: 24px;
  border-radius: 16px;
}

/* Bestätigungsseite: schmalere Karte */
.form-card-schmal {
  max-width: 42rem;
}

@media (min-width: 640px) {
  .form-card {
    padding: 32px;
  }
}

@media (min-width: 768px) {
  .form-card {
    padding: 48px;
  }
}

/* Dekorativer Akzentbalken am oberen Kartenrand */
.akzent-balken {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--scout-navy);
}

.titel-bereich {
  text-align: center;
  margin-bottom: 40px;
}

.haupt-titel {
  margin: 0 0 8px;
  font-family: var(--font-headline);
  font-size: 33px;
  line-height: 40px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--scout-navy);
}

.unter-titel {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--on-surface-variant);
}

/* Formular: Gruppen, Felder, Eingaben                                 */

/* Abstand zwischen den einzelnen Abschnitten des Formulars */
.formular {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* scroll-margin, damit das JS beim Scrollen zu einer Gruppe nicht unter
   die Kopfzeile rutscht */
.formular-gruppe {
  scroll-margin-top: 96px;
}

.gruppen-titel {
  margin: 0 0 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(196, 198, 208, 0.4);
  font-family: var(--font-headline);
  font-size: 14px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(67, 71, 79, 0.7);
}

/* Raster für die Eingabefelder: mobil eine Spalte (Mobile First) */
.feld-raster {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* Ein Feld über die ganze Rasterbreite */
.feld-voll {
  grid-column: 1 / -1;
}

/* Ein einzelnes Feld: Label über Eingabe */
.feld {
  display: flex;
  flex-direction: column;
}

.feld-titel {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-headline);
  font-size: 14px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--scout-navy);
}

/* Dezenter "(optional)"-Zusatz in einem Label */
.optional-hinweis {
  margin-left: 4px;
  color: var(--outline);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

/* Einheitliches Aussehen aller Eingabefelder */
.eingabe {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 16px;
  line-height: 24px;
  color: var(--on-surface);
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(196, 198, 208, 0.6);
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.eingabe:focus {
  outline: none;
  border-color: var(--scout-navy);
  box-shadow: 0 0 0 1px var(--scout-navy);
}

textarea.eingabe {
  resize: vertical;
}

/* Ab Tablet: Felder zweispaltig */
@media (min-width: 768px) {
  .feld-raster-zwei-spalten {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Adresse: PLZ (schmal) neben Ort (breit), Strasse darüber über beide */
  .adress-raster {
    grid-template-columns: 1fr 2fr;
  }
}

/* Foto-Upload (Button mit drei Zuständen)                             */

.foto-zeile {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Grundaussehen des Buttons; Farben je Zustand im Block Quellenangabe 4 unten. */
.foto-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 0;
  border-radius: 4px;
  font-family: var(--font-headline);
  font-size: 14px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.2s;
}

.foto-icon {
  font-size: 1.2em;
}

/* Auswahlfelder (Radios, Checkboxen)                                  */

/* Checkboxen und Radiobuttons in der Scout-Farbe */
.kontroll-kaestchen {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  accent-color: var(--scout-navy);
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

/* Senkrechter Abstand innerhalb eines Abschnitts */
.feld-stapel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Radio-Auswahl "Ja / Nein" als anklickbare Kärtchen */
.auswahl-gruppe {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.auswahl-feld {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(196, 198, 208, 0.6);
  border-radius: 4px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background-color 0.2s;
}

/* Ausgewähltes Kärtchen hervorheben. Der :has(:checked)-Selektor entstand als
   Copilot-Vorschlag (siehe Quellenangabe 1). */
.auswahl-feld:has(:checked) {
  border-color: var(--scout-navy);
  background: rgba(215, 227, 255, 0.4);
}

/* Zustimmung zur Datenschutzerklärung */
.zustimmung-bereich {
  margin-top: 8px;
  padding-top: 32px;
  border-top: 1px solid rgba(196, 198, 208, 0.4);
}

.zustimmung {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 24px;
  color: var(--on-surface);
  cursor: pointer;
}

/* Verlinkter Text (z. B. Datenschutzerklärung) */
.text-link {
  color: var(--scout-navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.text-link:hover {
  color: var(--campfire-red);
}

/* Bekleidung (Krawatte, T-Shirt)                                      */

.trenner {
  margin: 0 0 40px;
  border: 0;
  border-top: 1px solid rgba(196, 198, 208, 0.4);
}

.bekleidung-titel {
  margin-bottom: 24px;
}

/* Ein Produkt als anklickbares Kärtchen */
.bekleidung-karte {
  padding: 16px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(196, 198, 208, 0.6);
  border-radius: 8px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background-color 0.2s;
}

/* Ausgewähltes Produkt-Kärtchen hervorheben. :has(:checked) entstand als
   Copilot-Vorschlag (siehe Quellenangabe 1). */
.bekleidung-karte:has(:checked) {
  border-color: var(--scout-navy);
  background: rgba(215, 227, 255, 0.3);
}

/* Bild links, Inhalt rechts */
.bekleidung-zeile {
  display: flex;
  align-items: center;
  gap: 20px;
}

.bekleidung-bild {
  flex-shrink: 0;
  width: 112px;
  height: 112px;
  object-fit: contain;
}

.bekleidung-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  font-size: 16px;
  color: var(--on-surface);
}

.bekleidung-inhalt {
  flex: 1;
}

/* Zeile mit Checkbox und Beschriftung */
.bekleidung-auswahl-zeile {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--on-surface);
  cursor: pointer;
}

.krawatte-hinweis {
  padding-left: 32px;
  color: rgba(67, 71, 79, 0.7);
  font-size: 13px;
  line-height: 16px;
  font-style: italic;
}

.tshirt-groesse-feld {
  margin-top: 12px;
  max-width: 20rem;
}

/* Absenden                                                            */

.absenden-bereich {
  padding-top: 16px;
}

.absenden-zeile {
  display: flex;
  justify-content: flex-end;
}

/* Umrandeter Button, der sich beim Hover füllt und leicht anhebt */
.absenden-knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 40px;
  font-family: var(--font-headline);
  font-size: 14px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--campfire-red);
  background: transparent;
  border: 2px solid rgba(149, 37, 37, 0.8);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s;
}

.absenden-knopf:hover {
  color: var(--on-primary);
  background: var(--campfire-red);
  border-color: var(--campfire-red);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.absenden-knopf:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(149, 37, 37, 0.5);
}

.absenden-hinweis {
  margin-top: 8px;
  font-size: 16px;
  line-height: 24px;
  text-align: right;
  color: var(--on-surface-variant);
}

/* Pfeil-Icon in den Buttons, das beim Hover mitwandert */
.pfeil-icon {
  font-size: 1.2em;
  transition: transform 0.3s;
}

.absenden-knopf:hover .pfeil-icon {
  transform: translateX(4px);
}

/* ------------------------------------------------------------------ */
/* Bestätigungsseite                                                   */
/* ------------------------------------------------------------------ */
.haken-kreis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: 16px;
  border-radius: 9999px;
  background: rgba(215, 227, 255, 0.6);
}

.bestaetigung-inhalt {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Wertepaare (Bezeichnung über Wert) als Raster */
.daten-liste {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 32px;
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}

.daten-eintrag {
  display: flex;
  flex-direction: column;
}

.daten-eintrag-voll {
  grid-column: 1 / -1;
}

.daten-titel {
  font-family: var(--font-headline);
  font-size: 14px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--scout-navy);
}

.daten-wert {
  margin: 0;
}

@media (min-width: 640px) {
  .daten-liste {
    grid-template-columns: 1fr 1fr;
  }
}

.zurueck-bereich {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(196, 198, 208, 0.4);
}

.zurueck-knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 40px;
  font-family: var(--font-headline);
  font-size: 14px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-primary);
  background: var(--scout-navy);
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.zurueck-knopf:hover {
  background: var(--primary);
}

.zurueck-knopf:hover .pfeil-icon {
  transform: translateX(-4px);
}

/* Quellenangabe 4 Start - mit KI erstellt: Rauschtextur (SVG-Filter), Animationen,
   E-Mail-Vorschlagsliste und Foto-Button-Zustände */
/* Glas-/Papier-Karte mit feiner Körnung wie in der Designvorlage */
.form-card {
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"),
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92));
  background-blend-mode: overlay;
  box-shadow: 0 18px 50px -6px rgba(40, 70, 118, 0.28);
  animation: cardIn 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* Sanftes Aufklappen der bedingten Abschnitte */
.reveal {
  animation: revealIn 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes revealIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* Hervorgehobenes Haken-Icon (Bestätigungsseite) */
@keyframes pop {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }

  60% {
    transform: scale(1.1);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.pop {
  animation: pop 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both;
}

/* Spinner-Pfeile des number-Feldes ausblenden (PLZ wird nicht hochgezählt). */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* E-Mail-Domain-Vorschläge (ersetzt das frühere <datalist>). */
.email-suggestion-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  margin: 0;
  padding: 4px;
  list-style: none;
  background: #ffffff;
  border: 1px solid #c4c6d0;
  border-radius: 0.25rem;
  box-shadow: 0 10px 25px -5px rgba(40, 70, 118, 0.25);
  max-height: 220px;
  overflow-y: auto;
}

.email-suggestion-item {
  padding: 8px 12px;
  border-radius: 0.25rem;
  cursor: pointer;
  font-family: "Nunito Sans", sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #1a1b1f;
}

.email-suggestion-item:hover,
.email-suggestion-item.is-active {
  background: #d7e3ff;
  color: #284676;
}

/* Foto-Button: Farbe je Zustand (data-state per JS). wählen=Navy, ausgewählt=Grün, entfernen=Rot. */
.foto-button {
  color: #ffffff;
}

.foto-button[data-state="choose"] {
  background: #284676;
}

.foto-button[data-state="choose"]:hover {
  background: #0c2f5e;
}

.foto-button[data-state="selected"] {
  background: #2f7d4f;
}

.foto-button[data-state="remove"] {
  background: #952525;
}
/* Quellenangabe 4 Ende */

/* E-Mail-Vorschlags-Container (Positionierung der Liste) */
.email-feld {
  position: relative;
}

/* Fehlermeldungen (Ausgabe von fehler_anzeigen()) */
.fehler {
  display: block;
  margin-top: 6px;
  color: #952525;
  font-family: "Nunito Sans", sans-serif;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
}
