/* Digital Mind Agency · Design-System
 * Importiert + adaptiert aus oliver-albrecht-website/prototypes/brand-konzept-c.
 * Mediterranean Light / Premium. Teal auf hell, Gold auf dunkel.
 */

/* ---------- Fonts (self-hosted Geist) ---------- */
@font-face { font-family:'Geist'; font-style:normal; font-weight:400 800; font-display:swap;
  src:url('/assets/fonts/geist-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family:'Geist'; font-style:normal; font-weight:400 800; font-display:swap;
  src:url('/assets/fonts/geist-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Geist Mono'; font-style:normal; font-weight:500 600; font-display:swap;
  src:url('/assets/fonts/geistmono-latin.woff2') format('woff2'); }

:root {
  /* Backgrounds */
  --bg: #FBF7F1;
  --bg-warm: #F4ECE0;
  --bg-cool: #EFEBE3;
  --surface: #FFFFFF;
  --surface-glass: rgba(255,255,255,0.72);

  /* Text */
  --text: #0A2540;            /* Premium Navy, nie pures Schwarz */
  --text-muted: #475C73;
  --text-soft: #54677C;       /* WCAG AA: 4.97:1 auf --bg-warm (war #6B7F94, 3.52) */

  /* Accent: Deep Teal (Mediterranean) */
  --accent: #0C6E6D;
  --accent-bright: #0F8A88;
  --accent-deep: #084E4D;
  --accent-glow: rgba(12,110,109,0.18);
  --accent-soft: rgba(12,110,109,0.08);

  /* Gold (nur auf dunklem Grund, weil Teal auf Navy verschwindet) */
  --gold: #C99A5C;
  --gold-soft: #F0E0C7;
  --gold-deep: #806026;       /* WCAG AA: 4.95:1 auf --bg-warm (war #A6803D, 3.10), Akzent-Labels auf hellem Grund */

  --success: #15803D;
  --warm: #B8462F;
  --border: #E8DFD0;
  --border-strong: #D4C9B5;

  --shadow-card: 0 1px 2px rgba(10,37,64,0.04), 0 8px 24px -12px rgba(10,37,64,0.12);
  --shadow-lift: 0 4px 8px rgba(10,37,64,0.06), 0 24px 48px -16px rgba(10,37,64,0.18);

  --radius-sm: 8px; --radius: 10px; --radius-md: 12px; --radius-lg: 16px; --radius-btn: 7px;

  --ease-premium: cubic-bezier(0.16,1,0.3,1);
  --ease-snap: cubic-bezier(0.2,0.8,0.2,1);
  --ease-back: cubic-bezier(0.34,1.56,0.64,1);

  --sans: 'Geist', system-ui, -apple-system, "SF Pro Text", "Segoe UI", sans-serif;
  --mono: 'Geist Mono', ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --container: 1200px;
  --pad-x: clamp(24px, 5.2vw, 44px);
}

/* ---------- Base / Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
@media (min-width: 768px){ body { font-size: 19px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-deep); text-decoration: none; }
h1,h2,h3,h4 { line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 6vw, 4.25rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.6rem); }
p { margin: 0 0 1rem; max-width: 65ch; }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 2px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x); }
/* fuller layout on large screens; laptops keep the 1200px reading column */
@media (min-width: 1500px){ :root { --container: 1340px; } }
.eyebrow { font: 600 .8rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: clamp(1.05rem, 2.5vw, 1.3rem); color: var(--text-muted); }

/* ---------- Buttons (immer solid, keine Ghost-Buttons) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 14px 26px; border-radius: var(--radius-btn); border: 0; cursor: pointer;
  font: 600 1rem var(--sans); min-height: 48px;
  /* Emil-Polish: schnell, ease-out, dezent */
  transition: transform .22s var(--ease-premium), box-shadow .28s var(--ease-premium), background .2s, border-color .2s, color .2s;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-card); }
.btn-primary:hover { background: var(--accent-bright); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-primary:active { background: var(--accent-deep); transform: translateY(0) scale(.985); }
.btn-ghost-solid { background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); }
.btn-ghost-solid:hover { border-color: var(--accent); color: var(--accent-deep); transform: translateY(-2px); box-shadow: var(--shadow-card); }
/* auf dunklem Grund: Gold */
.btn-gold { background: var(--gold); color: #1a1205; }
.btn-gold:hover { background: var(--gold-deep); color: #fff; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

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