/*
Theme Name: Max Lauer Kameramann
Theme URI: https://max-lauer.de
Author: Max Lauer
Author URI: https://max-lauer.de
Description: Professionelles Portfolio-Theme für freiberuflichen Kameramann – TV-Produktionen & Wirtschaftsfilm.
Version: 1.1.0
License: GNU General Public License v2 or later
Text Domain: max-lauer-kameramann
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Colors — abgestimmt auf Logo (Gold #C2A46A, Navy #1B2563) */
  --color-bg:          #09090b;
  --color-surface:     #111115;
  --color-surface-2:   #18181d;
  --color-fg:          #eeedf1;
  --color-fg-muted:    #8a8f9a;
  --color-accent:      #c2a46a;   /* Logo-Gold */
  --color-accent-dim:  rgba(194, 164, 106, 0.14);
  --color-navy:        #1b2563;   /* Logo-Navy – für Akzentflächen */
  --color-border:      rgba(255, 255, 255, 0.07);
  --color-overlay:     rgba(9, 9, 11, 0.72);

  /* Typography */
  --font-heading: 'Archivo', sans-serif;
  --font-body:    'Space Grotesk', sans-serif;

  /* Scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* Spacing (8pt grid) */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast:   150ms;
  --duration-base:   250ms;
  --duration-slow:   400ms;

  /* Layout */
  --container-max: 1200px;
  --container-pad: clamp(1rem, 5vw, 3rem);
  --header-height: 72px;
}

/* ============================================================
   BASE RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* clip statt hidden: verhindert horizontale Scrollbalken
                       ohne innere scroll-Container zu blockieren */
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ============================================================
   NO-JAVASCRIPT FALLBACK
   Wenn JS deaktiviert ist, sollen alle .fade-in-Elemente sofort sichtbar sein
   ============================================================ */
.no-js .fade-in {
  opacity: 1;
  transform: none;
}
