/* Presse-Downloadseite. Tokens, Schriften und Kopfverlauf wie auf whitemacs.com
   (src/onepager.css, src/legal/legal.css), hier eigenständig, da ohne Build ausgeliefert. */
@font-face {
  font-family: Selawik;
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/selawik-semilight.woff2') format('woff2');
}
@font-face {
  font-family: Selawik;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/selawik-regular.woff2') format('woff2');
}
@font-face {
  font-family: Selawik;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/selawik-semibold.woff2') format('woff2');
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/open-sans-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy-950: #020936;
  --navy-900: #06154f;
  --blue-700: #0750c9;
  --orange: #FF6614;
  --paper: #ffffff;
  --paper-2: #f3f6fc;
  --line: #dbe3f2;
  --ink: #071233;
  --ink-2: #3a4866;
  --ink-3: #6a7791;
  --on-dark: #e9f0ff;
  --on-dark-2: rgba(233,240,255,.74);
  --on-dark-3: rgba(233,240,255,.5);
  --line-dark: rgba(140,180,255,.2);
  --font: "Segoe UI", "Segoe UI Variable Text", Selawik, "Open Sans", system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; min-height: 100vh;
}
img { max-width: 100%; display: block; }
h1, h2 { margin: 0; text-wrap: balance; line-height: 1.15; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.wrap { max-width: calc(1080px + var(--gutter-l) + var(--gutter-r)); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); width: 100%; }

/* Kopf: dunkler Verlauf wie Impressum/Datenschutz */
.head {
  background:
    radial-gradient(55% 90% at 88% 0%, rgba(7,80,201,.6) 0%, rgba(7,80,201,0) 70%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--on-dark);
  padding-top: calc(env(safe-area-inset-top, 0px) + 1.6rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}
.logo { display: inline-block; margin-bottom: clamp(2.5rem, 7vw, 4.5rem); }
.logo img { height: 24px; width: auto; }
.eyebrow { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--orange); margin-bottom: 1.1rem; }
.head h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); font-weight: 600; letter-spacing: -.01em; max-width: 22ch; }
.date { margin-top: .8rem; font-size: clamp(1.1rem, 2.4vw, 1.35rem); font-weight: 300; color: var(--on-dark-2); }
.rule { width: 48px; height: 2px; background: var(--orange); opacity: .85; margin-top: 1.5rem; }

/* Pakete */
.body { flex: 1; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.package {
  display: flex; flex-direction: column;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.5rem;
}
.code { align-self: flex-start; font-size: .74rem; font-weight: 600; letter-spacing: .08em; color: var(--blue-700); border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: .2rem .7rem; }
.kind { margin-top: 1.1rem; font-size: .9rem; color: var(--ink-3); }
.package h2 { margin-top: .25rem; font-size: 1.3rem; font-weight: 600; }
.downloads { list-style: none; margin: auto 0 0; padding: 1.4rem 0 0; display: grid; gap: .5rem; }
.dl {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  min-height: 46px; padding: .55rem 1rem; border-radius: 10px;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink);
  font-weight: 600; font-size: .95rem; text-decoration: none;
  transition: border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
/* Download-Pfeil (Lucide „download“) als Maske, damit er die Textfarbe übernimmt */
.dl::after {
  content: ""; flex: none; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' x2='12' y1='15' y2='3'/%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' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' x2='12' y1='15' y2='3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.dl:hover { border-color: var(--blue-700); color: var(--blue-700); box-shadow: 0 6px 18px rgba(7,18,51,.08); }

/* Pressekontakt */
.contact { margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: 2.2rem; border-top: 1px solid var(--line); max-width: 640px; }
.contact h2 { font-size: 1.35rem; font-weight: 600; margin-bottom: .9rem; }
.contact p, .contact address { color: var(--ink-2); line-height: 1.75; }
.contact address { margin-top: .9rem; font-style: normal; }
.contact strong { color: var(--ink); font-weight: 600; }
.contact a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.contact a:hover { color: var(--navy-950); }

/* Fuß */
.foot { background: var(--navy-950); color: var(--on-dark-3); font-size: .8rem; padding-block: 1.4rem calc(1.4rem + env(safe-area-inset-bottom, 0px)); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 1.5rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.foot a { color: var(--on-dark-2); text-decoration: none; }
.foot a:hover { color: var(--on-dark); }
