/* ============================================
   VERLAG NARRATIV – Website Stylesheet v5
   Farben: Olivgrün (Sarntal) + Beige/Sand
   Schriften: Source Sans Pro (Fließtext) + Popis (Überschriften) + Uilli (Akzente)
   ============================================ */

@font-face {
  font-family: 'Source Sans Pro';
  src: url('../fonts/SourceSansPro-Light.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans Pro';
  src: url('../fonts/SourceSansPro-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans Pro';
  src: url('../fonts/SourceSansPro-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans Pro';
  src: url('../fonts/SourceSansPro-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Popis';
  src: url('../fonts/Popis-Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Uilli';
  src: url('../fonts/Uilli-Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

:root {
  --green-dark: #8DA320;
  --green-medium: #A3B72C;
  --green-light: #B3C73A;
  --beige: #F0E6D8;
  --beige-light: #F7F2EC;
  --sand: #D4C0A8;
  --accent: #C4A882;
  --highlight: #D49520;
  --highlight-header: #BE8518;
  --text-dark: #2B2B2B;
  --text-muted: #6B6B6B;
  --text-light: #F0E6D8;
  --white: #FFFFFF;
  --font: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-hand: 'Popis', cursive;
  --font-accent: 'Uilli', cursive;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-hover: 0 8px 40px rgba(0,0,0,.14);
  --transition: .3s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: auto; }

/* ---------- CUSTOM CURSOR ---------- */
.has-custom-cursor,
.has-custom-cursor * {
  cursor: none !important;
}

.cursor {
  display: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--highlight);
  opacity: .7;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99999;
  transition: width .15s ease, height .15s ease, opacity .15s ease;
  transform: translate(-50%, -50%);
  will-change: left, top;
}

.cursor::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M4 0l16 12.279-6.951 1.17 4.325 8.817-3.596 1.734-4.35-8.879L4 20V0z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.has-custom-cursor .cursor {
  display: block;
}

.cursor.clicking {
  width: 18px;
  height: 18px;
  opacity: 1;
}

.cursor.hovering {
  width: 44px;
  height: 44px;
  opacity: .4;
}

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: var(--green-dark);
  padding: .75rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.12);
}

.navbar.scrolled .nav-link::after {
  background: var(--white);
}

.navbar.solid {
  background: var(--beige);
  padding: .75rem 0;
}

.navbar.solid .nav-link {
  color: var(--highlight);
  text-shadow: none;
}

.navbar.solid .nav-link::after {
  background: var(--highlight);
}

.navbar.solid .lang-switch {
  color: var(--highlight);
}

.navbar.solid .lang-switch a {
  color: rgba(212,149,32,.4);
}

.navbar.solid .lang-switch a.active {
  color: var(--highlight);
}

.navbar.solid .hamburger span {
  background: var(--highlight);
}

.navbar.solid.scrolled {
  background: var(--green-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,.12);
}

.navbar.solid.scrolled .nav-link {
  color: var(--white);
  text-shadow: 0 1px 6px rgba(0,0,0,.3);
}

.navbar.solid.scrolled .nav-link::after {
  background: var(--white);
}

.navbar.solid.scrolled .lang-switch {
  color: var(--white);
}

.navbar.solid.scrolled .lang-switch a {
  color: rgba(255,255,255,.5);
}

.navbar.solid.scrolled .lang-switch a.active {
  color: var(--white);
}

.navbar.solid.scrolled .hamburger span {
  background: var(--white);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--white);
}

.logo img {
  height: 36px;
  width: auto;
  transition: filter var(--transition);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.5));
}

.navbar.solid .logo img {
  filter: none;
}

.navbar.solid.scrolled .logo img {
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.5));
}

.nav-links { display: flex; gap: 2rem; margin-left: 3rem; }

.nav-link {
  color: var(--white);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .5px;
  text-transform: uppercase;
  position: relative;
  padding: .25rem 0;
  text-shadow: 0 1px 6px rgba(0,0,0,.3);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--highlight);
  transition: width var(--transition);
}

.nav-link:hover::after { width: 100%; }

.lang-switch {
  color: var(--white);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: 1px;
}

.lang-switch a {
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
  padding: .25rem .4rem;
}

.lang-switch a.active { color: var(--white); font-weight: 700; }
.lang-switch a:hover { color: var(--white); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--white); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scale(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--white); }

/* Navbar grün wenn Menü offen */
.navbar.menu-open {
  background: var(--green-dark) !important;
}
.navbar.menu-open .logo img {
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.45)) drop-shadow(0 0 6px rgba(0,0,0,.25));
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(to bottom, rgba(0,0,0,.32) 0%, rgba(0,0,0,.28) 50%, rgba(0,0,0,.44) 100%),
    url("../img/hero-buecher.jpg") center 58% / cover no-repeat,
    #2b2b2b;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 62% 48% at 50% 47%, rgba(0,0,0,.52) 0%, rgba(0,0,0,.30) 50%, transparent 80%),
    radial-gradient(ellipse at 50% 55%, transparent 35%, rgba(0,0,0,.20) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.22) 0%, transparent 22%, transparent 70%, rgba(0,0,0,.30) 100%);
}

/* Floating decoration in hero */
.hero-deco {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.hero-deco-left {
  left: 5%;
  bottom: 10%;
  opacity: .12;
  animation: gentleFloat 6s ease-in-out infinite;
}

.hero-deco-right {
  right: 5%;
  bottom: 14%;
  opacity: .08;
  animation: gentleFloat 7s ease-in-out infinite 1.5s;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 0 2rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Tagline above brand name */
.hero-tagline {
  font-family: var(--font-accent);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: none;
  color: rgba(255,255,255,.95);
  text-shadow: 0 2px 10px rgba(0,0,0,.65), 0 1px 3px rgba(0,0,0,.55);
  opacity: 0;
  margin-bottom: .4rem;
  animation: fadeUp .8s ease forwards;
}

/* Brand name – large, centered, handwritten */
.hero .hero-brand {
  font-family: var(--font-hand);
  font-size: clamp(3.6rem, 8.5vw, 6rem);
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: none;
  color: var(--highlight);
  text-shadow: 0 3px 14px rgba(0,0,0,.72), 0 1px 4px rgba(0,0,0,.6), 0 0 55px rgba(0,0,0,.4);
  opacity: 0;
  margin-bottom: .5rem;
  animation: fadeUp .8s ease .2s forwards;
}

/* Decorative line under brand */
.hero .hero-brand::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--highlight);
  margin: .35rem auto 0;
  opacity: .8;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-shadow: 0 1px 6px rgba(0,0,0,.65), 0 1px 2px rgba(0,0,0,.55);
  text-transform: uppercase;
  opacity: 0;
  margin-top: .8rem;
  margin-bottom: 2.5rem;
  line-height: 1.9;
  animation: fadeUp .8s ease .5s forwards;
}

/* Hero-Zeilenumbrueche nur am Handy, Trenner-Punkt nur am Desktop */
.hero-tagline-br,
.hero-sub-br { display: none; }
.hero-sub-sep { display: inline; }

.hero .btn {
  animation: fadeUp .8s ease .9s forwards;
  opacity: 0;
}

/* --- Creative Scroll CTA (replaces arrow) --- */
.scroll-cta {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  cursor: pointer;
  animation: gentleFloat 3s ease-in-out infinite;
}

@keyframes gentleFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

.scroll-cta svg { display: block; margin: 0 auto .5rem; transform: scale(1.3); }

.scroll-cta span {
  display: block;
  font-size: .65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  text-shadow: 0 1px 6px rgba(0,0,0,.15);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: .85rem 2.5rem;
  font-family: var(--font);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  transition: left .5s ease;
}

.btn:hover::before { left: 100%; }

.btn-primary {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--white);
  color: var(--green-dark);
}

.btn-outline {
  border-color: var(--green-dark);
  color: var(--green-dark);
  background: transparent;
}

.btn-outline:hover {
  background: var(--green-dark);
  color: var(--white);
}

.btn-sm {
  padding: .5rem 1.2rem;
  font-size: .7rem;
  letter-spacing: 1.5px;
}

/* ---------- DECORATIVE DIVIDER ---------- */
.deco-divider {
  text-align: center;
  padding: 0;
  opacity: .2;
  line-height: 0;
}

.deco-divider svg { display: inline-block; }

/* ---------- SECTION HEADING ---------- */
.section-title {
  text-align: center;
  padding: 5rem 2rem 2.5rem;
}

.section-title h2 {
  font-family: var(--font-hand);
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: none;
  color: var(--green-dark);
  position: relative;
  display: inline-block;
  padding: 0 0 1.2rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: var(--highlight);
}

/* ---------- GRID SECTIONS ---------- */
.grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.grid-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 6rem;
}

.grid-text h2 {
  font-family: var(--font-hand);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: none;
  margin-bottom: 1.25rem;
  color: var(--green-dark);
}

.grid-text h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--highlight);
  margin-top: .75rem;
}

.grid-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 460px;
}

.grid-text .btn { align-self: flex-start; }

.grid-image {
  background-size: cover;
  background-position: center;
  min-height: 450px;
}

.grid-color {
  background: var(--green-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Book silhouette in green blocks */
.grid-color .deco-book {
  opacity: .06;
  position: absolute;
}

/* Placeholder text for client */
.placeholder-text {
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  position: relative;
  z-index: 2;
}

.beige-bg .placeholder-text { color: rgba(80,90,50,.25); }

.grid-color.beige-bg { background: var(--sand); }
.grid-color.beige-bg .deco-book { opacity: .05; }

.grid-row.reversed .grid-text { order: 2; }
.grid-row.reversed .grid-color,
.grid-row.reversed .grid-image { order: 1; }

/* Illustration-friendly image containers */
.grid-image.contain-image {
  background-size: contain;
  background-repeat: no-repeat;
  background-color: var(--white);
}

.grid-row.portrait-image {
  min-height: 580px;
}

.grid-row.portrait-image .grid-image {
  min-height: 580px;
}

/* Alternating row backgrounds */
.grid-row.bg-alt {
  background: var(--white);
}

.grid-row.bg-alt .grid-text h2 {
  color: var(--green-dark);
}

/* ---------- QUOTE BANNER ---------- */
.quote-banner {
  background: rgba(212, 149, 32, .18);
  color: var(--green-dark);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-banner::before {
  content: '\201E';
  position: absolute;
  top: 1.5rem;
  left: 5%;
  font-size: 6.5rem;
  color: rgba(212, 149, 32, .22);
  font-family: Georgia, serif;
  line-height: 1;
}

.quote-banner::after {
  content: '\201C';
  position: absolute;
  bottom: 1rem;
  right: 5%;
  font-size: 6.5rem;
  color: rgba(212, 149, 32, .22);
  font-family: Georgia, serif;
  line-height: 1;
}

.quote-banner blockquote {
  font-family: var(--font-hand);
  font-size: clamp(1.8rem, 3vw, 2.15rem);
  font-weight: 300;
  font-style: normal;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
  color: var(--green-dark);
  opacity: .9;
  position: relative;
  z-index: 1;
}

.quote-banner .deco-quill {
  position: absolute;
  bottom: 1.5rem;
  right: 8%;
  opacity: .06;
}

/* ---------- ÜBER UNS ---------- */
.ueber-uns { padding: 0; padding-bottom: 3rem; background: var(--white); }

.ueber-uns-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 450px;
}

.ueber-uns-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 5rem;
  order: 2;
}

.ueber-uns-text h2 {
  font-family: var(--font-hand);
  font-size: 2rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 1px;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  color: var(--green-dark);
}

.ueber-uns-text h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--highlight);
  margin-top: .75rem;
}

.ueber-uns-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: .95rem;
}

.ueber-uns-text .btn { align-self: flex-start; }

.ueber-uns-image {
  background: var(--beige);
  min-height: 550px;
  position: relative;
  overflow: hidden;
  order: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.ueber-uns-image .deco-book-large {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: .08;
}

.ueber-uns-image .placeholder-text {
  color: rgba(80,90,50,.3);
  position: relative;
  z-index: 2;
}

/* ---------- ÜBER UNS SUBPAGE ---------- */
.ueber-uns-centered {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
}

.ueber-uns-centered p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 2;
}

.team-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 3rem;
}

.team-list li {
  padding: 2rem 1rem;
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.team-list li::before { display: none; }

.team-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 1rem;
}

.team-photo-placeholder {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  display: block;
  margin: 0 auto 1rem;
  background: radial-gradient(circle at 50% 42%, #faf6ea 0%, #eef1da 58%, #e4e8c6 100%);
  box-shadow: inset 0 0 0 2px rgba(141,163,32,.20);
  position: relative;
}

.team-photo-placeholder::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 6 Q8 4 3 6 L3 19 Q8 17 12 18.5 Z' stroke='%23627815' stroke-width='1.4' fill='none' stroke-linejoin='round'/%3E%3Cpath d='M12 6 Q16 4 21 6 L21 19 Q16 17 12 18.5 Z' stroke='%23627815' stroke-width='1.4' fill='none' stroke-linejoin='round'/%3E%3Cline x1='12' y1='6' x2='12' y2='18.5' stroke='%23627815' stroke-width='1.4'/%3E%3C/svg%3E");
}

/* Rollen-Symbole für Platzhalter ohne Foto */
.team-ph-didaktik::after {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='9.2' r='5.2' stroke='%23627815' stroke-width='1.4'/%3E%3Cpath d='M9.6 15.4 L14.4 15.4 M10.3 17.6 L13.7 17.6 M11 19.6 L13 19.6' stroke='%23627815' stroke-width='1.4' stroke-linecap='round'/%3E%3Cpath d='M10.3 9.6 L12 7.7 L13.7 9.6' stroke='%23627815' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.team-ph-vertrieb::after {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3.3 L20.3 7.5 L20.3 16.5 L12 20.7 L3.7 16.5 L3.7 7.5 Z' stroke='%23627815' stroke-width='1.4' stroke-linejoin='round'/%3E%3Cpath d='M3.7 7.5 L12 11.7 L20.3 7.5' stroke='%23627815' stroke-width='1.4' stroke-linejoin='round'/%3E%3Cpath d='M12 11.7 L12 20.7' stroke='%23627815' stroke-width='1.4'/%3E%3Cpath d='M7.85 5.4 L16.15 9.6' stroke='%23627815' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
}
.team-ph-druckerei::after {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 9.2 L7 5.2 L17 5.2 L17 9.2' stroke='%23627815' stroke-width='1.4' stroke-linejoin='round'/%3E%3Crect x='3.9' y='9.2' width='16.2' height='6.2' rx='1.3' stroke='%23627815' stroke-width='1.4'/%3E%3Ccircle cx='16.6' cy='12.3' r='0.5' fill='%23627815'/%3E%3Cpath d='M7.3 15.4 L7.3 20 L16.7 20 L16.7 15.4' stroke='%23627815' stroke-width='1.4' stroke-linejoin='round'/%3E%3Cpath d='M9.4 17.4 L14.6 17.4 M9.4 18.7 L13 18.7' stroke='%23627815' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.team-list .team-name {
  display: inline-block;
  vertical-align: middle;
  font-family: var(--font-hand);
  font-size: 1.2rem;
  color: var(--highlight);
}

.team-list .team-name::after {
  content: '';
  display: inline-block;
  width: 1.5px;
  height: 1.15em;
  background: var(--highlight);
  vertical-align: middle;
  margin: 0 .7rem;
}

.team-list .team-multi .team-name {
  margin-left: 0;
}

.team-list .team-multi .team-name::after {
  height: 2.2em;
}

.team-desc {
  display: inline-block;
  vertical-align: middle;
  text-align: left;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--green-dark);
  color: var(--text-light);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1.2fr auto;
  gap: 2.5rem;
  align-items: start;
}

.footer h4 {
  font-family: var(--font-hand);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: none;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.footer p, .footer a {
  font-size: .9rem;
  line-height: 1.9;
  color: rgba(255,255,255,.8);
}

.footer a:hover { color: var(--white); }

.footer-contact p {
  font-size: .95rem;
  color: rgba(255,255,255,.9);
}

.footer-contact a {
  color: rgba(255,255,255,.9);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact a:hover { color: var(--white); }

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

.social-icon {
  width: 44px; height: 44px;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.social-icon:hover {
  border-color: var(--highlight);
  background: rgba(255,255,255,.08);
  transform: scale(1.1);
}

.social-icon svg {
  width: 18px; height: 18px;
  fill: var(--white);
}

.footer-legal {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.25);
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.footer-legal a {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  letter-spacing: .5px;
  transition: color var(--transition);
}

.footer-legal a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1100px;
  margin: 1rem auto 0;
  text-align: center;
  font-size: .75rem;
  color: rgba(255,255,255,.55);
}

.footer-bottom .webdesign-credit {
  color: var(--white);
  font-weight: 600;
}

/* ---------- SUBPAGE HERO ---------- */
.subpage-hero {
  background: var(--beige);
  padding: 8rem 2rem 4rem;
  text-align: center;
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
}

/* Book decoration handled via .subpage-hero-book SVG */

.subpage-hero-book {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  opacity: .35;
  pointer-events: none;
}

.subpage-hero-book-left {
  position: absolute;
  left: 6%;
  bottom: 15%;
  opacity: .25;
  pointer-events: none;
}

.subpage-hero h1 {
  font-family: var(--font-hand);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 1px;
  margin-bottom: .75rem;
  color: var(--green-dark);
}

.subpage-hero p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

.subpage-hero-book,
.subpage-hero-book-left {
  filter: sepia(1) saturate(4) hue-rotate(-10deg) brightness(0.85);
  opacity: .12;
}

/* ---------- SUBPAGE CONTENT ---------- */
.subpage-content { padding: 5rem 2rem; }
.subpage-content .container { max-width: 1000px; }

.subpage-intro {
  max-width: 700px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.subpage-intro p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.subpage-section-title {
  text-align: center;
  font-family: var(--font-hand);
  font-size: 1.6rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 1px;
  color: var(--green-dark);
  margin-bottom: 2rem;
}

.subpage-section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--highlight);
  margin: .75rem auto 0;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.book-card {
  background: var(--white);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
  cursor: pointer;
  border: none;
  position: relative;
  display: flex;
  flex-direction: column;
}

a.book-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.book-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
}

.book-card-image {
  height: 320px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1.5rem;
}

.book-card-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: 100%;
  object-fit: contain;
  transition: transform .4s ease;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.22));
}

.book-card:hover .book-card-image img {
  transform: scale(1.04);
}

.book-card-image .placeholder-icon,
.book-card-image .placeholder-text {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: .3;
  color: var(--green-dark);
}

.book-card-body {
  padding: 1rem 1.5rem 1rem;
  border-top: 2px solid var(--highlight);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.book-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .15rem;
  color: var(--green-dark);
  line-height: 1.3;
}

.book-card-body .book-subtitle {
  font-family: var(--font-hand);
  font-size: 1.1rem;
  color: var(--highlight);
  margin-bottom: .75rem;
  line-height: 1.3;
}

.book-card-body p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.book-card-body .book-meta {
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: 0;
  opacity: .6;
  letter-spacing: .3px;
}

.book-card-body .book-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-top: .25rem;
  margin-bottom: 0;
}

.book-card-body .price {
  display: inline-block;
  margin-top: .75rem;
  font-weight: 600;
  color: var(--green-dark);
  font-size: .9rem;
}

.book-card-body .book-band {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: .6;
  margin-bottom: .25rem;
}

.book-card .btn-shop {
  display: block;
  text-align: center;
  padding: .55rem 1rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-dark);
  border-top: 1px solid rgba(0,0,0,.06);
  margin-top: auto;
  transition: background .3s ease, color .3s ease;
}

.book-card:hover .btn-shop {
  background: var(--green-dark);
  color: var(--white);
}

/* Centered 2-card grid for pages with few books */
.book-grid-centered {
  grid-template-columns: repeat(2, 1fr);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

/* Placeholder/upcoming book styling */
.book-card.upcoming {
  opacity: .6;
  position: relative;
}

.book-card.upcoming .book-card-image {
  background: var(--beige-light);
}

.upcoming-badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--beige);
  padding: .2rem .6rem;
  margin-top: .5rem;
}

/* Inline text highlights for keyword formatting */
.text-highlight {
  font-weight: 500;
  color: var(--highlight);
}

.text-medium {
  font-weight: 500;
}

.shop-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
}

.shop-cta p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: .95rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--green-dark);
  margin-bottom: 1.5rem;
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-top: 2rem;
  margin-bottom: .75rem;
}

.legal-content ul {
  list-style: none;
  padding: 0;
}

.legal-content ul li {
  padding: .5rem 0;
  border-bottom: 1px solid rgba(80,90,50,.08);
  color: var(--text-dark);
  font-size: .95rem;
}

.legal-content ul li:last-child {
  border-bottom: none;
}

.themenweg-section {
  background: var(--beige-light);
  padding: 5rem 2rem;
}

.themenweg-section h2 {
  text-align: center;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.themenweg-section h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--highlight);
  margin: .75rem auto 0;
}

.themenweg-section > .container > p {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: .95rem;
}

.themenweg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.themenweg-card {
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.themenweg-card:hover { transform: translateY(-4px); }

.themenweg-card-image {
  height: 200px;
  background: var(--green-medium);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.themenweg-card-image::before {
  content: '';
  width: 120px; height: 120px;
  border: 2px solid rgba(255,255,255,.05);
  border-radius: 50%;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}

.themenweg-card-body { padding: 1.5rem; }

.themenweg-card-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .5rem;
  color: var(--green-dark);
}

.themenweg-card-body p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- KONTAKT ---------- */
.kontakt-grid {
  max-width: 560px;
  margin: 0;
  padding: 0 1rem;
}

.kontakt-info h3, .kontakt-form h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.kontakt-item {
  display: flex;
  align-items: flex-start;
  text-align: left;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.kontakt-item .icon {
  width: 40px; height: 40px;
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.kontakt-item .details p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.kontakt-item .details strong {
  color: var(--text-dark);
  font-weight: 600;
  display: block;
  margin-bottom: .15rem;
}

.markt-liste {
  list-style: none;
  padding: 0;
  margin: .25rem 0 0;
  text-align: left;
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.markt-liste li {
  padding: .15rem 0;
}

.markt-datum {
  font-weight: 600;
  color: var(--green-dark);
  display: inline-block;
  min-width: 130px;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .4rem;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid rgba(0,0,0,.12);
  font-family: var(--font);
  font-size: .9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus, .form-group textarea:focus { border-color: var(--green-dark); }
.form-group textarea { resize: vertical; min-height: 120px; }

.kontakt-map {
  margin-top: 4rem;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
}

.kontakt-map iframe {
  display: block;
  width: 100%;
  height: 350px;
  border: 0;
}

/* ---------- LIGHTBOX ---------- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  cursor: pointer;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  transform: scale(.9);
  transition: transform .3s ease;
}

.lightbox-overlay.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: none;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 50%;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.lightbox-close:hover {
  border-color: white;
  background: rgba(255,255,255,.1);
}

/* ---------- FOOTER LOGO ---------- */
.footer-logo {
  height: 28px;
  width: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.5));
}

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- BACK-TO-TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--highlight);
  color: var(--white);
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), border-color var(--transition);
  z-index: 999;
  border-radius: 50%;
}

.back-to-top.show { opacity: 1; pointer-events: all; }
.back-to-top:hover { border-color: var(--green-dark); }

/* ---------- MOBILE NAV ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--green-dark);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  transform: translateX(100%);
  transition: transform .4s ease;
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav a {
  color: var(--white);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.mobile-nav .lang-switch-mobile {
  margin-top: 1rem;
  color: rgba(255,255,255,.5);
  font-size: .85rem;
}

.mobile-nav .lang-switch-mobile a { color: rgba(255,255,255,.5); }
.mobile-nav .lang-switch-mobile a.active { color: var(--white); }

/* ---------- LANG SWITCH HOVER ---------- */
.lang-switch a {
  position: relative;
}

.lang-switch a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--white);
  transition: width var(--transition);
}

.lang-switch a:hover::after { width: 100%; }
.lang-switch a.active::after { width: 0; }

/* ---------- IN PLANUNG – nicht klickbar ---------- */
.book-card.upcoming {
  cursor: default;
  pointer-events: none;
}

.book-card.upcoming:hover {
  transform: none;
  box-shadow: none;
}

/* Erschienen, aber (noch) kein Shop-Link – volle Deckkraft, nicht klickbar */
.book-card.no-link {
  cursor: default;
  pointer-events: none;
}

/* ---------- ZWEITES ZITAT-BANNER ---------- */
.quote-banner-alt {
  background: rgba(212, 149, 32, .18);
  color: var(--green-dark);
  padding: 5.5rem 2rem;
  margin-top: 3.5rem;
}

.quote-banner-alt::before {
  color: rgba(212, 149, 32, .22);
}

.quote-banner-alt::after {
  color: rgba(212, 149, 32, .22);
}

.quote-banner-alt blockquote {
  color: var(--green-dark);
  font-family: var(--font-hand);
  font-style: normal;
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.15rem);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .grid-text { padding: 3rem; }
  .ueber-uns-text { padding: 3rem; }
}

@media (max-width: 768px) {
  .nav-links, .lang-switch { display: none; }
  .hamburger { display: flex; }
  .grid-row { grid-template-columns: 1fr; }
  .grid-row.reversed .grid-text { order: 1; }
  .grid-row.reversed .grid-color,
  .grid-row.reversed .grid-image { order: 2; }
  .grid-text { padding: 3rem 2rem; }
  .grid-color, .grid-image { min-height: 250px; }
  /* Spiel-&-Spass-Bild am Handy: ganze Illustration sichtbar, kompakt (weniger Weissraum) */
  .grid-image.grid-image-spielspass { min-height: 175px; background-size: 120% !important; background-position: center 69% !important; }
  .ueber-uns-inner { grid-template-columns: 1fr; }
  .ueber-uns-text { order: 1; padding: 2.5rem 2rem; }
  .ueber-uns-image { order: 2; min-height: 300px; background-position: center !important; background-size: cover !important; }
  .team-list { grid-template-columns: 1fr; max-width: 400px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-inner > div:last-child { grid-column: 1 / -1; }
  .social-icons { flex-direction: row; }
  .kontakt-grid { grid-template-columns: 1fr; gap: 3rem; }
  /* Kontakt am Handy: Inhalt weiter nach links (doppelten Seitenabstand abbauen) */
  .kontakt-page { padding-left: 1.25rem; padding-right: 1.25rem; }
  .kontakt-page .container { padding-left: 0; padding-right: 0; }
  .kontakt-grid { padding-left: 0; padding-right: 0; }
  .hero-deco { display: none; }
  .subpage-hero-book, .subpage-hero-book-left { display: none; }
  /* Hero fuellt den ganzen Handy-Bildschirm, Inhalt etwas hoeher gesetzt */
  .hero { height: auto; min-height: 100vh; min-height: 100svh; padding: 3rem 1.5rem 7rem; }
  /* Weniger Seitenabstand am Handy, damit "Verlag Narrativ" groesser passt */
  .hero-content { padding: 0 1rem; }
  .hero-subtitle { font-size: .72rem; letter-spacing: 1px; line-height: 1.7; margin-top: 1rem; margin-bottom: 1.6rem; }
  /* Hero-Umbrueche am Handy zeigen, Desktop-Trenner ausblenden */
  .hero-tagline-br, .hero-sub-br { display: inline; }
  .hero-sub-sep { display: none; }
  /* Tagline zweizeilig: enger Zeilenabstand */
  .hero-tagline { line-height: 1.1; margin-bottom: .6rem; }
  /* Subtitle zweizeilig (Kategorien 2x2): etwas mehr Zeilenabstand */
  .hero-subtitle { line-height: 2; }
  /* Scroll-Hinweis (offenes Buch) am Handy sichtbar, etwas kleiner */
  .scroll-cta { bottom: 1.2rem; }
  .scroll-cta svg { transform: scale(1); }
  /* Deko-Anfuehrungszeichen am Handy ganz weg (Bloecke sonst zu gross) */
  .quote-banner::before, .quote-banner::after,
  .quote-banner-alt::before, .quote-banner-alt::after { display: none; }
  /* Zitat-Balken am Handy wieder duenner (weniger Hoehe) */
  .quote-banner, .quote-banner-alt { padding: 2.5rem 1.5rem; }
  /* Unterseiten-Intro wieder zentriert */
  .subpage-intro { text-align: center; }
  /* Markttermine: Datum in eigene Zeile, Ort darunter */
  .markt-datum { display: block; min-width: 0; margin-bottom: .1rem; }
  .grid-image.contain-image { background-size: contain !important; min-height: 300px; }
  .book-card { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
  .book-card:hover { transform: none; box-shadow: 0 4px 16px rgba(0,0,0,.08); }
  .book-card:hover .book-card-image img { transform: none; }
  .book-card .btn-shop { background: var(--green-dark); color: var(--white); }
  .book-card:hover .btn-shop { background: var(--green-dark); color: var(--white); }
  .book-grid { grid-template-columns: 1fr; }
  .has-custom-cursor, .has-custom-cursor * { cursor: auto !important; }
  .cursor { display: none !important; }
}

@media (max-width: 480px) {
  .hero .hero-brand { font-size: 4rem; line-height: 1.02; letter-spacing: 1px; }
  .hero-tagline { font-size: 1.7rem; letter-spacing: 1.5px; }
  .grid-text h2 { font-size: 1.4rem; }
  .subpage-hero h1 { font-size: 1.6rem; }
  .book-grid, .book-grid-centered { grid-template-columns: 1fr; max-width: none; }
}
