/* ============================================================
   POTENZIAL PIONIERE — Shared Stylesheet
   Basiert auf PP CI Manual 2024/2025
   ============================================================ */


/* ------------------------------------------------------------
   1. FONTS – lokal gehostet (DSGVO-konform)
   Siehe assets/fonts/ANLEITUNG-Fonts.md für das einmalige Download-Setup.
   ------------------------------------------------------------ */

/* Roboto – 400 regular */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/roboto-400.woff2') format('woff2');
}
/* Roboto – 500 medium */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/roboto-500.woff2') format('woff2');
}

/* Roboto Condensed – 400 regular */
@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/roboto-condensed-400.woff2') format('woff2');
}
/* Roboto Condensed – 700 bold */
@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/roboto-condensed-700.woff2') format('woff2');
}
/* Roboto Condensed – 700 bold italic (für <em> in Headlines) */
@font-face {
  font-family: 'Roboto Condensed';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/roboto-condensed-700-italic.woff2') format('woff2');
}


/* ------------------------------------------------------------
   2. BRAND VARIABLES (CI Manual)
   ------------------------------------------------------------ */
:root {
  /* Farben */
  --color-fuchsia:   #eb616c;   /* Primärfarbe – Fuchsia/Rot */
  --color-blue:      #6386c3;   /* Pastelblau */
  --color-yellow:    #f8d35a;   /* Gelb */
  --color-teal:      #3eb6ac;   /* Türkis */

  /* Neutrale Farben */
  --color-white:     #ffffff;
  --color-black:     #1a1a1a;
  --color-gray-light:#f5f5f5;
  --color-gray:      #888888;
  --color-gray-dark: #333333;

  /* Aliase (verwendet in HTML-Seiten) */
  --color-dark:      #1a1a1a;
  --color-mid:       #888888;
  --color-light:     #f5f5f5;

  /* Typografie */
  --font-headline:   'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;  /* Bold – Headlines */
  --font-sub:        'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;  /* Regular – Subheadlines */
  --font-body:       'Roboto', Arial, sans-serif;                            /* Regular – Fließtext */

  /* Font Weights */
  --fw-regular: 400;
  --fw-bold:    700;

  /* Spacing */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   2rem;
  --space-lg:   4rem;
  --space-xl:   8rem;

  /* Border Radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-pill:50px;

  /* Schatten */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.16);

  /* Container */
  --max-width:  1200px;

  /* Übergänge */
  --transition: 0.25s ease;
}


/* ------------------------------------------------------------
   3. RESET & BASE
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  color: var(--color-black);
  background-color: var(--color-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}


/* ------------------------------------------------------------
   4. TYPOGRAFIE
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  font-weight: var(--fw-bold);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-gray-dark);
}

.subheadline {
  font-family: var(--font-sub);
  font-weight: var(--fw-regular);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gray);
}

.lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--color-gray-dark);
}


/* ------------------------------------------------------------
   5. LAYOUT UTILITIES
   ------------------------------------------------------------ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-lg) 0;
}

.section--large {
  padding: var(--space-xl) 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

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

.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.gap-sm      { gap: var(--space-sm); }
.gap-md      { gap: var(--space-md); }


/* ------------------------------------------------------------
   6. NAVIGATION
   ------------------------------------------------------------ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav__logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-headline);
  font-weight: var(--fw-bold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-black);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-fuchsia);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--color-fuchsia); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--color-fuchsia); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--color-fuchsia) !important;
  color: var(--color-white) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: var(--radius-pill) !important;
  text-decoration: none !important;
}

.nav-cta:hover { background: #d44f5a !important; }
.nav-cta::after { display: none !important; }

/* Mobile Nav */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-black);
  transition: var(--transition);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
    gap: var(--space-sm);
    z-index: 999;
  }
  .hamburger { display: flex; }
}


/* ------------------------------------------------------------
   7. BUTTONS
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-headline);
  font-weight: var(--fw-bold);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-fuchsia);
  color: var(--color-white);
  border-color: var(--color-fuchsia);
}
.btn--primary:hover {
  background: #d44f5a;
  border-color: #d44f5a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--color-fuchsia);
  border-color: var(--color-fuchsia);
}
.btn--outline:hover {
  background: var(--color-fuchsia);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-fuchsia);
  border-color: var(--color-white);
}
.btn--white:hover {
  background: transparent;
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn--outline-white:hover {
  background: var(--color-white);
  color: var(--color-fuchsia);
}


/* ------------------------------------------------------------
   8. HERO SECTION
   ------------------------------------------------------------ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-lg);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.3) 50%,
    rgba(0,0,0,0.1) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  max-width: 800px;
}

.hero__label {
  display: inline-block;
  font-family: var(--font-headline);
  font-size: 0.8rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-fuchsia);
  margin-bottom: var(--space-sm);
  background: rgba(255,255,255,0.12);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: var(--space-md);
}

.hero__buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}


/* ------------------------------------------------------------
   9. CARDS
   ------------------------------------------------------------ */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.card__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.card__body {
  padding: var(--space-md);
}

.card__tag {
  display: inline-block;
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-fuchsia);
  margin-bottom: var(--space-xs);
}

.card__title {
  font-family: var(--font-headline);
  font-size: 1.3rem;
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
}

.card__text {
  font-size: 0.95rem;
  color: var(--color-gray);
}


/* ------------------------------------------------------------
   10. SECTION HEADERS
   ------------------------------------------------------------ */
.section-header {
  margin-bottom: var(--space-lg);
}

.section-header .subheadline {
  color: var(--color-fuchsia);
  margin-bottom: var(--space-xs);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  max-width: 600px;
  font-size: 1.05rem;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered p {
  margin: 0 auto;
}


/* ------------------------------------------------------------
   11. ACCENT SECTIONS (farbige Hintergründe)
   ------------------------------------------------------------ */
.bg-fuchsia { background-color: var(--color-fuchsia); color: var(--color-white); }
.bg-blue    { background-color: var(--color-blue);    color: var(--color-white); }
.bg-yellow  { background-color: var(--color-yellow);  color: var(--color-black); }
.bg-teal    { background-color: var(--color-teal);    color: var(--color-white); }
.bg-light   { background-color: var(--color-gray-light); }
.bg-dark    { background-color: var(--color-black);   color: var(--color-white); }

.bg-fuchsia h1,
.bg-fuchsia h2,
.bg-fuchsia h3,
.bg-blue h1,
.bg-blue h2,
.bg-blue h3,
.bg-teal h1,
.bg-teal h2,
.bg-teal h3 {
  color: var(--color-white);
}

.bg-fuchsia p,
.bg-blue p,
.bg-teal p {
  color: rgba(255,255,255,0.85);
}


/* ------------------------------------------------------------
   12. TESTIMONIALS
   ------------------------------------------------------------ */
.testimonial {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial::before {
  content: '\201C';
  font-size: 5rem;
  line-height: 1;
  color: var(--color-fuchsia);
  opacity: 0.2;
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-family: Georgia, serif;
}

.testimonial__text {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--color-gray-dark);
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

.testimonial__author {
  font-family: var(--font-headline);
  font-weight: var(--fw-bold);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.testimonial__role {
  font-size: 0.85rem;
  color: var(--color-gray);
}

.testimonial__logo {
  height: 32px;
  width: auto;
  margin-top: var(--space-xs);
  opacity: 0.6;
}


/* ------------------------------------------------------------
   13. PIONEER CARDS
   ------------------------------------------------------------ */
.pioneer-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  cursor: pointer;
}

.pioneer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pioneer-card:hover img {
  transform: scale(1.05);
}

.pioneer-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  padding: var(--space-md);
  color: var(--color-white);
}

.pioneer-card__name {
  font-family: var(--font-headline);
  font-weight: var(--fw-bold);
  font-size: 1.3rem;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.pioneer-card__topic {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}

.pioneer-card__tag {
  display: inline-block;
  background: var(--color-fuchsia);
  color: white;
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-xs);
}


/* ------------------------------------------------------------
   14. FOOTER
   ------------------------------------------------------------ */
.footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--space-md);
}

@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .footer__top { grid-template-columns: 1fr; }
}

.footer__logo {
  height: 48px;
  width: auto;
  margin-bottom: var(--space-sm);
  filter: brightness(0) invert(1);
}

.footer__tagline {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer__heading {
  font-family: var(--font-headline);
  font-size: 0.8rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-sm);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--color-fuchsia);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  transition: all var(--transition);
}

.footer__social a:hover {
  background: var(--color-fuchsia);
  color: white;
  transform: translateY(-2px);
}


/* ------------------------------------------------------------
   15. FORM ELEMENTS
   ------------------------------------------------------------ */
.form-group {
  margin-bottom: var(--space-sm);
}

.form-label {
  display: block;
  font-family: var(--font-headline);
  font-size: 0.8rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
  color: var(--color-gray-dark);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-black);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-fuchsia);
  box-shadow: 0 0 0 3px rgba(235, 97, 108, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}


/* ------------------------------------------------------------
   16. TAGS / BADGES
   ------------------------------------------------------------ */
.tag {
  display: inline-block;
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--color-gray-light);
  color: var(--color-gray-dark);
}

.tag--fuchsia { background: rgba(235, 97, 108, 0.12); color: var(--color-fuchsia); }
.tag--blue    { background: rgba(99, 134, 195, 0.12); color: var(--color-blue); }
.tag--yellow  { background: rgba(248, 211, 90, 0.25); color: #b8920a; }
.tag--teal    { background: rgba(62, 182, 172, 0.12); color: var(--color-teal); }


/* ------------------------------------------------------------
   17. SCROLL ANIMATIONS (optional)
   ------------------------------------------------------------ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media print {
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
  }
}
