@font-face { font-family: 'Bebas Neue'; src: url(/fonts/bebas-neue.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Mulish'; src: url(/fonts/mulish-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Mulish'; src: url(/fonts/mulish-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Mulish'; src: url(/fonts/mulish-800.woff2) format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --navy: #212440; --navy-2: #2c3054; --yellow: #f0d800; --yellow-d: #d9c300;
  --ink: #212440; --muted: #6b6f86; --line: #e3e5ee; --bg: #ffffff; --soft: #f5f6fa;
  --up: #1f9d55; --down: #d64545; --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 72px; }
body { margin: 0; font: 400 17px/1.65 Mulish, system-ui, sans-serif; color: var(--ink); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: 'Bebas Neue', Impact, sans-serif; font-weight: 400; letter-spacing: .01em; line-height: 1.05; margin: 0 0 .4em; }
h1 { font-size: clamp(44px, 7vw, 84px); }
h2 { font-size: clamp(32px, 4.4vw, 48px); }
h3 { font-size: 27px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }

/* Kopf */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo img { height: 46px; width: auto; }
nav { display: flex; gap: 22px; align-items: center; font-weight: 800; text-transform: uppercase; font-size: 14px; letter-spacing: .06em; }
nav a { text-decoration: none; }
nav a:hover { color: var(--yellow-d); }

/* Knöpfe */
.btn, .btn-small, .btn-ghost { display: inline-block; border-radius: 999px; font: 800 16px Mulish, sans-serif; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: .15s; }
.btn { background: var(--yellow); color: var(--navy); padding: 15px 32px; }
.btn:hover { background: var(--yellow-d); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-small { background: var(--yellow); color: var(--navy) !important; padding: 9px 18px; font-size: 13px; }
.btn-ghost { border-color: currentColor; padding: 13px 30px; }
.btn-ghost.light { color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* Startbild */
.hero { background: linear-gradient(rgba(20,22,45,.55), rgba(20,22,45,.65)), url(/img/hero.webp) center 35%/cover; color: #fff; text-align: center; padding: 110px 0 100px; }
.hero h1 { margin-bottom: .1em; }
.hero h1::after { content: ''; display: block; width: 260px; height: 5px; margin: 14px auto 0; background: var(--yellow); border-radius: 50%; }
.hero p { font-size: clamp(18px, 2.2vw, 23px); max-width: 720px; margin: 12px auto 34px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Vision */
.vision { padding: 80px 0 10px; text-align: center; }
.vision .lead { margin: 0 auto 28px; }

/* Ideen-Übersicht */
.ideas { padding: 80px 24px 90px; }
.ideas-head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.ideas-head p { color: var(--muted); margin: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 4px rgba(33,36,64,.05), 0 12px 32px rgba(33,36,64,.08); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 4px 8px rgba(33,36,64,.06), 0 18px 40px rgba(33,36,64,.12); }
.card-img { position: relative; aspect-ratio: 32/21; background: var(--navy-2) url(/favicon.webp) center/60px no-repeat; display: block; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.rank { position: absolute; top: 12px; left: 12px; background: var(--yellow); color: var(--navy); font: 800 14px Mulish; min-width: 32px; height: 32px; border-radius: 16px; display: grid; place-items: center; padding: 0 8px; }
.card-body { padding: 22px 24px 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .3em; }
.card-body h3 a { text-decoration: none; }
.card-body h3 a:hover { color: var(--navy-2); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.card-body p { color: var(--muted); font-size: 15.5px; margin: 0 0 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.more { font-weight: 800; font-size: 15px; text-decoration: none; }
.more:hover { color: var(--yellow-d); }

/* Daumen */
.vote { display: inline-flex; gap: 8px; }
.vote button { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px 7px 11px; font: 800 15px Mulish; color: var(--ink); cursor: pointer; transition: .15s; }
.vote svg { width: 19px; height: 19px; fill: #9aa0b8; transition: .15s; }
.vote .up:hover { border-color: var(--up); } .vote .up:hover svg { fill: var(--up); }
.vote .down:hover { border-color: var(--down); } .vote .down:hover svg { fill: var(--down); }
.vote .up.on { background: var(--up); border-color: var(--up); color: #fff; } .vote .up.on svg { fill: #fff; }
.vote .down.on { background: var(--down); border-color: var(--down); color: #fff; } .vote .down.on svg { fill: #fff; }
.vote button:disabled { opacity: .6; }
.vote-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 22px 0 30px; color: var(--muted); font-size: 15px; }
.vote-row.end { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }

/* Bänder */
.band { padding: 90px 0; background: var(--soft); }
.band + .band { background: #fff; }
.lead { font-size: 18px; margin-bottom: 32px; }
.dark { background: var(--navy); color: #d7d9e6; padding: 90px 0; }
.dark h2 { color: #fff; }
.two { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; }
.kicker { color: var(--yellow); margin: 0 0 6px; font-weight: 700; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; color: #fff; }
.ticks li { padding-left: 32px; position: relative; margin: 10px 0; }
.ticks li::before { content: '→'; position: absolute; left: 0; color: var(--yellow); font-weight: 800; }

/* Formulare */
.form label { display: block; font-weight: 700; margin-bottom: 18px; font-size: 15px; }
.form small { display: block; font-weight: 400; color: var(--muted); font-size: 13.5px; }
.form .count { text-align: right; }
.form input, .form textarea { display: block; width: 100%; margin-top: 6px; padding: 13px 15px; border: 1.5px solid #cfd3e3; border-radius: 10px; font: 400 16px Mulish, sans-serif; color: var(--ink); background: #fff; }
.form input[type=file] { padding: 10px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(240,216,0,.45); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.msg { font-weight: 700; min-height: 1.2em; margin: 14px 0 0; }
.msg.ok { color: var(--up); } .msg.err { color: var(--down); }
.fine { font-size: 14px; color: var(--muted); margin: 6px 0 0; }

/* Ideen-Detail */
.idea-hero { max-height: 520px; overflow: hidden; background: var(--navy); }
.idea-hero img { width: 100%; max-height: 520px; object-fit: cover; }
.idea .wrap { padding-top: 34px; padding-bottom: 80px; }
.back { display: inline-block; margin-bottom: 18px; font-weight: 800; text-decoration: none; color: var(--muted); }
.back:hover { color: var(--ink); }
.idea h1 { font-size: clamp(40px, 6vw, 66px); }
.meta { color: var(--muted); font-size: 14.5px; margin: 0 0 6px; }
.prose { font-size: 18px; }
.prose blockquote { margin: 28px 0; padding: 18px 24px; border-left: 5px solid var(--yellow); background: var(--soft); border-radius: 0 10px 10px 0; }
.prose blockquote p { margin: 0; }
.prose h3, .prose h5 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 28px; margin: 1.4em 0 .4em; }
.prose img { border-radius: 10px; margin: 20px 0; }
.comments { margin-top: 60px; }
.comment { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment p { margin: 4px 0; }
.comments .form { margin-top: 30px; padding: 26px; background: var(--soft); border-radius: var(--radius); }

/* Textseiten, Fuß */
.page { padding-top: 60px; padding-bottom: 90px; }
.foot { background: var(--navy); color: #9ea2bd; text-align: center; padding: 50px 0 40px; font-size: 14px; border-top: 1px solid var(--navy-2); }
.foot a { color: var(--yellow); text-decoration: none; }
.foot-cta { margin: 0 0 26px; }
.foot-cta .btn-ghost { color: #fff; }

/* Verwaltung */
.admin { padding-top: 40px; padding-bottom: 80px; }
.admin h2 { margin-top: 50px; }
.adm { display: flex; justify-content: space-between; gap: 20px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.adm.pending { border-color: var(--yellow); background: #fffbe0; }
.adm.rejected { opacity: .6; }
.adm h3 { font-size: 24px; margin: 4px 0; }
.adm p { margin: 2px 0; font-size: 15px; }
.acts { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; justify-content: flex-end; min-width: 220px; }
.acts form { margin: 0; }
.acts button { font: 700 14px Mulish; padding: 8px 14px; border-radius: 8px; border: 1px solid #cfd3e3; background: #fff; cursor: pointer; }
.acts .ok { background: var(--up); color: #fff; border-color: var(--up); }
.acts .del { color: var(--down); }
.st { font-weight: 800; } .st-pending { color: #a08a00; } .st-published { color: var(--up); } .st-rejected { color: var(--down); }

/* Social Media */
.social { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.social a { display: inline-flex; align-items: center; gap: 9px; padding: 10px 20px; border-radius: 999px; font-weight: 800; text-decoration: none; transition: .15s; }
.social svg { width: 22px; height: 22px; flex: none; }
.follow { font-size: 14px !important; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; margin: 34px auto 12px !important; color: var(--yellow); }
.hero-social a { background: rgba(255,255,255,.14); color: #fff; border: 2px solid rgba(255,255,255,.35); }
.hero-social a:hover { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }
.foot-social { margin: 0 0 22px; }
.foot-social a { color: #fff; border: 2px solid var(--navy-2); }
.foot-social a:hover { border-color: var(--yellow); color: var(--yellow); }
.nav-icon { display: inline-flex; }
.nav-icon svg { width: 22px; height: 22px; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top-in { height: 62px; }
  .logo img { height: 36px; }
  nav { gap: 12px; font-size: 12px; }
  nav a:first-child { display: none; }
  .hero { padding: 70px 0 64px; }
  .vision { padding: 56px 0 0; }
  .ideas { padding: 56px 16px 64px; }
  .grid { grid-template-columns: 1fr; gap: 22px; }
  .band, .dark { padding: 60px 0; }
  .two, .form .row { grid-template-columns: 1fr; gap: 0; }
  .adm { flex-direction: column; }
  .acts { justify-content: flex-start; }
}

/* Verwaltung: Editor */
.adm-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 50px; }
.adm-head h2 { margin: 0; }
.adm-head .btn { padding: 11px 22px; font-size: 15px; }
.abtn { font: 700 14px Mulish; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--navy); background: var(--navy); color: #fff; text-decoration: none; }
.editor { max-width: 900px; }
.editor textarea { font: 400 16px/1.6 Mulish, sans-serif; min-height: 360px; }
.editor select { display: block; width: 100%; margin-top: 6px; padding: 13px 15px; border: 1.5px solid #cfd3e3; border-radius: 10px; font: 400 16px Mulish, sans-serif; background: #fff; color: var(--ink); }
.toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 -2px; }
.toolbar button { font: 700 14px Mulish; padding: 7px 12px; border-radius: 8px; border: 1px solid #cfd3e3; background: var(--soft); color: var(--ink); cursor: pointer; }
.toolbar button:hover { border-color: var(--navy); }
.cur-img { margin-top: 10px; max-width: 260px; border-radius: 10px; }
.ed-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ed-actions .btn-ghost { color: var(--navy); padding: 13px 26px; }
.preview { max-width: 780px; margin-top: 50px; padding: 30px; border: 2px dashed var(--line); border-radius: var(--radius); }

/* Handy: kompakte Ideenliste, kürzerer Kopf, gut tippbare Knöpfe */
@media (max-width: 600px) {
  h2 { font-size: 34px; }
  .hero { padding: 54px 0 50px; }
  .hero p { margin-bottom: 26px; }
  .hero-cta { flex-direction: column; align-items: center; gap: 10px; }
  .hero-cta .btn, .hero-cta .btn-ghost { width: 100%; max-width: 300px; text-align: center; padding: 13px 20px; }
  .vision { padding: 44px 0 0; }
  .vision .lead { text-align: left; font-size: 16.5px; }
  .ideas { padding: 44px 16px 56px; }
  .ideas-head { margin-bottom: 22px; }
  .grid { gap: 14px; }
  .card { display: grid; grid-template-columns: 108px 1fr; border-radius: 12px; }
  .card:hover { transform: none; }
  .card-img { aspect-ratio: auto; height: 100%; min-height: 128px; }
  .rank { top: 8px; left: 8px; min-width: 26px; height: 26px; font-size: 12.5px; }
  .card-body { padding: 12px 14px 12px; min-width: 0; }
  .card-body h3 { font-size: 21px; margin-bottom: .25em; }
  .card-body p { -webkit-line-clamp: 2; font-size: 14px; margin-bottom: 10px; }
  .more { display: none; }
  .vote { gap: 6px; }
  .vote button { padding: 8px 12px 8px 10px; min-height: 40px; font-size: 14.5px; }
  .vote svg { width: 17px; height: 17px; }
  .band, .dark { padding: 50px 0; }
  .lead { font-size: 16.5px; }
  .idea-hero, .idea-hero img { max-height: 260px; }
  .idea .wrap { padding-top: 22px; padding-bottom: 56px; }
  .idea h1 { font-size: 40px; }
  .prose { font-size: 17px; }
  .prose blockquote { margin: 20px 0; padding: 14px 16px; }
  .vote-row { gap: 10px; margin: 16px 0 22px; }
  .vote-row .vote button { min-height: 44px; }
  .comments { margin-top: 40px; }
  .comments .form { padding: 18px; }
  .page { padding-top: 36px; padding-bottom: 60px; }
  .page h1 { font-size: 46px; }
  .foot { padding: 40px 0 32px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card { transition: none; } }
.adm-form { display: grid; gap: 14px; max-width: 640px; margin-bottom: 28px; }
.adm-form label { display: grid; gap: 6px; font-weight: 800; font-size: 15px; }
.adm-form select, .adm-form textarea, .adm-form input { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.adm-head span .btn { margin-left: 6px; }
