/* SEO-Betreuung · Vogelfrei Solutions – helle Arbeitsfläche, dunkler Kopf mit Lime-Akzent wie vogelfrei-solutions.de */
:root {
  --dunkel: #0a0a09; --dunkel-2: #1c1c1a; --lime: #9edb1a; --lime-hell: #f2fbe0; --gruen: #3f6212;
  --text: #1f2328; --text-2: #57606a; --text-3: #8b949e; --linie: #e3e6ea; --flaeche: #f6f7f8; --weiss: #fff;
  --blau: #1d4ed8; --blau-hell: #e8efff; --gelb: #9a6700; --gelb-hell: #fff4d6; --lila: #7c3aed; --lila-hell: #f1eaff;
  --ok: #1a7f37; --ok-hell: #e6f6ea; --rot: #c62828; --rot-hell: #fdecec;
  --radius: 10px; --schatten: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--flaeche); color: var(--text); font-size: 15px; line-height: 1.5; }
a { color: var(--gruen); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 1.55rem; line-height: 1.25; margin: 0 0 .25rem; letter-spacing: -.01em; }
h2 { font-size: 1.12rem; margin: 0 0 .75rem; }
h3 { font-size: 1rem; margin: 0 0 .5rem; }
p { margin: 0 0 .75rem; }
code { background: #eef0f2; padding: 1px 5px; border-radius: 4px; font-size: .88em; }
pre { white-space: pre-wrap; word-break: break-word; background: #f3f4f6; padding: .75rem; border-radius: 8px; font-size: .85rem; }
hr { border: 0; border-top: 1px solid var(--linie); margin: 1.25rem 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

/* Kopf */
.kopf { background: var(--dunkel); color: #fff; }
.kopf-innen { max-width: 1240px; margin: 0 auto; padding: .65rem 1rem; display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.marke { display: flex; align-items: center; gap: .6rem; color: #fff; font-weight: 700; letter-spacing: -.01em; }
.marke:hover { text-decoration: none; }
.marke-zeichen { width: 30px; height: 30px; border-radius: 8px; background: var(--lime); color: var(--dunkel); display: grid; place-items: center;
  font-weight: 800; font-size: .95rem; }
.marke small { display: block; font-weight: 500; color: #a3a39c; font-size: .72rem; letter-spacing: .02em; margin-top: -2px; }
.nav { display: flex; gap: .25rem; flex-wrap: wrap; }
.nav a { color: #d4d4cf; padding: .45rem .7rem; border-radius: 8px; font-weight: 500; font-size: .93rem; }
.nav a:hover { background: var(--dunkel-2); color: #fff; text-decoration: none; }
.nav a.aktiv { background: var(--dunkel-2); color: var(--lime); }
.nav .zahl { background: var(--lime); color: var(--dunkel); border-radius: 999px; font-size: .72rem; font-weight: 700; padding: 0 .4rem; margin-left: .25rem; }
.kopf-rechts { margin-left: auto; display: flex; align-items: center; gap: .75rem; font-size: .88rem; color: #a3a39c; }
.kopf-rechts button { background: transparent; border: 1px solid #3a3a36; color: #d4d4cf; border-radius: 8px; padding: .3rem .65rem; cursor: pointer; font: inherit; }
.kopf-rechts button:hover { border-color: var(--lime); color: #fff; }

main { max-width: 1240px; margin: 0 auto; padding: 1.5rem 1rem 4rem; }
.seitenkopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.seitenkopf .unter { color: var(--text-2); }
.brotkrumen { font-size: .85rem; color: var(--text-3); margin-bottom: .35rem; }
.brotkrumen a { color: var(--text-2); }

/* Meldungen */
.meldung { background: var(--ok-hell); border: 1px solid #b7e4c2; color: #14532d; padding: .7rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; }
.meldung.fehler { background: var(--rot-hell); border-color: #f5c2c2; color: #7f1d1d; }
.hinweis { background: var(--gelb-hell); border: 1px solid #f1d58a; color: #5c3d00; padding: .7rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; }
.hinweis.blau { background: var(--blau-hell); border-color: #c5d6ff; color: #1e3a8a; }

/* Karten und Raster */
.karte { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten); padding: 1.1rem 1.2rem; margin-bottom: 1rem; }
.karte > h2:first-child, .karte > h3:first-child { margin-top: 0; }
.karte-kopf { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .75rem; flex-wrap: wrap; }
.karte-kopf h2 { margin: 0; }
.raster { display: grid; gap: 1rem; }
.raster-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.raster-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.raster-haupt { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
@media (max-width: 900px) { .raster-2, .raster-3, .raster-haupt { grid-template-columns: 1fr; } }

/* Knöpfe */
.knopf, button.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border: 1px solid var(--linie);
  background: var(--weiss); color: var(--text); padding: .55rem .95rem; border-radius: 8px; font: inherit; font-weight: 600; font-size: .92rem;
  cursor: pointer; line-height: 1.2; min-height: 40px; text-decoration: none; }
.knopf:hover { border-color: #c9ced4; background: #fafbfc; text-decoration: none; }
.knopf.primaer { background: var(--dunkel); border-color: var(--dunkel); color: #fff; }
.knopf.primaer:hover { background: var(--dunkel-2); }
.knopf.lime { background: var(--lime); border-color: var(--lime); color: var(--dunkel); }
.knopf.lime:hover { filter: brightness(.96); }
.knopf.gefahr { color: var(--rot); }
.knopf.gefahr:hover { background: var(--rot-hell); border-color: #f5c2c2; }
.knopf.klein { padding: .3rem .6rem; min-height: 32px; font-size: .84rem; }
.knopf[disabled] { opacity: .55; cursor: not-allowed; }
.knopfreihe { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
form.inline { display: inline; }

/* Formulare */
label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .3rem; color: var(--text); }
.feld { margin-bottom: .9rem; }
.feld small, .hilfe { display: block; color: var(--text-2); font-size: .82rem; margin-top: .25rem; font-weight: 400; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=date], input[type=number], input[type=month], select, textarea {
  width: 100%; border: 1px solid #cfd4da; border-radius: 8px; padding: .55rem .7rem; font: inherit; font-size: .95rem; background: #fff; color: var(--text);
  min-height: 40px; }
textarea { resize: vertical; min-height: 90px; line-height: 1.45; }
input:focus, select:focus, textarea:focus { border-color: #6b7280; outline: 3px solid rgba(158, 219, 26, .45); outline-offset: 0; }
.zeile { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.checkbox { display: flex; align-items: center; gap: .5rem; font-weight: 500; }
.checkbox input { width: 18px; height: 18px; }
fieldset { border: 1px solid var(--linie); border-radius: var(--radius); padding: 1rem 1.1rem .25rem; margin: 0 0 1rem; }
legend { font-weight: 700; padding: 0 .35rem; }

/* Auftrags-Eingang */
.eingang { background: var(--weiss); border: 1px solid var(--linie); border-left: 4px solid var(--lime); }
.eingang textarea { font-size: 1.02rem; min-height: 84px; }
.eingang-unten { display: grid; grid-template-columns: minmax(180px, 1.2fr) minmax(140px, .8fr) minmax(160px, 1fr) auto; gap: .75rem; align-items: end; margin-top: .75rem; }
@media (max-width: 800px) { .eingang-unten { grid-template-columns: 1fr 1fr; } .eingang-unten .knopf { grid-column: 1 / -1; } }

/* Chips und Status */
.chip { display: inline-flex; align-items: center; gap: .25rem; border-radius: 999px; padding: .08rem .55rem; font-size: .76rem; font-weight: 600;
  background: #eef0f2; color: var(--text-2); white-space: nowrap; }
.chip.neu { background: var(--blau-hell); color: var(--blau); }
.chip.in_arbeit { background: var(--gelb-hell); color: var(--gelb); }
.chip.zur_freigabe { background: var(--lila-hell); color: var(--lila); }
.chip.fertig, .chip.erledigt, .chip.ok { background: var(--ok-hell); color: var(--ok); }
.chip.offen { background: #eef0f2; color: var(--text-2); }
.chip.beauftragt { background: var(--blau-hell); color: var(--blau); }
.chip.entfallen { background: #f3f4f6; color: var(--text-3); text-decoration: line-through; }
.chip.auffaellig, .chip.warnung { background: var(--rot-hell); color: var(--rot); }
.chip.lime { background: var(--lime-hell); color: var(--gruen); }

/* Board */
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; align-items: start; }
@media (max-width: 1000px) { .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .board { grid-template-columns: 1fr; } }
.spalte { background: #eef0f2; border-radius: var(--radius); padding: .65rem; min-height: 120px; }
.spalte-kopf { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: .9rem; padding: .1rem .25rem .55rem; }
.spalte-kopf .anzahl { color: var(--text-2); font-weight: 600; }
.spalte.zur_freigabe { background: var(--lila-hell); }
.akarte { display: block; background: #fff; border: 1px solid var(--linie); border-radius: 8px; padding: .65rem .75rem; margin-bottom: .55rem; color: var(--text); }
.akarte:hover { border-color: #b9c0c8; text-decoration: none; box-shadow: var(--schatten); }
.akarte .kunde { font-size: .78rem; color: var(--text-2); font-weight: 600; }
.akarte .titel { font-weight: 600; margin: .1rem 0 .35rem; line-height: 1.35; }
.akarte .meta { display: flex; gap: .35rem; flex-wrap: wrap; align-items: center; font-size: .78rem; color: var(--text-3); }
.leer { color: var(--text-3); font-size: .88rem; padding: .75rem .25rem; text-align: center; }

/* Tabellen */
.tabelle-huelle { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-2); font-weight: 700;
  border-bottom: 1px solid var(--linie); padding: .5rem .6rem; white-space: nowrap; }
td { border-bottom: 1px solid #eef0f2; padding: .6rem; vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td.z, th.z { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gedimmt { color: var(--text-3); }
.klein { font-size: .84rem; }

/* Reiter */
.reiter { display: flex; gap: .2rem; border-bottom: 1px solid var(--linie); margin-bottom: 1.1rem; overflow-x: auto; }
.reiter a { padding: .6rem .85rem; color: var(--text-2); font-weight: 600; border-bottom: 2px solid transparent; white-space: nowrap; font-size: .93rem; }
.reiter a:hover { color: var(--text); text-decoration: none; }
.reiter a.aktiv { color: var(--text); border-bottom-color: var(--dunkel); }

/* Fortschritt */
.fortschritt { height: 8px; background: #e7eaee; border-radius: 99px; overflow: hidden; min-width: 80px; }
.fortschritt span { display: block; height: 100%; background: var(--lime); border-radius: 99px; }

/* Kennzahlen */
.kennzahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; }
.kennzahl { border: 1px solid var(--linie); border-radius: 8px; padding: .65rem .8rem; background: #fff; }
.kennzahl .name { font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-2); font-weight: 600; }
.kennzahl .wert { font-size: 1.45rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.kennzahl .wert small { font-size: .85rem; color: var(--text-3); font-weight: 600; }
.kennzahl .datum { font-size: .76rem; color: var(--text-3); }

/* Verlauf */
.verlauf { list-style: none; margin: 0; padding: 0; }
.verlauf li { position: relative; padding: 0 0 .9rem 1.35rem; border-left: 2px solid var(--linie); margin-left: .4rem; }
.verlauf li:last-child { border-left-color: transparent; }
.verlauf li::before { content: ""; position: absolute; left: -6px; top: .3rem; width: 10px; height: 10px; border-radius: 50%; background: #c9ced4; }
.verlauf li.claude::before { background: var(--lime); }
.verlauf li.kommentar::before { background: var(--blau); }
.verlauf .wer { font-weight: 700; font-size: .85rem; }
.verlauf .wann { color: var(--text-3); font-size: .8rem; margin-left: .35rem; }
.verlauf .was { white-space: pre-wrap; margin-top: .1rem; }

/* Definitionsliste */
dl.daten { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: 0; font-size: .93rem; }
dl.daten dt { color: var(--text-2); }
dl.daten dd { margin: 0; word-break: break-word; }
@media (max-width: 520px) { dl.daten { grid-template-columns: 1fr; } dl.daten dd { margin-bottom: .4rem; } }

/* Monatsplan */
.woche { margin-bottom: 1.1rem; }
.woche-kopf { display: flex; align-items: baseline; gap: .6rem; margin: 0 0 .5rem; }
.woche-kopf h3 { margin: 0; }
.woche-kopf span { color: var(--text-3); font-size: .85rem; }
.punkt { display: grid; grid-template-columns: 128px 1fr auto; gap: .75rem; align-items: start; background: #fff; border: 1px solid var(--linie);
  border-radius: 8px; padding: .7rem .8rem; margin-bottom: .5rem; }
.punkt.erledigt { background: #fbfdf7; }
.punkt.erledigt .punkt-titel { color: var(--text-2); }
.punkt.entfallen { opacity: .6; }
.punkt > .chip { justify-self: start; }
.punkt-titel { font-weight: 600; }
.punkt details { margin-top: .35rem; }
.punkt summary { cursor: pointer; color: var(--text-2); font-size: .84rem; }
.punkt-aktionen { display: flex; gap: .35rem; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 640px) { .punkt { grid-template-columns: 1fr; } .punkt-aktionen { justify-content: flex-start; } }

/* Entwurf */
.entwurf { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.5rem 1.75rem; max-width: 820px; line-height: 1.65; }
.entwurf h2 { font-size: 1.5rem; } .entwurf h3 { font-size: 1.2rem; margin-top: 1.4rem; } .entwurf h4 { font-size: 1.05rem; margin-top: 1.1rem; }

/* Anmelden */
.mitte { min-height: 100vh; display: grid; place-items: center; padding: 1rem; background: var(--dunkel); }
.anmelde-karte { width: 100%; max-width: 400px; background: #fff; border-radius: 14px; padding: 2rem 1.75rem; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.anmelde-karte .marke { color: var(--text); margin-bottom: 1.25rem; }
.anmelde-karte .marke small { color: var(--text-2); }
.anmelde-karte .knopf { width: 100%; }

.token { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88rem; background: #111; color: var(--lime); padding: .7rem .9rem;
  border-radius: 8px; word-break: break-all; }
.fuss { text-align: center; color: var(--text-3); font-size: .78rem; padding: 1rem; }
.nur-gross { display: initial; }
@media (max-width: 640px) { .nur-gross { display: none; } h1 { font-size: 1.3rem; } main { padding-top: 1rem; } }
.demo-band { background: var(--lime); color: var(--dunkel); text-align: center; font-size: .82rem; font-weight: 600; padding: .3rem 1rem; }
@media (max-width: 480px) {
  .eingang-unten { grid-template-columns: 1fr; }
  .kopf-innen { gap: .5rem .75rem; padding: .55rem .75rem; }
  .nav a { padding: .35rem .5rem; font-size: .9rem; }
  .karte { padding: .9rem .95rem; }
}
.vorschlag { display: grid; grid-template-columns: 1fr auto; gap: .75rem; align-items: start; border: 1px solid var(--linie); border-left: 3px solid var(--lime);
  border-radius: 8px; padding: .65rem .8rem; margin-bottom: .5rem; background: #fff; }
.vorschlag.verworfen, .vorschlag.uebernommen { border-left-color: var(--linie); opacity: .75; }
.vorschlag-titel { font-weight: 600; }
@media (max-width: 640px) { .vorschlag { grid-template-columns: 1fr; } }
.sprechen.aktiv { background: var(--rot-hell); border-color: #f5c2c2; color: var(--rot); }
[hidden] { display: none !important; }
.rueckfrage { border: 1px solid #ddd0ff; background: var(--lila-hell); border-radius: 8px; padding: .7rem .8rem; margin-bottom: .55rem; }
.rueckfrage-text { font-weight: 600; margin-bottom: .45rem; }
