/* ============================================
   Quelle des Wachstums — Stylesheet
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  background-color: #F9F6F1;
  color: #2C2C2C;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: #9E7A2E;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #7A5E1F;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  font-weight: normal;
  line-height: 1.3;
  color: #1E1E1E;
}

/* --- Hero Header --- */
.site-header {
  position: relative;
  text-align: center;
  overflow: hidden;
  background: #F9F6F1;
}

.header-banner {
  display: none;
}

.header-content {
  padding: 1.25rem 1.5rem 1.5rem;
  background: #F9F6F1;
}

.header-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 0.75rem;
  object-fit: cover;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  border: 3px solid #F9F6F1;
  position: relative;
  z-index: 1;
}

.site-title {
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
}

.site-tagline {
  font-size: 0.9rem;
  color: #5A5A5A;
  max-width: 560px;
  margin: 0 auto;
  font-style: italic;
}

/* --- TikTok In-App-Browser Hinweis --- */
.tiktok-hint {
  max-width: 800px;
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  background: #FFF8E7;
  border-bottom: 1px solid rgba(196, 162, 101, 0.3);
  font-size: 0.82rem;
  color: #5A4A2A;
  text-align: center;
  line-height: 1.5;
}

/* --- Main Content --- */
.main-content {
  flex: 1;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

/* --- Video Cards --- */
.video-card {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 2rem;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.video-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.video-card.featured {
  border: 1px solid rgba(196, 162, 101, 0.3);
}

.video-card.featured .video-card-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9E7A2E;
  padding: 1rem 1.25rem 0;
}

/* --- Video Embed Container --- */
.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background: #1a1a1a;
  cursor: pointer;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-embed .video-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-embed .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 12px;
  pointer-events: none;
  transition: background 0.2s ease;
}

.video-embed:hover .play-button {
  background: rgba(204, 0, 0, 0.9);
}

.play-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
}

/* --- Video Card Body --- */
.video-card-body {
  padding: 1.25rem;
}

.video-card-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.video-card-description {
  font-size: 0.9rem;
  color: #4A4A4A;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* --- Book Recommendations --- */
.book-list {
  list-style: none;
  padding: 0;
  margin-bottom: 0.75rem;
}

.book-list li {
  padding: 0.35rem 0;
  font-size: 0.88rem;
}

.book-list a {
  color: #2C2C2C;
  border-bottom: 1px solid rgba(158, 122, 46, 0.3);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.book-list a:hover {
  color: #9E7A2E;
  border-bottom-color: #9E7A2E;
}

.affiliate-note {
  font-size: 0.75rem;
  color: #888;
  font-style: italic;
  line-height: 1.5;
}

.app-hint {
  font-size: 0.82rem;
  color: #6a6a6a;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  line-height: 1.5;
}

.app-hint a {
  color: #9E7A2E;
  font-weight: 600;
  border-bottom: 1px solid rgba(158, 122, 46, 0.3);
}

.app-hint a:hover {
  border-bottom-color: #9E7A2E;
}

/* --- GongMeister App Banner --- */
.app-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #1a1008 0%, #2a1a0a 100%);
  border-radius: 12px;
  color: #e8dcc8;
  transition: box-shadow 0.3s ease;
}

.app-banner:hover {
  box-shadow: 0 4px 20px rgba(158, 122, 46, 0.2);
  color: #e8dcc8;
}

.app-banner-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
}

.app-banner-text {
  flex: 1;
  min-width: 0;
}

.app-banner-text strong {
  display: block;
  font-size: 0.88rem;
  color: #C4A265;
  margin-bottom: 0.2rem;
}

.app-banner-text p {
  font-size: 0.82rem;
  line-height: 1.45;
  color: #b8a88a;
  margin: 0;
}

.app-banner-cta-wrapper {
  flex-shrink: 0;
  text-align: center;
}

.app-banner-cta {
  display: inline-block;
  font-size: 0.78rem;
  padding: 0.4rem 0.85rem;
  background: #C4A265;
  color: #1a1008;
  border-radius: 6px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.app-banner:hover .app-banner-cta {
  background: #d4b275;
}

.app-banner-tiktok-hint {
  display: block;
  font-size: 0.7rem;
  color: #d4b275;
  margin-top: 0.5rem;
  line-height: 1.4;
  white-space: nowrap;
}

/* --- GongMeister Icon in Social Button --- */
.gongmeister-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- Social Links --- */
.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.25rem 1.25rem 0.25rem;
  max-width: 800px;
  margin: 0 auto;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-size: 0.85rem;
  color: #2C2C2C;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.social-link:hover {
  border-color: #C4A265;
  box-shadow: 0 2px 8px rgba(196, 162, 101, 0.15);
  color: #2C2C2C;
}

.social-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* --- Footer --- */
.site-footer {
  text-align: center;
  padding: 1.5rem 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.8rem;
  color: #888;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #888;
  font-size: 0.8rem;
}

.footer-links a:hover {
  color: #9E7A2E;
}

/* --- Legal Pages (Impressum, Datenschutz) --- */
.legal-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.legal-page h1 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.legal-page h2 {
  font-size: 1.15rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-page p,
.legal-page address {
  margin-bottom: 1rem;
  font-style: normal;
}

.legal-page a {
  border-bottom: 1px solid rgba(158, 122, 46, 0.3);
}

.legal-page a:hover {
  border-bottom-color: #9E7A2E;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  color: #888;
}

.back-link:hover {
  color: #9E7A2E;
}

/* --- Responsive --- */
@media (min-width: 600px) {
  .header-logo {
    width: 100px;
    height: 100px;
    margin-top: 0;
  }

  .site-title {
    font-size: 1.85rem;
  }

  .site-tagline {
    font-size: 1rem;
  }

  .main-content {
    padding: 2rem 2rem 4rem;
  }

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

  .video-card-title {
    font-size: 1.35rem;
  }

  .legal-page {
    padding: 2.5rem 2rem 4rem;
  }

  .legal-page h1 {
    font-size: 2rem;
  }

  .app-banner {
    padding: 1.25rem 1.5rem;
  }

  .app-banner-text p {
    font-size: 0.85rem;
  }
}

@media (max-width: 420px) {
  .app-banner {
    flex-wrap: wrap;
  }

  .app-banner-cta {
    width: 100%;
    text-align: center;
    margin-top: 0.25rem;
  }
}
