/*
  globals.css
  
  Diese Datei enthält globale Stildefinitionen, die sowohl auf der Hauptseite
  als auch auf der Landingpage verwendet werden sollen. Schriftarten,
  Variablen, Basis-Reset, Typografie und allgemeine Button‑/Link‑Stile
  werden hier zentral definiert.  Durch Einbinden dieser Datei lassen
  sich wiederholte Definitionen in einzelnen Seiten reduzieren und ein
  konsistentes Grunddesign sicherstellen.
*/

/* ========================
   Schriftarten (Fonts)
   Die verwendeten Fonts werden hier einmalig eingebunden.  Damit die
   Schriftdefinitionen an einer Stelle gepflegt werden können, werden
   sie nicht mehr in den einzelnen Seiten‑Stylesheets definiert.
======================== */
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100;
  src: url('../fonts/outfit-v15-latin-100.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/outfit-v15-latin-200.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/outfit-v15-latin-300.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/outfit-v15-latin-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/outfit-v15-latin-500.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/outfit-v15-latin-600.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/outfit-v15-latin-700.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/outfit-v15-latin-800.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/outfit-v15-latin-900.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/space-grotesk-v22-latin-300.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/space-grotesk-v22-latin-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/space-grotesk-v22-latin-500.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/space-grotesk-v22-latin-600.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/space-grotesk-v22-latin-700.woff2') format('woff2');
}

/* ========================
   CSS‑Variablen
   Hier sind Farbcodes und Skalierungen zentral definiert.  Sie stehen
   allen Komponenten zur Verfügung und erleichtern das Anpassen des
   Farbschemas an einer Stelle.
======================== */
:root {
  --bg: #0a0b0f;
  --bg2: #0f1118;
  --body-bg: linear-gradient(to bottom, var(--bg) 40%, var(--bg2) 100%);;
  --card: rgba(255, 255, 255, 0.045);
  --border: rgba(255, 255, 255, 0.10);
  --border2: rgba(255, 255, 255, 0.14);

  --text: var(--fiftly_color);
  --muted: rgba(243, 240, 237, 0.78);
  --muted2: rgba(243, 240, 237, 0.62);
  --muted3: rgba(243, 240, 237, 0.50);

  --purple: #8b5cf6;
  --pink: #db2777;
  --orange: #f97316;
  --green: #22c55e;
  --yellow: #facc15;

  --container: 1100px;
  --container-narrow: 720px;

  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 32px;

  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 10px 24px rgba(0, 0, 0, 0.40);
  --shadow-btn: 0 12px 30px rgba(139, 92, 246, 0.22);

  --pad-x: 16px;
  --section-y: 40px;

  --primary_color: #1E0353;
  --secondary_color: #9c95dc;
  --thirdly_color: #2b609b;
  --fourthly_color: #ca1551;
  --fiftly_color: #f3f0ed;

  /* Schriftgrössen für verschiedene Komponenten */
  --font-xs: clamp(12px, 0.72rem + 0.2vw, 14px);
  --font-sm: clamp(14px, 0.82rem + 0.6vw, 18px);
  --font-md: clamp(20px, 1.2rem + 1.0vw, 36px);
  --font-lg: clamp(26px, 1.2rem + 2.2vw, 40px);

  /* Schriftfamilien */
  --font-body: 'Outfit', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-head: 'Space Grotesk', 'Outfit', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* ========================
   Grundlegender Reset
   Box‑Sizing und Margin/Padding werden zurückgesetzt und ein
   einheitliches Scrollverhalten aktiviert.  Die globale
   Schriftfamilie wird hier gesetzt.
======================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

html, body {
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  background: var(--body-bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:focus-visible {
  outline: 2px solid rgba(139, 92, 246, 0.75);
  outline-offset: 2px;
  border-radius: 10px;
}

/* ========================
   Typografie
   Einheitliche Gestaltung der Überschriften und Absätze.  Die Farben
   richten sich nach den definierten Variablen.
======================== */
h1, h2, h3, h4 {
  font-weight: bold;
  color: var(--secondary_color);
  margin-bottom: 20px;
  font-family: var(--font-head);
}

h1 { font-size: var(--font-lg); color: var(--secondary_color); }
h2 { font-size: var(--font-md); color: var(--secondary_color); }
h3 { font-size: var(--font-sm); color: var(--secondary_color); }
h4 { font-size: var(--font-xs); color: var(--secondary_color); }

p {
  font-size: var(--font-sm);
  line-height: 1.6;
  color: var(--fiftly_color);
  font-family: var(--font-body);
}

/* Für Subheads unter Eyebrows */
.base-lead, .djlp-lead {
  margin: 12px auto 0;
  color: var(--muted2);
  line-height: 1.65;
  max-width: 680px;
  font-size: 16px;
}

.base-section__head, .djlp-section__head {
  text-align: center;
  margin: 0 auto 54px;
  max-width: 820px;
  padding: 0 var(--pad-x);
}

.base-eyebrow, .djlp-eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(139, 92, 246, 0.95);
}

.base-section__head h2, .djlp-section__head h2 {
  margin: 0;
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}

/* Links mit der Klasse custom-link verwenden das Farbkonzept der Seite */
a.custom-link:link {
  color: var(--fourthly_color);
}
a.custom-link:visited {
  color: var(--primary_color);
}

.bs-section, .djlp-section {
  position: relative;
  padding: var(--section-y) 0;
}

.base-container, .djlp-container {
  width: min(var(--container), calc(100% - (var(--pad-x) * 2)));
  margin: 0 auto;
}

.base-container--narrow {
  width: min(var(--container-narrow), calc(100% - (var(--pad-x) * 2)));
  margin: 0 auto;
}

/* ========================
   Buttons
   Einheitliche Gestaltung für Buttons und Links, die wie Buttons
   aussehen.  Sie verwenden die definierten Farben und haben
   Hover‑Effekte.
======================== */

/* "button" für Buttons innerhalb von a (also Pakete, Links zu seiten etc.)
".base-btn" grundeinstellung für buttons
".djlp-btn" grundeinstellung für landing page buttons*/
button, .base-btn, .djlp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  border-radius: 999px;
  padding: 14px 18px;
  line-height: 1;
  user-select: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
  margin: 0 0;
}

/* Primäre Button‑Variante mit Farbverlauf */
.base-btn--primary, .djlp-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, rgba(139, 92, 246, 1) 0%, rgba(219, 39, 119, 1) 100%);
  box-shadow: 0 2px 15px rgba(51, 51, 111, 0.8);
}

.base-btn--primary:hover, .djlp-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 15px rgba(156, 149, 220, 0.4);
  transform: scale(105%);
}

/* Sekundäre Button‑Variante mit Ghost‑Stil */
.base-btn--ghost, .djlp-btn--ghost {
  color: rgba(245, 246, 248, 0.92);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border2);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

.base-btn--ghost:hover, .djlp-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

/* Sekundäre Button‑Variante mit Unterstreichung */
.base-btn--link, .djlp-btn--link {
  padding: 14px 10px;
  border-radius: 12px;
  font-weight: 800;
  color: rgba(245, 246, 248, 0.88);
  background: transparent;
  border: 1px solid transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(245, 246, 248, 0.35);
}

.base-btn--link:hover, .djlp-btn--link:hover {
  text-decoration-color: rgba(139, 92, 246, 0.75);
  color: rgba(245, 246, 248, 0.98);
}

/* ========================
   Animationseffekte
   Enthält Einstellungen für einfache Reveal‑Effekte, die per
   JavaScript sichtbar gemacht werden können.
======================== */
.reveal {
  opacity: 0;
  transform: translateY(200px);
  transition: all 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================
  Grundlayout für alle seiten
  Enthält Einstellungen für einfache Reveal‑Effekte, die per
  JavaScript sichtbar gemacht werden können.
======================== */
.bs-page {
  padding: 20px 5%;
  max-width: 1500px;
  margin: 0 auto;
}

/* ========================
  Grundlayout/Visuelles Fundament für Kacheln
  bs-card für die Hauptseite
  djlp-card für die Landingpage
======================== */
.bs-card, .djlp-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* 
  Spezielle Kartenstile 
  proofCard: Für kleine Informationen und Social Proofs
  setupCard: Für grössere und detaillierte Karten (Pakete etc.)
  */
.base-proofCard, .djlp-proofCard{
  background: rgba(15, 17, 24, 0.92);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 16px 18px;
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}

.base-setupCard, .djlp-setupCard {
  padding: 22px 22px 20px;
  position: relative;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.base-setupCard--highlight, .djlp-setupCard--highlight {
  border-color: rgba(139, 92, 246, 0.32);
  background: rgba(139, 92, 246, 0.07);
}

/* ========================
  Call to Action Footer für alle Seiten
  Enthält Einstellungen für den Footer‑Call to Action Bereich. */

#bodyfooter {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 80vw;
  margin: 0 auto;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
}

#caller {
  font-size: clamp(24px, 3vw, 35px);
  color: var(--secondary_color);
  text-align: center;
}

#caller::after {
  content: "";
  border-bottom: 2px solid rgb(from var(--secondary_color) r g b / 1);
  width: 80%;
  display: block;
  margin: 0 auto;
  padding-bottom: 50px;
}

.cta-button {
  font-size: 1.8rem;
  border-radius: 15px;
  font-weight: 550;
  display: inline-block;
  padding: 12px 20px;
  background: var(--fourthly_color);
  color: white;
  text-decoration: none;
  min-width: 48px;
  min-height: 48px;
  transition: 0.3s;
}

/* Breakpoints Phone */
@media only screen and (max-width: 600px) {
    #bodyfooter {
        width: 90vw;
    }
}