/*
 * woogency Playground. Farben, Schrift und Formen wie im Dashboard
 * (src/app/globals.css dort): Petrol und Gold, Open Sans, eckig (höchstens
 * 2px Rundung), Karten ohne Rahmen mit leichtem Schatten.
 */

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('schrift/open-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: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('schrift/open-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --primaer: #1e3a4f;
  --primaer-hell: #2a5270;
  --auf-primaer: #ffffff;
  --gold: #e8a838;
  --gold-hell: #f2c068;
  --auf-gold: #0d1a24;
  --dunkel: #1e3a4f;
  --dunkel-tief: #152b3b;

  --flaeche: #f0f2f5;
  --karte: #ffffff;
  --text: #1a1a2e;
  --text-leise: #6b7280;
  --text-sehr-leise: #9ca3af;
  --rand: #e5e7eb;
  --rand-hell: #f3f4f6;
  --hover: rgba(30, 58, 79, 0.04);

  --erfolg: #15803d;
  --erfolg-bg: #ecfdf3;
  --warnung: #a16207;
  --gefahr: #b91c1c;
  --gefahr-bg: #fef2f2;
  --info: #3f57e1;

  --schatten-klein: 0 1px 2px rgba(0, 0, 0, 0.05);
  --schatten: 0 4px 6px rgba(0, 0, 0, 0.07);
  --schatten-gross: 0 10px 24px rgba(0, 0, 0, 0.12);

  --schrift: 'Open Sans', Arial, sans-serif;
  --breite: 1160px;
  --rand-seite: 24px;
  --kopf-hoehe: 60px;
  --schnell: 150ms ease;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --primaer: #7eb4da;
    --primaer-hell: #9cc7e6;
    --auf-primaer: #0d1a24;
    --dunkel: #12283a;
    --dunkel-tief: #0c1c29;

    --flaeche: #0f151c;
    --karte: #18212b;
    --text: #e5e9ee;
    --text-leise: #a5afba;
    --text-sehr-leise: #7f8a97;
    --rand: #2b3743;
    --rand-hell: #222c37;
    --hover: rgba(255, 255, 255, 0.05);

    --erfolg: #4ade80;
    --erfolg-bg: rgba(34, 197, 94, 0.12);
    --warnung: #f5c451;
    --gefahr: #f87171;
    --gefahr-bg: rgba(239, 68, 68, 0.13);
    --info: #a5b4fc;

    --schatten-klein: 0 1px 2px rgba(0, 0, 0, 0.4);
    --schatten: 0 4px 6px rgba(0, 0, 0, 0.35);
    --schatten-gross: 0 10px 24px rgba(0, 0, 0, 0.5);
  }
}

/* --- Grundlagen ----------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--kopf-hoehe) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--flaeche);
  -webkit-font-smoothing: antialiased;
}

body.dunkel {
  background: var(--dunkel-tief);
}

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

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

a {
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

main:focus {
  outline: none;
}

code {
  font-size: 0.9em;
  padding: 1px 4px;
  background: rgba(127, 127, 127, 0.15);
  border-radius: 2px;
}

.nur-screenreader {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sprunglink {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--gold);
  color: var(--auf-gold);
  font-weight: 700;
  text-decoration: none;
}

.sprunglink:focus {
  top: 12px;
}

.symbol {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* --- Knöpfe --------------------------------------------------------------- */

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--schnell), border-color var(--schnell), transform var(--schnell), box-shadow var(--schnell);
}

.knopf:hover {
  transform: translateY(-1px);
}

.knopf:active {
  transform: none;
}

.knopf--gold {
  background: var(--gold);
  color: var(--auf-gold);
  box-shadow: 0 6px 18px rgba(232, 168, 56, 0.28);
}

.knopf--gold:hover {
  background: var(--gold-hell);
}

.knopf--primaer {
  background: var(--primaer);
  color: var(--auf-primaer);
}

.knopf--primaer:hover {
  background: var(--primaer-hell);
}

.knopf--rand {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.knopf--rand:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.knopf--klein {
  min-height: 36px;
  padding: 6px 14px;
  font-size: 14px;
}

.knopf--breit {
  width: 100%;
}

.symbolknopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--text-leise);
  cursor: pointer;
}

.symbolknopf:hover {
  background: var(--gefahr-bg);
  color: var(--gefahr);
}

.symbolknopf--klein {
  width: 28px;
  height: 28px;
}

.symbolknopf--klein .symbol {
  width: 15px;
  height: 15px;
}

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--primaer);
  text-decoration: none;
  white-space: nowrap;
}

.textlink:hover {
  text-decoration: underline;
}

.textlink .symbol {
  width: 16px;
  height: 16px;
}

/* --- Sterne (Hintergrund der dunklen Flächen) ------------------------------- */

.sterne {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 28% 62%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 44% 30%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 58% 80%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 66% 14%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 78% 48%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 88% 24%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 92% 72%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 6% 86%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 36% 90%, rgba(232, 168, 56, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 72% 92%, rgba(232, 168, 56, 0.6), transparent);
  animation: funkeln 6s ease-in-out infinite alternate;
}

@keyframes funkeln {
  from { opacity: 0.55; }
  to { opacity: 1; }
}

/* --- Anmeldung ------------------------------------------------------------- */

.anmeldung {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: radial-gradient(ellipse at 50% 0%, var(--primaer-hell, #2a5270) 0%, var(--dunkel) 45%, var(--dunkel-tief) 100%);
  color: #ffffff;
  overflow: hidden;
}

@media (prefers-color-scheme: dark) {
  .anmeldung {
    background: radial-gradient(ellipse at 50% 0%, #1d3a52 0%, var(--dunkel) 45%, var(--dunkel-tief) 100%);
  }
}

.anmeldung__karte {
  position: relative;
  width: 100%;
  max-width: 380px;
  text-align: center;
}

.anmeldung__rakete {
  margin: 0 auto 20px;
  width: 40px;
  height: auto;
  animation: schweben 4s ease-in-out infinite;
}

.anmeldung__titel {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.anmeldung__text {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.75);
}

.anmeldung__formular {
  margin-top: 28px;
  display: grid;
  gap: 10px;
  text-align: left;
}

.anmeldung__formular .feld__label {
  color: rgba(255, 255, 255, 0.8);
}

.anmeldung__formular .feld__eingabe {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.anmeldung__formular .feld__fehler {
  color: #fca5a5;
}

.anmeldung__formular .knopf {
  margin-top: 8px;
}

.anmeldung__hinweis {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* --- Kopf ------------------------------------------------------------------ */

.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(21, 43, 59, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

@media (prefers-color-scheme: dark) {
  .kopf {
    background: rgba(12, 28, 41, 0.92);
  }
}

.kopf__innen {
  max-width: var(--breite);
  height: var(--kopf-hoehe);
  margin: 0 auto;
  padding: 0 var(--rand-seite);
  display: flex;
  align-items: center;
  gap: 24px;
}

.kopf__marke {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 16px;
  white-space: nowrap;
}

.kopf__marke img {
  width: 14px;
  height: auto;
}

.kopf__marke strong {
  color: var(--gold);
}

.kopf__nav {
  display: flex;
  gap: 4px;
}

.kopf__nav a {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
}

.kopf__nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.kopf__aktionen {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.kopf__aktionen form {
  margin: 0;
}

.kopf__rolle {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(232, 168, 56, 0.5);
  padding: 3px 8px;
  border-radius: 2px;
}

.kopf__abmelden {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.kopf__abmelden:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* --- Meldung --------------------------------------------------------------- */

.meldung {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: var(--breite);
  margin: 16px auto 0;
  padding: 12px 16px;
  background: var(--erfolg-bg);
  color: var(--erfolg);
  font-weight: 600;
  border-left: 3px solid var(--erfolg);
}

.meldung--fehler {
  background: var(--gefahr-bg);
  color: var(--gefahr);
  border-left-color: var(--gefahr);
}

.meldung--im-formular {
  margin: 0 0 20px;
}

main > .meldung {
  width: calc(100% - 2 * var(--rand-seite));
}

/* --- Held (oberer Bereich) ---------------------------------------------------- */

.held {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(232, 168, 56, 0.16), transparent 50%),
    radial-gradient(ellipse at 10% 100%, rgba(126, 180, 218, 0.14), transparent 55%),
    linear-gradient(160deg, #1e3a4f 0%, #152b3b 100%);
  color: #ffffff;
}

@media (prefers-color-scheme: dark) {
  .held {
    background:
      radial-gradient(ellipse at 80% 20%, rgba(232, 168, 56, 0.12), transparent 50%),
      radial-gradient(ellipse at 10% 100%, rgba(126, 180, 218, 0.1), transparent 55%),
      linear-gradient(160deg, #12283a 0%, #0c1c29 100%);
  }
}

main > .meldung + .held,
main > .meldung + .meldung + .held {
  margin-top: 16px;
}

.held__innen {
  position: relative;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 88px var(--rand-seite) 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  gap: 48px;
}

.held__vorzeile {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.held__titel {
  margin-top: 14px;
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.held__titel span {
  color: var(--gold);
}

.held__unterzeile {
  margin-top: 20px;
  max-width: 600px;
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255, 255, 255, 0.82);
}

.held__knoepfe {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.held__zahlen {
  margin-top: 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.held__zahlen strong {
  color: #ffffff;
}

.held__bild {
  position: relative;
  height: 320px;
  display: grid;
  place-items: center;
}

.held__bahn {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.18);
}

.held__bahn::before,
.held__bahn::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.held__bahn::before {
  inset: 40px;
  border: 1px solid rgba(232, 168, 56, 0.22);
}

.held__bahn::after {
  width: 10px;
  height: 10px;
  top: 26px;
  right: 46px;
  background: var(--gold);
  box-shadow: 0 0 16px rgba(232, 168, 56, 0.8);
}

.held__rakete {
  position: relative;
  width: 96px;
  height: auto;
  transform: rotate(18deg);
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
  animation: schweben-schraeg 5s ease-in-out infinite;
}

@keyframes schweben {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes schweben-schraeg {
  0%, 100% { transform: rotate(18deg) translateY(0); }
  50% { transform: rotate(18deg) translateY(-14px); }
}

/* --- Abschnitte --------------------------------------------------------------- */

.abschnitt {
  padding: 80px 0;
  background: var(--karte);
}

.abschnitt--flaeche {
  background: var(--flaeche);
}

.abschnitt__innen {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 var(--rand-seite);
}

.vorzeile {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-leise);
}

.abschnitt__titel {
  margin-top: 6px;
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Zwei Wege */

.wege {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.weg {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 32px;
  background: var(--flaeche);
  border-top: 3px solid var(--primaer);
}

.weg--gold {
  border-top-color: var(--gold);
}

.weg h3 {
  font-size: 21px;
  font-weight: 800;
}

.weg p {
  color: var(--text-leise);
}

.weg .knopf {
  margin-top: auto;
}

.weg__symbol {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 2px;
  background: var(--primaer);
  color: var(--auf-primaer);
}

.weg--gold .weg__symbol {
  background: var(--gold);
  color: var(--auf-gold);
}

.weg__symbol .symbol {
  width: 22px;
  height: 22px;
}

.weg__klein {
  font-size: 13px;
}

/* Schritte */

.schritte {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: schritt;
}

.schritt {
  position: relative;
  padding: 24px;
  background: var(--karte);
  box-shadow: var(--schatten-klein);
}

.schritt::after {
  content: '';
  position: absolute;
  top: 44px;
  right: -20px;
  width: 20px;
  border-top: 2px dashed var(--rand);
}

.schritt:last-child::after {
  display: none;
}

.schritt__nummer {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primaer);
  color: var(--auf-primaer);
  font-weight: 800;
  font-size: 17px;
}

.schritt:last-child .schritt__nummer {
  background: var(--gold);
  color: var(--auf-gold);
}

.schritt h3 {
  margin-top: 14px;
  font-size: 17px;
  font-weight: 800;
}

.schritt p {
  margin-top: 6px;
  font-size: 15px;
  color: var(--text-leise);
}

.hinweiszeile {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 16px 20px;
  background: var(--karte);
  box-shadow: var(--schatten-klein);
  font-size: 15px;
}

.hinweiszeile > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-leise);
}

.hinweiszeile > span .symbol {
  color: var(--gold);
}

/* Anstöße */

.anstoesse {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.anstoesse li {
  position: relative;
  padding: 20px 20px 20px 48px;
  background: var(--flaeche);
  font-weight: 600;
  line-height: 1.45;
}

.anstoesse li::before {
  content: '?';
  position: absolute;
  left: 16px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--auf-gold);
  font-size: 13px;
  font-weight: 800;
}

/* --- Ideenwand ------------------------------------------------------------------ */

.wand__kopf {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

/* Formular „Etwas teilen" */

.teilen {
  margin-top: 28px;
  background: var(--karte);
  box-shadow: var(--schatten);
  border-left: 3px solid var(--gold);
}

.teilen__kopf {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
}

.teilen__kopf::-webkit-details-marker {
  display: none;
}

.teilen__kopf:hover {
  background: var(--hover);
}

.teilen__kopf strong {
  display: block;
  font-size: 18px;
}

.teilen__unter {
  display: block;
  font-size: 14px;
  color: var(--text-leise);
}

.teilen__symbol {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 2px;
  background: var(--gold);
  color: var(--auf-gold);
}

.teilen__symbol .symbol {
  transition: transform var(--schnell);
}

.teilen[open] .teilen__symbol .symbol {
  transform: rotate(45deg);
}

.teilen__formular {
  padding: 8px 24px 24px;
  border-top: 1px solid var(--rand-hell);
}

.raster {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.feld {
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.feld--breit {
  grid-column: 1 / -1;
}

.feld__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-leise);
  padding: 0;
}

.feld__optional {
  margin-left: 6px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-sehr-leise);
}

.feld__eingabe {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  background: var(--karte);
  border: 1px solid var(--rand);
  border-radius: 2px;
  transition: border-color var(--schnell), box-shadow var(--schnell);
}

.feld__eingabe:focus {
  outline: none;
  border-color: var(--primaer);
  box-shadow: 0 0 0 3px rgba(42, 82, 112, 0.18);
}

.feld__eingabe[aria-invalid='true'] {
  border-color: var(--gefahr);
}

textarea.feld__eingabe {
  resize: vertical;
  line-height: 1.5;
}

.feld__fehler {
  font-size: 14px;
  font-weight: 600;
  color: var(--gefahr);
}

.feld__hinweis {
  font-size: 13px;
  color: var(--text-leise);
}

.stand-wahl {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stand-wahl__option {
  position: relative;
}

.stand-wahl__option input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.stand-wahl__option span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--rand);
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-leise);
  transition: all var(--schnell);
}

.stand-wahl__option input:checked + span {
  background: var(--primaer);
  border-color: var(--primaer);
  color: var(--auf-primaer);
}

.stand-wahl__option input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.ablage {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 24px 16px;
  border: 2px dashed var(--rand);
  border-radius: 2px;
  text-align: center;
  color: var(--text-leise);
  cursor: pointer;
  transition: border-color var(--schnell), background var(--schnell);
}

.ablage:hover,
.ablage[data-zieht] {
  border-color: var(--gold);
  background: rgba(232, 168, 56, 0.06);
}

.ablage .symbol {
  width: 26px;
  height: 26px;
  color: var(--gold);
}

.ablage strong {
  color: var(--text);
}

.ablage__hinweis {
  font-size: 13px;
  color: var(--text-sehr-leise);
}

.ablage__eingabe {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.ablage__eingabe:focus-visible + .ablage {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.feld {
  position: relative;
}

.ablage__liste {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.ablage__liste:empty {
  display: none;
}

.ablage__liste li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  background: var(--flaeche);
  font-size: 14px;
}

.ablage__liste li[data-fehler] {
  color: var(--gefahr);
  background: var(--gefahr-bg);
}

.teilen__fuss {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

/* Filter */

.filter {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 14px;
  background: var(--karte);
  box-shadow: var(--schatten-klein);
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-leise);
}

.filter__chip span {
  font-size: 12px;
  color: var(--text-sehr-leise);
}

.filter__chip:hover {
  color: var(--text);
}

.filter__chip[aria-current='true'] {
  background: var(--primaer);
  color: var(--auf-primaer);
}

.filter__chip[aria-current='true'] span {
  color: inherit;
  opacity: 0.8;
}

/* Karten */

.wand {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  align-items: start;
}

.idee {
  background: var(--karte);
  box-shadow: var(--schatten-klein);
  transition: box-shadow var(--schnell), transform var(--schnell);
}

.idee:hover {
  box-shadow: var(--schatten);
}

.idee:target {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.idee__bild {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--flaeche);
}

.idee__bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.idee__bild:hover img {
  transform: scale(1.03);
}

.idee__inhalt {
  padding: 20px 22px 18px;
}

.idee__marken {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

.marke {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primaer);
}

.marke--elementor { color: #b5338f; }
.marke--automation { color: var(--info); }
.marke--prompt { color: #7c3aed; }
.marke--vorlage { color: #0f766e; }
.marke--werkzeug { color: #c2410c; }

@media (prefers-color-scheme: dark) {
  .marke--elementor { color: #f0a3d6; }
  .marke--prompt { color: #c4b5fd; }
  .marke--vorlage { color: #5eead4; }
  .marke--werkzeug { color: #fdba74; }
}

.stand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-leise);
}

.stand::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-sehr-leise);
}

.stand--arbeit::before { background: var(--gold); }
.stand--fertig::before { background: #22c55e; }

.idee__titel {
  margin-top: 10px;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.idee__von {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-leise);
}

.initialen {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primaer);
  color: var(--auf-primaer);
  font-size: 11px;
  font-weight: 700;
}

.idee__text {
  margin-top: 14px;
  font-size: 15px;
  color: var(--text);
  overflow-wrap: anywhere;
}

.js .idee__text[data-gekuerzt] {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.weiterlesen {
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--primaer);
  cursor: pointer;
}

.weiterlesen:hover {
  text-decoration: underline;
}

.idee__bilder {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.idee__bilder img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  background: var(--flaeche);
}

.idee__anhaenge {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.anhang {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--flaeche);
  text-decoration: none;
  font-size: 14px;
  transition: background var(--schnell);
}

.anhang:hover {
  background: var(--rand-hell);
}

.anhang .symbol {
  width: 16px;
  height: 16px;
  color: var(--primaer);
}

.anhang__name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

.anhang__info {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--text-leise);
}

.idee__tipp {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-leise);
}

.idee__leiste {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--rand-hell);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.idee__leiste form {
  margin: 0;
}

.reaktion {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--rand);
  border-radius: 2px;
  background: transparent;
  color: var(--text-leise);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--schnell);
}

.reaktion:hover {
  border-color: var(--gold);
  color: var(--text);
}

.reaktion[aria-pressed='true'] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--auf-gold);
}

.reaktion .symbol {
  width: 16px;
  height: 16px;
}

/* Rückmeldungen */

.rueckmeldungen {
  margin-top: 10px;
}

.rueckmeldungen summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primaer);
  cursor: pointer;
  list-style: none;
}

.rueckmeldungen summary::-webkit-details-marker {
  display: none;
}

.rueckmeldungen summary:hover {
  text-decoration: underline;
}

.rueckmeldungen summary .symbol {
  width: 16px;
  height: 16px;
}

.rueckmeldungen__liste {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.rueckmeldungen__liste li {
  padding: 10px 12px;
  background: var(--flaeche);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.rueckmeldungen__kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--text-leise);
}

.rueckmeldungen__kopf strong {
  color: var(--text);
}

.rueckmeldungen__kopf form {
  margin: 0;
}

.rueckmeldungen__liste li > p {
  margin-top: 4px;
}

.rueckmeldungen__formular {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.rueckmeldungen__formular .knopf {
  justify-self: end;
}

/* Leer */

.leer {
  margin-top: 32px;
  padding: 48px 24px;
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  background: var(--karte);
  box-shadow: var(--schatten-klein);
  color: var(--text-leise);
}

.leer img {
  width: 34px;
  height: auto;
  margin-bottom: 8px;
}

.leer__titel {
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
}

.leer .knopf {
  margin-top: 12px;
}

/* --- Fuß ------------------------------------------------------------------------ */

.fuss {
  background: var(--dunkel-tief);
  color: rgba(255, 255, 255, 0.75);
}

.fuss__innen {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 40px var(--rand-seite);
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  font-size: 15px;
}

.fuss__innen img {
  width: 12px;
  height: auto;
  margin-bottom: 8px;
  opacity: 0.8;
}

.fuss__klein {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* --- Kleine Bildschirme -------------------------------------------------------- */

@media (max-width: 960px) {
  .held__innen {
    grid-template-columns: 1fr;
    padding-top: 64px;
    padding-bottom: 72px;
  }

  .held__bild {
    display: none;
  }

  .schritte {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schritt::after {
    display: none;
  }

  .anstoesse {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --rand-seite: 16px;
  }

  .kopf__nav {
    display: none;
  }

  .kopf__innen {
    gap: 12px;
  }

  .abschnitt {
    padding: 56px 0;
  }

  .wege,
  .schritte,
  .anstoesse,
  .raster {
    grid-template-columns: 1fr;
  }

  .weg {
    padding: 24px 20px;
  }

  .held__knoepfe .knopf {
    flex: 1 1 100%;
  }

  .teilen__kopf,
  .teilen__formular {
    padding-left: 16px;
    padding-right: 16px;
  }

  .teilen__fuss .knopf {
    width: 100%;
  }

  .wand {
    grid-template-columns: 1fr;
  }
}

.knopf {
  white-space: nowrap;
}

@media (max-width: 480px) {
  /* Oben nur das Plus, der Text bleibt für Screenreader. */
  .kopf__teilen-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .kopf__aktionen .knopf {
    width: 40px;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
