/*
 * aktiv-pv.de — technical problem notice
 *
 * Colours, fonts and logo are taken from the live WordPress site
 * (Elementor kit: secondary #183C56, primary #5F9BC6, accent #0083FD;
 *  headings Signika, body IBM Plex Sans).
 */

/* ------------------------------------------------------------------ */
/* Fonts (self-hosted copies of the site's Google fonts)              */
/* ------------------------------------------------------------------ */

/* Signika 300 — latin-ext */
@font-face {
  font-family: 'Signika';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/signika-a94df01d.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Signika 300 — latin */
@font-face {
  font-family: 'Signika';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/signika-0a0cd964.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;
}
/* Signika 600 — latin-ext */
@font-face {
  font-family: 'Signika';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/signika-a94df01d.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Signika 600 — latin */
@font-face {
  font-family: 'Signika';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/signika-0a0cd964.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;
}
/* IBM Plex Sans 300 — latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/ibmplexsans-632855d1.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Sans 300 — latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/ibmplexsans-868a235a.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;
}
/* IBM Plex Sans 400 — latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibmplexsans-632855d1.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Sans 400 — latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibmplexsans-868a235a.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;
}

/* ------------------------------------------------------------------ */
/* Base                                                               */
/* ------------------------------------------------------------------ */

:root {
  --secondary: #183c56;
  --secondary-dark: #102b3f;
  --primary: #5f9bc6;
  --accent: #15779b;
  --accent-dark: #0f5f7d;
  --logo-blue: #46a2d3;
  --text: #33424e;
  --heading: #183c56;
  --font-head: 'Signika', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --container: 1140px;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ------------------------------------------------------------------ */
/* Header with the logo panel that overlaps the hero (as on the site) */
/* ------------------------------------------------------------------ */

.site-header {
  position: relative;
  z-index: 5;
  background: var(--secondary);
}

.header-inner {
  position: relative;
  z-index: 5;
  max-width: var(--container);
  height: 94px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo-panel {
  position: absolute;
  top: 0;
  left: 24px;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 210px;
  height: 135px;
  padding: 16px 6px 13px;
  background: var(--secondary);
}

.logo-panel img {
  width: 186px;
}

/* ------------------------------------------------------------------ */
/* Hero photo band                                                    */
/* ------------------------------------------------------------------ */

.hero {
  position: relative;
  z-index: 1;
  height: clamp(210px, 26vh, 320px);
  background: var(--secondary-dark) url('hero.jpg') center 42% / cover no-repeat;
}

/* ------------------------------------------------------------------ */
/* Message                                                            */
/* ------------------------------------------------------------------ */

main {
  flex: 1 0 auto;
}

.content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 54px 24px 72px;
}

.mark {
  width: 14px;
  height: 14px;
  margin: 0 0 20px;
  background: var(--primary);
}

h1 {
  max-width: 920px;
  margin: 0 0 24px;
  color: var(--heading);
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 1.05rem + 2.1vw, 2.625rem);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.nowrap {
  white-space: nowrap;
}

.lead {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.1875rem);
  font-weight: 300;
  line-height: 1.7;
}

.lead a {
  color: var(--accent);
  font-weight: 400;
  text-decoration: none;
  border-bottom: 1px solid rgba(21, 119, 155, 0.35);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.lead a:hover,
.lead a:focus-visible {
  color: var(--accent-dark);
  border-bottom-color: var(--accent-dark);
}

.lead a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

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

.site-footer {
  flex-shrink: 0;
  border-top: 4px solid var(--primary);
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8125rem;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  justify-content: space-between;
}

/* ------------------------------------------------------------------ */
/* Small screens                                                      */
/* ------------------------------------------------------------------ */

@media (max-width: 767px) {
  .header-inner {
    height: 76px;
    padding: 0 16px;
  }

  .logo-panel {
    left: 16px;
    width: 160px;
    height: 104px;
    padding: 12px 4px 10px;
  }

  .logo-panel img {
    width: 140px;
  }

  .hero {
    height: 190px;
  }

  .content {
    padding: 40px 20px 56px;
  }

  h1 {
    font-size: 1.625rem;
    line-height: 1.3;
  }

  .lead {
    font-size: 1.0625rem;
  }

  .footer-inner {
    padding: 16px 20px;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lead a {
    transition: none;
  }
}
