/* ==========================================================================
   guestID — Website Stylesheet
   Basiert auf: guestID Corporate Design Guide 2026
   ========================================================================== */

/* ---- Fonts (self-hosted, DSGVO-konform) ---- */
@font-face {
  font-family: "Archivo Black";
  src: url("../fonts/archivo-black-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-300-normal.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---- Design tokens ---- */
:root {
  /* Farben — Corporate Design Guide 2026 */
  --c-navy: #1E3A5F;
  --c-navy-dark: #142843;
  --c-steel: #96B4C3;
  --c-steel-light: #C8DBE4;
  --c-lime: #CAFF00;
  --c-lime-light: #F4FFD6;
  --c-bg: #F4F7FA;
  --c-white: #FFFFFF;
  --c-text: #0F1923;

  /* Typografie */
  --font-display: "Archivo Black", "Arial Black", sans-serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;

  /* Abstände — 8px Raster */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-6: 48px;
  --sp-8: 64px;
  --sp-10: 80px;

  --radius: 16px;
  --radius-sm: 10px;
  --container: 1240px;
  --shadow-card: 0 12px 32px -16px rgba(20, 40, 67, 0.18);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

html, body {
  scrollbar-gutter: stable;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}

/* Skip link für Barrierefreiheit */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c-lime);
  color: var(--c-navy-dark);
  padding: var(--sp-2) var(--sp-3);
  z-index: 1000;
  font-weight: 700;
}
.skip-link:focus { left: var(--sp-2); top: var(--sp-2); }

:focus-visible {
  outline: 2px solid var(--c-steel);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-3);
}
@media (min-width: 768px) {
  .container { padding-inline: var(--sp-4); }
}

section { padding-block: var(--sp-8); }
@media (min-width: 1024px) { section { padding-block: var(--sp-10); } }

/* ---- Typografie ---- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--c-navy-dark); line-height: 1.15; overflow-wrap: anywhere; }
p, .lede { overflow-wrap: anywhere; }

h1, .h1 {
  font-size: clamp(1.6rem, 5vw, 3.4rem);
  text-transform: uppercase;
  letter-spacing: 0.2px;
}
h2, .h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  text-transform: uppercase;
}
h3, .h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  text-transform: none;
}
h4, .h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.2rem;
  text-transform: none;
}
p { max-width: 62ch; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 300; color: var(--c-navy); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-steel);
  margin-bottom: var(--sp-2);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--c-steel);
  display: inline-block;
}
.section-head { max-width: 760px; margin-bottom: var(--sp-6); }
.section-head.center { margin-inline: auto; text-align: center; }
.caption { font-size: 0.82rem; font-weight: 300; color: var(--c-navy); opacity: 0.75; }

.lime-word { color: var(--c-lime); }
:is(.bg-navy, .bg-navy-dark) .lime-word { color: var(--c-lime); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--c-lime);
  color: var(--c-navy-dark);
  box-shadow: 0 10px 24px -10px rgba(202, 255, 0, 0.55);
}
.btn-primary:hover { background: #bdea00; }

.btn-secondary {
  background: var(--c-navy);
  color: var(--c-white);
}
.btn-secondary:hover { background: var(--c-navy-dark); }

.btn-ghost {
  background: transparent;
  border-color: currentColor;
  color: var(--c-navy);
}
.btn-ghost:hover { background: rgba(30, 58, 95, 0.06); }
.bg-navy .btn-ghost, .bg-navy-dark .btn-ghost,
.site-header .btn-ghost, .hero .btn-ghost, .cta-band .btn-ghost {
  color: var(--c-white);
}
.bg-navy .btn-ghost:hover, .bg-navy-dark .btn-ghost:hover,
.site-header .btn-ghost:hover, .hero .btn-ghost:hover, .cta-band .btn-ghost:hover {
  background: rgba(255,255,255,0.08);
}

.btn-tertiary {
  background: var(--c-steel-light);
  color: var(--c-navy-dark);
}
.btn-tertiary:hover { background: var(--c-steel); }

.btn-block { width: 100%; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--c-navy-dark);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-block: 18px;
}
.logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.logo img {
  height: 30px;
  width: auto;
  display: block;
}
.logo small {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-steel-light);
  margin-left: 10px;
  display: none;
}

.main-nav {
  display: none;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--c-steel-light);
  padding-block: 6px;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--c-lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.main-nav a:hover { color: var(--c-white); }
.main-nav a.is-active { color: var(--c-white); }
.main-nav a.is-active::after,
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: var(--sp-2); }
.header-desktop-actions { display: none; align-items: center; gap: var(--sp-2); }
.header-meta {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--c-steel-light);
  font-size: 0.9rem;
}
.header-meta svg { width: 16px; height: 16px; color: var(--c-steel); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  color: var(--c-white);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

.mobile-nav {
  display: none;
  background: var(--c-navy-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.nav-open .mobile-nav { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; padding: var(--sp-2) 0; }
.mobile-nav a {
  display: block;
  padding: 14px var(--sp-3);
  color: var(--c-steel-light);
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav a.is-active { color: var(--c-lime); }
.mobile-nav .mobile-actions { padding: var(--sp-3); display: flex; flex-direction: column; gap: 10px; }

@media (min-width: 1024px) {
  .main-nav { display: block; }
  .header-meta { display: inline-flex; }
  .header-desktop-actions { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---- Hero ---- */
.hero {
  background: var(--c-navy-dark);
  color: var(--c-white);
  padding-block: var(--sp-10) var(--sp-10);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(680px 420px at 88% -10%, rgba(150,180,195,0.22), transparent 60%),
    radial-gradient(500px 500px at 105% 60%, rgba(150,180,195,0.12), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  gap: var(--sp-6);
  align-items: center;
}
.hero-copy h1 { color: var(--c-white); margin-bottom: var(--sp-3); }
.hero-copy .lede { color: var(--c-steel-light); margin-bottom: var(--sp-4); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-6); }

.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: var(--sp-4);
}
@media (min-width: 480px) {
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
}
.hero-stats .stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--c-white);
  display: block;
}
.hero-stats .stat-label {
  font-size: 0.82rem;
  color: var(--c-steel-light);
}

.hero-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: var(--sp-4);
  backdrop-filter: blur(6px);
}
.hero-panel-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.hero-panel-row:last-child { border-bottom: none; }
.hero-panel-row .icon-badge { background: rgba(150,180,195,0.18); color: var(--c-steel); }
.hero-panel-row strong { display: block; color: var(--c-white); font-family: var(--font-body); font-weight: 600; margin-bottom: 2px; }
.hero-panel-row span { color: var(--c-steel-light); font-size: 0.92rem; }

@media (min-width: 1180px) {
  .hero-grid { grid-template-columns: 1.3fr 0.7fr; }
}

/* ---- Icon badge ---- */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--c-steel-light);
  color: var(--c-navy);
  flex: none;
}
.icon-badge svg { width: 24px; height: 24px; }
.icon-badge.sm { width: 36px; height: 36px; border-radius: 10px; }
.icon-badge.sm svg { width: 18px; height: 18px; }

/* ---- Cards / Grids ---- */
.grid { display: grid; gap: var(--sp-3); }
.grid-3 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--c-white);
  border: 1px solid rgba(20,40,67,0.08);
  border-radius: var(--radius);
  padding: var(--sp-4);
}
.card-flat {
  background: var(--c-bg);
  border-radius: var(--radius);
  padding: var(--sp-4);
}

/* ---- Services ---- */
.services { background: var(--c-bg); }
.service-card {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: var(--sp-4);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  height: 100%;
}
.service-card .tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--c-lime-light);
  color: var(--c-navy-dark);
}
.service-card h3 { margin-top: 6px; }
.service-card ul { margin-top: 6px; display: grid; gap: 8px; }
.service-card ul li { display: flex; gap: 10px; font-size: 0.92rem; color: var(--c-navy); }
.service-card ul li svg { width: 16px; height: 16px; color: var(--c-steel); flex: none; margin-top: 3px; }

/* ---- Zielgruppen ---- */
.audience-card {
  border-radius: var(--radius);
  padding: var(--sp-4);
  background: var(--c-white);
  border: 1px solid var(--c-steel-light);
  height: 100%;
}
.audience-card h3 { margin: var(--sp-2) 0 6px; }
.audience-card .req {
  margin-top: var(--sp-2);
  padding-top: var(--sp-2);
  border-top: 1px dashed var(--c-steel-light);
  font-size: 0.85rem;
  color: var(--c-navy);
}
.audience-card .req strong { color: var(--c-navy-dark); }

/* ---- Warum guestID ---- */
.why { background: var(--c-navy); color: var(--c-white); }
.why .section-head .eyebrow { color: var(--c-steel-light); }
.why .section-head h2 { color: var(--c-white); }
.why .section-head p { color: var(--c-steel-light); }
.why-item { display: flex; gap: var(--sp-2); align-items: flex-start; }
.why-item .icon-badge { background: rgba(150,180,195,0.16); color: var(--c-steel); }
.why-item h4 { color: var(--c-white); margin-bottom: 4px; }
.why-item p { color: var(--c-steel-light); font-size: 0.93rem; }

/* ---- Mission/Vision ---- */
.mv-grid { grid-template-columns: 1fr; }
@media (min-width: 768px) { .mv-grid { grid-template-columns: 1fr 1fr; } }
.mv-card {
  border-radius: var(--radius);
  padding: var(--sp-4);
  background: var(--c-bg);
}
.mv-card.vision { background: var(--c-navy-dark); color: var(--c-white); }
.mv-card .eyebrow { color: var(--c-steel); }
.mv-card.vision .eyebrow { color: var(--c-steel-light); }
.mv-card p { font-family: var(--font-display); text-transform: none; font-size: 1.3rem; line-height: 1.35; max-width: 40ch; color: var(--c-navy-dark); }
.mv-card.vision p { color: var(--c-white); }

/* ---- Team ---- */
.leadership { display: grid; gap: var(--sp-3); grid-template-columns: 1fr; margin-bottom: var(--sp-6); }
@media (min-width: 768px) { .leadership { grid-template-columns: 1fr 1fr; } }
.lead-card {
  display: flex;
  gap: var(--sp-3);
  align-items: center;
  background: var(--c-white);
  border: 1px solid rgba(20,40,67,0.08);
  border-radius: var(--radius);
  padding: var(--sp-3);
  box-shadow: var(--shadow-card);
}
.avatar-initials {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--c-navy-dark);
  color: var(--c-steel);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  flex: none;
}
.lead-card h4 { font-size: 1.15rem; }
.lead-card .role { color: var(--c-steel); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; }
.lead-card p { font-size: 0.9rem; margin-top: 6px; }

.team-note { max-width: 760px; margin: 0 auto var(--sp-6); text-align: center; }

.specialist-card {
  background: var(--c-bg);
  border-radius: var(--radius);
  padding: var(--sp-4);
  height: 100%;
}
.specialist-card .icon-badge { background: var(--c-navy-dark); color: var(--c-steel); margin-bottom: var(--sp-2); }
.specialist-card h4 { margin-bottom: 6px; }
.specialist-card p { font-size: 0.92rem; }
.specialist-card .count {
  display: inline-block;
  margin-top: var(--sp-2);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c-navy);
  background: var(--c-steel-light);
  padding: 3px 10px;
  border-radius: 999px;
}

/* ---- Kontakt ---- */
.contact { background: var(--c-bg); }
.contact-grid { grid-template-columns: 1fr; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }

.contact-info { display: grid; gap: var(--sp-2); align-content: start; }
.contact-info .card { display: flex; gap: var(--sp-3); align-items: flex-start; }
.contact-info h4 { margin-bottom: 4px; }
.contact-info a:hover { color: var(--c-navy); text-decoration: underline; }

.contact-form {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: var(--sp-4);
  box-shadow: var(--shadow-card);
}
.form-row { display: grid; gap: var(--sp-2); margin-bottom: var(--sp-2); grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-navy-dark);
  margin-bottom: 6px;
}
.field input, .field textarea, .field select {
  width: 100%;
  border: 1.5px solid var(--c-steel-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--c-white);
  color: var(--c-text);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--c-steel);
  outline: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--c-navy); margin: var(--sp-2) 0 var(--sp-3); }
.form-consent input { margin-top: 4px; }
.form-consent a { text-decoration: underline; }
.form-status { margin-top: var(--sp-2); font-size: 0.9rem; font-weight: 600; }
.form-status[data-state="success"] { color: #2e7d32; }
.form-status[data-state="error"] { color: #b3261e; }

/* ---- CTA-Band ---- */
.cta-band {
  background: var(--c-navy-dark);
  color: var(--c-white);
  border-radius: var(--radius);
  padding: var(--sp-6) var(--sp-4);
  text-align: center;
}
.cta-band h2 { color: var(--c-white); }
.cta-band p { color: var(--c-steel-light); margin-inline: auto; }
.cta-band .btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2); margin-top: var(--sp-4); }

/* ---- Footer ---- */
.site-footer { background: var(--c-navy-dark); color: var(--c-steel-light); padding-top: var(--sp-8); }
.footer-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-brand p { color: var(--c-steel-light); font-size: 0.92rem; margin-top: var(--sp-2); max-width: 34ch; }
.footer-col h4 { color: var(--c-white); font-size: 0.85rem; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: var(--sp-2); }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 0.92rem; color: var(--c-steel-light); }
.footer-col a:hover { color: var(--c-white); }
.social-row { display: flex; gap: 10px; margin-top: var(--sp-3); }
.social-row a {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.social-row a:hover { background: var(--c-steel); color: var(--c-navy-dark); }
.social-row svg { width: 18px; height: 18px; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding-block: var(--sp-3);
  font-size: 0.85rem;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.footer-legal a:hover { color: var(--c-white); text-decoration: underline; }

/* ---- Legal pages (Impressum/Datenschutz) ---- */
.legal-page { padding-block: var(--sp-8); }
.legal-page .container { max-width: 860px; }
.legal-page h1 { margin-bottom: var(--sp-2); }
.legal-page h2 { font-family: var(--font-body); font-weight: 700; font-size: 1.3rem; text-transform: none; margin-top: var(--sp-6); margin-bottom: var(--sp-2); }
.legal-page p, .legal-page li { color: var(--c-navy-dark); margin-bottom: 10px; }
.legal-page ul { list-style: disc; padding-left: 1.2em; }
.legal-page a { text-decoration: underline; color: var(--c-navy); }
.legal-note {
  background: var(--c-lime-light);
  border: 1px solid var(--c-lime);
  border-radius: var(--radius-sm);
  padding: var(--sp-2) var(--sp-3);
  font-size: 0.9rem;
  margin-bottom: var(--sp-4);
}

/* ---- Utilities ---- */
.bg-navy { background: var(--c-navy); color: var(--c-white); }
.bg-navy-dark { background: var(--c-navy-dark); color: var(--c-white); }
.bg-navy h2, .bg-navy-dark h2, .bg-navy h3, .bg-navy-dark h3 { color: var(--c-white); }
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

@media (min-width: 1440px) {
  :root { --container: 1320px; }
}
