/* Esofia – App-Demo im iPhone-Rahmen.
   Farben wie im dunklen Modus der App (constants/theme.ts), Schrift und Linien nach dem Flyer.
   Schwebende Flächen sind dem „Liquid Glass“ der App nachempfunden (Weichzeichnung des Hintergrunds, Lichtkante). */

.ed {
  --ed-gold: #c9a227;
  --ed-auf-gold: #000;
  --ed-text: #fff;
  --ed-text2: #a8a8ad;
  --ed-text3: #6f6f75;
  --ed-zelle: #151515;
  --ed-trenner: rgba(255, 255, 255, 0.14);
  --ed-fuellung: rgba(255, 255, 255, 0.1);
  --ed-rahmen: rgba(201, 162, 39, 0.5);
  --ed-s: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.ed-vorlage {
  position: absolute;
}

/* Bühne: nimmt den Platz des skalierten Geräts ein */
.ed-buehne {
  position: relative;
  flex: none;
  width: calc(414px * var(--ed-s));
  height: calc(868px * var(--ed-s));
}
.ed-geraet {
  position: absolute;
  top: 0;
  left: 0;
  width: 414px;
  height: 868px;
  padding: 11px;
  border: 1px solid var(--ed-gold);
  border-radius: 64px;
  background: #050505;
  transform: scale(var(--ed-s));
  transform-origin: 0 0;
}
.ed-taste {
  position: absolute;
  width: 3px;
  background: var(--ed-gold);
}
.ed-taste--l1 {
  left: -4px;
  top: 168px;
  height: 34px;
}
.ed-taste--l2 {
  left: -4px;
  top: 222px;
  height: 62px;
}
.ed-taste--r {
  right: -4px;
  top: 250px;
  height: 96px;
}
.ed-schirm {
  position: relative;
  width: 390px;
  height: 844px;
  overflow: hidden;
  border-radius: 53px;
  background: #000;
  color: var(--ed-text);
  font-family: var(--schrift);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.012em;
  text-align: left;
  isolation: isolate;
}
.ed-schirm p,
.ed-schirm h3,
.ed-schirm h4,
.ed-schirm ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ed button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.ed [hidden] {
  display: none !important;
}
.ed-schirm :focus-visible {
  outline: 2px solid var(--ed-gold);
  outline-offset: 2px;
}
.ed-schirm [tabindex="-1"]:focus {
  outline: none;
}
.ed-symbol {
  flex: none;
}
.ed-flex {
  flex: 1;
  min-width: 0;
}
.ed-gold {
  color: var(--ed-gold);
}
.ed-blass {
  color: var(--ed-text3);
}
.ed-leise {
  color: var(--ed-text2);
}

/* Glas: halbtransparente Fläche, die den Hintergrund weichzeichnet, mit feiner Lichtkante oben */
.ed .ed-glas {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(30, 30, 32, 0.92); /* Rückfall ohne Weichzeichnung */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(255, 255, 255, 0.04), 0 8px 26px rgba(0, 0, 0, 0.42);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .ed .ed-glas {
    background: rgba(36, 36, 40, 0.46);
    -webkit-backdrop-filter: blur(22px) saturate(180%) brightness(1.12);
    backdrop-filter: blur(22px) saturate(180%) brightness(1.12);
  }
}

/* Statusleiste und Dynamic Island */
.ed-status {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
  padding: 8px 30px 0 44px;
  font-size: 17px;
  font-weight: 600;
  pointer-events: none;
}
.ed-insel {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 118px;
  height: 34px;
  margin-left: -59px;
  border: 1px solid #1c1c1c;
  border-radius: 20px;
  background: #000;
}

/* Ansichten: Inhalte laufen bis unter die schwebende Tab-Leiste */
.ed-ansicht {
  position: absolute;
  inset: 0;
  background: #000;
}
.ed-voll {
  z-index: 20;
}
.ed-scan {
  z-index: 25;
}
.ed-rolle {
  position: absolute;
  top: 54px;
  left: 0;
  right: 0;
  bottom: 26px; /* darunter steht der Hinweis „Konzept-Demo“ */
  overflow-x: hidden;
  overflow-y: auto;
  padding: 6px 20px 100px;
  scrollbar-width: thin;
  scrollbar-color: #3a3a3a transparent;
}
.ed-rolle:focus-visible {
  outline-offset: -3px;
}
.ed-rolle--detail {
  padding: 58px 20px 36px;
}

/* Textstile der App */
.ed-gross {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.ed-titel2 {
  font-size: 25px;
  font-weight: 600;
  line-height: 1.12;
}
.ed-titel3 {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.15;
}
.ed-zeile-titel {
  display: block;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}
.ed-unter {
  display: block;
  font-size: 15px;
  line-height: 1.3;
  color: var(--ed-text2);
}
.ed-unter.ed-hell {
  color: var(--ed-text);
}
.ed-klein {
  font-size: 13px;
  line-height: 1.3;
  color: var(--ed-text2);
  text-align: center;
}
.ed-fussnote {
  margin-top: 8px !important;
  font-size: 14px;
  line-height: 1.3;
  color: var(--ed-text2);
}
.ed-mitte {
  text-align: center;
}
.ed-etikett {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--ed-gold);
}
.ed-plakat {
  font-size: 31px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Platte: Leitmotiv der App. Fragezeichen = noch nicht entdeckt, Gold = entdeckt */
.ed-platte {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--ed-gold);
  border-radius: 5px;
  background: #141414;
  color: var(--ed-gold);
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
}
.ed-platte.is-entdeckt {
  background: var(--ed-gold);
}
.ed-platte--22 {
  width: 22px;
  height: 22px;
  border-radius: 4px;
}
.ed-platte--36 {
  width: 36px;
  height: 36px;
  font-size: 22px;
}
.ed-platte--40 {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  font-size: 25px;
}

/* Knöpfe */
.ed .ed-knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
}
.ed .ed-knopf.is-gold {
  border-color: var(--ed-gold);
  background: var(--ed-gold);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 6px 20px rgba(0, 0, 0, 0.4);
  color: var(--ed-auf-gold);
}
.ed .ed-knopf--klein {
  min-height: 44px;
  padding: 0 20px;
  font-size: 16px;
}
.ed .ed-knopf--breit {
  width: 100%;
  margin-top: 16px;
}
.ed .ed-rund {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--ed-gold);
}
.ed .ed-rund--klein {
  width: 44px;
  height: 44px;
  color: var(--ed-text);
}
.ed button:active {
  opacity: 0.7;
}

/* ----- Entdecken: Karte ----- */
.ed-fenster {
  position: absolute;
  inset: 0;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y; /* eingebettet: senkrechtes Wischen scrollt die Seite */
  -webkit-user-select: none;
  user-select: none;
}
.ed--buehne .ed-fenster {
  touch-action: none; /* auf der Demo-Seite lässt sich die Karte frei verschieben */
}
.ed-fenster.is-zug {
  cursor: grabbing;
}
.ed-flaeche {
  position: absolute;
  top: 0;
  left: 0;
}
.ed-kartenbild {
  display: block;
}
/* Straßennamen und Ortsnamen in den Kartenzeichnungen */
.ek-namen {
  font-family: var(--schrift);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.6px;
  fill: #8f8f8f;
  stroke: #080808;
  stroke-width: 2.6px;
  paint-order: stroke;
}
.ek-orte {
  font-family: var(--schrift);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  fill: #8f8f8f;
  stroke: #141414;
  stroke-width: 3px;
  paint-order: stroke;
}
.ed-ich {
  position: absolute;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #2f8fff;
  box-shadow: 0 0 0 9px rgba(47, 143, 255, 0.2);
  pointer-events: none;
}
.ed .ed-pin {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
}
.ed-pin i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--ed-gold);
  border-radius: 5px;
  background: #141414;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  color: var(--ed-gold);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 1;
}
.ed-pin.is-entdeckt i {
  border: 2.5px solid #1c1c1e;
  background: var(--ed-gold);
}
.ed-pin.is-gruppe i {
  min-width: 30px;
  width: auto;
  height: 30px;
  padding: 0 5px;
  border: 2.5px solid #1c1c1e;
  border-radius: 15px;
  background: var(--ed-gold);
  color: #000;
  font-size: 15px;
}
.ed-pin.is-aktiv {
  z-index: 2;
  border: 1px solid var(--ed-gold);
  background: rgba(201, 162, 39, 0.2);
}
/* Name des Gebiets unter dem Pin (Kreis-Übersicht) */
.ed-pin-name {
  position: absolute;
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--ed-text);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-shadow: 0 0 3px #000, 0 0 3px #000, 0 0 6px #000;
}
.ed .ed-suchfeld {
  position: absolute;
  top: 58px;
  left: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  color: #d6d6da;
}
.ed-kartenkopf {
  position: absolute;
  top: 116px;
  left: 16px;
  right: 20px;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
}
.ed .ed-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 0 14px 0 9px;
  border-radius: 999px;
  color: var(--ed-gold);
  font-size: 15px;
  font-weight: 500;
  pointer-events: auto;
}
.ed-quelle {
  margin-left: auto !important;
  padding-top: 2px !important;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--ed-text2);
  text-shadow: 0 0 3px #000, 0 0 3px #000;
}
.ed-unten {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 106px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
.ed-unten > * > * {
  pointer-events: auto;
}
.ed-aktionen {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.ed-karte {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 28px;
}
.ed-karte-kopf {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ed .ed-info-zu {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ed-fuellung);
  color: var(--ed-text2);
}
.ed-karte-fuss {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ed-karte-fuss > .ed-unter {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ed-karte-fuss .ed-symbol {
  color: var(--ed-gold);
}
.ed-karte-liste {
  max-height: 200px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #555 transparent;
}
.ed-karte-liste li + li {
  border-top: 1px solid var(--ed-trenner);
}
.ed-karte-liste button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  padding: 8px 0;
}

/* ----- Schwebende Tab-Leiste und Fußzeile ----- */
.ed-tabs {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 28px;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  height: 64px;
  padding: 5px;
  border-radius: 32px;
}
.ed .ed-tabs button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 27px;
  color: #d6d6da;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ed .ed-tabs button[aria-current="page"] {
  background: rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: var(--ed-gold);
}
.ed-tabs button:focus-visible {
  outline-offset: -2px;
}
.ed-schirm .ed-fuss {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  z-index: 45;
  color: #c4c4c8;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 3px #000, 0 0 4px #000, 0 0 8px #000;
  pointer-events: none;
}

/* ----- Listen (Orte, Sammlung) ----- */
.ed-eingabefeld {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  margin-top: 12px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--ed-fuellung);
  color: var(--ed-text2);
}
.ed-eingabefeld:focus-within {
  outline: 2px solid var(--ed-gold);
}
.ed-eingabe {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: none;
  color: var(--ed-text);
  font: inherit;
  letter-spacing: inherit;
  -webkit-appearance: none;
  appearance: none;
}
.ed-schirm .ed-eingabe:focus-visible {
  outline: 0;
}
.ed-eingabe::placeholder {
  color: var(--ed-text2);
  opacity: 1;
}
.ed-eingabe::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.ed-gruppe {
  margin-top: 26px;
}
.ed-gruppe-kopf {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px !important;
  padding: 0 4px !important;
}
.ed-liste {
  border: 1px solid var(--ed-trenner);
  border-radius: 20px;
  background: var(--ed-zelle);
}
.ed-liste > li + li {
  border-top: 1px solid var(--ed-trenner);
}
.ed .ed-zeile,
.ed-plakette {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  padding: 10px 14px;
}
.ed-liste > li:first-child .ed-zeile {
  border-radius: 19px 19px 0 0;
}
.ed-liste > li:last-child .ed-zeile {
  border-radius: 0 0 19px 19px;
}
.ed-liste > li:only-child .ed-zeile {
  border-radius: 19px;
}
.ed-zeile:focus-visible {
  outline-offset: -3px;
}
.ed-leer {
  margin-top: 28px !important;
  color: var(--ed-text2);
  text-align: center;
}
.ed-orte > .ed-fussnote {
  margin-top: 22px !important;
}
.ed-held {
  margin-top: 14px;
}
.ed-goldbalken {
  display: block;
  width: 44px;
  height: 3px;
  margin: 10px 0 14px;
  background: var(--ed-gold);
}
.ed-held .ed-unter {
  margin-top: 6px;
}
.ed-leerzustand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 0 12px;
  text-align: center;
}
.ed-leer-symbol {
  color: var(--ed-gold);
}
.ed-leerzustand .ed-knopf {
  margin-top: 8px;
}
.ed-plakette-zeichen {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--ed-text3);
  border-radius: 6px;
  color: var(--ed-auf-gold);
}
.ed-plakette.is-erreicht .ed-plakette-zeichen {
  border-color: var(--ed-gold);
  background: var(--ed-gold);
}
.ed-plakette-titel {
  display: block;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.15;
}
.ed-plakette:not(.is-erreicht) .ed-plakette-titel {
  color: var(--ed-text2);
}
.ed-plakette-stand {
  flex: none;
  white-space: nowrap;
}

/* ----- Detailseite ----- */
.ed-leiste {
  position: absolute;
  top: 56px;
  left: 14px;
  z-index: 2;
}
.ed .ed-zurueck {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 44px;
  padding: 0 16px 0 8px;
  border-radius: 999px;
  color: var(--ed-gold);
  font-size: 17px;
  font-weight: 500;
}
.ed-kategorie {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px !important;
}
.ed-rolle--detail .ed-gross + .ed-unter {
  margin-top: 6px;
}
.ed-abschnitt {
  margin-top: 26px;
}
.ed-abschnitt > .ed-etikett {
  margin-bottom: 9px;
}
.ed-inschrift {
  padding: 18px 16px !important;
  border: 1px solid var(--ed-gold);
  border-radius: 6px;
  background: rgba(201, 162, 39, 0.2);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  text-wrap: balance;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.ed-platzhalter {
  color: var(--ed-text2);
}
.ed-audio {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--ed-trenner);
  border-radius: 20px;
  background: var(--ed-zelle);
}
.ed .ed-audio-knopf {
  display: grid;
  place-items: center;
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--ed-gold);
  color: var(--ed-auf-gold);
}
.ed-audio-spur {
  height: 4px;
  margin: 9px 0 7px;
  border-radius: 2px;
  background: var(--ed-fuellung);
}
.ed-audio-spur span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 2px;
  background: var(--ed-gold);
}
.ed-audio-text {
  font-size: 15px;
}
.ed-bildplatz {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 132px;
  border: 1px dashed var(--ed-rahmen);
  border-radius: 18px;
  color: var(--ed-text2);
}
.ed-foto {
  overflow: hidden;
  border: 1px solid var(--ed-rahmen);
  border-radius: 18px;
}
.ed-foto img {
  display: block;
  width: 100%;
  height: auto;
}
.ed .ed-minikarte {
  display: grid;
  place-items: center;
  width: 100%;
  height: 160px;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid var(--ed-trenner);
  border-radius: 18px;
}
.ed-minikarte svg {
  display: block;
}
.ed-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}
.ed-link .ed-gold:first-child {
  font-size: 18px;
}

/* ----- Scannen: das Flyer-Foto als nachgestelltes Kamerabild ----- */
.ed-kamera {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #111;
}
.ed-kamera img {
  position: absolute;
  max-width: none;
}
/* Unscharfer Hintergrund in den Farben des Pflasters */
.ed-kamera-weit {
  top: -5%;
  left: -55%;
  width: 210%;
  height: 110%;
  object-fit: cover;
  filter: blur(16px) brightness(0.34) saturate(0.75);
}
/* Scharfer Ausschnitt genau im Sucher */
.ed-kamera-nah {
  top: 187px;
  left: -56px;
  width: 502px;
  height: 283px;
  clip-path: inset(30px 141px 33px 141px round 10px);
}
.ed-scan-kopf {
  position: absolute;
  top: 58px;
  left: 20px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ed-sucher {
  position: absolute;
  top: 217px;
  left: 50%;
  width: 220px;
  height: 220px;
  margin-left: -110px;
  overflow: hidden;
  border: 3px solid var(--ed-gold);
  border-radius: 12px;
}
.ed-suchlinie {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: none;
  height: 2px;
  background: var(--ed-gold);
}
.ed-scan-feld {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 28px;
}
.ed-scan-liste li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}
.ed-lade {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  color: var(--ed-text2);
}
.ed-rad {
  width: 18px;
  height: 18px;
  border: 2px solid var(--ed-rahmen);
  border-top-color: var(--ed-gold);
  border-radius: 50%;
}

/* ----- Hinweis „Stolperstein in deiner Nähe“ ----- */
.ed-banner {
  position: absolute;
  top: 54px;
  left: 10px;
  right: 10px;
  z-index: 35;
  display: flex;
  align-items: stretch;
  border-radius: 24px;
}
.ed .ed-banner-inhalt {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 4px 12px 14px;
  border-radius: 23px 0 0 23px;
}
.ed-banner-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ed-rahmen);
  border-radius: 10px;
  background: #000;
}
.ed-banner-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  font-size: 16px;
  line-height: 1.25;
}
.ed-banner-kopf {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c4c4c8;
}
.ed-banner-text strong {
  font-weight: 600;
}
.ed-banner-ort {
  overflow: hidden;
  color: #c4c4c8;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ed .ed-banner-zu {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  border-radius: 0 23px 23px 0;
  color: #c4c4c8;
}

/* ----- Unter dem Gerät ----- */
.ed-bedienung {
  margin: 14px 0 0;
}
.ed .ed-reset {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--gold-leise, #5c4a12);
  color: var(--text-leise, #a8a8ad);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.ed .ed-reset:hover {
  border-color: var(--ed-gold);
  color: var(--ed-gold);
}
.ed .ed-reset:focus-visible {
  outline: 2px solid var(--ed-gold);
  outline-offset: 3px;
}
.demo-notiz {
  max-width: 26rem;
  margin: 14px auto 0;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--text-leise);
  text-align: center;
}

/* ----- Bewegung: sparsam und nur mit Zweck ----- */
@media (prefers-reduced-motion: no-preference) {
  .ed-flaeche.is-fahrt {
    transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .ed-fenster.is-neu {
    animation: ed-einblenden 0.3s ease-out;
  }
  .ed-ansicht.ed-voll.is-neu {
    animation: ed-herein 0.24s ease-out;
  }
  .ed-ansicht.ed-scan.is-neu {
    animation-name: ed-herauf;
  }
  .ed-banner {
    animation: ed-herab 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .is-suche .ed-suchlinie {
    display: block;
    animation: ed-suchen 1.6s ease-in-out infinite alternate;
  }
  .ed-rad {
    animation: ed-drehen 0.9s linear infinite;
  }
  .ed-audio-spur span {
    transition: width 0.1s linear;
  }
}
@keyframes ed-einblenden {
  from {
    opacity: 0;
  }
}
@keyframes ed-herein {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
}
@keyframes ed-herauf {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
}
@keyframes ed-herab {
  from {
    opacity: 0;
    transform: translateY(-120%);
  }
}
@keyframes ed-suchen {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(212px);
  }
}
@keyframes ed-drehen {
  to {
    transform: rotate(360deg);
  }
}

/* ----- Demo-Seite für die Präsentation ----- */
.demo-seite {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 2 * var(--rahmen) - 2px);
  min-height: calc(100svh - 2 * var(--rahmen) - 2px);
  padding: 14px var(--rand) 10px;
}
.demo-seite .ed-bedienung {
  margin-top: 12px;
}
.demo-fuss {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 26px;
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.demo-fuss a {
  display: block;
  padding: 8px 0;
  color: var(--text-leise);
  text-decoration: none;
}
.demo-fuss a:hover {
  color: var(--gold);
}
