:root {
  --bg: #f6f3ec;
  --paper: #fffefb;
  --ink: #211d17;
  --muted: #6b6357;
  --line: #e3dccf;
  --accent: #8a6d3b;
  --accent-dark: #6f5630;
  --gold: #b08d4f;
  --shadow: 0 10px 30px rgba(40, 32, 18, 0.08);
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap { width: min(1140px, 92vw); margin: 0 auto; }

/* Header / Hero */
header.hero {
  background:
    linear-gradient(rgba(33, 29, 23, 0.55), rgba(33, 29, 23, 0.65)),
    url('../img/buch-symbolik.jpg') center 30% / cover no-repeat;
  color: #fdfbf6;
  text-align: center;
  padding: clamp(70px, 12vw, 130px) 0;
}

.hero .kicker {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: clamp(2.3rem, 6vw, 4rem);
  line-height: 1.08;
  margin: 0 0 18px;
}

.hero p {
  max-width: 640px;
  margin: 0 auto;
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  color: #ece4d6;
}

/* Intro strip */
.intro {
  padding: clamp(48px, 7vw, 78px) 0 8px;
  text-align: center;
}
.intro h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 12px;
}
.intro p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
}

/* Cards grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  padding: clamp(36px, 6vw, 64px) 0 24px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(40, 32, 18, 0.14);
}

.card-media {
  background: #efe9dd;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}
.card-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(40, 32, 18, 0.18);
}

.card-body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tag {
  align-self: flex-start;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  background: #f1e9d8;
  border: 1px solid #e6d9bd;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.25;
  margin: 0 0 10px;
}

.card .desc {
  color: var(--muted);
  font-size: 0.93rem;
  margin: 0 0 16px;
  flex: 1;
}

.meta {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: 14px;
}
.meta li { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; }
.meta li span:first-child { color: #9a917f; }
.meta li span:last-child { text-align: right; font-weight: 500; color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 18px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  transition: background 0.2s ease;
}
.btn:hover { background: var(--accent-dark); }
.btn svg { width: 16px; height: 16px; }

/* Disclosure */
.disclosure {
  margin: 40px 0 10px;
  padding: 18px 22px;
  background: #f1ebdd;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

/* Footer */
footer {
  margin-top: 60px;
  background: #211d17;
  color: #d8cfbf;
  padding: 46px 0 30px;
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
footer .brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: #fff;
}
footer nav a {
  text-decoration: none;
  margin-left: 20px;
  font-size: 0.9rem;
  color: #cabfac;
}
footer nav a:hover { color: #fff; }
footer .copy {
  width: 100%;
  border-top: 1px solid #3a342b;
  margin-top: 26px;
  padding-top: 20px;
  font-size: 0.8rem;
  color: #8f8675;
}

/* Cookie banner */
.cookie {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: min(920px, 94vw);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(20, 16, 8, 0.22);
  padding: 22px 24px;
  display: none;
  grid-template-columns: 1fr auto;
  gap: 18px 26px;
  align-items: center;
  z-index: 1000;
}
.cookie.show { display: grid; }
.cookie h4 { margin: 0 0 6px; font-size: 1.05rem; }
.cookie p { margin: 0; font-size: 0.86rem; color: var(--muted); }
.cookie p a { color: var(--accent); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions button {
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 11px 18px;
  border-radius: 9px;
  cursor: pointer;
  border: 1px solid var(--accent);
}
.btn-accept { background: var(--accent); color: #fff; }
.btn-accept:hover { background: var(--accent-dark); }
.btn-decline { background: transparent; color: var(--accent); }
.btn-decline:hover { background: #f1e9d8; }

@media (max-width: 620px) {
  .cookie { grid-template-columns: 1fr; }
  footer .wrap { flex-direction: column; align-items: flex-start; }
  footer nav a { margin: 0 18px 0 0; }
}
