/* ==========================================================
   Jubiläum: Logo und Motto als Seitenspalte im Kopfbereich
   der Startseite (ergänzt app.css)
   ========================================================== */

@media (min-width: 52rem) {
  .hero { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
}

.hero__aside {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  width: 100%;
  max-width: 22rem;
  justify-self: end;
}
.hero__aside::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--j-band); }
.hero__aside img { display: block; width: 100%; max-width: 15rem; height: auto; margin: 0 auto 1.25rem; }
.hero__motto {
  margin: 0;
  font-size: 1.1875rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--ink);
}
.hero__motto strong { font-weight: 700; }

/* Schmale Bildschirme: Logo und Motto nebeneinander, oberhalb des Textes */
@media (max-width: 51.99rem) {
  .hero__aside {
    order: -1;
    justify-self: start;
    max-width: none;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-align: left;
    padding: 1rem 1.25rem;
  }
  .hero__aside img { max-width: 7.5rem; margin: 0; flex: none; }
  .hero__motto { font-size: 1rem; }
}

/* ==========================================================
   Einreichungsformular: Teil für Teil, Bild/Video/Datei, Lizenzen
   ========================================================== */

.parts-box { border: 1px solid var(--line); border-radius: var(--radius); padding: .85rem 1.1rem; margin: 0 0 1.25rem; background: var(--paper); }
.parts-box > summary { cursor: pointer; font-weight: 500; }
.parts-box[open] > summary { margin-bottom: .75rem; }

.media-box { border: 1px solid var(--line); border-left: 4px solid var(--j-blau); border-radius: var(--radius); padding: 1rem 1.1rem .25rem; margin: 0 0 1.25rem; background: var(--sand-soft); }
.media-box legend { font-weight: 700; padding: 0 .35rem; background: var(--sand-soft); }
.media-box__current { margin-bottom: .5rem; }
input[type="url"] { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: .6rem .7rem; border: 1px solid #8f8a80; border-radius: var(--radius); background: #fff; }
input[type="file"] { font: inherit; font-size: .9375rem; max-width: 100%; }

.license-help { margin-top: .6rem; font-size: .9375rem; }
.license-help > summary { cursor: pointer; color: var(--anthracite); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.license-help[open] { background: var(--sand-soft); padding: .75rem 1rem; border-radius: var(--radius); }
.license-help[open] > summary { margin-bottom: .5rem; }
.license-help dl { margin: 0 0 .75rem; }
.license-help dt { font-weight: 700; margin-top: .5rem; }
.license-help dd { margin: 0; }
.license-help p:last-child { margin-bottom: 0; }
.license-help__head { font-weight: 700; margin: .75rem 0 .25rem; }
.license-help__links { margin: 0 0 .5rem; padding-left: 1.25rem; }
.license-help__links li { margin-bottom: .2rem; }
.license-help__links a::after { content: " ↗"; font-size: .8em; }

/* Anzeige */
.doc-part__direction { font-style: italic; color: var(--anthracite); border-left: 3px solid var(--orange-mid); padding-left: .75rem; margin-bottom: .6rem; }
.doc__media { margin-bottom: 1.5rem; }
.doc__media img { display: block; max-width: 100%; max-height: 32rem; width: auto; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .75rem; }
.doc__media a { word-break: break-all; }
.doc__notes + .doc__notes { margin-top: 1rem; }
.doc__jubilee { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem .5rem; margin-bottom: 1.75rem; overflow: hidden; }
.doc__jubilee::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--j-band); }
.doc__jubilee h2 { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--anthracite); margin-bottom: .4rem; }

/* Einreichen: Alternative per E-Mail */
.choice--mail { margin-top: 1.25rem; border-top-color: var(--j-blau); }
.choice--mail .btn { word-break: break-all; }
