/* Outlaw State – Webseite */
@font-face { font-family: 'Oswald'; src: url('fonts/oswald-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Oswald'; src: url('fonts/oswald-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
    --bg: #0f1115;
    --bg-2: #14171d;
    --card: #181b22;
    --line: #262b36;
    --text: #e6e8ee;
    --muted: #8b93a7;
    --gold: #d4af37;
    --gold-light: #e9c869;
    --on-gold: #14110a;
    --radius: 8px;
    --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--gold-light); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
code { background: var(--card); border: 1px solid var(--line); padding: 2px 6px; border-radius: 4px; font-size: .9em; color: var(--gold-light); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

h1, h2, h3, .brand, .eyebrow, .btn, .step-no {
    font-family: 'Oswald', 'Arial Narrow', Impact, sans-serif;
    text-transform: uppercase;
    letter-spacing: .02em;
}
h1 { font-size: clamp(48px, 9vw, 104px); line-height: .95; margin: 0 0 16px; font-weight: 700; }
h2 { font-size: clamp(28px, 4.2vw, 42px); line-height: 1.1; margin: 0 0 12px; font-weight: 700; }
h3 { font-size: 20px; margin: 0 0 6px; font-weight: 500; color: #fff; }
.eyebrow { color: var(--gold); font-size: 14px; font-weight: 500; letter-spacing: .14em; margin: 0 0 8px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    height: 48px; padding: 0 26px;
    background: var(--gold); color: var(--on-gold);
    font-size: 17px; font-weight: 500; border-radius: 4px;
    border: 1px solid var(--gold);
    transition: background .15s, color .15s;
}
.btn:hover { background: var(--gold-light); color: var(--on-gold); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, .25); }
.btn-ghost:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.btn-small { height: 36px; padding: 0 16px; font-size: 15px; }

/* Navigation */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 20;
    background: linear-gradient(to bottom, rgba(15, 17, 21, .92), rgba(15, 17, 21, .6) 70%, transparent);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 22px; font-weight: 700; }
.brand img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a:not(.btn) { color: var(--text); font-size: 15px; }
.nav-links a:not(.btn):hover { color: var(--gold-light); }

/* Hero */
.hero {
    position: relative;
    min-height: min(92vh, 820px);
    display: flex; align-items: flex-end;
    padding: 120px 0 72px;
    background:
        radial-gradient(1200px 500px at 70% 20%, rgba(212, 175, 55, .10), transparent 60%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 14px),
        var(--bg);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.hero.has-image {
    background:
        linear-gradient(to top, var(--bg) 0%, rgba(15, 17, 21, .55) 45%, rgba(15, 17, 21, .35) 100%),
        var(--hero) center / cover no-repeat;
}
.hero-inner { position: relative; }
.lead { font-size: clamp(17px, 2.2vw, 21px); color: #cfd3dc; max-width: 640px; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.status {
    display: inline-flex; align-items: center; gap: 10px;
    margin-top: 28px; padding: 8px 14px;
    background: rgba(15, 17, 21, .7); border: 1px solid var(--line); border-radius: 999px;
    font-size: 14px; color: var(--muted);
}
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.status[data-state="online"] .dot { background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .15); }
.status[data-state="offline"] .dot { background: #f43f5e; }
.status[data-state="online"] { color: var(--text); }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-lead { color: var(--muted); max-width: 680px; margin: 0 0 36px; font-size: 17px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px; border-top: 2px solid var(--gold);
}
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.shot {
    padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    background: var(--card); cursor: zoom-in; aspect-ratio: 16 / 9;
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.shot:hover img { transform: scale(1.04); }

.lightbox {
    position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .92);
    display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; max-width: 100%; border-radius: 4px; }
.lightbox button {
    position: absolute; background: none; border: 0; color: #fff; font-size: 44px; cursor: pointer; padding: 8px 16px; opacity: .8;
}
.lightbox button:hover { opacity: 1; color: var(--gold-light); }
.lb-close { top: 8px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* Regeln */
.two-col { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.rules { margin: 0; padding: 0; list-style: none; counter-reset: rule; }
.rules li {
    counter-increment: rule; position: relative;
    padding: 16px 16px 16px 56px; border-bottom: 1px solid var(--line);
}
.rules li::before {
    content: counter(rule, decimal-leading-zero);
    position: absolute; left: 12px; top: 15px;
    font-family: 'Oswald', sans-serif; color: var(--gold); font-size: 18px;
}

/* Einstieg */
.steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 12px; max-width: 720px; }
.steps li {
    display: flex; align-items: center; gap: 16px;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px;
}
.step-no {
    flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--gold); color: var(--on-gold); font-size: 18px; font-weight: 700;
}
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.cta-ip { color: var(--muted); font-size: 15px; }

/* Footer */
.footer { padding: 28px 0; color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.footer-links { display: flex; gap: 18px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--gold-light); }

/* Unterseiten (Impressum, Datenschutz) */
.page { padding: 120px 0 64px; max-width: 760px; }
.page h1 { font-size: 42px; }
.page h2 { font-size: 24px; margin-top: 32px; }
.page p, .page li { color: #cfd3dc; }
.note { border: 1px solid #f59e0b66; background: #f59e0b14; color: #fcd34d; padding: 12px 14px; border-radius: var(--radius); font-size: 14px; }

@media (max-width: 800px) {
    .nav-links a:not(.btn) { display: none; }
    .two-col { grid-template-columns: 1fr; gap: 16px; }
    .section { padding: 64px 0; }
    .hero { padding-bottom: 48px; }
}

/* Shop */
.nav-solid { background: rgba(15, 17, 21, .96); border-bottom: 1px solid var(--line); }
.shop { padding: 112px 16px 64px; }
.shop-title { font-size: clamp(36px, 6vw, 60px); }
.btn-block { width: 100%; }
button.btn { cursor: pointer; }
.flash { padding: 12px 14px; border-radius: var(--radius); margin: 0 0 24px; font-size: 15px; border: 1px solid; }
.flash-ok { border-color: #34d39966; background: #34d39914; color: #a7f3d0; }
.flash-err { border-color: #f43f5e66; background: #f43f5e14; color: #fda4af; }
.shop-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.shop-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.shop-cats a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-size: 14px; }
.shop-cats a:hover { border-color: var(--gold); color: var(--gold-light); }
.shop-cat { margin-bottom: 40px; scroll-margin-top: 90px; }
.shop-cat h2 { font-size: 28px; }
.shop-desc { color: var(--muted); margin-bottom: 16px; }
.packages { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.package { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.package:hover { border-color: #3a4150; }
.package-img { aspect-ratio: 16 / 10; background: var(--bg-2); display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); }
.package-img img { width: 100%; height: 100%; object-fit: cover; }
.package-img span { font-family: 'Oswald', sans-serif; font-size: 48px; color: var(--gold); }
.package-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.package-body form { margin-top: auto; }
.package-price { font-family: 'Oswald', sans-serif; font-size: 22px; color: var(--gold-light); }
.package-price s { color: var(--muted); font-size: 16px; margin-right: 6px; }
.package-price small { color: var(--muted); font-size: 14px; }
.package-desc { color: var(--muted); font-size: 14px; }
.package-desc summary { cursor: pointer; color: var(--text); }
.package-desc p { margin: 8px 0; }
.basket { position: sticky; top: 96px; background: var(--card); border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: var(--radius); padding: 20px; }
.basket h2 { font-size: 24px; }
.basket-user, .basket-empty, .basket-hint { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.basket-hint { margin: 12px 0 0; font-size: 13px; }
.basket-items { list-style: none; margin: 0 0 12px; padding: 0; }
.basket-items li { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.bi-name { flex: 1; }
.bi-price { color: var(--gold-light); white-space: nowrap; }
.bi-remove { background: none; border: 0; color: var(--muted); font-size: 20px; cursor: pointer; padding: 0 4px; }
.bi-remove:hover { color: #f43f5e; }
.coupon { display: flex; gap: 8px; margin-bottom: 12px; }
.coupon input { flex: 1; min-width: 0; height: 36px; padding: 0 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 4px; color: var(--text); font: inherit; font-size: 14px; }
.coupon input:focus { outline: none; border-color: var(--gold); }
.basket-total { display: flex; justify-content: space-between; align-items: baseline; margin: 4px 0 14px; }
.basket-total b { font-family: 'Oswald', sans-serif; font-size: 24px; color: #fff; }
@media (max-width: 900px) {
    .shop-layout { grid-template-columns: 1fr; }
    .basket { position: static; order: -1; }
}
