/* =========================================================== 
   BLOCKPREIS – BASE / GLOBAL STYLESHEET
   Enthält: Root-Variablen, Body, Container, Header, Nav, Footer,
   Buttons, Layout, Grid – wird auf ALLEN Seiten genutzt
   =========================================================== */

/* ========== Base ========== */

:root {
  --bg: #050712;
  --bg-alt: #090b18;
  --card-bg: #0f1224;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --accent: #ff6b3d;
  --accent-soft: rgba(255, 107, 61, 0.18);
  --text: #f7f7ff;
  --text-soft: #b0b3c6;
  --danger: #ff4d6a;
  --success: #3dd68c;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --max-width: 1120px;

  /* Demand-Farben */
  --demand-high: #ff6b3d;
  --demand-stable: #34d399;
  --demand-niche: #7b6dff;
}

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

html, body {
  padding: 0;
  margin: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #17192f 0, #050712 40%, #02030a 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.bb-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========== Form Controls ========== */

input,
select,
textarea {
  width: 100%;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

/* Darkmode-Fix für geöffnete Dropdown-Listen */
select option {
  background-color: #050712;
  color: var(--text);
}

select option:checked,
select option:hover {
  background-color: #17192f;
}

input:hover,
select:hover,
textarea:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

input:focus,
select:focus,
textarea:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: #6c5ce7;
  box-shadow: 0 0 0 2px rgba(108, 92, 231, 0.35);
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

/* ========== Header ========== */

.bb-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom,
    rgba(5, 7, 18, 0.94),
    rgba(5, 7, 18, 0.7),
    transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bb-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}

.bb-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.bb-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: radial-gradient(circle at top, #ffb347, #ff6b3d);
  color: #050712;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 0 20px rgba(255, 107, 61, 0.75);
}

.bb-logo-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.bb-logo-text {
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 0.98rem;
}

.bb-logo-sub {
  font-size: 0.73rem;
  color: var(--text-soft);
}

/* Navigation */

.bb-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.9rem;
}

.bb-nav a {
  color: var(--text-soft);
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.16s ease;
}

.bb-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--accent), #ffb347);
  transition: width 0.16s ease;
}

.bb-nav a:hover {
  color: var(--text);
}

.bb-nav a:hover::after {
  width: 100%;
}

.bb-nav-cta {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at top left, var(--accent-soft), transparent);
}

/* ========== Sections / Grid / Card / Generic Layout ========== */

.bb-section {
  padding: 3.5rem 0;
}

.bb-section-alt {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.015), transparent),
    var(--bg-alt);
}

.bb-section-title {
  font-size: 1.4rem;
  margin: 0 0 0.3rem;
}

.bb-section-sub {
  margin: 0 0 1.8rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.bb-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.bb-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.1rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  font-size: 0.9rem;
}

.bb-card h3 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

.bb-card p {
  margin: 0;
  color: var(--text-soft);
}

/* ========== Footer ========== */

.bb-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.8rem 0 2.2rem;
  background: #040510;
}

.bb-footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.bb-footer-brand {
  margin: 0 0 0.2rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.bb-footer-text {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.bb-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.8rem;
}

.bb-footer-links a {
  color: var(--text-soft);
  text-decoration: none;
}

.bb-footer-links a:hover {
  color: var(--text);
}

/* ========== Responsive ========== */

@media (max-width: 1024px) {
  .bb-grid-3 {
    grid-template-columns: minmax(0,1fr);
  }
}

@media (max-width: 600px) {
  .bb-container {
    padding: 0 1.1rem;
  }

  .bb-footer-inner {
    flex-direction: column;
  }

  .bb-nav {
    flex-wrap: wrap;
    gap: 0.6rem;
  }
}
