/* ===== RWE APP-STORE - Apple-App-Store-Optik in RWE-Rot ===== */
.as-wrap { --rot: #993234; --rot-dunkel: #7a2628; --rot-hell: #fdeceb; --text: #1d1d1f; --text2: #6e6363; --linie: #e8dcdc;
    max-width: 1020px; margin: 0 auto; padding: 0 20px 48px; color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
.as-wrap a { text-decoration: none; }

/* Kopf wie "Heute"/"Apps": Großtitel + kleine Aktion rechts */
.as-kopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 22px 0 14px; }
.as-kopf h1 { font-size: 2.125rem; line-height: 1.1; font-weight: 700; letter-spacing: -.022em; margin: 0; }
.as-kopf .aktion { color: var(--rot) !important; font-size: .95rem; font-weight: 500; white-space: nowrap; }
.as-kopf .datum { display: block; font-size: .78rem; font-weight: 600; color: var(--text2); text-transform: uppercase; letter-spacing: .02em; margin-bottom: 4px; }

/* Abschnittstitel mit Haarlinie darüber */
.as-abschnitt { font-size: 1.4rem; font-weight: 700; letter-spacing: -.015em; margin: 30px 0 12px; padding-top: 14px; border-top: 1px solid var(--linie); display: flex; align-items: baseline; justify-content: space-between; }
.as-abschnitt a { font-size: .95rem; font-weight: 500; color: var(--rot) !important; letter-spacing: 0; }

/* Icon: Apple-Squircle (22,37 %), feine Innenlinie */
.as-icon { width: 60px; height: 60px; border-radius: 22.37%; flex: none; object-fit: cover; display: flex; align-items: center; justify-content: center; overflow: hidden;
    background: linear-gradient(160deg, #b8393c, #7a2628); color: #fff; font-weight: 700; font-size: 1.5rem;
    box-shadow: 0 1px 2px rgba(0,0,0,.14), inset 0 0 0 .5px rgba(0,0,0,.12); }
.as-icon.gross { width: 128px; height: 128px; font-size: 3.4rem; box-shadow: 0 2px 8px rgba(0,0,0,.16), inset 0 0 0 .5px rgba(0,0,0,.12); }

/* Heute-Karte (Empfohlen) */
.as-empfohlen { position: relative; display: flex; flex-direction: column; justify-content: flex-start; border-radius: 20px; overflow: hidden; min-height: 400px; color: #fff !important;
    background: radial-gradient(120% 90% at 90% 0%, #c0494c 0%, #993234 38%, #4f1315 100%); padding: 26px 26px 0; box-shadow: 0 10px 30px -8px rgba(122,38,40,.45); transition: transform .25s ease; }
.as-empfohlen:hover { transform: scale(1.012); }
.as-empfohlen .lbl { font-size: .8rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; opacity: .8; }
.as-empfohlen h2 { font-size: 2.1rem; line-height: 1.12; font-weight: 700; margin: 8px 0 0; letter-spacing: -.02em; max-width: 520px; }
.as-empfohlen p { margin: 10px 0 0; max-width: 460px; opacity: .88; font-size: 1rem; line-height: 1.35; }
.as-empfohlen .deko { position: absolute; right: -30px; bottom: 30px; width: 230px; height: 230px; border-radius: 22.37%; transform: rotate(-8deg); opacity: .96; box-shadow: 0 18px 40px rgba(0,0,0,.35); object-fit: cover; }
.as-empfohlen .fuss { margin: auto -26px 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: rgba(40,12,13,.42); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.as-empfohlen .fuss .t { flex: 1; min-width: 0; }
.as-empfohlen .fuss b { display: block; font-size: .95rem; font-weight: 600; }
.as-empfohlen .fuss span.s { font-size: .78rem; opacity: .75; }
.as-empfohlen .as-icon { width: 52px; height: 52px; font-size: 1.2rem; }
@media (max-width: 600px) { .as-empfohlen { min-height: 340px; padding: 20px 20px 0; } .as-empfohlen h2 { font-size: 1.65rem; } .as-empfohlen .deko { width: 150px; height: 150px; right: -20px; } .as-empfohlen .fuss { margin: auto -20px 0; } }

/* Listen: Spalten zu je 3 Zeilen, seitlich scrollbar (wie Apple-Charts) */
.as-spalten { display: grid; grid-auto-flow: column; grid-template-rows: repeat(3, auto); grid-auto-columns: calc((100% - 32px) / 2); column-gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; }
.as-spalten::-webkit-scrollbar { display: none; }
@media (max-width: 700px) { .as-spalten { grid-auto-columns: 88%; column-gap: 20px; } }
.as-zeile { display: flex; align-items: center; gap: 14px; padding: 11px 0; scroll-snap-align: start; color: inherit !important; position: relative; }
.as-zeile + .as-zeile::before { content: ""; position: absolute; top: 0; left: 74px; right: 0; border-top: 1px solid var(--linie); }
.as-spalten .as-zeile:nth-child(3n+1)::before { display: none; }
.as-zeile .t { flex: 1; min-width: 0; }
.as-zeile b { display: block; font-size: 1rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.as-zeile span.s { display: block; font-size: .85rem; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }

/* Laden-Button: getönte Pille, wie Apples "Laden" */
.as-btn { display: inline-block; background: var(--rot-hell); color: var(--rot) !important; font-weight: 700; font-size: .92rem; padding: 6px 20px; border-radius: 999px; border: 0; cursor: pointer; white-space: nowrap; line-height: 1.45; transition: background .15s, transform .1s; font-family: inherit; }
.as-btn:hover { background: #f8d9d7; } .as-btn:active { transform: scale(.96); }
.as-btn.voll { background: var(--rot); color: #fff !important; padding: 8px 30px; font-size: 1rem; }
.as-btn.voll:hover { background: var(--rot-dunkel); }
.as-btn.hell { background: rgba(255,255,255,.96); color: var(--rot) !important; }
.as-btn:disabled { opacity: .55; cursor: default; }
.as-sekundaer { font-size: .85rem; color: var(--rot) !important; font-weight: 500; }

/* Detail */
.as-krumen { padding: 14px 0 0; font-size: .95rem; } .as-krumen a { color: var(--rot) !important; font-weight: 500; }
.as-detail-kopf { display: flex; gap: 24px; align-items: flex-start; padding: 16px 0 22px; }
.as-detail-kopf h1 { font-size: 1.9rem; line-height: 1.12; font-weight: 700; margin: 2px 0 4px; letter-spacing: -.02em; }
.as-detail-kopf .sub { color: var(--text2); font-size: 1.1rem; line-height: 1.3; }
.as-detail-kopf .kat { color: var(--text2); font-size: .85rem; margin: 6px 0 16px; }
.as-detail-kopf .von { font-size: .85rem; color: var(--text2); margin-bottom: 14px; } .as-detail-kopf .von a { color: var(--rot) !important; }
@media (max-width: 600px) { .as-detail-kopf { gap: 16px; } .as-icon.gross { width: 100px; height: 100px; font-size: 2.6rem; } .as-detail-kopf h1 { font-size: 1.45rem; } }
.as-aktionen { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-bottom: 8px; }
.as-aktionen .meta { color: var(--text2); font-size: .8rem; }

/* Info-Leiste wie Bewertung/Alter/Kategorie */
.as-infoleiste { display: flex; overflow-x: auto; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); padding: 4px 0; scrollbar-width: none; }
.as-info { flex: 1 0 118px; text-align: center; padding: 10px 10px; border-left: 1px solid var(--linie); } .as-info:first-child { border-left: 0; }
.as-info small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text2); }
.as-info b { display: block; font-size: 1.3rem; font-weight: 700; margin-top: 4px; color: #3a3a3c; letter-spacing: -.01em; }
.as-info em { display: block; font-style: normal; font-size: .75rem; color: var(--text2); margin-top: 2px; }

/* Vorschau: Screenshots + Videos */
.as-shots { display: flex; gap: 14px; overflow-x: auto; padding: 4px 20px 14px; margin: 0 -20px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.as-shots > * { height: 440px; width: auto; border-radius: 22px; flex: none; scroll-snap-align: start; box-shadow: 0 0 0 .5px rgba(0,0,0,.18), 0 2px 10px rgba(0,0,0,.1); background: #000; }
.as-shots video { max-width: 80vw; }
@media (max-width: 600px) { .as-shots > * { height: 360px; border-radius: 18px; } }

.as-text { line-height: 1.5; color: #333; white-space: pre-line; font-size: 1rem; }
.as-klammer { max-height: 7.6em; overflow: hidden; position: relative; }
.as-klammer.offen { max-height: none; }
.as-mehr { color: var(--rot); background: none; border: 0; font: inherit; font-size: .95rem; cursor: pointer; padding: 6px 0 0; display: block; margin-left: auto; font-weight: 500; }
.as-version { padding: 14px 0; border-top: 1px solid var(--linie); }
.as-version:first-of-type { border-top: 0; }
.as-version .vk { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.as-version .vk b { font-size: 1.02rem; font-weight: 600; } .as-version .vk span { color: var(--text2); font-size: .85rem; } .as-version .vk a { color: var(--rot) !important; }
.as-leer { text-align: center; color: var(--text2); padding: 60px 10px; }
.as-leer i { font-size: 2.6rem; color: #e8b8b9; display: block; margin-bottom: 12px; }
.as-hinweis { background: #f7f1f1; border-radius: 14px; color: #4a3a3a; padding: 12px 16px; font-size: .85rem; margin-top: 14px; line-height: 1.45; }
.as-hinweis.warn { background: #fff4e0; color: #7a4a00; }

/* Einreichen-CTA */
.as-cta { display: flex; align-items: center; gap: 16px; background: linear-gradient(135deg, #fdeceb, #f8dcdb); border-radius: 20px; padding: 22px 24px; margin-top: 34px; color: inherit !important; }
.as-cta i { font-size: 2rem; color: var(--rot); } .as-cta .t { flex: 1; } .as-cta b { font-size: 1.15rem; display: block; } .as-cta span.s { font-size: .9rem; color: var(--text2); }

/* Formulare im iOS-Stil: eingerückte Gruppen */
.as-gruppe { background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px var(--linie); margin: 0 0 18px; overflow: hidden; }
.as-feld { display: flex; align-items: center; gap: 14px; padding: 12px 16px; font-size: .95rem; border-top: 1px solid #f0e6e6; color: inherit !important; }
.as-feld:first-child { border-top: 0; }
.as-feld > span { flex: 0 0 120px; color: var(--text2); font-size: .9rem; }
.as-feld > b { margin-left: auto; font-weight: 600; text-align: right; }
.as-feld input[type=text], .as-feld select, .as-feld textarea { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; color: var(--text); padding: 0; }
.as-feld input[type=file] { flex: 1; min-width: 0; font-size: .85rem; }
.as-feld textarea { resize: vertical; min-height: 80px; }
.as-feld.oben { align-items: flex-start; }
.as-link:hover { background: #fbf6f6; }
.as-klein { font-size: .8rem; color: var(--text2); margin: -6px 4px 14px; line-height: 1.4; }
.as-meldung { border-radius: 12px; padding: 11px 16px; margin: 4px 0 14px; font-size: .92rem; }
.as-meldung.ok { background: #e8f5e9; color: #1b5e20; } .as-meldung.err { background: var(--rot-hell); color: #a70909; }
.as-fortschritt { height: 6px; background: #f0e6e6; border-radius: 3px; overflow: hidden; margin: 0 0 12px; display: none; } .as-fortschritt div { height: 100%; width: 0; background: var(--rot); transition: width .15s; }
.as-medienliste { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.as-medienliste form { position: relative; } .as-medienliste img, .as-medienliste video { height: 120px; border-radius: 12px; box-shadow: 0 0 0 .5px rgba(0,0,0,.2); display: block; }
.as-medienliste button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; }
@media (max-width: 600px) { .as-feld { flex-wrap: wrap; gap: 4px; } .as-feld > span { flex-basis: 100%; } .as-feld > b { margin-left: 0; text-align: left; } }
.as-mehr[hidden] { display: none; }

.as-kopf-icons { display: flex; align-items: center; gap: 14px; }
.as-plus { width: 38px; height: 38px; border-radius: 50%; background: var(--rot-hell); color: var(--rot) !important; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: background .15s, transform .1s; }
.as-plus:hover { background: var(--rot); color: #fff !important; } .as-plus:active { transform: scale(.94); }
