/* =========================================================
   OPEN DOOR HR – zentrales Stylesheet (für index.html + impressum.html)
   ========================================================= */

/* -------------------- Fonts -------------------- */
@font-face {
  font-family: 'Lato';
  src: url('fonts/Lato-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('fonts/Lato-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('fonts/Lato-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('fonts/Lato-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('fonts/Lato-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cervo-Light';
  src: url('fonts/Cervo-Light.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* -------------------- Variablen -------------------- */
:root {
  /* Farben */
  --color-text: #3f4965;
  --color-gold: #bb9e79;
  --color-gold-hover: #a49477;
  --color-navy: #314e62;
  --color-bg-light: #f6f5f5;
  --color-white: #ffffff;

  /* Typografie */
  --font-heading: 'Cervo-Light', 'Lato', Arial, sans-serif;
  --font-body: 'Lato', Arial, sans-serif;

  --fs-h1: 60px;
  --lh-h1: 66px;
  --fs-h2: 44px;
  --lh-h2: 55px;
  --fs-h3: 40px;
  --lh-h3: 44px;
  --fs-h4: 36px;
  --lh-h4: 42px;
  --fs-h5: 32px;
  --lh-h5: 38px;
  --fs-body: 18px;
  --lh-body: 24px;

  /* Layout */
  --content-max-width: 1280px;
  --side-padding: 40px;
  --section-padding-y: 90px;
}

/* -------------------- Reset / Basics -------------------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--side-padding);
  padding-right: var(--side-padding);
}

/* -------------------- Typografie -------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 10px;
}

h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  color: var(--color-gold);
}

/* Section-Titel (großer goldener Zwischentitel, im Original ebenfalls H1 aus SEO-Gründen) */
.section-title {
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  color: var(--color-gold);
}

/* Dunkelblaue Unterüberschrift unter Section-Titeln */
.section-subtitle {
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  color: var(--color-text);
}

/* Kleinere goldene Titel (z.B. Spaltenüberschriften "Für HR") */
.card-title {
  font-size: var(--fs-h4);
  line-height: var(--lh-h4);
  color: var(--color-gold);
}

/* Kleinere dunkelblaue Unterzeile in Spalten */
.card-subtitle {
  font-size: var(--fs-h5);
  line-height: var(--lh-h5);
  color: var(--color-text);
}

.text-center {
  text-align: center;
}

p {
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  color: var(--color-text);
  margin: 0 0 16px;
}

p:last-child {
  margin-bottom: 0;
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-block;
  background-color: var(--color-gold);
  color: var(--color-white);
  font-family: 'Cervo-Light', var(--font-heading);
  font-weight: 600;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 22px;
  padding: 12px 22px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  background-color: var(--color-gold-hover);
  color: var(--color-white);
}

.btn--small {
  padding: 10px 20px;
  font-size: 13px;
}

/* Content-Buttons (Hero, Zielgruppen, Kontakt) – eigenes Padding, getrennt vom Hauptmenü-Button */
.btn--content {
  padding: 22px 22px;
}

/* -------------------- Header -------------------- */
.site-header {
  background-color: var(--color-white);
  padding: 20px var(--side-padding);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.site-header__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo img {
  max-width: 280px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  font-family: 'Cervo-Light', var(--font-heading);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0px;
  text-transform: uppercase;
  color: var(--color-text);
}

.main-nav a:not(.btn) {
  font-size: 22px;
  padding-left: 15px;
  padding-right: 15px;
  display: inline-block;
}

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

.main-nav .btn {
  color: var(--color-white);
}

.main-nav .btn:hover {
  color: var(--color-white);
}

/* Burger (nur mobil sichtbar) */
.burger {
  display: none;
  width: 28px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: space-between;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--color-navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* -------------------- Hero -------------------- */
.hero {
  padding: 60px 0;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}

.hero__image img {
  border-radius: 2px;
}

.hero__content .btn {
  margin-top: 24px;
}

/* -------------------- Warum-Section (dunkel) -------------------- */
.why {
  background-color: var(--color-navy);
  padding: var(--section-padding-y) 0;
  text-align: center;
}

.why .section-title {
  color: var(--color-gold);
}

.why p {
  color: var(--color-white);
}

/* -------------------- Konzept-Section -------------------- */
.concept {
  padding: var(--section-padding-y) 0 60px;
  text-align: center;
}

.concept__icon {
  margin-bottom: 24px;
}

.concept__icon img {
  width: 64px;
  margin: 0 auto;
}

.concept .section-title,
.concept .section-subtitle {
  text-align: center;
}


/* -------------------- Zielgruppen (3 Spalten) -------------------- */
.target-groups {
  background-color: var(--color-bg-light);
  padding: 60px 0;
}

.target-groups__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 40px;
}

.target-groups__col ul {
  margin-top: 16px;
}

.target-groups__col li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.target-groups__col li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: var(--color-gold);
  border-radius: 50%;
}

.target-groups__cta {
  text-align: center;
}

/* -------------------- Über uns -------------------- */
.about {
  padding: var(--section-padding-y) 0;
}

.about__inner {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.about__image img {
  border-radius: 2px;
}

/* -------------------- Vorteile (Icon-Grid) -------------------- */
.benefits {
  background-color: var(--color-bg-light);
  padding: var(--section-padding-y) 0;
  text-align: center;
}

.benefits .section-title {
  margin-bottom: 50px;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
}

.benefits__item img {
  width: 88px;
  margin: 0 auto 16px;
}

.benefits__item p {
  font-weight: 700;
  color: var(--color-text);
  margin-left: auto;
  margin-right: auto;
}

/* -------------------- Kontakt -------------------- */
.contact {
  padding: var(--section-padding-y) 0;
  text-align: center;
}

.contact__intro {
  margin-left: auto;
  margin-right: auto;
}

.contact__name {
  margin-top: 30px;
  font-size: 28px;
  line-height: 34px;
  color: var(--color-text);
}

.contact__role {
  margin-top: -8px;
  margin-bottom: 20px;
}

.contact__details {
  margin-bottom: 30px;
}

.contact__details a {
  color: var(--color-gold);
}

/* -------------------- Footer -------------------- */
.site-footer {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 50px 0;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.site-footer__brand img {
  width: 100%;
  max-width: 380px;
}

.site-footer p {
  color: var(--color-white);
  font-size: 15px;
  line-height: 22px;
  margin: 0 0 6px;
}

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

.site-footer__legal {
  text-align: right;
}

.site-footer__legal p {
  opacity: 0.7;
  font-size: 13px;
  margin-top: 8px;
}

/* -------------------- Cookie-Hinweis -------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 16px var(--side-padding);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  color: var(--color-white);
  font-size: 14px;
  line-height: 20px;
  margin: 0;
  max-width: 700px;
}

.cookie-banner a {
  color: var(--color-gold);
  text-decoration: underline;
}

/* -------------------- Impressum-Seite -------------------- */
.legal {
  padding: var(--section-padding-y) 0;
}

.legal h1 {
  font-size: 40px;
  line-height: 46px;
  margin-bottom: 30px;
}

.legal h2 {
  font-size: 26px;
  line-height: 32px;
  color: var(--color-navy);
  text-transform: none;
  margin-top: 40px;
}

.legal h3 {
  font-size: 20px;
  line-height: 26px;
  color: var(--color-navy);
  text-transform: none;
  margin-top: 24px;
}

.legal p,
.legal li {
  font-size: 16px;
  line-height: 24px;
}

.legal ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 16px;
}

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

.legal a {
  word-break: break-word;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  :root {
    --fs-h5: 32px;
    --lh-h5: 38px;
  }
}

@media (max-width: 992px) {
  :root {
    --fs-h1: 44px;
    --lh-h1: 50px;
    --fs-h2: 34px;
    --lh-h2: 42px;
    --fs-h3: 28px;
    --lh-h3: 34px;
    --fs-h4: 40px;
    --lh-h4: 46px;
    --section-padding-y: 60px;
  }

  .hero__inner,
  .about__inner {
    grid-template-columns: 1fr;
  }

  .about__image {
    max-width: 420px;
    margin: 0 auto;
  }

  .target-groups__grid,
  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer__brand img {
    margin: 0 auto;
  }

  .site-footer__legal {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background-color: var(--color-white);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 90px 32px 32px;
    overflow-y: auto;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .burger {
    display: flex;
  }

  html {
    scroll-padding-top: 70px;
  }

  .main-nav a:not(.btn) {
    font-size: 18px;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 576px) {
  :root {
    --fs-h1: 40px;
    --lh-h1: 46px;
    --fs-h2: 28px;
    --lh-h2: 34px;
    --fs-h3: 32px;
    --lh-h3: 38px;
    --fs-h4: 36px;
    --lh-h4: 42px;
    --fs-body: 16px;
    --lh-body: 24px;
    --section-padding-y: 44px;
    --side-padding: 20px;
  }

  .target-groups__grid,
  .benefits__grid {
    grid-template-columns: 1fr;
  }

  .site-header__logo img {
    max-width: 200px;
  }

  .btn {
    padding: 14px 24px;
    font-size: 14px;
  }
}
