/* =========================================================
   GRUNDEINSTELLUNGEN / VARIABLEN
   ========================================================= */
:root {
  --color-text: #404040;
  --color-background: #ffffff;
  /*--color-accent: #BA5329;*/
  --color-accent: #cb4b16;  /* Akzentfarbe (Header, Buttons) */
  --color-accent-text: #ffffff;    /* Textfarbe auf dem Akzent-Hintergrund (Header) */
  /* --color-muted: #8A8A8A;           für Kicker */
  --color-muted: #85939D;          /* für Kicker */

  
  --font-base: "Barlow Semi Condensed", system-ui, sans-serif; /* Schriftart*/

  --content-max-width: 42rem;      /* ~70-80 Zeichen Zeilenlänge */
  --spacing: 1.25rem;               /* Grund-Abstandseinheit */
}

/* =========================================================
   RESET / BASIS
   ========================================================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 1.25rem; /*1.08rem;    ca. 17px */
  line-height: 1.334;     
  letter-spacing: 0.1px;   
  color: var(--color-text);
  background: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  line-height: 1.22;
  margin: 0 0 0.75em;
}

h2,
.team-member h3 {
  font-size: 1.29rem;
  line-height: 1.334;
  letter-spacing: 0.1px; 
  font-weight: 600;
  color: var(--color-text);
}

p {
  margin: 0 0 0.7em;
}

a {
  color: var(--color-accent);
}

a[href^="mailto:"] {
  white-space: nowrap;
}

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

/* Innenabstand */
section, footer {
  padding: var(--spacing) 1.25rem;
}

/* =========================================================
   HEADER
   ========================================================= */
.header-image {
  background-image: url('images/logo_header.jpg');
  background-size: 289px auto;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--color-accent);
  color: transparent;
  height: 60px;
  margin: 0;
}

.site-header {
  text-align: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.site-header h1 {
  font-size: 3.8rem;
  font-family: "PT Serif", serif;
  font-weight: 400;
  margin: 0;
}

.site-header h1 strong {
  font-weight: 700;
}

.header-top {
  background: var(--color-accent);
  color: var(--color-accent-text);
  padding: var(--spacing) 1.25rem;
}

.kicker {
  background: #f9f9f9;
  color: var(--color-muted);
  margin: 0;
  padding: 0.5rem 1.25rem;
  font-size: 1.24rem;         
  font-weight: 600;  
  text-transform: uppercase;
  letter-spacing: 0.015em;
  box-shadow: 0px 2px 11px 0px rgba(0, 0, 0, 0.4);
}

.logo-link {
  color: var(--color-accent-text);
  text-decoration: none;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 0.7rem;  
  text-align: left;
  padding-bottom: 0.2rem;
}

.hero-badge {
  width: 129px;
  margin: 0;
}

.hero-badge-link {
  order: 2;
}

.hero-slogan {
  order: 1;
  flex: 0 1 auto;
  margin: 0;
  color: var(--color-accent);
  font-size: 1.3rem;
  line-height: 1.201;
  font-weight: 500;
}

.hero > h2 {
  order: 3;
  flex-basis: 100%;
  margin-top: 1.5rem;
}

.hero > p:not(.hero-slogan) {
  order: 3;
  flex-basis: 100%;
}

.hero .claim {
  font-weight: 600;
}

.hero-slogan a {
  color: inherit;
  text-decoration: none;
  font: inherit;
}

/* =========================================================
   VIDEO
   ========================================================= */
.video-section {
  padding-top: 0;
}

.video-section video {
  width: 100%;
  height: auto;
  display: block;
  border: 1.2px solid #cccccc;
}

/* =========================================================
   TEXTABSCHNITT ("artikel")
   ========================================================= */
.artikel {
  max-width: var(--content-max-width);
}

.artikel h2 {
  margin-top: 2rem;
}

.artikel h2:first-child {
  margin-top: 0;
}

.brand {
  color: var(--color-accent);
  font-weight: 600;
}

#lernen-sie-uns-kennen {
  margin-top: 0.5em;
}

/* =========================================================
   TEAM, IMPRESSUM
   ========================================================= */
.team h2, 
.impressum h2 {
  font-size: 2.07rem;
  line-height: 1.25;
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  padding-bottom: 10px;
}

.team-member {
  margin-bottom: 1.3rem;
}

.team-member h3 {
  margin-bottom: 0em;
}

.team-member .role {
  color: var(--color-text);
  font-style: italic;
  margin-bottom: 0.5em;
}

/* =========================================================
   IMPRESSUM
   ========================================================= */
.impressum {
  padding-bottom: 0;
}

.impressum-block {
  margin: 1rem 0;
}

.impressum-block p {
  margin: 0;
}

.impressum-label {
  font-weight: 600;
}

/* =========================================================
   Pfeil zum Seitenanfang (Back to top)
   ========================================================= */

.back-to-top {
  display: block;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  background-color: #cb4b16;
  border-radius: 50%;
  width: 33px;
  height: 33px;
  line-height: 33px;
  text-align: center;
  margin: 0.75rem 1.25rem 1.5rem auto;
}

html {
  scroll-behavior: smooth;
}

/* =========================================================
   FOKUS-SICHTBARKEIT (Barrierefreiheit)
   ========================================================= */
a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* =========================================================
   SCHRIFTARTEN: Barlow Semi Condensed & PT Serif
   ========================================================= */
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("fonts/BarlowSemiCondensed-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("fonts/BarlowSemiCondensed-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("fonts/BarlowSemiCondensed-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("fonts/BarlowSemiCondensed-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("fonts/BarlowSemiCondensed-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PT Serif";
  src: url("fonts/PTSerif-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PT Serif";
  src: url("fonts/PTSerif-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   DESKTOP (ab 768px)
   ========================================================= */
@media (min-width: 768px) {
  body {
    font-size: 1.25rem;
    line-height: 1.301;
    letter-spacing: normal;
  }

  /* Einheitliche zentrierte Spaltenbreite für alle Abschnitte */
  .hero,
  .video-section,
  .artikel,
  .team,
  .impressum {
    max-width: var(--content-max-width);
    margin-left: auto;
    margin-right: auto;
  }

  .site-header h1 {
  font-size: 3.9rem;
  }

  .header-image { /* Alles auf links */
    height: 87px;
    background-size: 445px auto;
  }
  
  .kicker { /* DIE TÄGLICHE MEDIENSCHAU */
  font-size: 1.3rem;   /* 14.4px, Desktop */
  }

    /* Hero-Badge */
    .hero {
    column-gap: 0.1rem;
  }

  .hero-badge {
    width: 174px;
  }

  .hero-slogan {
    font-size: 2rem;
  }

  .hero > h2 {
  margin-top: 2rem;
  }

  h2,
  .team-member h3 {
    font-size: 1.25rem;
    line-height: 1.301;
    letter-spacing: normal;
  }

  .team h2,
  .impressum h2 {
    font-size: 2.5rem;
  }
}