/* ==========================================================================
   N8Bar Schirmbar — Colors & Type
   The mobile umbrella bar. Crimson canopy. Charcoal chassis. Warm wood.
   ========================================================================== */

/* ------ Webfonts (Google Fonts near-match — see README for font status) ---- */
@font-face {
  font-family: "Barlow Condensed";
  font-weight: 100;
  font-style: normal;
  font-display: swap;
  src: url("fonts/BarlowCondensed-Thin.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url("fonts/BarlowCondensed-Light.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("fonts/BarlowCondensed-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("fonts/BarlowCondensed-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("fonts/BarlowCondensed-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("fonts/BarlowCondensed-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("fonts/Inter-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Inter";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("fonts/Inter-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Inter";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("fonts/Inter-SemiBold.ttf") format("truetype");
}
@font-face {
  font-family: "Inter";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("fonts/Inter-Bold.ttf") format("truetype");
}

:root {
  /* ---------- BRAND COLORS ----------------------------------------------- */

  /* Canopy red — the crimson umbrella tarpaulin. Hero color. */
  --n8-red-50:  #FBE9E9;
  --n8-red-100: #F4C7C7;
  --n8-red-200: #E89797;
  --n8-red-300: #D96060;
  --n8-red-400: #C23838;
  --n8-red-500: #A81E22;   /* Primary */
  --n8-red-600: #8E171B;
  --n8-red-700: #701215;
  --n8-red-800: #520D0F;
  --n8-red-900: #2E0708;

  /* Chassis — the painted dark panels of the bar & walls */
  --n8-ink-50:  #F6F5F4;
  --n8-ink-100: #E4E2E0;
  --n8-ink-200: #C7C4C1;
  --n8-ink-300: #8E8A86;
  --n8-ink-400: #4F4C49;
  --n8-ink-500: #2E2B29;
  --n8-ink-600: #1F1D1C;   /* Structural charcoal */
  --n8-ink-700: #141312;
  --n8-ink-800: #0B0A0A;
  --n8-ink-900: #000000;

  /* Paper — background neutrals, off-white like canvas/fairground paper */
  --n8-paper:     #F8F5F1;
  --n8-paper-dim: #EFEAE2;

  /* Holz (wood) — the raw bar counter */
  --n8-holz-50:  #FBF2E3;
  --n8-holz-100: #F0DEBD;
  --n8-holz-200: #D8B887;
  --n8-holz-300: #B88D54;
  --n8-holz-400: #8C6433;
  --n8-holz-500: #5E421F;

  /* Lights — stage/par-can accents. Use sparingly. */
  --n8-spot-warm:  #F7B733;   /* amber par */
  --n8-spot-cool:  #3FA8E0;   /* blue par */
  --n8-spot-pink:  #E24D7B;   /* wash */

  /* ---------- SEMANTIC ---------------------------------------------------- */

  --bg:             var(--n8-paper);
  --bg-alt:         var(--n8-paper-dim);
  --bg-dark:        var(--n8-ink-600);
  --bg-darker:      var(--n8-ink-800);
  --surface:        #FFFFFF;
  --surface-dark:   var(--n8-ink-500);

  --fg1:            var(--n8-ink-700);   /* primary text */
  --fg2:            var(--n8-ink-400);   /* secondary text */
  --fg3:            var(--n8-ink-300);   /* muted / captions */
  --fg-on-dark:     #FBF7F2;
  --fg-on-dark-2:   #BEB8B0;
  --fg-on-red:      #FFFFFF;

  --primary:        var(--n8-red-500);
  --primary-hover:  var(--n8-red-600);
  --primary-press:  var(--n8-red-700);
  --accent:         var(--n8-holz-300);

  --border:         rgba(31, 29, 28, 0.12);
  --border-strong:  rgba(31, 29, 28, 0.28);
  --border-on-dark: rgba(255, 255, 255, 0.14);

  --success:        #3F7D4E;
  --warning:        var(--n8-spot-warm);
  --danger:         var(--n8-red-500);

  /* ---------- SPACING ---------------------------------------------------- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* ---------- RADII ------------------------------------------------------ */
  /* Low radii overall — bar is rectilinear. Reserved 999 for pills. */
  --radius-sm:   2px;
  --radius-md:   4px;
  --radius-lg:   8px;
  --radius-xl:   14px;
  --radius-pill: 999px;

  /* ---------- SHADOWS ---------------------------------------------------- */
  /* Warm lamp-lit shadows — biased slightly red, never neutral black */
  --shadow-sm:  0 1px 2px rgba(46, 7, 8, 0.10);
  --shadow-md:  0 4px 10px -2px rgba(46, 7, 8, 0.14), 0 2px 4px rgba(46, 7, 8, 0.06);
  --shadow-lg:  0 18px 40px -12px rgba(46, 7, 8, 0.30), 0 6px 12px rgba(46, 7, 8, 0.10);
  --shadow-stage: 0 30px 80px -20px rgba(168, 30, 34, 0.45);

  /* Spot-light glow — for hero moments only */
  --glow-spot: radial-gradient(60% 50% at 50% 0%, rgba(247, 183, 51, 0.35), transparent 70%);

  /* ---------- TYPE FAMILIES --------------------------------------------- */
  --font-display:  "Barlow Condensed", "Oswald", "Helvetica Neue Condensed", sans-serif;
  --font-body:     "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono:     ui-monospace, "SF Mono", "Menlo", "Consolas", monospace;

  /* ---------- MOTION ---------------------------------------------------- */
  --ease-out:   cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in:    cubic-bezier(0.55, 0.06, 0.68, 0.19);
  --ease-stand: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:   140ms;
  --dur-med:    260ms;
  --dur-slow:   520ms;
}

/* ============================================================================
   Base type styles — semantic helpers (apply as class OR copy var set)
   ============================================================================ */

.n8-display,
h1.n8, .h1 {
  font-family: var(--font-display);
  font-weight: 300;          /* logo weight is thin */
  font-size: clamp(44px, 6vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--fg1);
}

h2.n8, .h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--fg1);
}

h3.n8, .h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--fg1);
}

.n8-eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
}

p.n8, .body-l {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg1);
}

.body-m, .n8-body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg1);
}

.body-s, .n8-caption {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.45;
  color: var(--fg2);
}

.mono.n8, code.n8 {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg1);
  background: var(--bg-alt);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

/* Signature "mietBAR bezahlBAR" treatment — Bar suffix bolded, small-caps feel */
.n8-slogan {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1em;
  letter-spacing: 0.02em;
  text-transform: none;
  color: inherit;
}
.n8-slogan strong {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
