:root {
    --bg: #020617;
    --bg-alt: #02091c;
    --card: #02091c;
    --accent: #facc15;
    --accent-soft: rgba(250, 204, 21, 0.12);
    --accent-strong: #fbbf24;
    --winner: #22c55e;
    --winner-soft: rgba(34, 197, 94, 0.12);
    --text: #e5e7eb;
    --muted: #9ca3af;
    --border: rgba(148, 163, 184, 0.35);
    --danger: #ef4444;
    --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.9);
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-pill: 999px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background:
        radial-gradient(circle at 0 0, rgba(250, 204, 21, 0.05), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.09), transparent 55%),
        linear-gradient(135deg, #020617, #020617 40%, #02091c);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent-strong);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.page-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(16px);
    background: radial-gradient(circle at top left, rgba(21, 250, 78, 0.12), transparent 55%), rgba(2, 6, 23, 0.92);
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-badge {
    width: 34px;
    height: 34px;
    border-radius: 14px;
    background: radial-gradient(circle at 20% 0, rgba(250, 204, 21, 0.7), transparent 55%), #020617;
    border: 1px solid rgba(250, 204, 21, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.06em;
    color: var(--accent);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.9);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text span:first-child {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--muted);
}

.logo-text span:last-child {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    font-size: 14px;
    padding: 7px 13px;
    border-radius: var(--radius-pill);
    color: var(--muted);
    border: 1px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}

.nav-link:hover {
    border-color: rgba(148, 163, 184, 0.4);
    color: var(--text);
    background: rgba(15, 23, 42, 0.95);
}

.nav-link-primary {
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #0b1120;
    padding: 7px 16px;
    font-size: 14px;
    font-weight: 600;
}

.nav-link-primary:hover {
    text-decoration: none;
    filter: brightness(1.05);
}

.nav-link-ghost {
    border-color: rgba(148, 163, 184, 0.4);
}

.mobile-nav-toggle {
    display: none;
}

main {
    flex: 1;
    padding-bottom: 50px;
}

.hero {
    padding: 36px 0 26px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
    gap: 32px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(148, 163, 184, 0.4);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
    background: radial-gradient(circle at 0 0, rgba(250, 204, 21, 0.14), transparent 60%);
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: radial-gradient(circle at 20% 0, var(--accent), #22c55e);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

h1 {
    font-size: clamp(2.1rem, 2.7vw + 1.3rem, 3rem);
    letter-spacing: 0.02em;
    margin: 0 0 10px;
}

.hero-sub {
    font-size: 15px;
    color: var(--muted);
    max-width: 540px;
    margin-bottom: 18px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    margin-bottom: 22px;
    font-size: 13px;
    color: var(--muted);
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hero-meta-badge {
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.6);
    color: #bbf7d0;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 14px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #0b1120;
    font-weight: 600;
}

.btn-primary:hover {
    text-decoration: none;
    filter: brightness(1.06);
}

.btn-secondary {
    border-color: rgba(148, 163, 184, 0.5);
    color: var(--muted);
    background: rgba(15, 23, 42, 0.9);
}

.btn-secondary:hover {
    border-color: rgba(148, 163, 184, 0.8);
    color: var(--text);
}

.hero-note {
    font-size: 12px;
    color: var(--muted);
}

.hero-badge-card {
    background: radial-gradient(circle at top left, rgba(34,197,94,0.26), rgba(15,23,42,0.98));
    border-radius: var(--radius-xl);
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.hero-badge-card::before {
    content: "";
    position: absolute;
    inset: -120px;
    background:
        radial-gradient(circle at 0 0, rgba(250, 204, 21, 0.17), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(34, 197, 94, 0.14), transparent 60%);
    opacity: 0.9;
    mix-blend-mode: screen;
    pointer-events: none;
}

.hero-badge-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.award-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.55);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.award-pill span {
    color: var(--accent);
}

.winner-highlight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 6px;
}

.winner-main {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.winner-name {
    font-weight: 700;
    font-size: 16px;
}

.winner-city {
    font-size: 12px;
    color: var(--muted);
}

.winner-score {
    font-size: 13px;
    color: #bbf7d0;
}

.winner-stars {
    font-size: 14px;
}

.medienplus-link {
    color: #bbf7d0;
    text-decoration: none;
    border-bottom: 1px dashed rgba(187, 247, 208, 0.6);
}

.medienplus-link:hover {
    text-decoration: none;
    border-bottom-style: solid;
}

.winner-badge {
    padding: 4px 9px;
    background: rgba(34, 197, 94, 0.18);
    border: 1px solid rgba(34, 197, 94, 0.7);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #bbf7d0;
}

.winner-screenshot {
    margin-top: 14px;
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: radial-gradient(circle at 0 0, rgba(250, 204, 21, 0.08), transparent 60%), #020617;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.layout-main {
    padding: 8px 0 0;
}

section {
    margin-top: 34px;
}

h2 {
    font-size: 22px;
    margin: 0 0 10px;
}

h3 {
    font-size: 18px;
    margin: 22px 0 6px;
}

p {
    margin: 0 0 12px;
    font-size: 15px;
}

.muted {
    color: var(--muted);
}

.card {
    background: rgba(15, 23, 42, 0.96);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    padding: 18px 18px 16px;
    box-shadow: var(--shadow-soft);
}

.card + .card {
    margin-top: 14px;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.badge {
    font-size: 11px;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: var(--muted);
}

.badge-soft {
    background: var(--accent-soft);
    color: var(--accent-strong);
    border-color: rgba(250, 204, 21, 0.6);
}

.two-col {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr);
    gap: 24px;
}

.list-check {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-check li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    font-size: 14px;
}

.list-check li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 13px;
    color: var(--accent-strong);
}

.price-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.price-pill {
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.price-range {
    font-weight: 600;
}

.ranking-section {
    margin-top: 36px;
}

.ranking-header {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: baseline;
    justify-content: space-between;
}

.ranking-note {
    font-size: 13px;
    color: var(--muted);
}

.agency-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.agency-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 12px 13px;
    background: rgba(15, 23, 42, 0.98);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.agency-card.winner {
    border-color: rgba(34, 197, 94, 0.9);
    background: radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.18), transparent 60%), rgba(15, 23, 42, 0.98);
    box-shadow: 0 18px 50px rgba(22, 163, 74, 0.7);
}

.agency-rank {
    font-size: 20px;
    font-weight: 700;
    color: var(--muted);
    min-width: 32px;
}

.agency-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.agency-name {
    font-size: 15px;
    font-weight: 600;
}

.agency-name span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
    margin-left: 6px;
}

.agency-meta {
    font-size: 12px;
    color: var(--muted);
}

.agency-score {
    text-align: right;
}

.agency-stars {
    font-size: 14px;
    margin-bottom: 1px;
}

.agency-points {
    font-size: 12px;
    color: var(--muted);
}

.agency-badge {
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(148, 163, 184, 0.5);
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.agency-badge .dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--accent);
}

.agency-card.winner .agency-rank,
.agency-card.winner .agency-points {
    color: #bbf7d0;
}

.agency-card.winner .agency-name {
    color: #e5ffe9;
}

.agency-card.winner .agency-stars {
    color: #bbf7d0;
}

.category-grid {
    margin-top: 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}

.category-pill {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(148, 163, 184, 0.5);
    padding: 10px 12px;
    background: rgba(15, 23, 42, 0.96);
    font-size: 13px;
}

.category-pill strong {
    display: block;
    margin-bottom: 3px;
}

.category-pill-primary {
    border-color: rgba(250, 204, 21, 0.8);
    background: var(--accent-soft);
}

footer {
    border-top: 1px solid rgba(148, 163, 184, 0.4);
    padding: 14px 0 20px;
    margin-top: 40px;
    font-size: 12px;
    color: var(--muted);
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--muted);
    font-size: 12px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--text);
    text-decoration: underline;
}

/* Hellblauer CTA-Block mit Verlauf und Glow */
.ds-cta {
    margin-top: 34px;
    border-radius: 24px;
    padding: 20px 18px;
    background: radial-gradient(circle at 0 0, rgba(125, 211, 252, 0.2), transparent 55%),
                radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.25), transparent 55%),
                linear-gradient(135deg, #0ea5e9, #3b82f6);
    box-shadow: 0 22px 55px rgba(37, 99, 235, 0.55);
    border: 1px solid rgba(191, 219, 254, 0.8);
    color: #0b1120;
    position: relative;
    overflow: hidden;
}

.ds-cta::before {
    content: "";
    position: absolute;
    inset: -80px;
    background:
        radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.35), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(191, 219, 254, 0.35), transparent 60%);
    opacity: 0.6;
    mix-blend-mode: screen;
    pointer-events: none;
}

.ds-cta-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ds-cta-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.ds-cta-text {
    font-size: 14px;
    max-width: 620px;
}

.ds-cta-meta {
    font-size: 12px;
    opacity: 0.9;
}

.ds-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
    align-items: center;
}

.ds-cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.3);
}

.ds-cta-pill span {
    font-size: 13px;
}

.ds-cta .btn-primary {
    background: linear-gradient(135deg, #fbbf24, #facc15);
    color: #0b1120;
}

/* Screenshot-Komponente projektbezogen */
.ds-screenshot {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: #000;
    margin-top: 14px;
}

.ds-screenshot-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 28px;
    background: linear-gradient(to right, #111827, #020617);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    font-size: 11px;
    color: #9ca3af;
    z-index: 5;
}

.ds-browser-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #ef4444; /* rot */
}

.ds-browser-dot.ds-yellow {
    background: #f59e0b;
}

.ds-browser-dot.ds-green {
    background: #22c55e;
}

.ds-screenshot img {
    width: 100%;
    display: block;
    border-radius: 0 0 16px 16px;
    margin-top: 28px; /* Platz für die Bar */
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Formular-Styling für Domain-Snapping */
.ds-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
}

.ds-form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.ds-form-group label {
    font-size: 13px;
    color: #9ca3af;
}

.ds-form-group input,
.ds-form-group textarea {
    background: rgba(15, 23, 42, 0.96);
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    padding: 9px 11px;
    font-size: 14px;
    color: #e5e7eb;
    outline: none;
}

.ds-form-group input:focus,
.ds-form-group textarea:focus {
    border-color: #facc15;
    box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.4);
}

.ds-form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.ds-form-footnote {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 4px;
}

.ds-badge-5stars {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(34, 197, 94, 0.7);
    background: rgba(22, 163, 74, 0.15);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #bbf7d0;
}

.ds-badge-5stars span {
    font-size: 13px;
}

.ds-author {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: flex-start;
}

.ds-author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 999px;
    background: radial-gradient(circle at 0 0, rgba(250, 204, 21, 0.6), transparent 60%), #020617;
    border: 1px solid rgba(250, 204, 21, 0.7);
}

.ds-author-meta {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 3px;
}

@media (max-width: 880px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .two-col {
        grid-template-columns: minmax(0, 1fr);
    }

    header {
        position: sticky;
    }

    nav {
        display: none;
    }

    .mobile-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 999px;
        border: 1px solid rgba(148, 163, 184, 0.5);
        background: rgba(15, 23, 42, 0.96);
        color: var(--muted);
        font-size: 18px;
        cursor: default;
    }

    .agency-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }

    .agency-score {
        text-align: left;
    }

    .winner-badge {
        display: none;
    }

    .ds-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ds-cta {
        padding: 16px 14px;
    }
}

@media (min-width: 881px) {
    .mobile-nav-toggle {
        display: none;
    }
}
