/* ─── Reset & Variablen ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; max-width: 100%; }
img, video, iframe, table { max-width: 100%; }

:root {
  --bg:        #f5f5f7;
  --bg-2:      #fbfbfd;
  --card:      #ffffff;
  --text:      #1d1d1f;
  --muted:     #6e6e73;
  --border:    rgba(0,0,0,.08);
  --accent:    #0071e3;
  --accent-h:  #0058b0;
  --warm:      #e67e22;
  --warm-h:    #d35400;
  --green:     #16a34a;
  --radius:    18px;
  --radius-sm: 10px;
  --shadow:    0 2px 8px rgba(0,0,0,.05), 0 0 0 0.5px rgba(0,0,0,.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.13);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── Header ──────────────────────────────────────────────── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 52px;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid rgba(0,0,0,.12);
  position: sticky; top: 0; z-index: 200;
}

.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
}

.header-nav { display: flex; align-items: center; gap: 1rem; }

/* ─── Sprachschalter ──────────────────────────────────────── */
.lang-switcher {
  display: flex; gap: .15rem;
  background: rgba(0,0,0,.05);
  border-radius: 30px; padding: .15rem .35rem;
}
.lang-btn {
  background: none; border: none; cursor: pointer;
  font-size: 1.15rem; border-radius: 50%;
  width: 1.85rem; height: 1.85rem;
  display: flex; align-items: center; justify-content: center;
  opacity: .45; transition: opacity .2s, transform .15s;
}
.lang-btn:hover { opacity: .8; transform: scale(1.1); }
.lang-btn.active { opacity: 1; background: rgba(255,255,255,.85); box-shadow: 0 1px 4px rgba(0,0,0,.1); }

/* ─── Buttons ────────────────────────────────────────────── */
.btn-upload {
  background: var(--accent); color: #fff;
  padding: .42rem 1rem; border-radius: 20px;
  font-size: .82rem; font-weight: 600;
  white-space: nowrap; transition: background .2s, box-shadow .2s;
}
.btn-upload:hover { background: var(--accent-h); box-shadow: 0 2px 8px rgba(0,113,227,.3); }

.btn-logout {
  color: var(--muted); font-size: .85rem;
  padding: .35rem .55rem; border-radius: 8px; transition: color .2s;
}
.btn-logout:hover { color: var(--text); }

.btn-primary {
  display: inline-block; background: var(--accent); color: #fff;
  padding: .6rem 1.4rem; border-radius: 20px;
  font-weight: 600; font-size: .875rem;
  border: none; cursor: pointer;
  transition: background .2s, box-shadow .2s;
}
.btn-primary:hover { background: var(--accent-h); box-shadow: 0 2px 10px rgba(0,113,227,.28); }
.btn-lg { padding: .8rem 2rem; font-size: .95rem; }

.btn-secondary {
  display: inline-block; background: rgba(0,0,0,.05); color: var(--text);
  padding: .6rem 1.4rem; border-radius: 20px;
  font-weight: 600; font-size: .875rem;
  border: none; cursor: pointer; transition: background .2s;
}
.btn-secondary:hover { background: rgba(0,0,0,.09); }

.btn-amazon {
  display: block; text-align: center;
  background: #1d1d1f; color: #fff;
  padding: .75rem 1.5rem; border-radius: 980px;
  font-weight: 600; font-size: .9rem;
  letter-spacing: -.01em;
  transition: background .2s, box-shadow .2s;
  margin-top: 1rem;
}
.btn-amazon:hover { background: #3a3a3c; box-shadow: 0 4px 16px rgba(0,0,0,.18); }

.btn-delete {
  background: transparent; color: #ef4444;
  border: 1px solid #ef4444; border-radius: 8px;
  padding: .45rem .9rem; cursor: pointer; font-size: .85rem;
  transition: all .2s;
}
.btn-delete:hover { background: #ef4444; color: #fff; }

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
  color: var(--text);
  padding: 5rem 2rem 4rem;
  text-align: center;
  border-bottom: 0.5px solid rgba(0,0,0,.08);
}
.hero-text h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  margin-bottom: .75rem;
  letter-spacing: -.03em;
  color: var(--text);
}
.hero-sub { font-size: 1.1rem; color: var(--muted); font-weight: 400; }

/* ─── Filter & Suche ─────────────────────────────────────── */
.filter-bar {
  max-width: 1200px; margin: 0 auto;
  padding: 1.5rem 2rem 1rem;
  display: flex; flex-wrap: wrap;
  align-items: center; gap: .75rem;
  justify-content: space-between;
}
.lang-toggle {
  display: flex; gap: .4rem; align-items: center;
}
.lang-pill {
  display: inline-block;
  padding: .3rem .85rem; border-radius: 20px;
  font-size: .82rem; font-weight: 600;
  background: rgba(0,0,0,.05); color: var(--muted);
  border: 1px solid transparent;
  transition: all .2s; white-space: nowrap;
}
.lang-pill:hover { background: rgba(0,0,0,.09); color: var(--text); }
.lang-pill.active { background: var(--text); color: #fff; border-color: var(--text); }
.genre-filters {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.genre-pill {
  display: inline-block;
  padding: .35rem .9rem; border-radius: 20px;
  font-size: .82rem; font-weight: 500;
  background: rgba(0,0,0,.05); color: var(--muted);
  border: 1px solid transparent;
  transition: all .2s; white-space: nowrap;
}
.genre-pill:hover { background: rgba(0,0,0,.09); color: var(--text); }
.genre-pill.active { background: var(--text); color: #fff; border-color: var(--text); }

.search-form { display: flex; gap: .5rem; }
.search-input {
  padding: .5rem 1rem; border-radius: 20px;
  border: 1px solid var(--border); background: var(--card);
  font-size: .9rem; width: 260px;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.search-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,113,227,.12); }
.search-btn {
  background: var(--text); color: #fff;
  border: none; border-radius: 20px;
  padding: .5rem 1.1rem; cursor: pointer; font-size: .9rem;
  font-weight: 500; letter-spacing: -.01em;
  transition: background .2s, box-shadow .2s;
}
.search-btn:hover { background: #3a3a3c; box-shadow: 0 2px 8px rgba(0,0,0,.15); }

/* ─── Books Grid ─────────────────────────────────────────── */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1200px; margin: 0 auto;
  padding: 0 2rem 3rem;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 0.5px solid rgba(0,0,0,.06);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.card-cover {
  display: flex; overflow: hidden;
  background: #f0f0f5;
  aspect-ratio: 2 / 3;
  align-items: center; justify-content: center;
}
.card-cover img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .3s;
}
.card:hover .card-cover img { transform: scale(1.03); }

.cover-placeholder {
  font-size: 3.5rem; display: flex;
  align-items: center; justify-content: center;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #e8e8f0, #d0d0e0);
}
.cover-placeholder.large { height: 360px; font-size: 5rem; }
.cover-placeholder.small { height: 80px; font-size: 1.5rem; width: 60px; }

.card-body {
  padding: 1rem 1.2rem 1.2rem;
  display: flex; flex-direction: column; flex: 1;
}

.genre-badge {
  display: inline-block;
  background: rgba(0,113,227,.1); color: var(--accent);
  padding: .2rem .7rem; border-radius: 20px;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .02em; text-transform: uppercase;
  margin-bottom: .5rem;
}
.genre-badge.large { font-size: .8rem; padding: .3rem .9rem; }
.genre-badge.small { font-size: .65rem; padding: .15rem .5rem; }

.card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem; font-weight: 700;
  line-height: 1.3; color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: .25rem;
}
.card-author { font-size: .8rem; color: var(--muted); margin-bottom: .5rem; }
.card-teaser {
  font-size: .84rem; color: var(--muted); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; flex: 1;
}

.star-rating {
  font-size: .8rem; margin: .4rem 0;
  display: flex; align-items: center; gap: .2rem;
}
.rating-num { color: var(--muted); font-size: .75rem; }

.card-footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: .75rem; padding-top: .75rem;
  border-top: 1px solid var(--border);
}
.tags { display: flex; flex-wrap: wrap; gap: .3rem; }
.tag {
  display: inline-block; background: rgba(0,0,0,.05);
  color: var(--muted); padding: .15rem .5rem;
  border-radius: 8px; font-size: .72rem;
}
.read-more { font-size: .8rem; font-weight: 600; color: var(--accent); white-space: nowrap; }

/* ─── Empty State ─────────────────────────────────────────── */
.empty-state {
  text-align: center; padding: 5rem 2rem;
  color: var(--muted);
}
.empty-icon { font-size: 4rem; margin-bottom: 1rem; }

/* ─── Book Page ───────────────────────────────────────────── */
.book-page {
  max-width: 1100px; margin: 0 auto;
  padding: 1.5rem 2rem 4rem;
}
.back-link {
  display: inline-block; color: var(--muted); font-size: .9rem;
  margin-bottom: 1.5rem; transition: color .2s;
}
.back-link:hover { color: var(--accent); }

.book-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem; align-items: start;
}

/* Sidebar */
.book-sidebar { position: sticky; top: 70px; }
.book-cover-wrap {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #f0f0f5;
}
.book-cover-img { width: 100%; }

.book-meta-box {
  background: var(--card); border-radius: var(--radius-sm);
  padding: 1rem; margin-top: 1rem;
  box-shadow: var(--shadow); font-size: .85rem;
}
.meta-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: .4rem 0; border-bottom: 1px solid var(--border);
  gap: .5rem;
}
.meta-row:last-child { border-bottom: none; }
.meta-label { color: var(--muted); font-weight: 500; flex-shrink: 0; }
.isbn { font-family: monospace; font-size: .8rem; color: var(--muted); word-break: break-all; }

.affiliate-hint {
  font-size: .72rem; color: var(--muted);
  text-align: center; margin-top: .5rem;
}

/* Main Content */
.book-header { margin-bottom: 2rem; }
.book-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700; line-height: 1.2;
  margin: .5rem 0 .4rem;
}
.book-author { font-size: 1.1rem; color: var(--muted); margin-bottom: .75rem; }
.book-teaser {
  font-size: 1.1rem; color: var(--muted);
  line-height: 1.7; font-style: italic;
  border-left: 2px solid rgba(0,0,0,.12);
  padding-left: 1.1rem;
}

.book-content { line-height: 1.85; overflow-wrap: break-word; word-break: break-word; }
.book-content h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem; font-weight: 700;
  margin: 1.75rem 0 .75rem; color: var(--text);
}
.book-content p { margin-bottom: 1.1rem; }
.book-content strong { font-weight: 600; }
.book-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.book-content li { margin-bottom: .4rem; }

.amazon-cta-box {
  display: flex; align-items: center;
  justify-content: space-between; gap: 1.5rem;
  background: #f5f5f7;
  border: 0.5px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  padding: 1.4rem 1.75rem;
  margin-top: 2.5rem;
}
.amazon-cta-text { flex: 1; }
.amazon-cta-text strong { display: block; font-size: 1rem; }
.amazon-cta-text span { font-size: .85rem; color: var(--muted); }
.amazon-cta-box .btn-amazon { margin-top: 0; white-space: nowrap; }

/* Related Books */
.related-books { margin-top: 3rem; border-top: 1px solid var(--border); padding-top: 2rem; }
.related-books h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem; margin-bottom: 1.5rem;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.related-card {
  display: flex; gap: .75rem; align-items: flex-start;
  background: var(--card); border-radius: var(--radius-sm);
  padding: .75rem; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.related-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.related-card img { width: 55px; height: 80px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.related-info { flex: 1; }
.related-info strong { display: block; font-size: .82rem; line-height: 1.3; margin-bottom: .2rem; }
.related-info span { font-size: .75rem; color: var(--muted); }

/* ─── Admin ──────────────────────────────────────────────── */
.admin-page { max-width: 1200px; margin: 0 auto; padding: 2rem; }
.admin-header {
  display: flex; flex-wrap: wrap;
  align-items: center; gap: 1rem;
  margin-bottom: 2rem;
  justify-content: space-between;
}
.admin-header h1 { font-family: 'Playfair Display', serif; }
.admin-stats { display: flex; gap: .75rem; }
.stat-pill {
  padding: .35rem .9rem; border-radius: 20px;
  background: rgba(0,0,0,.05); font-size: .82rem;
}
.stat-pill.green  { background: rgba(22,163,74,.1);  color: var(--green); }
.stat-pill.blue   { background: rgba(59,130,246,.1); color: #3b82f6; }
.stat-pill.purple { background: rgba(139,92,246,.1); color: #8b5cf6; }
.stat-pill.orange { background: rgba(245,158,11,.1); color: #d97706; }
.admin-actions { display: flex; gap: .75rem; }

.admin-stats-section {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 0.5px solid rgba(0,0,0,.06);
  padding: 1.5rem; margin-bottom: 2rem;
}
.admin-stats-section h2 {
  font-size: 1rem; font-weight: 600; margin-bottom: 1rem; color: var(--text);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem; margin-bottom: .5rem;
}
.stat-card {
  background: #f5f5f7; border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  display: flex; flex-direction: column; gap: .25rem;
}
.stat-number {
  font-size: 1.75rem; font-weight: 700;
  letter-spacing: -.03em; color: var(--text);
  line-height: 1;
}
.stat-label {
  font-size: .78rem; color: var(--muted); line-height: 1.4;
}
.stat-label small { font-size: .7rem; }
.stats-table { font-size: .83rem; }

.admin-table-wrap { overflow-x: auto; }
.admin-table {
  width: 100%; border-collapse: collapse; font-size: .88rem;
}
.admin-table th {
  text-align: left; padding: .75rem 1rem;
  border-bottom: 2px solid var(--border);
  color: var(--muted); font-weight: 600; white-space: nowrap;
}
.admin-table td {
  padding: .65rem 1rem; border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.admin-table tr:hover td { background: rgba(0,0,0,.02); }
.text-muted { color: var(--muted); }

.source-badge { font-size: .78rem; font-weight: 500; }
.source-badge.agent { color: #7c3aed; }
.source-badge.manual { color: var(--green); }

.toggle-btn {
  border: none; border-radius: 20px;
  padding: .25rem .75rem; font-size: .78rem;
  cursor: pointer; font-weight: 600; transition: all .2s;
}
.toggle-btn.published { background: rgba(22,163,74,.12); color: var(--green); }
.toggle-btn.draft { background: rgba(0,0,0,.06); color: var(--muted); }
.toggle-btn:hover { opacity: .8; }

.action-col { white-space: nowrap; }
.btn-icon {
  background: none; border: none; cursor: pointer;
  font-size: 1rem; padding: .2rem .4rem;
  border-radius: 6px; transition: background .2s;
}
.btn-icon:hover { background: rgba(0,0,0,.07); }
.btn-icon.danger:hover { background: rgba(239,68,68,.1); }

/* Terminal */
.terminal-box {
  background: #0f172a; border-radius: 12px;
  overflow: hidden; margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
  font-family: "Menlo","Monaco","Courier New",monospace;
}
.terminal-header {
  background: #1e293b; padding: .6rem 1rem;
  display: flex; align-items: center; gap: .4rem;
}
.terminal-dot { width: 12px; height: 12px; border-radius: 50%; }
.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #f59e0b; }
.terminal-dot.green { background: #22c55e; }
.terminal-title { margin-left: .5rem; font-size: .8rem; color: #94a3b8; }
.terminal-body {
  padding: 1rem 1.25rem; min-height: 180px; max-height: 340px;
  overflow-y: auto; display: flex; flex-direction: column; gap: .25rem;
}
.terminal-line { font-size: .82rem; color: #cbd5e1; line-height: 1.5; }
.terminal-line.ok { color: #4ade80; }
.terminal-line.err { color: #f87171; }

/* ─── Forms ──────────────────────────────────────────────── */
.form-page {
  max-width: 800px; margin: 0 auto;
  padding: 2rem 2rem 4rem;
}
.form-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; margin-bottom: 2rem;
}
.book-form { }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
}
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: .88rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: .6rem .9rem; border-radius: 10px;
  border: 1px solid var(--border); background: var(--card);
  font-size: .9rem; color: var(--text);
  outline: none; transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,113,227,.12);
}
.form-group textarea { resize: vertical; }
.form-hint { font-size: .78rem; color: var(--muted); }
.checkbox-label { display: flex; align-items: center; gap: .5rem; cursor: pointer; }

.form-actions {
  display: flex; justify-content: flex-end; gap: 1rem;
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* Login */
.login-page {
  min-height: calc(100vh - 52px - 80px);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}
.login-card {
  background: var(--card); border-radius: var(--radius);
  padding: 2.5rem 3rem; width: 100%; max-width: 420px;
  box-shadow: var(--shadow-lg);
}
.login-card h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; margin-bottom: 1.5rem; text-align: center;
}
.login-form { display: flex; flex-direction: column; gap: 1rem; }
.error-msg {
  background: rgba(239,68,68,.1); color: #dc2626;
  border-radius: 8px; padding: .75rem 1rem;
  font-size: .88rem; margin-bottom: .5rem;
}

/* Legal */
.legal-page {
  max-width: 800px; margin: 0 auto;
  padding: 3rem 2rem;
}
.legal-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; margin-bottom: 2rem;
}
.legal-page section { margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.2rem; margin-bottom: .75rem; }
.legal-page p { color: var(--muted); margin-bottom: .75rem; }

/* Footer */
footer {
  background: var(--card); border-top: 1px solid var(--border);
  padding: 2rem; text-align: center;
  font-size: .82rem; color: var(--muted);
}
.footer-legal { margin-top: .5rem; }
.footer-legal a { color: var(--accent); }

/* Admin Tools */
.admin-tools {
  margin-top: 1rem; padding: 1rem;
  background: #f8fafc; border-radius: 10px;
  border: 1px solid var(--border);
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .book-layout { grid-template-columns: 1fr; }
  .book-sidebar { position: static; }
  .book-cover-wrap { max-width: 220px; margin: 0 auto; }
  .amazon-cta-box { flex-direction: column; text-align: center; }
  .amazon-cta-box .btn-amazon { width: 100%; }
}

@media (max-width: 640px) {
  /* Header: Sprach-Switcher ausblenden, kompakter */
  .site-header { padding: 0 .75rem; }
  .lang-switcher { display: none; }
  .btn-upload { padding: .38rem .7rem; font-size: .78rem; }

  /* Hero */
  .hero { padding: 3rem .75rem 2.5rem; }

  /* Filter-Bar: alles untereinander, volle Breite */
  .filter-bar {
    padding: .75rem;
    flex-direction: column;
    align-items: stretch;
    gap: .6rem;
  }
  .lang-toggle { justify-content: flex-start; flex-wrap: wrap; }
  .genre-filters { justify-content: flex-start; }
  .search-form { width: 100%; }
  .search-input { flex: 1; width: auto; min-width: 0; }

  /* Bücher-Grid: 2 Spalten auf Phone */
  .books-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
    padding: 0 .75rem 2rem;
  }
  .card-cover { aspect-ratio: 2 / 3; }
  .card-body { padding: .6rem .75rem .75rem; }
  .card-title { font-size: .88rem; }
  .card-author { font-size: .72rem; }
  .card-teaser { display: none; }       /* Teaser auf Phone weglassen */
  .tags { display: none; }              /* Tags auf Phone weglassen */
  .card-footer { padding-top: .5rem; margin-top: .5rem; justify-content: flex-end; }

  /* Buchdetail */
  .book-page { padding: .75rem .75rem 2rem; }
  .book-title { font-size: 1.5rem; }
  .book-teaser { font-size: 1rem; }
  .amazon-cta-box { padding: 1rem; }
  .amazon-cta-box .btn-amazon { width: 100%; }

  /* Formulare */
  .form-page { padding: 1rem .75rem 3rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column; }
  .form-actions .btn-primary,
  .form-actions .btn-secondary { width: 100%; text-align: center; }

  /* Login */
  .login-card { padding: 1.25rem .75rem; }

  /* Admin */
  .admin-page { padding: 1rem .75rem; }
  .admin-header { flex-direction: column; align-items: stretch; gap: .75rem; }
  .admin-stats { flex-wrap: wrap; }
  .admin-actions { flex-direction: column; }
  .admin-actions .btn-primary,
  .admin-actions .btn-secondary { width: 100%; text-align: center; }

  /* Related Books: 1 Spalte */
  .related-grid { grid-template-columns: 1fr; }
}
