/* ============================================================
   ALPASANA DESIGN SYSTEM  ·  v1
   Wiederverwendbares Stylesheet für alle Alpasana-Projekte
   (my-coach.ch, absofort.ch, swiss-jobrollen-check.ch, ICT-Check …)

   Einbinden:
     1) Google-Fonts laden (siehe unten / oder via <link> im <head>)
     2) <link rel="stylesheet" href="/assets/alpasana-design.css">
     3) Klassen .alp-* verwenden oder die CSS-Variablen in eigenes CSS ziehen.
   ============================================================ */

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

:root {
  /* ── Markenfarben ─────────────────────────────── */
  --alp-blue:         #269CD9;   /* Hauptakzent: Links, Buttons, Labels */
  --alp-blue-bright:  #2EA3F2;   /* helleres Blau: Logo, Hover */
  --alp-blue-dark:    #1C7CB0;   /* Button-Hover, aktive Zustände */
  --alp-dark:         #232434;   /* dunkle Flächen: Topbar, Footer, Overlays */
  --alp-dark-2:       #2C2D40;
  --alp-heading:      #232434;   /* Überschriften (fast schwarz-navy) */
  --alp-text:         #6E7077;   /* Fließtext (warmes Grau) */
  --alp-muted:        #9AA0A6;
  --alp-bg:           #FFFFFF;
  --alp-bg-soft:      #F5F7FA;   /* abgesetzte Sektionen */
  --alp-border:       #E6E9EF;

  /* ── Typografie ───────────────────────────────── */
  --alp-font-head:    'Rajdhani', 'Segoe UI', sans-serif;   /* Überschriften – oft GROSSBUCHSTABEN */
  --alp-font-body:    'Rubik', 'Segoe UI', Arial, sans-serif;
  --alp-font-display: 'Squada One', 'Rajdhani', sans-serif; /* optionale Riesen-Headlines */

  /* ── Form & Effekte ───────────────────────────── */
  --alp-radius:    6px;
  --alp-radius-lg: 14px;
  --alp-shadow:    0 10px 30px rgba(35,36,52,.10);
  --alp-shadow-sm: 0 4px 14px rgba(35,36,52,.07);
  --alp-container: 1200px;
  --alp-transition: .2s ease;
}

/* ============================================================ BASIS */
.alp, .alp *, .alp *::before, .alp *::after { box-sizing: border-box; }
.alp body, body.alp {
  font-family: var(--alp-font-body);
  color: var(--alp-text);
  line-height: 1.7;
  margin: 0;
}
.alp h1, .alp h2, .alp h3, .alp h4,
.alp .alp-h1, .alp .alp-h2 {
  font-family: var(--alp-font-head);
  color: var(--alp-heading);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
}
.alp-uppercase { text-transform: uppercase; letter-spacing: .02em; }
.alp a { color: var(--alp-blue); text-decoration: none; transition: color var(--alp-transition); }
.alp a:hover { color: var(--alp-blue-dark); }
.alp-container { max-width: var(--alp-container); margin: 0 auto; padding: 0 20px; }

/* ============================================================ TOPBAR (dunkle Kontaktleiste) */
.alp-topbar {
  background: var(--alp-dark); color: rgba(255,255,255,.85);
  font-size: .85rem; padding: 9px 0;
}
.alp-topbar .alp-container { display: flex; justify-content: flex-end; gap: 28px; flex-wrap: wrap; }
.alp-topbar a { color: rgba(255,255,255,.85); }
.alp-topbar a:hover { color: #fff; }
.alp-topbar .alp-ico { color: var(--alp-blue-bright); margin-right: 6px; }

/* ============================================================ HEADER / NAVIGATION */
.alp-header { background: #fff; border-bottom: 1px solid var(--alp-border); }
.alp-header .alp-container { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.alp-logo img { height: 46px; width: auto; display: block; }
.alp-nav { display: flex; gap: 34px; }
.alp-nav a {
  font-family: var(--alp-font-head); font-weight: 600; font-size: 1.05rem;
  color: var(--alp-heading); text-transform: none;
}
.alp-nav a:hover, .alp-nav a.active { color: var(--alp-blue); }

/* ============================================================ HERO (Foto-Banner mit Overlay) */
.alp-hero {
  position: relative; color: #fff; padding: 120px 0;
  background: var(--alp-dark) center/cover no-repeat;
}
.alp-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(35,36,52,.82) 0%, rgba(35,36,52,.45) 60%, rgba(35,36,52,.15) 100%);
}
.alp-hero .alp-container { position: relative; z-index: 2; }
.alp-hero-label {
  font-family: var(--alp-font-head); font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--alp-blue-bright); margin-bottom: 14px;
}
.alp-hero-label::before { content: '// '; }
.alp-hero h1 {
  color: #fff; font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 700;
  text-transform: uppercase; margin-bottom: 18px;
}
.alp-hero p { font-size: 1.15rem; max-width: 560px; opacity: .92; }

/* ============================================================ SEKTIONEN */
.alp-section { padding: 90px 0; }
.alp-section--soft { background: var(--alp-bg-soft); }
.alp-section--dark { background: var(--alp-dark); color: rgba(255,255,255,.85); }
.alp-section--dark h2, .alp-section--dark h3 { color: #fff; }
.alp-section-label {
  font-family: var(--alp-font-head); font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--alp-blue); margin-bottom: 10px;
}
.alp-section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); text-transform: uppercase; }

/* ============================================================ BUTTONS */
.alp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--alp-font-head); font-weight: 600; font-size: 1rem;
  padding: 14px 32px; border-radius: var(--alp-radius); border: 2px solid transparent;
  cursor: pointer; text-transform: uppercase; letter-spacing: .02em;
  transition: all var(--alp-transition);
}
/* Mit .alp gescoped, damit die Button-Textfarbe die generische .alp a Regel schlaegt */
.alp .alp-btn-primary { background: var(--alp-blue); color: #fff; }
.alp .alp-btn-primary:hover { background: var(--alp-blue-dark); color: #fff; }
.alp .alp-btn-outline { background: transparent; color: var(--alp-blue); border-color: var(--alp-blue); }
.alp .alp-btn-outline:hover { background: var(--alp-blue); color: #fff; }
.alp .alp-btn-light { background: #fff; color: var(--alp-heading); }
.alp .alp-btn-light:hover { background: var(--alp-blue); color: #fff; }

/* ============================================================ CARDS */
.alp-card {
  background: #fff; border: 1px solid var(--alp-border); border-radius: var(--alp-radius-lg);
  padding: 32px; box-shadow: var(--alp-shadow-sm); transition: all var(--alp-transition);
}
.alp-card:hover { box-shadow: var(--alp-shadow); transform: translateY(-3px); }
.alp-card h3 { font-size: 1.25rem; text-transform: uppercase; }
.alp-grid { display: grid; gap: 26px; }
.alp-grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.alp-grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* ============================================================ FORM-FELDER */
.alp-input, .alp-textarea, .alp-select {
  width: 100%; font-family: var(--alp-font-body); font-size: 1rem;
  padding: 14px 16px; border: 1px solid var(--alp-border); border-radius: var(--alp-radius);
  background: var(--alp-bg-soft); color: var(--alp-heading);
}
.alp-input:focus, .alp-textarea:focus, .alp-select:focus {
  outline: none; border-color: var(--alp-blue); background: #fff;
}

/* ============================================================ FOOTER */
.alp-footer { background: var(--alp-dark); color: rgba(255,255,255,.7); padding: 60px 0 28px; }
.alp-footer a { color: rgba(255,255,255,.7); }
.alp-footer a:hover { color: #fff; }
.alp-footer h4 { color: #fff; font-family: var(--alp-font-head); text-transform: uppercase; letter-spacing: .05em; }
.alp-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 20px; font-size: .85rem; color: rgba(255,255,255,.5); }

/* ============================================================ RESPONSIVE */
@media (max-width: 900px) {
  .alp-nav { display: none; } /* index.php hat ein eigenes Burger-Menü */
  /* Seiten OHNE Burger (Assessment, Resultat, Berater-Detail, Berichte …):
     deren Nav ist ein direktes Kind von .alp-container → sichtbar lassen und umbrechen,
     damit Abmelden / Sprache / Zurück auf dem Handy erreichbar bleiben. */
  .alp-header > .alp-container { flex-wrap: wrap; }
  .alp-header > .alp-container > .alp-nav {
    display: flex; flex-wrap: wrap; gap: 8px 14px; width: 100%;
    margin-top: 10px; justify-content: center; align-items: center;
  }
  .alp-header > .alp-container > .alp-nav a { padding: 4px 2px; }
  .alp-hero { padding: 80px 0; }
  .alp-section { padding: 60px 0; }
}
