/* =================================
   B-PROJECTS - COMPLETE WORKING CSS
   WordPress Twenty Twenty-Five Theme
   ================================= */

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Asap:ital,wght@0,100..900;1,100..900&display=swap');

/* =================================
   CSS VARIABLES
   ================================= */
:root {
  --gelb: #FEC10D;
  --dunkelgrau: #030213;
  --textgrau: #717182;
  --font-family: 'Asap', sans-serif;
}

/* =================================
   GLOBAL BASE
   ================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--textgrau);
  line-height: 1.6;
}

/* =================================
   TYPOGRAPHY
   ================================= */
h1 {
  font-size: 56px;
  font-weight: 300;
  line-height: 1.3;
  color: #ffffff;
}

h2 {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--dunkelgrau);
}

h5 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dunkelgrau);
}

h6 {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--textgrau);
}

p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

/* =================================
   PAGE TITLE VERSTECKEN
   ================================= */
.entry-title,
.wp-block-post-title,
.page-title {
  display: none !important;
}

/* =================================
   CONTAINER - 1280px ERZWINGEN
   ================================= */
.wp-site-blocks,
.wp-block-group,
.wp-block-group__inner-container,
.entry-content,
.is-layout-constrained > *,
.has-global-padding {
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
}

.two-column,
.features-grid {
  max-width: 1280px !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.wp-block-columns,
.wp-block-column {
  max-width: 100% !important;
}

body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* =================================
   HEADER - FIXED, IMMER DUNKEL
   ================================= */
.wp-site-blocks header,
header.wp-block-template-part,
header {
  background: rgba(3, 2, 19, 0.9) !important;
  background-color: rgba(3, 2, 19, 0.9) !important;
  backdrop-filter: blur(10px);
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  z-index: 1000 !important;
  padding: 20px 0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Header innerer Container */
.wp-site-blocks header .wp-block-group,
header.wp-block-template-part .wp-block-group,
header > .wp-block-group {
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
}

/* Header äußeres Padding */
.wp-site-blocks header,
header.wp-block-template-part {
  padding-left: 80px !important;
  padding-right: 80px !important;
}

/* LOGO */
.site-title,
.wp-block-site-title,
.wp-block-site-title a,
header .site-title,
header .wp-block-site-title,
header .wp-block-site-title a {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--gelb) !important;
  text-decoration: none !important;
  letter-spacing: 0.1em !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

header .wp-block-site-logo img,
header .wp-block-site-title,
header img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Navigation horizontal */
.wp-block-navigation,
header .wp-block-navigation {
  display: flex !important;
  visibility: visible !important;
  flex-direction: row !important;
}

.wp-block-navigation__container,
header .wp-block-navigation__container,
header .wp-block-navigation ul {
  display: flex !important;
  flex-direction: row !important;
  gap: 50px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wp-block-navigation-item,
header .wp-block-navigation-item {
  display: inline-block !important;
  margin: 0 !important;
}

/* Nav-Links im Header immer weiß */
header .wp-block-navigation-item a,
header .wp-block-navigation-item__content {
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

header .wp-block-navigation-item a:hover,
header .wp-block-navigation-item__content:hover {
  color: var(--gelb) !important;
}

/* =================================
   ABSTAND UNTER HEADER
   Für alle Unterseiten (nicht Homepage)
   ================================= */
body:not(.home) .wp-site-blocks main,
body:not(.home) .site-content,
body:not(.home) main.wp-block-group {
  padding-top: 120px !important;
}

/* =================================
   BUTTONS
   ================================= */
.btn {
  display: inline-block;
  padding: 18px 40px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gelb);
  color: var(--dunkelgrau);
  border-color: var(--gelb);
}

.btn-primary:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-secondary:hover {
  background: var(--gelb);
  color: var(--dunkelgrau);
  border-color: var(--gelb);
}

/* =================================
   CONTENT SECTIONS
   ================================= */
.content-section {
  padding: 100px 80px;
}

.content-section.white {
  background: #ffffff;
}

.content-section.yellow {
  background: var(--gelb);
}

.content-section.gray {
  background: #F5F5F5;
}

.section-header {
  margin-bottom: 60px;
}

.section-header h6 {
  margin-bottom: 20px;
}

.section-header.yellow h6 {
  color: var(--gelb);
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* =================================
   FEATURE BOXES
   ================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 60px;
  margin-top: 60px;
}

.feature-box {
  text-align: center;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gelb);
  border: 3px solid var(--dunkelgrau);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.feature-icon i,
.feature-icon svg {
  font-size: 32px;
  color: var(--dunkelgrau);
}

.feature-box h5 {
  margin-bottom: 16px;
}

.feature-box p {
  font-size: 14px;
  line-height: 1.6;
}

.content-section.yellow .feature-box h5,
.content-section.yellow .feature-box p {
  color: var(--dunkelgrau);
}

/* =================================
   TEAM STATS
   ================================= */
.team-image {
  width: 100%;
  height: auto;
  display: block;
}

.team-stats,
.stats-container {
  display: flex !important;
  flex-direction: row !important;
  gap: 60px !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  margin-top: 50px !important;
}

.stat-box {
  flex: 0 0 auto !important;
  text-align: left !important;
  min-width: 100px !important;
}

.stat-number {
  font-size: 56px;
  font-weight: 300;
  color: var(--dunkelgrau);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--textgrau);
}

/* =================================
   CTA SECTION
   ================================= */
.cta-section {
  text-align: center;
  padding: 120px 80px;
  background: #ffffff;
}

.cta-section h6 {
  color: var(--textgrau);
  margin-bottom: 24px;
}

.cta-section h2 {
  font-size: 48px;
  margin-bottom: 40px;
}

.cta-section h2 .highlight {
  font-weight: 700;
}

/* =================================
   FOOTER - VOLLE BREITE
   ================================= */
footer,
footer.wp-block-template-part {
  background: var(--dunkelgrau);
  color: #ffffff;
}

footer,
footer *,
footer h1, footer h2, footer h3, footer h4, footer h5, footer h6,
footer p, footer a, footer span, footer li {
  color: #ffffff !important;
}

.footer-content {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 80px !important;
  margin-bottom: 60px !important;
}

.footer-logo-section {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  align-items: flex-start !important;
  flex-shrink: 0 !important;
}

.footer-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--gelb) !important;
  letter-spacing: 0.1em;
  margin-bottom: 0;
}

.footer-company-name {
  font-size: 14px;
  color: #ffffff !important;
  font-weight: 400;
}

.footer-nav {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-end !important;
  align-items: flex-start !important;
  gap: 60px !important;
  flex-wrap: nowrap !important;
  flex-shrink: 0 !important;
}

.footer-nav a {
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 11px !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  font-weight: 400 !important;
  transition: color 0.3s ease !important;
  white-space: nowrap !important;
}

.footer-nav a:hover {
  color: var(--gelb) !important;
}

.footer-nav ul,
.footer-nav .wp-block-navigation__container {
  display: flex !important;
  flex-direction: row !important;
  gap: 60px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-nav li,
.footer-nav .wp-block-navigation-item {
  display: inline-block !important;
  margin: 0 !important;
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5) !important;
}

.footer-bottom * {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* =================================
   RESPONSIVE - MOBILE
   ================================= */
@media (max-width: 1024px) {
  .two-column {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    text-align: center !important;
  }

  .footer-logo-section {
    align-items: center !important;
  }

  .footer-nav {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 40px !important;
  }
}

@media (max-width: 768px) {
  .wp-site-blocks header,
  header.wp-block-template-part {
    padding-left: 30px !important;
    padding-right: 30px !important;
  }

  .wp-site-blocks header .wp-block-group,
  header.wp-block-template-part .wp-block-group {
    padding: 0 !important;
  }

  .wp-block-navigation__container {
    gap: 20px !important;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .content-section {
    padding: 60px 30px !important;
  }

  .cta-section {
    padding: 60px 30px !important;
  }

  .team-stats,
  .stats-container {
    flex-wrap: wrap !important;
    gap: 40px !important;
  }

  .stat-number {
    font-size: 42px;
  }

  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    text-align: center !important;
  }

  .footer-logo-section {
    align-items: center !important;
  }

  .footer-nav {
    flex-direction: column !important;
    gap: 20px !important;
  }

  .footer-bottom {
    text-align: center !important;
  }
}

/* =================================
   WORDPRESS OVERRIDES
   ================================= */
.wp-block-group,
.wp-block-columns,
.wp-block-column {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.alignfull {
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  max-width: 100vw !important;
  width: 100vw !important;
}
/* Footer volle Breite */
footer.wp-block-template-part,
footer {
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  padding-left: 80px !important;
  padding-right: 80px !important;
}