/* Wissen – pixelegg-CD: Navy #2B4EA0, Verlauf #091329→#1B3269, Türkis #17C3D6, Poppins/Quicksand */
:root {
  --navy: #2B4EA0; --navy-dunkel: #091329; --navy-mitte: #1B3269;
  --tuerkis: #17C3D6; --tuerkis-text: #0A6F7C;
  --text: #353C55; --ueberschrift: #14192B; --flaeche: #EEF2FA; --linie: #D5DCEC;
  --gruen: #38B44A; --orange: #FF7A00; --rot: #C0392B;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Quicksand", system-ui, sans-serif; color: var(--text);
       background: var(--flaeche); line-height: 1.6; font-size: 16px; }
h1, h2, h3, button, .knopf, .marke span, th { font-family: "Poppins", system-ui, sans-serif; }
h1, h2, h3 { color: var(--ueberschrift); line-height: 1.25; }
h1 { font-size: 1.6rem; margin: .3em 0 .6em; }
a { color: var(--navy); }
code { font-family: ui-monospace, "IBM Plex Mono", monospace; font-size: .88em;
       background: var(--flaeche); padding: .05em .3em; border-radius: 3px; }

.kopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
        padding: .7rem 1.5rem; color: #fff;
        background: linear-gradient(90deg, var(--navy-dunkel), var(--navy-mitte)); }
.marke { display: flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; }
.marke img { height: 26px; filter: brightness(0) invert(1); }
.marke span { font-weight: 700; font-size: 1.1rem; border-left: 2px solid var(--tuerkis); padding-left: .7rem; }
.kopf nav { display: flex; align-items: center; gap: 1.2rem; }
.kopf nav a, .kopf .link { color: #fff; text-decoration: none; font-size: .95rem; }
.kopf nav a:hover { color: var(--tuerkis); }

main { max-width: 1100px; margin: 1.5rem auto; padding: 0 1.2rem 3rem; }
.karte, .baustein, .treffer { background: #fff; border-radius: 10px; padding: 1.4rem 1.6rem;
        box-shadow: 0 1px 3px rgba(9, 19, 41, .08); }
.schmal { max-width: 430px; margin: 3rem auto; }
.inline { display: inline; margin: 0; }

label { display: block; margin: .8rem 0; font-weight: 700; font-size: .92rem; }
input, select, textarea { width: 100%; font: inherit; color: var(--text); padding: .55rem .7rem;
        border: 1px solid var(--linie); border-radius: 6px; background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--tuerkis); border-color: var(--tuerkis); }
textarea { font-family: ui-monospace, "IBM Plex Mono", monospace; font-size: .9rem; line-height: 1.5; }

button, .knopf { display: inline-block; font-weight: 700; font-size: .92rem; cursor: pointer;
        padding: .55rem 1.1rem; border-radius: 6px; border: 0; background: var(--navy); color: #fff;
        text-decoration: none; margin-top: .5rem; }
button:hover, .knopf:hover { background: var(--navy-mitte); }
button.primaer { background: var(--gruen); }
button.zweit { background: #fff; color: var(--navy); border: 1px solid var(--navy); }
button.link { background: none; padding: 0; margin: 0; font-weight: 400; font-family: inherit; }
.link { margin-left: .4rem; }

.suche { display: grid; grid-template-columns: 1fr repeat(3, minmax(120px, 170px)) auto; gap: .5rem; }
.suche button { margin: 0; }
@media (max-width: 800px) { .suche { grid-template-columns: 1fr; } }

.klein { font-size: .88rem; }
.zaehler a { margin-right: .6rem; text-decoration: none; }
.meta { font-size: .85rem; margin: 0 0 .3rem; }
.typ, .status, .tag { display: inline-block; font-size: .78rem; font-weight: 700; padding: .05rem .5rem;
        border-radius: 99px; margin-right: .3rem; }
.typ { background: var(--flaeche); color: var(--navy); }
.tag { background: #E3F8FA; color: var(--tuerkis-text); }
.status.entwurf { background: #FFF1E0; color: #9A4A00; }
.status.freigegeben { background: #E5F6E8; color: #1F6B2B; }
.status.veraltet { background: #EEE; color: #666; text-decoration: line-through; }

.treffer { margin: .8rem 0; padding: 1rem 1.4rem; }
.treffer h2 { font-size: 1.08rem; margin: 0 0 .25rem; }
.treffer h2 a { text-decoration: none; }
.auszug { margin: .3rem 0 0; font-size: .93rem; }

.liste { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden;
         margin-top: 1rem; font-size: .92rem; }
.liste th { text-align: left; background: var(--navy-mitte); color: #fff; font-size: .82rem; padding: .55rem .8rem; }
.liste td { padding: .5rem .8rem; border-top: 1px solid var(--flaeche); vertical-align: top; }
.liste tr:hover td { background: #F7F9FD; }
.nowrap { white-space: nowrap; }

.aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; padding-bottom: .8rem;
            border-bottom: 1px solid var(--flaeche); }
.aktionen .knopf, .aktionen button { margin: 0; }
.text h2 { font-size: 1.15rem; margin-top: 1.6em; padding-top: .2em; border-top: 3px solid var(--tuerkis);
           display: inline-block; }
.text pre { background: var(--navy-dunkel); color: #E8ECF6; padding: .9rem 1rem; border-radius: 8px;
            overflow-x: auto; font-size: .86rem; }
.text pre code { background: none; color: inherit; padding: 0; }
.text table { border-collapse: collapse; margin: 1em 0; }
.text th, .text td { border: 1px solid var(--linie); padding: .35rem .6rem; }
.fuss { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; margin-top: 2rem;
        padding-top: 1rem; border-top: 1px solid var(--flaeche); font-size: .88rem; }
.fuss dt { font-weight: 700; }
.fuss dd { margin: 0; }

.fehler { background: #FDECEA; color: var(--rot); border-left: 4px solid var(--rot); padding: .7rem 1rem;
          border-radius: 6px; }
.hinweis { background: #E3F8FA; color: var(--tuerkis-text); border-left: 4px solid var(--tuerkis);
           padding: .7rem 1rem; border-radius: 6px; }
.qr { text-align: center; margin: 1rem 0; }
.qr svg { width: 220px; height: 220px; }
