:root{
  --bg: #0f1115;
  --panel: #151926;
  --muted: #10131c;
  --text: #e8eaf0;
  --soft: rgba(232,234,240,.78);
  --line: rgba(232,234,240,.14);
  --btn: rgba(232,234,240,.10);
  --btn2: rgba(232,234,240,.16);
  --accent: #f2d08a;

  --radius: 16px;
  --max: 1100px;

  --header-h: 76px; /* wird von site.js automatisch gesetzt */
}

*{ box-sizing: border-box; }
html,body{ height:100%; }

html{
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: linear-gradient(180deg, var(--bg), #0b0d12 60%, #07080b);
  color: var(--text);
  line-height: 1.55;
  padding-top: var(--header-h);
}

a{ color: var(--text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover{ text-decoration-thickness: 2px; }

code{
  background: rgba(232,234,240,.08);
  border: 1px solid rgba(232,234,240,.12);
  padding: 2px 6px;
  border-radius: 8px;
}

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip{
  position:absolute;
  left:-999px;
  top:-999px;
  background: var(--panel);
  border:1px solid var(--line);
  padding: 10px 12px;
  border-radius: 10px;
}
.skip:focus{ left:16px; top:16px; z-index: 1000; }

/* Header bleibt immer sichtbar */
.site-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(15,17,21,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  padding: 14px 0;
}

/* Brand: Logo + offizieller Name */
.brand{
  text-decoration: none;
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 0;
}

<a class="brand" href="index.html">
  <img class="brand-logo" src="assets/logo-gbr.webp" alt="" />
  <img class="brand-wordmark" src="assets/schriftzug-gbr.webp" alt="" />
  <span class="sr-only">HÖRSPIELBÜCHER Ariane Seeger und Markus Hahn GbR</span>
</a>

.nav{
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
}
.nav a{
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
}
.nav a:hover{
  background: rgba(232,234,240,.06);
  border-color: rgba(232,234,240,.08);
}

.hero{ padding: 54px 0 26px; }
.hero-inner{
  background: radial-gradient(1200px 600px at 30% -30%, rgba(242,208,138,.12), transparent 70%);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: 28px;
}

h1{ margin: 0 0 10px; font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.15; }
.page-title{ margin:0; font-size: 1.65rem; line-height: 1.15; }
.lead{
  margin: 0 0 18px;
  color: var(--soft);
  font-size: 1.05rem;
  max-width: 78ch;
}

.pill-row{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 16px;
}
.pill{
  font-size: .92rem;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(21,25,38,.40);
  color: var(--soft);
  text-decoration: none;
}
.pill.link{ color: var(--text); }
.pill.link:hover{ background: rgba(232,234,240,.08); }

.hero-actions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.btn{
  display:inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--btn);
  text-decoration: none;
}
.btn:hover{ background: var(--btn2); }
.btn.primary{
  border-color: rgba(242,208,138,.45);
  box-shadow: 0 0 0 1px rgba(242,208,138,.08) inset;
}
.btn.small{
  padding: 8px 12px;
  font-size: .92rem;
}

.section{ padding: 34px 0; }
.section.muted{
  background: linear-gradient(180deg, rgba(16,19,28,.55), rgba(16,19,28,.0));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

h2{ margin: 0; font-size: 1.35rem; letter-spacing: .2px; }
h3{ margin: 0 0 6px; font-size: 1.05rem; line-height: 1.25; }

.tools{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
}
.search input, .select select{
  width: 260px;
  max-width: 72vw;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(21,25,38,.65);
  color: var(--text);
}
.select select{ width: 200px; }

/* --- Carousel (Startseite) --- */
.carousel{
  display:grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items:center;
}
.car-btn{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(21,25,38,.45);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.car-btn:hover{ background: rgba(232,234,240,.10); }

.car-track{
  display:flex;
  gap: 12px;
  overflow:auto;
  scroll-snap-type: x mandatory;
  padding: 2px;
}
.car-track::-webkit-scrollbar{ height: 10px; }
.car-track::-webkit-scrollbar-thumb{ background: rgba(232,234,240,.18); border-radius: 999px; }

.mini-card{
  scroll-snap-align: start;
  min-width: 220px;
  max-width: 220px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  background: rgba(21,25,38,.55);
  text-decoration:none;
}

.mini-cover{
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, rgba(232,234,240,.06), rgba(232,234,240,.03));
  border-bottom: 1px solid var(--line);

  display:flex;
  align-items:center;
  justify-content:center;
  padding: 10px; /* Passepartout */
}

.mini-cover img{
  width: 100%;
  height: 100%;
  object-fit: contain;   /* WICHTIG: nichts wird abgeschnitten */
  display:block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}


.mini-body{ padding: 12px; }
.mini-meta{ color: var(--soft); font-size: .92rem; margin-top: 4px; }

/* --- Produktseite: kompakte Karten --- */
.product-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 12px;
  /* Geplante Veröffentlichungen: immer 1 Karte pro Zeile */
  .product-grid--single{
  grid-template-columns: 1fr;
}

}

.product-card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(21,25,38,.55);
  overflow:hidden;
  display:flex;
}

.pc-cover{
  width: 96px;
  flex: 0 0 96px;
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, rgba(232,234,240,.06), rgba(232,234,240,.03));
  border-right: 1px solid var(--line);

  display:flex;
  align-items:center;
  justify-content:center;
  padding: 8px; /* Passepartout */
}

.pc-cover img{
  width: 100%;
  height: 100%;
  object-fit: contain;   /* WICHTIG: nichts wird abgeschnitten */
  display:block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}


.pc-body{
  padding: 12px;
  display:flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.pc-title{
  margin:0;
  font-size: 1rem;
  line-height: 1.2;
}
.pc-sub{
  color: var(--soft);
  font-size: .92rem;
  margin-top: 3px;
}
.pc-meta{
  color: var(--soft);
  font-size: .88rem;
}
.pc-desc{
  margin: 6px 0 0;
  color: var(--soft);
  font-size: .96rem;
  line-height: 1.45;
}
.pc-actions{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.pc-actions a{
  text-decoration:none;
  border: 1px solid var(--line);
  background: var(--btn);
  padding: 7px 10px;
  border-radius: 12px;
  font-size: .90rem;
}
.pc-actions a:hover{ background: var(--btn2); }

.badges{
  display:flex;
  gap: 6px;
  flex-wrap: wrap;
}
.badge{
  font-size: .76rem;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(242,208,138,.22);
  background: rgba(242,208,138,.06);
  color: rgba(242,208,138,.95);
}

.two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.bio{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(21,25,38,.35);
  padding: 14px;
}

.list{
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--soft);
}
.list li{ margin: 8px 0; }

.contact{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(21,25,38,.35);
  padding: 14px;
}

.site-footer{
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--soft);
}
.footer-links{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-links a{ color: var(--soft); }

.fineprint{
  margin-top: 14px;
  color: var(--soft);
  font-size: .92rem;
}
.notice{
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--soft);
}

.sr-only{
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  border:0;
}

/* skeleton */
.skeleton .mini-cover, .skeleton .pc-cover{ background: rgba(232,234,240,.07); }
.skeleton .line{
  height: 12px;
  border-radius: 8px;
  background: rgba(232,234,240,.10);
}
.skeleton .line.short{ width: 60%; }

@media (max-width: 980px){
  .two-col{ grid-template-columns: 1fr; }
}
@media (max-width: 700px){
  .pc-cover{ width: 82px; flex-basis: 82px; }
  .brand-logo{ height: 36px; }
  .car-btn{ display:none; }
}
@media (max-width: 560px){
  .header-inner{ align-items:flex-start; flex-direction: column; }
  .search input, .select select{ width: 100%; }
  .carousel{ grid-template-columns: 1fr; }
  .brand-title, .brand-subtitle{ white-space: normal; }
}
/* In Planung: 1 pro Zeile + mehr Platz fürs Cover */
.product-grid--single .pc-cover{
  width: 120px;
  flex-basis: 120px;
}

/* optional: auf kleinen Screens etwas kleiner, damit Text nicht gequetscht wird */
@media (max-width: 700px){
  .product-grid--single .pc-cover{
    width: 104px;
    flex-basis: 104px;
  }
}

/* Geplante Veröffentlichungen: IMMER genau 1 Produkt pro Zeile */
#plannedGrid{
  display: grid;
  grid-template-columns: 1fr !important;
}

/* falls irgendwo flex o.ä. greifen sollte: Karten sollen volle Breite nehmen */
#plannedGrid > .product-card{
  width: 100%;
}
/* Header etwas höher, damit Unterlängen (g, p, y) nicht abgeschnitten werden */
.site-header{
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand-title{
  line-height: 1.25;
}

/* ===== Theme: Classic Petrol (wie alte Seite, nicht "Trauer") ===== */
:root{
  --bg: #e8eff0;
  --panel: rgba(255,255,255,.86);
  --muted: rgba(255,255,255,.55);

  --text: #142225;
  --soft: rgba(20,34,37,.72);
  --line: rgba(20,34,37,.14);

  --btn: rgba(20,34,37,.06);
  --btn2: rgba(20,34,37,.10);

  --accent: #c4a861; /* warmes Gold wie früher */
}

/* Seitenhintergrund hell + ruhig */
body{
  background: linear-gradient(180deg, #f4f8f9, var(--bg) 40%, #dde7e9);
  color: var(--text);
}

/* Header im Petrol – wie früher */
.site-header{
  background: rgba(139,161,165,.96);
  border-bottom: 1px solid rgba(255,255,255,.45);
}
.site-header,
.site-header a{
  color: rgba(255,255,255,.95);
}

/* Links im Content: goldig wie früher */
a{ color: #8b6b1f; }
a:hover{ color: #6f5312; }

/* Nav soll weiß bleiben */
.nav a{ color: rgba(255,255,255,.95); }
.nav a:hover{
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.18);
}

/* Karten/Flächen hell */
.hero-inner,
.mini-card,
.product-card,
.bio,
.contact{
  background: var(--panel);
  border-color: rgba(20,34,37,.12);
}

/* Suchfelder/Dropdowns hell */
.search input,
.select select{
  background: rgba(255,255,255,.92);
  color: var(--text);
  border-color: rgba(20,34,37,.16);
}

/* Pills/Badges auf hell anpassen */
.pill{
  background: rgba(20,34,37,.06);
  color: rgba(20,34,37,.72);
  border-color: rgba(20,34,37,.12);
}
.pill.link{ color: var(--text); }
/* ===== Brand: Logo + Schriftzug-Grafik ===== */
.brand-wordmark{
  height: 42px;
  width: auto;
  max-width: min(520px, 60vw);
  opacity: .98;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
}

/* etwas mehr Luft im Header, damit nichts "klemmt" */
.header-inner{
  padding: 16px 0;
}

/* responsive: auf kleineren Screens Schriftzug etwas kleiner */
@media (max-width: 700px){
  .brand-wordmark{ height: 34px; }
  .brand-logo{ height: 34px; } /* passt zum bestehenden Breakpoint :contentReference[oaicite:1]{index=1} */
}

/* ganz klein: nur das Logo anzeigen (Schriftzug wäre zu breit) */
@media (max-width: 420px){
  .brand-wordmark{ display:none; }
}
.hero-lockup{
  width: min(780px, 100%);
  height: auto;
  display: block;
  margin: 0 auto 12px;
  opacity: .98;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,.18));
}
/* Startseite: großer Marken-Moment (Schriftzug + Logo nebeneinander) */
.hero-brand{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 0 auto 12px;
}

.hero-wordmark{
  height: auto;
  width: auto;
  max-width: min(780px, 78vw);
  flex: 1 1 520px;
  opacity: .98;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,.18));
}

.hero-mark{
  height: 92px;
  width: auto;
  flex: 0 0 auto;
  opacity: .98;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,.18));
}

/* Mobile: untereinander, damit nichts gequetscht wirkt */
@media (max-width: 700px){
  .hero-brand{
    flex-direction: column;
    gap: 10px;
  }
  .hero-wordmark{
    max-width: 100%;
    flex: none;
  }
  .hero-mark{
    height: 74px;
  }
}
/* Startseite: Schriftzug + Logo rechts AUF dem Schriftzug */
.hero-brand--overlay{
  position: relative;
  display: block;
  width: min(980px, 100%);
  margin: 0 auto 14px;
}

.hero-brand--overlay .hero-wordmark{
  display: block;
  width: 100%;
  height: auto;
  opacity: .98;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,.18));
}
