/* =====================================================================
   PKN Podcast-Landingpage
   Design-Tokens aus www.pkn.de übernommen (Roboto, #0190B5, #070A10 …)
   ===================================================================== */

:root {
  --pkn-dark:        #070a10;
  --pkn-dark-2:      #0e141d;
  --pkn-dark-3:      #161d28;
  --pkn-primary:     #0190b5;
  --pkn-primary-dk:  #017794;
  --pkn-accent:      #01aad5;
  --pkn-accent-lt:   #46b2d8;
  --pkn-steel:       #c8d5dc;
  --pkn-bg:          #f3f5f8;
  --pkn-text:        #444648;
  --pkn-white:       #ffffff;
  --pkn-border:      #dde4ea;
  --pkn-danger:      #d63637;

  --pkn-font: "Roboto", "Roboto (Google)", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pkn-shell: 1200px;
  --pkn-radius: 0px;           /* pkn.de nutzt durchgehend eckige Kanten */
}

/* Optional selbst gehostete Schrift – siehe README (assets/fonts/) */
/*
@font-face { font-family:"Roboto"; font-style:normal; font-weight:400; font-display:swap;
             src:url("fonts/roboto-400.woff2") format("woff2"); }
@font-face { font-family:"Roboto"; font-style:normal; font-weight:500; font-display:swap;
             src:url("fonts/roboto-500.woff2") format("woff2"); }
@font-face { font-family:"Roboto"; font-style:normal; font-weight:700; font-display:swap;
             src:url("fonts/roboto-700.woff2") format("woff2"); }
*/

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--pkn-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--pkn-text);
  background: var(--pkn-white);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: var(--pkn-primary); }

h1, h2, h3, h4 {
  font-family: var(--pkn-font);
  font-weight: 700;
  color: var(--pkn-dark);
  line-height: 1.3;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); color: var(--pkn-primary); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p  { margin: 0 0 1rem; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--pkn-radius);
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--primary { background: var(--pkn-primary); color: #fff; }
.btn--primary:hover { background: var(--pkn-primary-dk); color: #fff; }
.btn--steel { background: var(--pkn-steel); color: var(--pkn-dark); }
.btn--steel:hover { background: #b6c7d1; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--outline { background: transparent; color: var(--pkn-primary); border-color: var(--pkn-primary); }
.btn--outline:hover { background: var(--pkn-primary); color: #fff; }
.btn--block { width: 100%; justify-content: center; }
.btn--lg { padding: 16px 34px; font-size: 1rem; }
.btn[disabled], .btn--disabled {
  background: #e6ebef; color: #97a3ac; border-color: transparent;
  cursor: not-allowed; pointer-events: none;
}

/* ------------------------------------------------------------------ */
/* Kopfbereich                                                         */
/* ------------------------------------------------------------------ */
.site-header {
  background: var(--pkn-dark);
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 46px; width: auto; display: block; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__type { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-size: 1.75rem; font-weight: 700; letter-spacing: .02em; color: var(--pkn-accent-lt);
}
.brand__sub {
  font-size: .53rem; font-weight: 500; letter-spacing: .22em;
  color: var(--pkn-accent); margin-top: 3px;
}

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  color: #fff; text-decoration: none; font-size: .9rem;
  padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .18s ease;
}
.site-nav a:hover { border-bottom-color: var(--pkn-accent); }
.site-nav .btn { color: #fff; border-bottom: 0; }

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  background: var(--pkn-dark);
  color: #fff;
  overflow: hidden;
  padding: 92px 0 96px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 520px at 78% 12%, rgba(1,170,213,.30), transparent 62%),
    radial-gradient(760px 500px at 8% 92%, rgba(1,144,181,.24), transparent 66%),
    linear-gradient(180deg, #0b1219 0%, #070a10 100%);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(700px 460px at 70% 22%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(700px 460px at 70% 22%, #000, transparent 78%);
}
.hero .shell { position: relative; z-index: 2; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  grid-template-areas:
    "intro form"
    "extras form";
  gap: 0 56px;
  align-items: start;
}
.hero__intro  { grid-area: intro; }
.hero__form   { grid-area: form; align-self: center; }
.hero__extras { grid-area: extras; }

/* Sprungmarken nicht unter den fixierten Kopf schieben */
[id] { scroll-margin-top: 100px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--pkn-accent); margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 30px; height: 2px; background: var(--pkn-accent); display: block;
}
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero__rule { width: 74px; height: 4px; background: var(--pkn-accent); margin: 0 0 24px; }
.hero__lead { font-size: 1.06rem; color: rgba(255,255,255,.84); max-width: 46ch; }

.hero__facts {
  display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 34px;
  padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14);
}
.fact__value { font-size: 1.7rem; font-weight: 700; color: #fff; line-height: 1.1; }
.fact__label {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin-top: 4px;
}

/* Wellenform als dekoratives Podcast-Motiv */
.wave { display: flex; align-items: flex-end; gap: 5px; height: 96px; margin-top: 30px; }
.wave span {
  width: 5px; background: linear-gradient(180deg, var(--pkn-accent), rgba(1,144,181,.25));
  animation: pkn-wave 1.5s ease-in-out infinite;
}
@keyframes pkn-wave { 0%,100% { height: 18%; } 50% { height: 100%; } }
@media (prefers-reduced-motion: reduce) { .wave span { animation: none; height: 55%; } }

/* ------------------------------------------------------------------ */
/* Formular-Karte                                                      */
/* ------------------------------------------------------------------ */
.card {
  background: #fff;
  border: 1px solid var(--pkn-border);
  border-top: 4px solid var(--pkn-primary);
  padding: 34px 34px 30px;
  box-shadow: 0 26px 60px rgba(7,10,16,.30);
}
.card h2 { color: var(--pkn-dark); font-size: 1.5rem; margin-bottom: .35em; }
.card__note { font-size: .85rem; color: #6b7076; margin-bottom: 22px; }

.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: .82rem; font-weight: 500;
  color: var(--pkn-dark); margin-bottom: 6px;
}
.field .req { color: var(--pkn-primary); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--pkn-dark);
  background: #fbfcfd;
  border: 1px solid var(--pkn-border);
  border-radius: var(--pkn-radius);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; background: #fff;
  border-color: var(--pkn-primary);
  box-shadow: 0 0 0 3px rgba(1,144,181,.16);
}
.field textarea { min-height: 96px; resize: vertical; }
.field--error input, .field--error textarea { border-color: var(--pkn-danger); background: #fff7f7; }
.field__error { display: block; font-size: .78rem; color: var(--pkn-danger); margin-top: 5px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

.consent { display: flex; gap: 11px; align-items: flex-start; margin: 6px 0 20px; }
.consent input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--pkn-primary); flex: none; }
.consent label { font-size: .78rem; line-height: 1.55; color: #6b7076; }

.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; }

.alert {
  padding: 13px 16px; font-size: .87rem; margin-bottom: 20px;
  border-left: 4px solid var(--pkn-danger); background: #fdf2f2; color: #8a2a2a;
}
.alert--ok { border-left-color: var(--pkn-primary); background: #eef7fa; color: #0d5a70; }

.benefits { list-style: none; margin: 28px 0 0; padding: 0; }
.benefits li {
  position: relative; padding-left: 34px; margin-bottom: 13px;
  font-size: .96rem; color: rgba(255,255,255,.85);
}
.benefits li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px; background: var(--pkn-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%23000'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%23000'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ------------------------------------------------------------------ */
/* Abschnitte                                                          */
/* ------------------------------------------------------------------ */
.section { padding: 84px 0; }
.section--light { background: var(--pkn-bg); }
.section__head { max-width: 720px; margin-bottom: 44px; }
.section__head p { font-size: 1.02rem; }

/* ------------------------------------------------------------------ */
/* Blöcke (Kampagnen)                                                  */
/* ------------------------------------------------------------------ */
.group-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.group-nav__item {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 22px; text-decoration: none;
  background: #fff; border: 1px solid var(--pkn-border); border-bottom: 3px solid var(--pkn-border);
  transition: border-color .18s ease, background-color .18s ease;
}
.group-nav__item:hover { border-bottom-color: var(--pkn-primary); }
.group-nav__item.is-current { border-bottom-color: var(--pkn-primary); background: #fff; }
.group-nav__label { font-weight: 700; font-size: .95rem; color: var(--pkn-dark); }
.group-nav__count { font-size: .75rem; color: #7b848c; font-variant-numeric: tabular-nums; }

.group { margin-bottom: 46px; }
.group:last-of-type { margin-bottom: 0; }
.group__head {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px;
  padding-bottom: 12px; margin-bottom: 18px;
  border-bottom: 1px solid var(--pkn-border);
}
.group__title { font-size: 1.35rem; margin: 0; color: var(--pkn-dark); }
.group__meta { font-size: .82rem; color: #7b848c; font-variant-numeric: tabular-nums; }
.group__badge {
  margin-left: auto; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  background: var(--pkn-primary); color: #fff; padding: 4px 11px;
}
.group--focus .group__head { border-bottom-color: var(--pkn-primary); }
.group--focus .group__title { color: var(--pkn-primary); }

/* ------------------------------------------------------------------ */
/* Download-Liste                                                      */
/* ------------------------------------------------------------------ */
.downloads { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.download {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto auto;
  gap: 22px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--pkn-border);
  border-left: 4px solid var(--pkn-primary);
  padding: 16px 22px;
  transition: box-shadow .18s ease, border-color .18s ease;
}
.download:hover { box-shadow: 0 10px 26px rgba(7,10,16,.08); }
.download--locked { border-left-color: var(--pkn-steel); background: #fbfcfd; }

.download__num {
  font-size: 1.5rem; font-weight: 700; line-height: 1;
  color: var(--pkn-steel); font-variant-numeric: tabular-nums;
}
.download--locked .download__num { color: #dbe3e9; }

.download__title { font-size: 1.02rem; margin: 0; color: var(--pkn-dark); }
.download__desc { font-size: .88rem; margin: 5px 0 0; }
.download__body .topics { margin-top: 9px; }

.download__meta {
  display: flex; align-items: center; gap: 16px;
  font-size: .8rem; color: #7b848c; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.download__size { min-width: 68px; text-align: right; }
.download__action .btn { white-space: nowrap; }
.btn .ico { width: 16px; height: 16px; fill: currentColor; flex: none; }

.downloads__foot { margin-top: 18px; font-size: .85rem; color: #7b848c; }

.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topic {
  font-size: .7rem; letter-spacing: .06em; text-transform: uppercase;
  background: var(--pkn-bg); color: #5d666e; padding: 5px 10px; border: 1px solid var(--pkn-border);
}

.notice-box {
  background: #fff; border: 1px solid var(--pkn-border); border-left: 4px solid var(--pkn-accent);
  padding: 20px 24px; font-size: .9rem; margin-bottom: 26px;
}
.notice-box code {
  background: var(--pkn-bg); border: 1px solid var(--pkn-border);
  padding: 1px 6px; font-size: .87em;
}

/* ------------------------------------------------------------------ */
/* CTA-Band                                                            */
/* ------------------------------------------------------------------ */
.cta-band { background: var(--pkn-primary); color: #fff; padding: 58px 0; }
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { color: rgba(255,255,255,.9); margin: 0; max-width: 62ch; }

/* ------------------------------------------------------------------ */
/* Fußbereich                                                          */
/* ------------------------------------------------------------------ */
.site-footer { background: var(--pkn-dark); color: rgba(255,255,255,.72); padding: 66px 0 0; font-size: .9rem; }
.site-footer h4 {
  color: #fff; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px;
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 46px; padding-bottom: 46px; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.site-footer a:hover { color: var(--pkn-accent); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.footer__addr { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 18px; }
.footer__bar {
  border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0 26px;
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
  font-size: .8rem; color: rgba(255,255,255,.5);
}
.footer__bar nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* ------------------------------------------------------------------ */
/* Responsiv                                                           */
/* ------------------------------------------------------------------ */
@media (max-width: 980px) {
  /* Auf schmalen Displays steht das Formular direkt unter der Headline */
  .hero__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "intro" "form" "extras";
    gap: 36px;
  }
  .hero__form { align-self: stretch; }
  .hero { padding: 60px 0 66px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .site-nav { display: none; }
  .site-nav--cta { display: flex; }
}
@media (max-width: 720px) {
  .section { padding: 58px 0; }
  .download {
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-areas: "num body" "meta meta" "action action";
    gap: 12px 14px; padding: 18px 18px;
  }
  .download__num { grid-area: num; }
  .download__body { grid-area: body; }
  .download__meta { grid-area: meta; }
  .download__action { grid-area: action; }
  .download__action .btn { width: 100%; }
  .download__size { min-width: 0; text-align: left; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer__grid, .footer__addr { grid-template-columns: 1fr; }
  .card { padding: 26px 22px 24px; }
}
