/* Optik der Webseite kidskartschool.at: weisser Grund, Tahoma, Gruen #00553c, Rot #df2c19.
   Die Seite wird in einem iframe angezeigt; sie darf nie die ganze Fensterhoehe verlangen. */
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 Tahoma, Geneva, sans-serif; color: #1d2733; background: #fff; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 16px; }
a { color: #00553c; }
header { border-bottom: 1px solid #e1e6eb; }
header .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
header a, header .link { color: #1d2733; text-decoration: none; }
header .brand { font-weight: 700; font-size: 18px; color: #00553c; }
nav { display: flex; gap: 16px; align-items: center; font-size: 14px; }
nav form { margin: 0; }
button.link { background: none; border: 0; color: #1d2733; cursor: pointer; font: inherit; text-decoration: underline; padding: 0; }
main { padding-top: 20px; padding-bottom: 20px; }
footer { padding-bottom: 24px; font-size: 13px; color: #5c6b7a; }
footer a { color: #5c6b7a; }
.card { background: #fff; border: 1px solid #e1e6eb; border-radius: 4px; padding: 24px; }
h1 { margin: 0 0 16px; font-size: 30px; font-weight: 700; color: #00553c; }
h2 { color: #00553c; }
.pagetitle { margin-bottom: 20px; }
.back { margin: 0 0 12px; font-size: 14px; }
.gallery img#mainphoto { width: 100%; max-height: 440px; object-fit: contain; background: #f6f6f6; border-radius: 4px; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; }
.thumb img { width: 90px; height: 68px; object-fit: cover; border-radius: 4px; border: 2px solid #e1e6eb; }
.desc { margin: 16px 0; }
.facts { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 20px 0; padding: 16px 0; border-top: 1px solid #e1e6eb; border-bottom: 1px solid #e1e6eb; }
.facts .label { display: block; font-size: 13px; color: #5c6b7a; }
.facts .big { font-size: 28px; font-weight: 700; }
.facts .big.small { font-size: 18px; }
.countdown { display: block; font-size: 14px; color: #df2c19; font-weight: 700; }
.note { margin: 12px 0; }
.ok { color: #166534; }
.warn { color: #b91c1c; }
.bidform { margin-top: 12px; }
label { display: block; font-weight: 600; margin: 12px 0 4px; }
input, select, textarea { width: 100%; padding: 10px 12px; border: 1px solid #c3ccd5; border-radius: 4px; font: inherit; }
.bidform input { max-width: 240px; display: block; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.row > div { flex: 1 1 180px; }
button.primary, a.button { display: inline-block; margin-top: 12px; padding: 10px 18px; border: 0; border-radius: 4px; background: #00553c; color: #fff; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
button.primary:hover, a.button:hover { background: #003d2b; }
.hint { font-size: 13px; color: #5c6b7a; }
.flash { padding: 10px 14px; border-radius: 4px; margin-bottom: 12px; background: #e8f0fe; }
.flash.ok { background: #dcfce7; color: #166534; }
.flash.error { background: #fee2e2; color: #991b1b; }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.check input { width: auto; margin-top: 5px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid #e1e6eb; vertical-align: top; }
.small { font-size: 13px; color: #5c6b7a; }

/* Uebersicht: 1 bis 4 Auktionen als Karten */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.acard { display: block; border: 1px solid #e1e6eb; border-radius: 4px; overflow: hidden; color: inherit; text-decoration: none; background: #fff; }
.acard:hover { border-color: #00553c; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.acard img, .acard .nophoto { display: block; width: 100%; height: 190px; object-fit: cover; background: #f6f6f6; }
.abody { padding: 14px 16px 16px; }
.abody h2 { margin: 0 0 10px; font-size: 20px; }
.afact { margin-bottom: 8px; }
.afact .label { display: block; font-size: 12px; color: #5c6b7a; }
.afact .big { font-size: 22px; font-weight: 700; }

/* Verwaltung: Reiter fuer die vier Plaetze */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 0; }
.tab { padding: 8px 14px; border: 1px solid #e1e6eb; border-bottom: 0; border-radius: 4px 4px 0 0; background: #f6f6f6; color: #1d2733; text-decoration: none; font-size: 14px; }
.tab.on { background: #00553c; color: #fff; border-color: #00553c; }
.tabs + .card { border-top-left-radius: 0; }
