/* Digitale Buchhandlung — Deutschland coming-soon page */

:root {
  --background: #FAF8F4;
  --foreground: #1E2433;
  --muted: #F1EDE6;
  --muted-foreground: #6B6760;
  --primary: #B3261E;
  --primary-foreground: #FFFFFF;
  --secondary: #1E2433;        /* ink */
  --secondary-foreground: #FAF8F4;
  --border: #E2DCD2;

  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --shadow-book: 0 30px 60px -28px rgba(30, 36, 51, .45), 0 10px 20px -12px rgba(30, 36, 51, .25);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
}

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

a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.page { display: flex; flex-direction: column; min-height: 100vh; }

.container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(241, 237, 230, .6);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.brand { display: flex; align-items: flex-end; gap: .5rem; }

.brand-mark { position: relative; width: 2rem; height: 2.75rem; flex-shrink: 0; }
.brand-mark-top {
  position: absolute; left: 0; right: 0; top: 0;
  height: 1.75rem;
  border: 3px solid var(--primary);
}
.brand-mark-base {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: .75rem;
  background: var(--primary);
}

.brand-text { line-height: 1; }
.brand-name { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.brand-tag { margin-top: .25rem; font-family: var(--serif); font-size: 13px; color: var(--muted-foreground); }

.nav-caps {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.region { padding-bottom: .25rem; border-bottom: 2px solid var(--primary); }

/* Hero */
.hero {
  flex: 1;
  display: grid;
  align-items: center;
  gap: 3rem;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.hero-copy { order: 2; }
.hero-art { order: 1; }

.eyebrow {
  margin: 0;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.accent { color: var(--primary); }

h1 {
  margin: 1.25rem 0 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.05;
  letter-spacing: -.025em;
}
.h1-second { font-style: italic; font-weight: 400; color: var(--primary); }

.subtitle {
  margin: 1rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--muted-foreground);
}

.intro {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
  margin-top: 2rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}
.intro p { margin: 0; }

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--secondary);
  color: var(--secondary-foreground);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.button:hover { background: var(--primary); color: var(--primary-foreground); }

.cta-note { font-size: .875rem; color: var(--muted-foreground); }

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 36rem;
  margin: 3.5rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.features dt { font-family: var(--serif); font-weight: 700; color: var(--primary); }
.features dd { margin: .25rem 0 0; font-size: .875rem; color: var(--muted-foreground); }

.hero-art img {
  margin: 0 auto;
  width: 100%;
  max-width: 28rem;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow-book);
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); }
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  font-size: .875rem;
  color: var(--muted-foreground);
  text-align: center;
}
.footer-tagline { font-family: var(--serif); font-style: italic; }

/* Page-load animation */
.rise {
  animation: rise .8s cubic-bezier(.16, 1, .3, 1) both;
  animation-delay: var(--delay, 0ms);
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* Breakpoints (match original sm / md / lg) */
@media (min-width: 640px) {
  .features { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  .hero-copy { order: 1; }
  .hero-art { order: 2; }
  .hero-art img { max-width: none; }
  .hero { align-items: center; }
  h1 { font-size: 3.75rem; }
  .subtitle { font-size: 1.5rem; }
  .footer-inner { flex-direction: row; text-align: left; }
}

@media (min-width: 1024px) {
  h1 { font-size: 4.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; }
  .button { transition: none; }
}
