/* AskAERO Admin – baut auf askaero.css auf (gleiche Farben, Pillen, Handy ab 768 px). */

.ad-kopf { border-bottom: 1px solid var(--linie); background: var(--flaeche-2); }
.ad-kopf-innen { max-width: 1200px; margin: 0 auto; padding: 12px 32px; display: flex; align-items: center; gap: 16px; }
.ad-etikett { padding: 3px 10px; border-radius: var(--rund-pille); background: var(--akzent-weich); color: var(--akzent); font-size: 13px; font-weight: 700; }
.ad-nav { display: flex; gap: 4px; flex: 1; margin-left: 16px; }
.ad-nav a { color: var(--text-leise); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 14px; border-radius: var(--rund-pille); min-height: 44px; display: inline-flex; align-items: center; }
.ad-nav a:hover, .ad-nav a[aria-current="page"] { color: var(--text); background: var(--akzent-weich); }
.ad-inhalt { min-height: calc(100vh - 70px); }

.ad-mitte { display: grid; place-items: center; padding: 64px 16px; min-height: calc(100vh - 140px); }
.ad-karte { width: 100%; max-width: 560px; padding: 32px; border-radius: 28px; background: var(--flaeche); border: 1px solid var(--linie); box-shadow: var(--schatten); }
.ad-karte h1 { margin: 0 0 8px; font-size: 30px; letter-spacing: -.02em; }
.ad-karte p { color: var(--text-leise); }
.ad-anmelden { text-align: center; display: grid; justify-items: center; gap: 4px; }
.ad-schloss { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--akzent-weich); margin-bottom: 8px; }
.ad-meldung { min-height: 22px; margin: 14px 0 0; font-size: 15px; color: var(--text-leise); }
.ad-meldung.fehler { color: var(--warnung); font-weight: 600; }
.ad-meldung.ok { color: var(--akzent); font-weight: 600; }

.ad-seite { padding-top: 48px; padding-bottom: 80px; }
.ad-seite h1 { margin: 0; font-size: 36px; letter-spacing: -.02em; }
.ad-unter { margin: 8px 0 28px; color: var(--text-leise); }
.ad-schmal { max-width: 760px; }
.ad-schmal .ad-karte { max-width: none; }
.ad-kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ad-kachel { display: grid; gap: 4px; padding: 24px; border-radius: var(--rund-karte); background: var(--flaeche); border: 1px solid var(--linie); color: var(--text); text-decoration: none; transition: border-color .2s, transform .2s; }
.ad-kachel:hover { border-color: var(--akzent-linie); transform: translateY(-2px); }
.ad-kachel.ad-warn { border-color: var(--akzent-linie); background: linear-gradient(var(--akzent-weich), var(--akzent-weich)), var(--flaeche); }
.ad-k-titel { margin-top: 10px; font-weight: 600; color: var(--text-leise); font-size: 15px; }
.ad-k-wert { font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.ad-k-text { color: var(--text-still); font-size: 14px; }
.ad-status { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; font-weight: 600; color: var(--text) !important; }
.ad-form { display: grid; gap: 16px; }
.ad-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }
.ad-hilfe { margin-top: 24px; }
.ad-hilfe ol { margin: 0 0 16px; padding-left: 20px; color: var(--text-leise); font-size: 15px; display: grid; gap: 6px; }
.ad-liste { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.ad-liste li { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 18px; background: var(--flaeche); border: 1px solid var(--linie); color: var(--text-leise); font-size: 14px; }
.ad-liste strong { display: block; color: var(--text); font-size: 16px; }

/* Felder */
.tut-feld { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text-leise); }
.tut-feld input {
    min-height: 52px; padding: 0 20px; border-radius: var(--rund-pille); border: 1px solid var(--linie);
    background: var(--flaeche-3); color: var(--text); font: inherit; font-size: 17px; font-weight: 500; outline: none;
}
.tut-feld input:focus { border-color: var(--akzent); box-shadow: 0 0 0 4px var(--akzent-weich); }

/* Einrichtung im Stil des Craftopia-Tutorials */
.tut { max-width: 640px; margin: 0 auto; padding: 48px 16px 80px; min-height: calc(100vh - 70px); display: flex; flex-direction: column; }
.tut-kopf { display: grid; gap: 10px; margin-bottom: 28px; font-size: 14px; font-weight: 600; color: var(--text-leise); }
.tut-balken { height: 6px; border-radius: var(--rund-pille); background: var(--flaeche-3); overflow: hidden; }
.tut-fuellung { height: 100%; width: 0; border-radius: inherit; background: var(--akzent); transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.tut-intro { flex: 1; display: grid; place-content: center; justify-items: center; text-align: center; gap: 18px; }
.tut-titel { margin: 0; font-size: clamp(40px, 7vw, 64px); line-height: 1.05; letter-spacing: -.03em; }
.tut-titel span { color: var(--akzent); }
.js .tut-titel { animation: tut-steigt .9s cubic-bezier(.2, .8, .2, 1) both; }
.js .tut-intro p, .js .tut-intro .knopf { animation: tut-steigt .9s cubic-bezier(.2, .8, .2, 1) .25s both; }
@keyframes tut-steigt { from { transform: translateY(28px); opacity: .001; } to { transform: none; opacity: 1; } }
.tut-intro p { color: var(--text-leise); margin: 0; }
.tut-karte { padding: 32px; border-radius: 28px; background: var(--flaeche); border: 1px solid var(--linie); box-shadow: var(--schatten); display: grid; gap: 16px; }
.tut-karte h2 { margin: 0; font-size: 28px; letter-spacing: -.02em; }
.tut-karte p { margin: 0; color: var(--text-leise); }
.tut-karte .knopf { justify-self: start; }
.tut-augenbraue { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--akzent) !important; }
.js .tut-karte.rein-vor { animation: tut-vor .45s cubic-bezier(.2, .8, .2, 1) both; }
.js .tut-karte.rein-zurueck { animation: tut-zurueck .45s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes tut-vor { from { transform: translateX(40px); opacity: .001; } to { transform: none; opacity: 1; } }
@keyframes tut-zurueck { from { transform: translateX(-40px); opacity: .001; } to { transform: none; opacity: 1; } }
.tut-zusammen { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; }
.tut-zusammen dt { color: var(--text-still); font-weight: 600; }
.tut-zusammen dd { margin: 0; font-weight: 600; }
.tut-tipp { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
    .js .tut-titel, .js .tut-intro p, .js .tut-intro .knopf, .js .tut-karte.rein-vor, .js .tut-karte.rein-zurueck { animation: none; }
    .tut-fuellung { transition: none; }
}
@media (max-width: 768px) {
    .ad-kopf-innen { padding: 10px 16px; flex-wrap: wrap; gap: 10px; }
    .ad-nav { order: 3; flex-basis: 100%; margin-left: 0; overflow-x: auto; }
    .ad-kopf .knopf { margin-left: auto; }
    .ad-kacheln { grid-template-columns: 1fr; }
    .ad-karte, .tut-karte { padding: 24px 20px; border-radius: 24px; }
    .tut-karte .knopf { justify-self: stretch; }
    .tut-feld input { font-size: 16px; }
    .ad-seite h1 { font-size: 30px; }
}
