/* =====================================================
   Franck & Maurer — Brand stylesheet
   Farb- & Typo-Palette abgeleitet aus der PDF-Vorlage
   "LVR_Pressearbeit_Bewerbung.pdf"
   ===================================================== */

:root {
  /* Blau-Töne (aus der Vorlage) */
  --navy-900: #14304a;   /* dunkelster Navy: "Über uns", Footer, Header-Bars */
  --navy-800: #1c3a5c;   /* Hero / Primärfläche */
  --blue-600: #2d5c8a;   /* mittleres Blau: "Wer wir sind" */
  --blue-500: #3a6da0;   /* Hover / hellere Akzente */

  /* Akzent (warmes Gold/Orange aus der Vorlage) */
  --gold:     #e5a11e;
  --gold-600: #c9881a;

  /* Kachel-Hintergründe (wie Kompetenzen-Karten) */
  --card-blue:  #e7f0f8;
  --card-green: #edf3e6;

  /* Flächen & Text */
  --bg:        #ffffff;
  --bg-soft:   #f4f8fc;
  --ink:       #1e2a38;
  --ink-soft:  #4a5a6a;
  --on-dark:        #ffffff;
  --on-dark-soft:   #aec2d6;
  --border:    #dbe6f0;

  /* Maße */
  --container: 1140px;
  --radius:    14px;
  --radius-sm: 10px;
  --shadow:    0 18px 50px -22px rgba(20, 48, 74, .35);
  --shadow-sm: 0 8px 24px -12px rgba(20, 48, 74, .28);
  --ease:      cubic-bezier(.22, 1, .36, 1);

  --font: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 900; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: absolute;
  left: 50%; top: -60px;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy-900);
  padding: 10px 20px;
  border-radius: 0 0 10px 10px;
  font-weight: 700;
  z-index: 200;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Bausteine ---------- */
.section-head { margin-bottom: 56px; max-width: 720px; }

.section-title {
  font-size: clamp(2rem, 5vw, 3.1rem);
  color: var(--navy-900);
}
.section-title--light { color: var(--on-dark); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow--gold { color: var(--gold-600); }
.eyebrow__line {
  width: 42px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.eyebrow__bar {
  width: 4px; height: 1.1em;
  background: var(--gold);
  border-radius: 2px;
}

.btn {
  display: inline-block;
  padding: 15px 34px;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn--gold {
  background: var(--gold);
  color: var(--navy-900);
  box-shadow: 0 12px 26px -12px rgba(229, 161, 30, .8);
}
.btn--gold:hover {
  background: #f0ad2c;
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -12px rgba(229, 161, 30, .9);
}
.btn--full { width: 100%; }

/* =====================================================
   NAVBAR
   ===================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 48, 74, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--on-dark);
}
.nav__logo-mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--gold);
  color: var(--navy-900);
  font-weight: 900;
  font-size: .82rem;
  letter-spacing: -.02em;
}
.nav__logo-text { font-weight: 900; font-size: 1.12rem; letter-spacing: -.01em; }

.nav__menu { display: flex; align-items: center; gap: 8px; }
.nav__menu a {
  position: relative;
  padding: 9px 14px;
  text-decoration: none;
  color: var(--on-dark-soft);
  font-weight: 700;
  font-size: .95rem;
  border-radius: 8px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__menu a:hover { color: var(--on-dark); }
.nav__menu a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav__menu a:not(.nav__cta):hover::after { transform: scaleX(1); }
.nav__cta {
  background: var(--gold);
  color: var(--navy-900) !important;
  margin-left: 8px;
}
.nav__cta:hover { background: #f0ad2c; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 11px 9px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__toggle span {
  height: 2px; width: 100%;
  background: var(--on-dark);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: var(--on-dark);
  padding: clamp(90px, 16vh, 170px) 24px clamp(80px, 12vh, 140px);
}
.hero__glow {
  position: absolute;
  top: -30%; right: -10%;
  width: 60vw; height: 60vw;
  max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(45, 92, 138, .55) 0%, transparent 65%);
  pointer-events: none;
}
.hero__people {
  position: absolute;
  right: clamp(-30px, 2vw, 40px); bottom: clamp(-30px, 2vw, 30px);
  width: clamp(180px, 30vw, 380px);
  pointer-events: none;
}
.hero__people img {
  width: 100%;
  height: auto;
  opacity: .08;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
}
.hero__title {
  font-size: clamp(3rem, 11vw, 6.5rem);
  margin: 18px 0 28px;
}
.hero__names {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 700;
  margin-bottom: 22px;
}
.hero__claim {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 300;
  color: var(--on-dark-soft);
  margin-bottom: 44px;
}

/* =====================================================
   WER WIR SIND
   ===================================================== */
.who {
  background: linear-gradient(160deg, var(--blue-600) 0%, var(--blue-500) 100%);
  color: var(--on-dark);
  padding: clamp(72px, 12vh, 120px) 24px;
  text-align: center;
}
.who__inner { max-width: 760px; margin: 0 auto; }
.who__icon {
  display: inline-grid;
  place-items: center;
  width: 84px; height: 84px;
  margin-bottom: 28px;
}
.who__icon img { width: 72px; height: auto; }
.who__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 24px;
}
.who__text {
  font-size: clamp(1.1rem, 2.2vw, 1.32rem);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, .92);
}
.who__highlight {
  margin-top: 36px;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 900;
  color: var(--gold);
}

/* =====================================================
   KOMPETENZEN
   ===================================================== */
.comp { padding: clamp(80px, 13vh, 130px) 24px; background: var(--bg-soft); }
.comp__inner { max-width: var(--container); margin: 0 auto; }

.comp__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  padding: 38px 34px 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card--blue  { background: var(--card-blue); }
.card--green { background: var(--card-green); }
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  margin-bottom: 22px;
  border-radius: 13px;
  background: var(--navy-800);
  color: var(--on-dark);
  box-shadow: 0 10px 22px -12px rgba(28, 58, 92, .8);
}
.card__icon svg { width: 28px; }
.card__title {
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 12px;
}
.card__text { color: var(--ink-soft); font-size: 1rem; }

/* =====================================================
   ÜBER UNS
   ===================================================== */
.about { padding: clamp(80px, 13vh, 130px) 24px; background: var(--bg); }
.about__inner { max-width: var(--container); margin: 0 auto; }
.about__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.profile {
  padding: 42px 40px 44px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.profile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.profile__avatar {
  display: grid;
  place-items: center;
  width: 88px; height: 88px;
  margin-bottom: 22px;
  border-radius: 50%;
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: .03em;
  color: var(--on-dark);
}
.profile__avatar--sm { background: linear-gradient(140deg, var(--navy-800), var(--blue-600)); }
.profile__avatar--af { background: linear-gradient(140deg, var(--blue-600), var(--blue-500)); }
.profile__name { font-size: 1.55rem; color: var(--navy-900); margin-bottom: 6px; }
.profile__role {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 18px;
}
.profile__text { color: var(--ink-soft); }

/* =====================================================
   NETZWERK
   ===================================================== */
.network { padding: clamp(80px, 13vh, 130px) 24px; background: var(--card-blue); }
.network__inner { max-width: var(--container); margin: 0 auto; }
.network__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.network__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px 28px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease);
}
.network__item:hover { transform: translateX(6px); }
.network__name { font-weight: 900; font-size: 1.15rem; color: var(--navy-900); }
.network__role { color: var(--ink-soft); font-size: .98rem; }

/* =====================================================
   KONTAKT
   ===================================================== */
.contact {
  padding: clamp(80px, 13vh, 130px) 24px;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: var(--on-dark);
}
.contact__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact__lead {
  margin: 24px 0 32px;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--on-dark-soft);
  max-width: 38ch;
}
.contact__details { display: grid; gap: 18px; }
.contact__details li { display: flex; flex-direction: column; gap: 2px; }
.contact__label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact__details a { color: var(--on-dark); text-decoration: none; font-weight: 700; }
.contact__details a:hover { color: var(--gold); }

.contact__form {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 36px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--on-dark);
}
.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--on-dark);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease), background .2s var(--ease);
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, .4); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, .12);
}
/* Honeypot-Feld vollständig verstecken (auch für Screenreader irrelevant) */
.field--hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.contact__hint {
  margin-top: 14px;
  min-height: 1.2em;
  font-weight: 700;
  color: var(--gold);
}
.contact__hint--error { color: #ff9f9f; }
.contact__hint--success { color: #9fe6b0; }

/* Ladezustand des Buttons */
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer { background: var(--navy-900); color: var(--on-dark-soft); padding: 40px 24px; }
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
}
.footer__brand { font-weight: 900; color: var(--on-dark); font-size: 1.1rem; }
.footer__tag { font-size: .92rem; }
.footer__copy { margin-left: auto; font-size: .88rem; }

/* =====================================================
   SCROLL-REVEAL ANIMATIONEN
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Hero lädt automatisch gestaffelt */
.hero .reveal { transition-delay: .05s; }
.hero .reveal:nth-child(2) { transition-delay: .15s; }
.hero .reveal:nth-child(3) { transition-delay: .25s; }
.hero .reveal:nth-child(4) { transition-delay: .35s; }
.hero .reveal:nth-child(5) { transition-delay: .45s; }

/* Karten gestaffelt */
.comp__grid .reveal:nth-child(2) { transition-delay: .08s; }
.comp__grid .reveal:nth-child(3) { transition-delay: .16s; }
.comp__grid .reveal:nth-child(4) { transition-delay: .08s; }
.comp__grid .reveal:nth-child(5) { transition-delay: .16s; }
.comp__grid .reveal:nth-child(6) { transition-delay: .24s; }

.network__list .reveal:nth-child(2) { transition-delay: .06s; }
.network__list .reveal:nth-child(3) { transition-delay: .12s; }
.network__list .reveal:nth-child(4) { transition-delay: .18s; }
.network__list .reveal:nth-child(5) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {
  .comp__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 20px 24px;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
  }
  .nav__menu.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__menu a { padding: 13px 14px; font-size: 1.05rem; }
  .nav__cta { margin-left: 0; text-align: center; }
  .nav__menu a:not(.nav__cta)::after { display: none; }
}

@media (max-width: 600px) {
  .comp__grid,
  .about__grid,
  .network__list { grid-template-columns: 1fr; }
  .footer__copy { margin-left: 0; width: 100%; }
  .card, .profile, .contact__form { padding-left: 26px; padding-right: 26px; }
}
