/* ==========================================================================
   Annas Atelier — Shared Design System
   Abgeleitet vom Look von https://annas-atelier.com
   (warmes Creme/Weiß, dunkles Braun, Newsreader + Red Hat Text)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,wght@0,200;0,300;0,400;0,500;0,600;1,300;1,400&family=Red+Hat+Text:wght@400;500;600;700&display=swap');

:root {
  /* Farben */
  --color-bg: #ffffff;
  --color-bg-soft: #fbf7f1;
  --color-text: #3b1f0e;
  --color-text-muted: #6b5c4c;
  --color-muted: #666666;
  --color-accent: #ffeac8;
  --color-accent-soft: rgba(255, 234, 200, 0.76);
  --color-accent-strong: #d9a441;
  --color-border: rgba(59, 31, 14, 0.14);
  --color-border-strong: rgba(59, 31, 14, 0.35);
  --color-overlay: rgba(59, 31, 14, 0.06);
  --color-error: #a8402c;

  /* Typografie */
  --font-heading: "Newsreader", serif;
  --font-body: "Red Hat Text", sans-serif;

  /* Sonstiges */
  --page-width: 1100px;
  --radius: 0px;
  --transition: 220ms ease;
  --shadow-soft: 0 12px 32px rgba(59, 31, 14, 0.08);
}

/* ---------- Reset & Grundlagen ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ---------- Typografie ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 300;
  color: var(--color-text);
  margin: 0 0 0.5em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 200;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 200;
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 300;
}

p {
  margin: 0 0 1em;
  color: var(--color-text);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.lede {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.center {
  text-align: center;
}

/* ---------- Header ---------- */
.site-header {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: 0.15rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: 1px solid var(--color-text);
  border-radius: var(--radius);
  background: transparent;
  color: var(--color-text);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

.btn-primary {
  background: var(--color-text);
  color: var(--color-accent-soft);
  border-color: var(--color-text);
}

.btn-primary:hover {
  background: #2a1509;
  color: var(--color-accent);
}

.btn-ghost {
  border-color: transparent;
  color: var(--color-muted);
  padding: 0.5rem 0;
}

.btn-ghost:hover {
  background: transparent;
  color: var(--color-text);
}

.btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---------- Cards ---------- */
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

/* ---------- Badge ---------- */
.badge {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35em 0.8em;
  background: var(--color-accent);
  color: var(--color-text);
}

/* ---------- Progress bar ---------- */
.progress {
  width: 100%;
  height: 3px;
  background: var(--color-border);
  overflow: hidden;
}

.progress__bar {
  height: 100%;
  background: var(--color-text);
  transition: width 400ms ease;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.site-footer p {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin: 0;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1rem;
}

.site-footer__legal a {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color var(--transition);
}

.site-footer__legal a:hover {
  color: var(--color-text);
}

/* ---------- Utility ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .container {
    padding: 0 1.25rem;
  }
}
