/* =========================================================
   BASE – Reset, Variablen, Typografie
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

:root {
  --bg: #ffffff;
  --bg-soft: #f4f0e9;
  --surface: #ffffff;
  --surface-alt: #f4f0e9;
  --border: #e3ddd2;
  --accent: #6e0f1a;
  --accent-hover: #5a0a14;
  --accent-soft: #f7ecee;
  --text: #1a1a1a;
  --text-muted: #6b6760;

  --font-display: "Cormorant Garamond", "Georgia", serif;
  --font-body: "Inter", system-ui, sans-serif;

  --header-height: 64px;
  --header-height-mobile: 56px;
  --container-max: 1240px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;

  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.3px;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p { margin-bottom: 1rem; }

.nowrap { white-space: nowrap; }

/* --- Skip Link (a11y) ---------------------------------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { top: 0; }
