/* KLARWINKEL MEDIA – gemeinsames Stylesheet fuer alle Seiten.
   Keine externen Schriftarten, keine Bilder, kein JavaScript. */

:root {
  --bg: #101827;
  --bg-raised: #172236;
  --line: #26334b;
  --text: #ffffff;
  --text-muted: #b6c0d2;
  --gold: #c9a961;
  --gold-soft: rgba(201, 169, 97, 0.14);
  --max-width: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

a:hover,
a:focus-visible {
  color: var(--text);
}

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

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

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.logo {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.logo span {
  color: var(--gold);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--gold);
  color: var(--text);
}

/* ---------- Abschnitte ---------- */

section {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

.hero {
  padding: 120px 0 112px;
}

.hero h1 {
  margin: 0 0 32px;
  font-size: clamp(1.125rem, 5.6vw, 4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

/* Weisse und goldene Zeile stehen je in einer eigenen Zeile ohne Umbruch */
.hero h1 span,
.hero h1 em {
  display: block;
  white-space: nowrap;
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.lead {
  max-width: 62ch;
  margin: 0;
  color: var(--text-muted);
  font-size: 1.1875rem;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 40px;
  font-size: clamp(1.625rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.prose {
  max-width: 68ch;
}

.prose p {
  margin: 0 0 20px;
  color: var(--text-muted);
}

/* ---------- Kanal-Karten ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: 4px;
  background: var(--bg-raised);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.card .claim {
  margin: 0 0 16px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.5;
}

.card .description {
  margin: 0 0 28px;
  color: var(--text-muted);
  font-size: 0.9875rem;
}

.card .channel-link,
.card .channel-pending {
  margin-top: auto;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

.card .channel-link {
  align-self: flex-start;
  border-bottom: 1px solid var(--gold-soft);
}

.card .channel-link:hover,
.card .channel-link:focus-visible {
  border-bottom-color: var(--text);
}

.card .channel-pending {
  color: var(--text-muted);
  font-style: italic;
}

/* Grosse Karte mit Bild ueber die ganze Breite */
.cards > li.featured {
  grid-column: 1 / -1;
}

.card--featured {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  padding: 0;
  overflow: hidden;
}

.card--featured:hover {
  transform: none;
}

.card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  display: flex;
  flex-direction: column;
  padding: 40px 36px;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.card-head img {
  width: 56px;
  height: 56px;
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.card-head h3 {
  margin: 0;
}

.card--featured .description {
  margin-bottom: 16px;
}

.card .card-note {
  margin: 0 0 28px;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

@media (max-width: 800px) {
  .card--featured {
    grid-template-columns: 1fr;
  }

  .card-media img {
    aspect-ratio: 3 / 2;
    height: auto;
  }

  .card-body {
    padding: 28px 24px 32px;
  }
}

/* ---------- Kontakt ---------- */

.contact-mail {
  display: inline-block;
  margin-top: 8px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--gold);
  font-size: 1.1875rem;
  overflow-wrap: anywhere;
}

.contact-form {
  max-width: 620px;
  margin-top: 56px;
}

.contact-form h3 {
  margin: 0 0 24px;
  font-size: 1.125rem;
  font-weight: 600;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-raised);
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s ease;
}

.field textarea {
  resize: vertical;
}

.field input:hover,
.field textarea:hover,
.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
  outline: none;
}

/* Spamschutz-Feld: fuer Besucher nicht sichtbar */
.field-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.contact-form button {
  padding: 12px 28px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: transparent;
  color: var(--gold);
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  background: var(--gold);
  color: var(--bg);
}

.contact-form button:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 36px 0 44px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
}

.site-footer p {
  margin: 0;
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--gold);
}

/* ---------- Rechtstexte (Impressum, Datenschutz) ---------- */

.legal {
  padding: 80px 0 96px;
  border-bottom: 1px solid var(--line);
}

.legal .container {
  max-width: 800px;
}

.legal h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.legal .stand {
  margin: 0 0 48px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.legal h2 {
  margin: 56px 0 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 1.375rem;
}

.legal h3 {
  margin: 32px 0 10px;
  color: var(--gold);
  font-size: 1.0625rem;
  font-weight: 600;
}

.legal p,
.legal li,
.legal address {
  color: var(--text-muted);
}

.legal p {
  margin: 0 0 16px;
}

.legal ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal li {
  margin-bottom: 6px;
}

.legal address {
  margin: 0 0 16px;
  font-style: normal;
}

.legal strong {
  color: var(--text);
  font-weight: 600;
}

.legal a {
  border-bottom: 1px solid var(--gold-soft);
  overflow-wrap: anywhere;
}

/* Pruefpunkte: muessen vor der Veroeffentlichung geklaert und entfernt werden. */
.pruefpunkt {
  display: block;
  margin: 16px 0 20px;
  padding: 14px 18px;
  border: 1px dashed var(--gold);
  border-radius: 4px;
  background: var(--gold-soft);
  color: var(--text);
  font-size: 0.9375rem;
}

.pruefpunkt::before {
  content: "PRÜFPUNKT – vor Veröffentlichung klären und diesen Kasten entfernen";
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Smartphone ---------- */

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }

  .container {
    padding: 0 20px;
  }

  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav ul {
    gap: 4px 22px;
  }

  section {
    padding: 64px 0;
  }

  .hero {
    padding: 72px 0 68px;
  }

  .lead {
    font-size: 1.0625rem;
  }

  .legal {
    padding: 56px 0 72px;
  }

  .site-footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
