/* =========================================================
   StudioCreativo – Main Styles
   ========================================================= */

:root {
  /* Colors */
  --sc-bg: #05070d;
  --sc-bg-alt: #080b13;
  --sc-surface: #11141f;
  --sc-surface-alt: #151927;
  --sc-border: #232736;
  --sc-text: #f7f7fb;
  --sc-text-muted: #a5a8b5;
  --sc-yellow: #ffcc04; /* Brand-Gelb, hier ggf. anpassen */
  --sc-link: #b9babb;
  --sc-danger: #ff4b6a;

  /* Typography */
  --sc-font-main: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --sc-radius-lg: 28px;
  --sc-radius-md: 18px;
  --sc-radius-sm: 999px;

  --sc-shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.7);
  --sc-shadow-subtle: 0 18px 40px rgba(0, 0, 0, 0.55);

  --sc-section-padding-y: 5.5rem;
}

/* =========================================================
   Global
   ========================================================= */

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--sc-font-main);
  background: radial-gradient(circle at top, #101422 0, var(--sc-bg) 52%, #020308 100%);
  color: var(--sc-text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--sc-link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* Main wrapper (under fixed navbar) */
.sc-main {
  padding-top: 5rem;
}

/* =========================================================
   Navbar
   ========================================================= */

.sc-navbar {
  background: linear-gradient(to bottom, rgba(5, 7, 13, 0.96), rgba(5, 7, 13, 0.9));
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(18px); 
  align-items: center;
  gap: 0.9rem; /* mehr Abstand zwischen den Nav-Punkten */
}

.sc-navbar-brand {
  display: flex;
  align-items: center;
}

.sc-navbar-logo {
  height: 32px;
}

/* Hauptnavigation – Basiszustand */
/* Links – Grundzustand */
.sc-navbar .nav-link {
  color: #f4f7ff;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;              /* stark pill-förmig im Normalzustand */
  text-decoration: none;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-radius 0.18s ease;
}

/* Hover & Focus: hellere Box, etwas kantiger */
.sc-navbar .nav-link:hover,
.sc-navbar .nav-link:focus {
  background-color: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-radius: 0.5rem;             /* weniger rund beim Hover */
  text-decoration: none;
}

/* Aktiver Menüpunkt etwas deutlicher */
.sc-navbar .nav-link.active {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-radius: 0.6rem;
}

/* Fokus-Ring dezent in Markenfarbe */
.sc-navbar .nav-link:focus-visible {
  outline: 2px solid var(--sc-yellow);
  outline-offset: 2px;
  text-decoration: none;
}


/* CTA Button in Navbar */
.btn-sc-primary {
  --bs-btn-color: #05070d;
  --bs-btn-bg: var(--sc-yellow);
  --bs-btn-border-color: var(--sc-yellow);
  --bs-btn-hover-bg: #ffe86b;
  --bs-btn-hover-border-color: #ffe86b;
  --bs-btn-padding-x: 1.15rem;
  --bs-btn-padding-y: 0.45rem;
  --bs-btn-font-size: 0.82rem;
  --bs-btn-font-weight: 600;
  --bs-btn-border-radius: 999px;
}

/* =========================================================
   Hero
   ========================================================= */

.sc-hero-section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.sc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: center;
}

.sc-hero-content {
  max-width: 640px;
}

.sc-header {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sc-yellow);
  margin-bottom: 0.9rem;
}

.sc-headline {
  font-size: 2.6rem;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 1.35rem;
}

.sc-subline {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--sc-text-muted);
  margin-bottom: 1.6rem;
}

.sc-subline strong {
  color: var(--sc-text);
}

.sc-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons im Hero */
.sc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.18s ease-out;
}

.sc-btn-primary {
  background: var(--sc-yellow);
  color: #05070d;
}

.sc-btn-primary:hover {
  background: #ffe86b;
  color: #05070d;
  text-decoration: none;
}

.sc-btn-outline {
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  background: transparent;
}

.sc-btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  text-decoration: none;
}

/* Hero Box rechts */

.sc-hero-box {
  background: radial-gradient(circle at top left, #1a1f33 0, #0b0f1b 55%, #05070d 100%);
  border-radius: var(--sc-radius-lg);
  padding: 1.7rem 1.8rem 1.6rem;
  box-shadow: var(--sc-shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.sc-box-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.sc-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sc-yellow);
  background: rgba(0, 0, 0, 0.4);
}

.sc-box-title {
  font-size: 0.98rem;
  font-weight: 600;
  text-align: right;
}

.sc-box-title span {
  display: block;
}

/* =========================================================
   Bullets – global (Hero, Cards, About, Kontakt)
   ========================================================= */

.sc-box-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sc-box-list--custom li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.sc-box-list--custom li + li {
  margin-top: 0.75rem;
}

/* 2-Spalten-Variante im Hero */
.sc-box-list--two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.8rem;
  row-gap: 0.9rem;
}

@media (max-width: 991.98px) {
  .sc-box-list--two-cols {
    grid-template-columns: minmax(0, 1fr);
  }
}

.sc-bullet {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--sc-yellow);
  margin-top: 0.45em;
  flex-shrink: 0;
}

.sc-bullet-text {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--sc-text);
}

.sc-bullet-text strong {
  font-weight: 600;
}

/* Footer der Hero-Box */
.sc-box-footer {
  margin-top: 1.4rem;
  font-size: 0.85rem;
  color: var(--sc-text-muted);
}

/* =========================================================
   Sections
   ========================================================= */

.sc-section {
  padding-top: var(--sc-section-padding-y);
  padding-bottom: var(--sc-section-padding-y);
}

.sc-section-alt {
  background: radial-gradient(circle at top, #111522 0, #05070d 60%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.sc-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.sc-section-header .sc-header {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sc-yellow);
  margin-bottom: 0.75rem;
}

/* Text-left Varianten nutzen denselben Header */
.sc-section-header.text-lg-start .sc-header,
.sc-section-header.text-start .sc-header {
  margin-left: 0;
}

.sc-section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.sc-section-subtitle {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--sc-text-muted);
  margin: 0;
}

/* =========================================================
   Cards (Leistungen, Projekte, About-Panel, Kontakt)
   ========================================================= */

.sc-card {
  background: var(--sc-surface);
  border-radius: var(--sc-radius-lg);
  padding: 1.8rem 1.7rem 1.7rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: var(--sc-shadow-subtle);
}

.sc-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.sc-card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--sc-text-muted);
  margin-bottom: 1.15rem;
}

/* Card Bullet Lists */
.sc-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sc-card .sc-box-list,
.sc-about-panel .sc-box-list,
.sc-bullet-list.sc-box-list {
  margin-top: 1rem;
}

.sc-card-list.sc-box-list--custom li + li {
  margin-top: 0.7rem;
}

.sc-card .sc-bullet-text {
  font-size: 0.96rem;
}

/* Tag/Label oben in Projekt-Cards */
.sc-tag {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--sc-yellow);
  margin-bottom: 0.4rem;
}

/* =========================================================
   Über uns / About
   ========================================================= */

.sc-bullet-list {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}

/* wir nutzen hier dieselbe Bullet-Darstellung */
.sc-bullet-list.sc-box-list--custom li + li {
  margin-top: 0.65rem;
}

.sc-about-panel {
  background: var(--sc-surface-alt);
  border-radius: var(--sc-radius-lg);
  padding: 1.7rem 1.7rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--sc-shadow-subtle);
}

.sc-hero-note {
  font-size: 0.9rem;
  color: var(--sc-text-muted);
}

/* =========================================================
   Kontakt
   ========================================================= */

.sc-contact-card {
  background: var(--sc-surface);
}

.sc-contact-card .sc-bullet-text {
  font-size: 0.9rem;
}

/* Form */
.sc-form .form-label {
  font-size: 0.86rem;
  color: var(--sc-text-muted);
}

.sc-form .form-control {
  background: #080b14;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--sc-text);
  font-size: 0.9rem;
}

.sc-form .form-control:focus {
  border-color: var(--sc-yellow);
  box-shadow: 0 0 0 1px rgba(246, 221, 75, 0.35);
  background: #080b14;
  color: var(--sc-text);
}

.sc-form .form-text {
  font-size: 0.75rem;
  color: var(--sc-text-muted);
}

/* =========================================================
   Footer & Modal
   ========================================================= */

footer {
  background: #05070d;
}

/* Allgemeine Footer-Links */
.sc-footer-link {
  color: var(--sc-link);
  text-decoration: none;
  font-weight: 400;
}

.sc-footer-link:hover,
.sc-footer-link:focus {
  color: var(--sc-link);
  text-decoration: underline;
}

/* Speziell für "Impressum & Datenschutz" – kein Blau, keine Unterlinie */
.sc-footer-legal {
  color: var(--sc-link) !important;
  text-decoration: none !important;
}

.sc-footer-legal:hover,
.sc-footer-legal:focus {
  color: var(--sc-link) !important;
  text-decoration: none !important;
}

/* Modals im Dark-Theme */
.sc-modal {
  background: #05070d;
  color: var(--sc-text);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sc-modal .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sc-modal .modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Dark alert */
.sc-alert {
  border-radius: 14px;
  border-color: rgba(255, 255, 255, 0.12);
  background: #111522;
  color: var(--sc-text-muted);
}

/* =========================================================
   Utilities & Responsiveness
   ========================================================= */

@media (max-width: 1199.98px) {
  .sc-hero {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.3fr);
  }
}

@media (max-width: 991.98px) {
  .sc-main {
    padding-top: 4.5rem;
  }

  .sc-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .sc-hero-box {
    order: -1;
  }

  .sc-headline {
    font-size: 2.1rem;
  }
}

@media (max-width: 575.98px) {
  .sc-hero-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .sc-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .sc-card {
    padding: 1.5rem 1.4rem 1.4rem;
    border-radius: 20px;
  }

  .sc-headline {
    font-size: 1.85rem;
  }
}
/* ===========================
   Dark Style: Impressum/Datenschutz Modal
   =========================== */

#legalModal .modal-content {
  background-color: #050505;   /* dunkler Hintergrund wie Seite */
  color: #f5f5f5;              /* helle Schrift */
  border: 1px solid #333;
}

#legalModal .modal-header {
  border-bottom-color: #333;
}

#legalModal .modal-body {
  color: #f5f5f5;
}

#legalModal .modal-body h6 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

#legalModal .modal-body p {
  color: #e0e0e0;
  margin-bottom: 0.75rem;
}

#legalModal .modal-body ul {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

#legalModal .modal-body li {
  color: #e0e0e0;
  margin-bottom: 0.35rem;
}

#legalModal .modal-content hr {
  border-color: #333;
}

/* Links im Modal: Gelb wie Brand */
#legalModal .modal-body a {
  color: var(--sc-yellow);
  text-decoration: none;
}

#legalModal .modal-body a:hover,
#legalModal .modal-body a:focus {
  text-decoration: underline;
}

/* Kleiner Hinweis-Text dezenter */
#legalModal .modal-body .text-muted,
#legalModal .modal-body .small {
  color: #999999 !important;
}

/* Close-Icon auf dunklem Hintergrund sichtbar machen */
#legalModal .btn-close {
  filter: invert(1);   /* macht das Standard-X hell */
}

/* Stärker abgedunkelter Hintergrund bei offenen Modals */
.modal-backdrop.show {
  background-color: #000000;  /* reines Schwarz */
  opacity: 0.85;              /* stärker als Bootstrap-Standard (~0.5) */
}