@charset "UTF-8";

/* Webfonts */

/* fira-sans-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 300;
  src: url('./webfonts/fira-sans-v18-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* fira-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  src: url('./webfonts/fira-sans-v18-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* big-shoulders-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Big Shoulders';
  font-style: normal;
  src: url('./webfonts/BigShoulders-VariableFont_opsz,wght.ttf')  format("truetype-variations"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
    font-weight: 100 900;
    font-style: normal;
}


/* CSS Variable */  

:root {

  --font-heading: 'Big Shoulders', system-ui, sans-serif;
  --font-primary: 'Fira Sans', system-ui, sans-serif;
  
  /* Font sizes (fluid responsive clamp) */
  --fs-100: clamp(0.875rem, 0.82rem + 0.3vw, 1rem);      /* 14–16px */
  --fs-200: clamp(1.1rem, 0.94rem + 0.4vw, 1.25rem);       /* 16–18px */
  --fs-300: clamp(1.125rem, 1.05rem + 0.45vw, 1.25rem);   /* 18–20px */
  --fs-400: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);      /* 20–24px */
  --fs-500: clamp(1.5rem, 1.35rem + 0.7vw, 1.875rem);     /* 24–30px */
  --fs-600: clamp(1.875rem, 1.7rem + 1vw, 2.375rem);      /* 30–38px */
  --fs-700: clamp(2.375rem, 2.2rem + 1.3vw, 3rem);        /* 38–48px */


    /* =========================
       Color Palette (Dark Default) VER01
    ========================== */
    
    --theme-clr-100: #BEC0BD;
    --theme-clr-900: #1D1D1B;

  /* Container Inline Padding */
  --container-spacing-inline: 1rem;
  
    /* =========================
       Gaps & Layout
    ========================== */
    --gap-0: 0;
    --gap-1: 1em;
    --gap-2: 2em;
    --gap-3: 3em;
  
    --border-radius: 0.5em;

  
    /* =========================
       Z-Index Layers
    ========================== */
    --z-base: 0;
    --z-index-1: 20;
    --z-index-2: 40;
    --z-index-3: 60;
    --z-index-4: 80;
    --z-index-5: 120;
  }
  

/* =========================================================
   CSS RESET
   ========================================================= */

/* Root stacking context */
#root, #__next {
  isolation: isolate;
}

/* Box model baseline */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin and inherit fonts */
* {
  margin: 0;
  padding: 0;
  font: inherit;
}

/* Lists without styling */
ul,
ol,
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Smooth scroll baseline */
html {
  min-height: 100vh;
  scroll-behavior: smooth;
  scroll-padding-block-start: 6em;
  overflow-x: hidden;
}

/* Mobile adjustments */
@media (min-width: 40em) {
  html {
    scroll-padding-block-start: 6em;
  }
}

/* Body baseline */
body {
  font-family: var(--font-primary);
  font-size: var(--fs-200);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  background-color: var(--theme-clr-100);
  color: var(--theme-clr-900);
  transition: background-color 0.5s ease, color 0.5s ease;
}

/* Headings, paragraphs, etc. spacing reset */
body, h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd {
  margin-block-end: 0;
}

/* Links */
a {
  color: currentColor;
  text-decoration: none;
  cursor: pointer;
  outline: none;
}

a:hover {
  text-decoration-line: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
  text-decoration-color: currentColor;
}

a:focus-visible {
  outline: 3px solid var(--theme-color-900);
  outline-offset: 4px;
}

/* Touch devices – disable hover styles */
@media (hover: none) {
  a:hover {
    text-decoration: none;
  }
}

/* Media elements */
img,
picture,
figure,
video,
svg {
  display: block;
  max-inline-size: 100%;
  block-size: auto;
  border: 0;
  image-rendering: -webkit-optimize-contrast;
}

/* Forms */
input,
textarea,
select,
button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: transparent;
  border: none;
}

button {
  cursor: pointer;
}

/* Address */
address {
  font-style: normal;
  line-height: inherit;
}

/* Strong */
strong {
  font-variation-settings: "wght" var(--wght-semibold);
}

/* Optional für Firefox (bessere Konsistenz) */
::-moz-selection {
  background-color: var(--theme-color-ci);
  color: var(--theme-color-100);
}

/* Safe-area padding helper */
.layout {
  position: relative;
  overflow: clip;
  padding: env(safe-area-inset-top)
           env(safe-area-inset-right)
           env(safe-area-inset-bottom)
           env(safe-area-inset-left);
}

/* Resize debug helper */
.resize-stopper * {
  transition: none !important;
  animation: none !important;
}

/* Fallback safe-area handling */
@supports(padding: max(0px)) {
  .layout {
    padding-left: max(0, env(safe-area-inset-left));
    padding-right: max(0, env(safe-area-inset-right));
  }
}


  /* CSS Accessibility  */
  
  .visually-hidden {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: clip;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0
 }

  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 900;
    overflow-wrap: break-word;
    word-break: keep-all;
    hyphens: auto;
    max-inline-size: clamp(48ch, 68%, 84ch);
    color: var(--theme-clr-300);
  }
  
  @supports (text-wrap: balance) {
    h1, h2, h3, h4, h5, h6 {
      text-wrap: balance;
    }
  }
  
  @supports (text-box-trim: trim-both) {
    h1, h2, h3, h4, h5, h6 {
      text-box-trim: trim-both;
    }
  }

p {
    font-size: var(--fs-200);
    font-weight: var(--fw-regular);
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

p:not([class]) {
  max-width: 80ch;
}

.layout-inner  {
  width: 100%;
  max-width: 80rem;
  height: 100vh;
  height: 100dvh;
  margin-inline: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.layout-inner__content {
  position: relative;
}

.layout-inner__content > *:not(:last-child) {
  margin-block-end: 2rem
}

.layout-inner__content h1 {
  font-size: var(--fs-600);
}

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