/* ============================================================
   RON — Global Base System (Dark Coaching Framework)
   Minimalistisch · Kraftvoll · Klar · High-Performance
   ============================================================ */
/* ============================================================
   GLOBAL FONT IMPORTS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Roboto+Mono:wght@300;400;500;600;700&display=swap');

/* ============================================================
   1) RESET & FUNDAMENT
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

.section-wrapper {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 3rem);
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--ink-1);
  background: var(--bg-1);
  overflow-x: hidden;
  position: relative;
}

/* ============================================================
   PAGE FRAME — LEFT / RIGHT GUIDE LINES
   ============================================================ */

body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 2;
}

/* Left line */
body::before {
  left: 50px;
}

/* Right line */
body::after {
  right: 50px;
}

img,
picture {
  max-width: 100%;
  display: block;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}


/* ============================================================
   2) GLOBAL VARIABLES — RON DARK SYSTEM
   ============================================================ */

:root {

  /* BACKGROUNDS (deeper & warmer) */
  --bg-1: #0b0b0c;
  /* Haupt-Hintergrund */
  --bg-2: #121214;
  /* leicht heller */
  --bg-3: #1b1b1f;
  /* Sektionen */
  --bg-4: #242428;
  /* Cards */

  /* BACKGROUND GRID SYSTEM */
  --grid-color: color-mix(in srgb, var(--brand), transparent 96%);
  /* sehr helles Rot */
  --grid-size: 120px;

  --glow-red: color-mix(in srgb, var(--brand), transparent 65%);
  --glow-orange: color-mix(in srgb, var(--brand), transparent 90%);

  /* TEXT */
  --ink-1: #ffffff;
  /* Headlines */
  --ink-2: #e0e0e2;
  /* Body */
  --ink-3: #9a9aa0;
  /* Muted */

  /* BRAND — RON */
  /* BRAND — RON */
  --brand: #c9404b;
  /* Primär Rot */
  --brand-soft: #c9404b;
  --accent-orange: #ff8c42;
  --accent-yellow: #ffca3a;

  /* STATUS */
  --status-green: #41d883;
  --status-yellow: var(--accent-yellow);
  --status-red: var(--brand-soft);

  /* BORDERS */
  --line-1: #2a2a2f;
  --line-2: #3a3a40;

  /* RADII */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* SHADOWS */
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, .45);
  --shadow-md: 0 14px 34px rgba(0, 0, 0, .6);

  /* TYPOGRAPHY SCALE */
  --fs-h1: clamp(2rem, 5vw, 3.6rem);
  --fs-h2: clamp(1.5rem, 4vw, 2.6rem);
  --fs-h3: clamp(1.2rem, 3vw, 1.7rem);
  --fs-body: clamp(0.95rem, 2vw, 1.125rem);
  --fs-lead: clamp(1.05rem, 2.5vw, 1.25rem);

  /* EXTENDED TYPO */
  --fs-eyebrow: clamp(0.7rem, 1.5vw, 0.875rem);
  --fs-card-title: clamp(1.05rem, 2.2vw, 1.35rem);
  --fs-card-body: clamp(0.9rem, 1.8vw, 1.05rem);
  --fs-small: clamp(0.75rem, 1.6vw, 0.9rem);

  /* FONT WEIGHTS */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* SPACING */
  --s-1: .25rem;
  --s-2: .5rem;
  --s-3: .75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;

  /* CONTAINER */
  --container: min(1600px, 92vw);
  --container-wide: min(1600px, 92vw);

  /* ANIMATION */
  --ease-smooth: cubic-bezier(.22, .61, .36, 1);
  --dur: .45s;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-headline: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

}


/* ============================================================
   3) STRUCTURE
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 3rem);
}

@media (max-width: 600px) {

  /* Mobile Grid Lines */
  body::before {
    left: 10px;
  }

  body::after {
    right: 10px;
  }

  /* Mobile Content Padding */
  .container,
  .section-wrapper {
    padding-inline: 24px;
    /* Ensure content sits inside the lines */
  }
}

section {
  padding-top: clamp(4rem, 9vw, 7rem);
  padding-bottom: clamp(4rem, 9vw, 7rem);
  position: relative;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-dark {
  background: var(--bg-2);
}

.section-grey {
  background: var(--bg-3);
}

.section-mid {
  background: var(--bg-4);
}

.section-solid {
  background: var(--bg-2);
}

.section-solid-dark {
  background: var(--bg-1);
}


/* ============================================================
   4) TYPOGRAPHY
   ============================================================ */

h1,
h2,
h3,
h4 {
  font-family: var(--font-headline);
  font-weight: 500;
  line-height: 1.12;
  color: var(--ink-1);
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

p {
  font-size: var(--fs-body);
  color: var(--ink-2);
  line-height: 1.65;
  font-weight: 300;
}

.lead {
  font-size: var(--fs-lead);
  color: var(--ink-1);
}

.muted {
  color: var(--ink-3);
}


/* ============================================================
   5) REVEAL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--dur) var(--ease-smooth),
    transform var(--dur) var(--ease-smooth);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   6) FLEX & GRID
   ============================================================ */

.flex {
  display: flex;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.grid {
  display: grid;
}

.w-full {
  width: 100%;
}


/* ============================================================
   7) BUTTONS — RON GLOW STYLE
   ============================================================ */

.btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 30px;
  font-size: var(--fs-body);
  border-radius: var(--r-lg);
  color: #fff;
  background: linear-gradient(180deg,
      var(--brand-soft),
      var(--brand));
  box-shadow:
    0 10px 30px color-mix(in srgb, var(--brand), transparent 65%),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  overflow: hidden;
  transition:
    transform .35s var(--ease-smooth),
    box-shadow .35s var(--ease-smooth);
}

/* Glow layer */
.btn::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 30% 30%,
      rgba(255, 255, 255, 0.35),
      transparent 40%);
  opacity: 0.6;
  transform: translateX(-30%) translateY(-20%);
  transition:
    transform .6s var(--ease-smooth),
    opacity .6s var(--ease-smooth);
  pointer-events: none;
}

/* Hover */
.btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 40px color-mix(in srgb, var(--brand), transparent 55%),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.btn:hover::before {
  transform: translateX(10%) translateY(10%);
  opacity: 0.85;
}

/* ACTIVE */
.btn:active {
  transform: translateY(0);
}

/* ============================================================
   OUTLINE VARIANT
   ============================================================ */

.btn-outline {
  position: relative;
  padding: 14px 30px;
  border-radius: var(--r-lg);
  color: var(--brand);
  border: 1.5px solid color-mix(in srgb, var(--brand), transparent 40%);
  background: color-mix(in srgb, var(--brand), transparent 95%);
  overflow: hidden;
  transition:
    color .35s var(--ease-smooth),
    border-color .35s var(--ease-smooth),
    transform .35s var(--ease-smooth);
}

.btn-outline::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 30% 30%,
      color-mix(in srgb, var(--brand), transparent 65%),
      transparent 45%);
  opacity: 0;
  transform: translateX(-30%) translateY(-20%);
  transition:
    transform .6s var(--ease-smooth),
    opacity .6s var(--ease-smooth);
  pointer-events: none;
}

.btn-outline:hover {
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}

.btn-outline:hover::before {
  opacity: 1;
  transform: translateX(10%) translateY(10%);
}


/* ============================================================
   8) CARDS
   ============================================================ */

.card {
  background: var(--bg-4);
  border: 1px solid var(--line-1);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-smooth), box-shadow .3s var(--ease-smooth);
}

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


/* ============================================================
   9) INPUTS
   ============================================================ */

input,
textarea,
select {
  width: 100%;
  padding: 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--ink-1);
  font-size: var(--fs-body);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--brand);
}


/* ============================================================
   10) MEDIA QUERIES
   ============================================================ */

@media (max-width: 900px) {
  section {
    padding-top: var(--s-7);
    padding-bottom: var(--s-7);
  }
}

@media (max-width: 600px) {
  section {
    padding-top: var(--s-5);
    padding-bottom: var(--s-5);
  }
}